Does anyone have a util that converts the SOE game maps to Seq maps yet? No offence but some of the SOE maps have much better detail to them.
Does anyone have a util that converts the SOE game maps to Seq maps yet? No offence but some of the SOE maps have much better detail to them.
-AlphaBeta
There is an awk script I posted to one of the map conversion threads that does exactly that.
http://seq.sourceforge.net/showthrea...er=4#post22344
Last edited by ksmith; 03-17-2003 at 10:49 AM.
I tried your script and it just hangs. I'm not too familiar with awk so I don't know how to debug it offhand. I thought I might just do it in perl, which I know.
I'm running it on a RH 8.0 box exactly as you have described. I've checked permissions and everything (script executable, write permisssions to the .map file, read permission for the .txt file) and it all looks ok. I copied the RGB.txt file into the same directory with the awk script.
When I attempt to run it, it creates a 0k file with the correct name, but the script just hangs there. Here is what I am running:
BEGIN {
RS="\r\n";
print "Converted map,converted,0,0"
}
/^L / {
gsub(",", "");
gsub("L", "");
print "M,line," getcolorname($7, $8, $9) ",2," int(-$1) "," int(-$2) "," int($3*10) "," int(-$4) "," int(-$5) "," int($6*10);
}
/^P / {
gsub(",", "");
gsub("_", " ", $9);
print "P," $9 "," getcolorname($5, $6, $7) "," int(-$2) "," int(-$3)
}
function getcolorname( r, g, b) {
cmd = "grep \"" r " " g " " b "\" RGB.txt";
cmd | getline color
if (color != "") {
split(color, C);
return C[4];
} else {
print "*unknown color: " r ", " g ", " b > "/dev/stderr";
return "unknown";
}
}
The problem might be the RGB.txt file. I see that SeQ doesn't like the standard file.
Change the regex that grep is using if your RGB.txt uses tabs instead of spaces. Or even better, just have it look for any whitespace.function getcolorname( r, g, b) {
cmd = "grep \"" r " " g " " b "\" RGB.txt";
hhmm...changed the rgb.txt and replaced the tabs with spaces..ran the script and am getting this:
unkown color 0,0,0
ideas?
rgb.txt or RGB.txt? It's looking for RGB.txt in the current directory.Originally posted by rathric
hhmm...changed the rgb.txt and replaced the tabs with spaces..ran the script and am getting this:
unkown color 0,0,0
ideas?
Or just use this RGB.txt
Last edited by ksmith; 03-26-2003 at 02:23 PM.
I cant get this to work.. Yeah.. i know.. i am a n00b.. But i only get a couple of lines in that .map file..
This if when i tried to convert the hatesfury_1.txt file :
Converted map,converted,0,0
M,line,black,2,-30,958,-6099,-30,965,-6099
And that's it.. no error messages no nothing. Used the above script (named it eqmapconv.awk) and this command to convert :
awk -f eqmapconv.awk < hatesfury_1.txt > hatesfury.map
I also used the RGB.txt file from the link above.
Anyone got the loy converted .map files? Could you post 'em for a lost soul like me?
Oki.. it seems like many of the links to threads pointed out as URL's in posts here are not working.. Recon this has to do with the new layout and structure of the boards.
But.. i managed to find a link where i could find the LoY .MAP files for myseq.
http://kyle.13th-floor.org/eq/maps/gif/
Only map there that is not complete is the nadox one tho..
*edit* ok 2 hours and I got it working. Nevermind!
Last edited by lostpacket; 04-15-2003 at 03:38 PM.
Kewl Ksmith! Thanx!!
Now.. if the myseq just would figure out the right packets for LoY zones..
hmm, Hates Fury map is a bit .. upside down. The labels are fine, but the zone bounry lines are upside down.
hrm, ok... I fixed my in-game map to be right-side up... I'll re-generate the showeq map tomorrow.
There are currently 1 users browsing this thread. (0 members and 1 guests)