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

Thread: RoF maps

  1. #1
    Developer
    Join Date
    Sep 2005
    Posts
    155

    RoF maps

    Has anybody had any luck converting maps for RoF eqresource? I've tried various scripts here (the ones that still have valid links) as well as the shell script mapconvert, but I'm not getting white lines. Any ideas?

  2. #2
    Registered User
    Join Date
    Nov 2010
    Posts
    82

    Re: RoF maps

    Same, I did notice from being in basement in City of Bronze that the z axis seems to be considerably off though, wonder if thats related? (Had to change floor and ceiling values to get the right floorplan to show, when I turned on height filtering it was showing the wrong floor).
    Last edited by Spanners; 12-07-2012 at 04:37 AM.
    Your dad.

  3. #3
    Developer
    Join Date
    Sep 2005
    Posts
    155

    Re: RoF maps

    I haven't checked that part out yet. For a couple of the zones I'm just using emacs to do a find and replace, changing all of the "0, 0, 0" lines to "128, 128, 128". Now to figure out the zone numbers for each of them to fix zones.h. I will try to do that today.

  4. #4
    Administrator
    Join Date
    Sep 2005
    Posts
    354

    Re: RoF maps

    I was able to update some of the new zones in zones.h...

    Code:
    { NULL, NULL }, // 751
    { "shardslanding", "Shard's Landing" }, // 752
    { "xorbb", "Valley of King Xorbb" }, // 753
    { NULL, NULL }, // 754
    { NULL, NULL }, // 755
    { NULL, NULL }, // 756
    { "breedinggrounds", "The Breeding Grounds" }, // 757
    { "eviltree", "Evantil, the Vile Oak" }, // 758
    { "grelleth", "Grelleth's Palace, the Chateau of Filth" }, // 759
    { "chapterhouse", "Chapterhouse of the Fallen" }, // 760
    { NULL, NULL }, // 761
    { NULL, NULL }, // 762
    { NULL, NULL }, // 763
    { NULL, NULL }, // 764
    { NULL, NULL }, // 765
    { "phinteriortree", "Evantil's Abode" }, // 766
    { NULL, NULL }, // 767
    Magelo only had 7 zones as of last weekend. When I checked today they were down for maintenance. I'll look again when they are back up and see if I can fill in the rest.

  5. #5
    Developer
    Join Date
    Sep 2005
    Posts
    155

    Re: RoF maps

    Thanks, I was just coming here to post Shard's Landing and Chapterhouse but it looks like you're way ahead of me once again. If I get a chance to visit the other zones before you do I'll post them.

  6. #6
    Administrator
    Join Date
    Sep 2005
    Posts
    354

    Re: RoF maps

    Quote Originally Posted by rogues View Post
    Thanks, I was just coming here to post Shard's Landing and Chapterhouse but it looks like you're way ahead of me once again. If I get a chance to visit the other zones before you do I'll post them.
    Every little bit helps... I jumped on IRC for the first time and got a ton of help there. Hopefully will be able to post some updates this weekend to SVN. So appreciative of all the help

  7. #7
    Developer
    Join Date
    Jul 2004
    Posts
    920

    Re: RoF maps

    You need to extract the zones from the exe. Isn't there a script for that checked in?

  8. #8
    Administrator
    Join Date
    Sep 2005
    Posts
    354

    Re: RoF maps

    Quote Originally Posted by purple View Post
    You need to extract the zones from the exe. Isn't there a script for that checked in?
    Yes there is a script, but it bombs on the latest exe

  9. #9
    Registered User
    Join Date
    Nov 2010
    Posts
    82

    Re: RoF maps

    Did anyone get RoF maps working and drawing correctly ?

    Mine show up just the text desriptions. Is there anything different about teh maps from eqresource compared to mapfiend?
    All my mapfiend maps appear to be ok but can't find any rof ones on there.
    Your dad.

  10. #10
    Developer
    Join Date
    Sep 2005
    Posts
    155

    Re: RoF maps

    You need to change all the black lines to another color. I went through with emacs and changed all the blacks to grey (think to 128, 128, 128). You need to be careful about how you use the replace function to make sure you get just the black lines.

  11. #11
    Registered User
    Join Date
    Nov 2010
    Posts
    82

    Re: RoF maps

    Ah, I did see that but didn't pick up on what you meant, thanks will do!
    Your dad.

  12. #12
    Administrator
    Join Date
    Sep 2005
    Posts
    354

    Re: RoF maps

    here's a snippet of a perl script someone posted a long time ago (perhaps ksmith?) that works well for converting maps

    Code:
    #!env perl -pi
    
    # Description: Converts black lines and points in EQ-style maps to black.
    # Usage: whitelines.pl file [file2 file3 ...]
    
    s/(,\s*0){3}(\s*)$/, 255, 255, 255$2/;

  13. #13
    Registered User
    Join Date
    Nov 2010
    Posts
    82

    Re: RoF maps

    Even better, thanks!
    Your dad.

  14. #14
    Registered User
    Join Date
    Oct 2008
    Posts
    24

    Re: RoF maps

    Which mapconvert script did you use to convert these new RoF maps? It doesn't seem to be working right with the stickied mapconvert bash script.

  15. #15
    Registered User
    Join Date
    Oct 2008
    Posts
    24

    Re: RoF maps

    Looked like I just needed to run ./mapconvert zonename.txt individually on each zone.txt file (after deleting all the _2, _3, etc)

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