Page 1 of 2 12 LastLast
Results 1 to 15 of 30

Thread: Map Conversion

  1. #1
    Registered User
    Join Date
    Apr 2002
    Posts
    23

    Question Map Conversion

    More experienced members,

    Is there a way to convert the maps to any of the following formats;

    a. gif
    b. jpg
    c. bmp

    Thanks in advanced for any pointers in direction.

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    23

    Question Map Conversion

    Ok,

    After rethinking a bit, did a more refined search.

    Found 1 post about this, but it is rather old.

    So I rephrase my question.

    Has there been any further tools developed to convert the .map files to the formats stated above.

    Thanks again,

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    20
    It's been discussed several times in this very forum. One pertinent thread would be "Map Editing Tools?".

    I took the Perl script posted here by ksmith (http://seq.sourceforge.net/showthrea...&threadid=2208), and cleaned it up a bit as well as gave it the ability to mass-convert files into PNG format: map2png. Requires the GD library and GD.pm Perl module, of course, but among other things, eliminates the need for an external rgb.txt file, and allows batch processing.

    If you fish around more in this forum, you'll find several other implementations, including the Mapfiend PHP source.
    Last edited by darkgrue; 02-07-2003 at 10:01 PM.

  4. #4
    Registered User
    Join Date
    Jan 2002
    Posts
    1,508
    The .map format hasn't changed since Kunark came out, so the tools from anytime after that should work.

  5. #5
    Registered User domesticbeer's Avatar
    Join Date
    Dec 2001
    Posts
    146
    Currently SEQ allows you to save the map by right clicking on the map window and doing save as bmp. Unforntunately the CGI program that used to allow you do this is broken since UNISYS will not allow anyone to use the GIF image technology with out a license fee. I have played around with the CGI code and removed the GIF code and leaving the PNG but have not gotten it to work as of yet. I am take a look at the code and find where it does the Map to BMP conversion when I get some more time.
    Beer


  6. #6
    Registered User
    Join Date
    Aug 2002
    Posts
    189
    Use the perl version. I cleaned up the mapfiend php script and posted it before I wrote the perl version. The mapfiend php script (even cleaned up) is a lot messier than the perl script.

  7. #7
    Registered User
    Join Date
    Aug 2002
    Posts
    3

    LOY conversion /e wish

    Wonder what kind of format the player made maps using the cartography program in LoY will be used. I'm sure someone will come up with a way to convert seq maps into this new format.

  8. #8

  9. #9
    Registered User
    Join Date
    Dec 2001
    Posts
    1,262
    It would be pretty badass if somebody could write this tool, that decodes the packet stream, and shows you a map, and where you are, and where the monsters are... wouldnt that be cool, guys? Maybe it could track XP, and allow you to filter on certain mobs too...

    I know.. they could call the app "ReadTheFuckingForumsMoron"

    --Jeeves
    "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." --Albert Einstein

  10. #10
    Registered User
    Join Date
    Dec 2001
    Posts
    50
    WHOA!!!! that would be teh own!!1!!1!!!

  11. #11
    Registered User
    Join Date
    Aug 2002
    Posts
    3

    Smile

    LOL ok you got me no need to reply "Use the search n00b". )
    Was only my second post ever really.

  12. #12
    Registered User
    Join Date
    Dec 2001
    Posts
    118
    Anyone willing to modify this script to perform the same function with the new map format from EQ?

  13. #13
    Registered User
    Join Date
    Aug 2002
    Posts
    189
    Here

    And here's a Makefile for batch conversion (probably only works with gnu make)
    Code:
    SRCDIR=./
    MAPFILES=$(wildcard $(SRCDIR)/*.txt)
    GIFFILES=$(patsubst %.txt,%.gif,${MAPFILES})
    
    gifs: ${GIFFILES}
    
    %.gif: %.txt
            ./pngeq.pl $<
    
    maps.zip: ${MAPFILES}
            zip -9 maps.zip ${MAPFILES}
    
    clean:
            rm ${GIFFILES}
    Last edited by ksmith; 02-28-2003 at 12:49 PM.

  14. #14
    Registered User
    Join Date
    Dec 2001
    Posts
    118
    Ok I have this all working..

    There just seems to be a small issue.

    go to http://maps.eq-toolbox.com

    Click the image link for some of the maps. Most are working. Alot of the kunark maps just come up as large colored squares.

    bothunder, burningwoods, chardok, crystal caverns, dreadlands, etc.


    An one have any idea why this is doing this? Somewhere something seems to be doing a fill or something. Either in the conversion process or in the actually png creation process. Any suggestions?

  15. #15
    Registered User
    Join Date
    Dec 2001
    Posts
    118
    There was a couple of errors in the script. Cattj corrected them for me. I will let him go in to detail about what they were, but it is now working for me on all of the maps.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On