Jump to content
  • 0

Question about GRF Editor flat map tool


Dhaxos

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  07/24/14
  • Last Seen:  

Hi, I'm trying to learn how to create my own gray maps. I use a grf that contains most of the maps up to episode 20 that I got from a friend. I would like to learn how to create new maps as they are released, I found some tutorials that teach using the GRF Editor tool but whenever I add the maps created by the tool to my personal grf I get a crash when I enter the map. Can anyone give me a tip or point me to a guide that can help me with my problem?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  696
  • Reputation:   721
  • Joined:  11/12/12
  • Last Seen:  

Hello,

The easiest way to add new maps is the following:

  • Make sure to update GRF Editor to its latest version (currently on 1.8.9.7, you can use the rAthena page and follow the mediafire link or here: https://www.mediafire.com/file/aflylbhblrzpz0h/ )
  • Find the new maps in your GRF and then extract the RSW, GND and GAT files.
    • Preferably, use an official GRF since your server's GRF may be encrypted.
    • You can easily test that out by trying to preview the map in GRF Editor. If it doesn't want to load or it throws errors, then the map is encrypted.
  • Open the flat maps maker tool and open the input maps folder by clicking the green arrow:
    • image.png.8997509f1e511f6da6dea9535cde1d31.png
  • Put the map files you previously extracted in that folder, make sure "Use currently opened GRF" is not checked.
  • If you're using the latest GRF Editor version, you'll get a preview on the right side. You can customize the output rather easily in the options, that part is entirely up to you.
  • Optional. The textures will overwrite the original ones; if that's a concern for you, you can set a unique set of textures for your own map in Options > Maps unique ID (set it to "mine_").
  • Now generate the gray maps, and you'll get a maps.grf file.
  • You can either add an extra entry in your data.ini file with your new GRF name, or you can merge the two gray map GRFs with the Edit > Merge option.
  • If any error shows up, it will be displayed in the console in the "Generate maps" tab.
    • image.thumb.png.192229e115629c05deb7e460eed527dd.png

Now, the reason for your crash is a bit vague. Here are a few possible reasons:

  • You used an old version of GRF Editor or your maps were too recent (kRO released a new map version a while back). Either way, updating GRF Editor will fix that issue.
  • Your GRF priority is wrong in your data.ini. Your maps.grf should have one of the highest priority, so something like:
    [Data]
    0=gepard.grf
    1=maps.grf
    2=yourserver.grf
    3=data.grf
  • You may not have merged the GRF correctly? Not sure how that would crash you though...
  • I can't think of another reason. If the issue persists, can you tell me the map name? I'll just test it on my end to make sure.
Edited by Tokei
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  07/24/14
  • Last Seen:  

35 minutes ago, Tokei said:

Hello,

The easiest way to add new maps is the following:

  • Make sure to update GRF Editor to its latest version (currently on 1.8.9.7, you can use the rAthena page and follow the mediafire link or here: https://www.mediafire.com/file/aflylbhblrzpz0h/ )
  • Find the new maps in your GRF and then extract the RSW, GND and GAT files.
    • Preferably, use an official GRF since your server's GRF may be encrypted.
    • You can easily test that out by trying to preview the map in GRF Editor. If it doesn't want to load or it throws errors, then the map is encrypted.
  • Open the flat maps maker tool and open the input maps folder by clicking the green arrow:
    • image.png.8997509f1e511f6da6dea9535cde1d31.png
  • Put the map files you previously extracted in that folder, make sure "Use currently opened GRF" is not checked.
  • If you're using the latest GRF Editor version, you'll get a preview on the right side. You can customize the output rather easily in the options, that part is entirely up to you.
  • Optional. The textures will overwrite the original ones; if that's a concern for you, you can set a unique set of textures for your own map in Options > Maps unique ID (set it to "mine_").
  • Now generate the gray maps, and you'll get a maps.grf file.
  • You can either add an extra entry in your data.ini file with your new GRF name, or you can merge the two gray map GRFs with the Edit > Merge option.
  • If any error shows up, it will be displayed in the console in the "Generate maps" tab.
    • image.thumb.png.192229e115629c05deb7e460eed527dd.png

Now, the reason for your crash is a bit vague. Here are a few possible reasons:

  • You used an old version of GRF Editor or your maps were too recent (kRO released a new map version a while back). Either way, updating GRF Editor will fix that issue.
  • Your GRF priority is wrong in your data.ini. Your maps.grf should have one of the highest priority, so something like:
    [Data]
    0=gepard.grf
    1=maps.grf
    2=yourserver.grf
    3=data.grf
  • You may not have merged the GRF correctly? Not sure how that would crash you though...
  • I can't think of another reason. If the issue persists, can you tell me the map name? I'll just test it on my end to make sure.

Thanks, I'll check the version of the GRF editor and try some of your tips. The order of the grfs is correct, I always leave mine in position 0=file.grf.

Regarding the merge of the grfs, I was manually adding the map files into my grf and saving. There are only two maps I'm trying to create so I didn't see any reason to use the merge option: nif_fild03 and moc_akhet.

Another question, since the grf I'm currently using I got from someone else, it already has its own textures, is it possible for me to create the map file and use only the generated GAT, RSW and GND or will the changes I make to the texture colors in the GRF editor cause my game to close like it is happening?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  07/24/14
  • Last Seen:  

1 hour ago, Tokei said:

Hello,

The easiest way to add new maps is the following:

  • Make sure to update GRF Editor to its latest version (currently on 1.8.9.7, you can use the rAthena page and follow the mediafire link or here: https://www.mediafire.com/file/aflylbhblrzpz0h/ )
  • Find the new maps in your GRF and then extract the RSW, GND and GAT files.
    • Preferably, use an official GRF since your server's GRF may be encrypted.
    • You can easily test that out by trying to preview the map in GRF Editor. If it doesn't want to load or it throws errors, then the map is encrypted.
  • Open the flat maps maker tool and open the input maps folder by clicking the green arrow:
    • image.png.8997509f1e511f6da6dea9535cde1d31.png
  • Put the map files you previously extracted in that folder, make sure "Use currently opened GRF" is not checked.
  • If you're using the latest GRF Editor version, you'll get a preview on the right side. You can customize the output rather easily in the options, that part is entirely up to you.
  • Optional. The textures will overwrite the original ones; if that's a concern for you, you can set a unique set of textures for your own map in Options > Maps unique ID (set it to "mine_").
  • Now generate the gray maps, and you'll get a maps.grf file.
  • You can either add an extra entry in your data.ini file with your new GRF name, or you can merge the two gray map GRFs with the Edit > Merge option.
  • If any error shows up, it will be displayed in the console in the "Generate maps" tab.
    • image.thumb.png.192229e115629c05deb7e460eed527dd.png

Now, the reason for your crash is a bit vague. Here are a few possible reasons:

  • You used an old version of GRF Editor or your maps were too recent (kRO released a new map version a while back). Either way, updating GRF Editor will fix that issue.
  • Your GRF priority is wrong in your data.ini. Your maps.grf should have one of the highest priority, so something like:
    [Data]
    0=gepard.grf
    1=maps.grf
    2=yourserver.grf
    3=data.grf
  • You may not have merged the GRF correctly? Not sure how that would crash you though...
  • I can't think of another reason. If the issue persists, can you tell me the map name? I'll just test it on my end to make sure.

Thanks again Tokei, it was the GRF Editor Version, I was doing everything right except for the basic, use the latest version xD

Edited by Dhaxos
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...