Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 46

Thread: Converting SOE maps to SEQ maps

  1. #31
    Registered User
    Join Date
    Aug 2003
    Posts
    8
    I found my problem when I copied down RGB.txt and placed it in the folder. For some reason the put RGB in small caps. I renamed the file and it works.

  2. #32
    Registered User Elyon's Avatar
    Join Date
    Mar 2002
    Posts
    139
    When ever I run the awk script as follows

    awk -f eqtomap.awk < SoldungC_1.txt > Soldungc.map

    I get the following:

    awk: eqtomap:2:
    ' in expression:2: ^ invalid char '

    and nothing else.

    RH 9 full install.

    Any ideas? This happens with ANY maps I have.

  3. #33
    Developer
    Join Date
    Jun 2003
    Posts
    446
    **unknown color: 0 0 240
    I'm getting this too

    But then I tried it with "Poknowledge_1.txt" (from my EQ map folder) just to test, and it worked fine. Got some "]**unknown color:" stuff but loaded it up in SEQ and it was identical to the one that SEQ comes with. So maybe it's something with the new LDON zone maps from eqtoolbox?

    Thoughts?

  4. #34
    Registered User
    Join Date
    Aug 2003
    Posts
    8
    Originally posted by Elyon

    awk -f eqtomap.awk < SoldungC_1.txt > Soldungc.map
    My EQ map txt files do not start with a Capitial Letter. If your file names are all in small cap's, then change your awk line to -

    awk -f eqtomap.awk < soldungC_1.txt > Soldungc.map

    Hope that helps

  5. #35
    Registered User
    Join Date
    Aug 2002
    Posts
    189
    Jel321
    P,water area
    ,unknown,-5,446
    P,To Innothule Swamp
    ,magenta,69,-833
    P,bridge/pit
    ,unknown,-235,-554
    After you fix your RGB.txt file (see below), change:
    Code:
    BEGIN {
        #RS="\n";
        print "Converted map,converted,0,0"
    }
    to

    Code:
    BEGIN {
        RS="\r\n";
        print "Converted map,converted,0,0"
    }
    ieatacid
    unknown color 0 0 240
    That means you need to add that color to your RGB.txt file. Not knowing which map in particular you're looking at, I'd suggest adding
    Code:
    0 0 240 blue
    to your RGB.txt file.

    Elyon
    awk: eqtomap:2:
    ' in expression:2: ^ invalid char '
    My guess is that you failed to copy and paste the awk script correctly.

  6. #36
    Developer
    Join Date
    Jun 2003
    Posts
    446
    Thanks for the reply ksmith. That fixed the problem for all but "unknown color: 0 0 0"

    It's in RGB.txt as "0 0 0 black"

    An example of this happening is in guka_1.txt. Here's a sample of the first few lines:

    L 326, -984, 1, 326, -1018, -2, 0, 0, 0
    L 433, -833, 1, 433, -801, -2, 0, 0, 0
    L 323, -832, 1, 323, -798, -2, 0, 0, 0
    L 379, -832, 1, 378, -798, -2, 0, 0, 0
    L 292, -831, 1, 461, -833, 1, 0, 0, 0
    L 292, -908, -13, 292, -831, 1, 0, 0, 0

  7. #37
    Registered User domesticbeer's Avatar
    Join Date
    Dec 2001
    Posts
    146
    Ksmith,

    I am getting the same error as elyon. I cut and pasted the script as you posted it. Not sure what might be the issue.
    Beer


  8. #38
    Developer
    Join Date
    Jun 2003
    Posts
    446
    Also, once I get a map that loads up in-game and looks good, how do I get it to load automatically when i zone into that zone?

  9. #39
    Registered User
    Join Date
    Dec 2001
    Posts
    118
    change the name to match the zone name.

  10. #40
    Developer
    Join Date
    Jun 2003
    Posts
    446
    Thanks. My map names weren't matching the ones in zones.h

  11. #41
    Registered User Zaphod's Avatar
    Join Date
    Dec 2001
    Posts
    648
    Originally posted by ieatacid
    Thanks. My map names weren't matching the ones in zones.h
    The zones.h zone names are the short zone names and the list of new ones match those in eqgame.exe.

    Enjoy,
    Zaphod (dohpaZ)
    Chief Software Engineer of the Apocalypse.
    http://showeq.doomed.to/
    SourceForge.net user: dohpaz.

    Personal thank you donations are now accepted.

  12. #42
    Registered User
    Join Date
    Aug 2003
    Posts
    8
    Originally posted by Zaphod
    The zones.h zone names are the short zone names and the list of new ones match those in eqgame.exe.

    Enjoy,
    Zaphod (dohpaZ)
    I have combine some of the new maps and they look fine. Some information is missing but they work. I looked at the file "zones.h" and the new zones were already added with the correct names, they start at 229 through 278 When I zone into a new zone it said un_know_zone with the following number "1357185297". I manually loaded the map which the name was "Rujj.map". The next step I wanted to find out what number would be displayed if I commement out some of the zones in the "zones.h" file. I did it to the zones 1 through 85. I then restarted SEQ and had my character zone into EC. EC came up and worked with no problems, even after I made the change to "zones.h" file. The "zones.h" file seems to do nothing. The only thing I see in the "zones.h" file is the names of the zones start with a small letter. But where the maps files are stored on the Hard Drive start with a capitial letter. The location of the "zones.h" file I was looking at is /seq/showeq/src/zones.h.

    I would appreciate any help you can provide.

  13. #43
    Developer
    Join Date
    Jun 2003
    Posts
    446
    I'm no expert, but I think if you change zones.h (or any source files) you have to recompile for any changes to take effect.

  14. #44
    Registered User
    Join Date
    Aug 2003
    Posts
    8
    TY , But I tried it and it didn't work. There has to be something eles.

  15. #45
    Registered User
    Join Date
    Aug 2002
    Posts
    189
    For those of you getting
    Code:
    awk: eqtomap:2:
    ' in expression:2: ^ invalid char '
    when trying to run the awk script, this is because you're using gawk.

    Try changing
    Code:
    /^L/ {
    to
    Code:
    $1 == "L" {
    and
    Code:
    /^P/ {
    to
    Code:
    $1 == "P" {
    Unfortunately, I don't have gawk to test this with.

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