Jump to content
  • 0

Adding Map Problem


Question

Posted

Do i need to delete the map_cache.dat so that my added custom map will work?

As i delete the map_cache.dat, What will be the effect of that? Will my server will get harm?

Please help.

14 answers to this question

Recommended Posts

Posted

How did you add your custom map? Did you make a new map_cache.dat with the normal maps + your custom map or you merge the existing map_cache.dat with your custom map?

You can rename the map_cache.dat into something else like map_cache[backup].dat or something just in case anything happens. You don't really have to delete it.

What will be affected is the maps that are included in the original map_cache.dat MAY not be included inside your own compiled version of map_cache.dat, That depends on the content of your ragnarok file.

For example, the original map_cache.dat contains maps like poring_c01,poring_c02 while your ragnarok client does not have the poring_c01,poring_c02 when it compile. So those 2 maps will be missing from your version.

Advice : Merge the existing map_cache.dat with your custom map to avoid any missing maps. Unless you're inserting custom maps like custom prontera, izlude which requires to make a new map_cache.dat from start.

**Remember to recompile your server**

Hope this help. =)

Posted

do not delete map_cache.dat (why remove? it's contain all the official map.gat file here)

custom map will be like (this 3 need put in client and you need extra put custommap.gat to map_cache.gat) in map_index need edit too.

custommap.gnd

custommap.rsw

custommap.gat

if you want add / remove map just use this.

http://rathena.org/board/topic/53424-weemapcache/

open the map_cache.dat then pickup custommap.gat and drop in this weemapcache solfware then save done. if want remove just select and click remove then save. other just edite mapnametable.txt and renametable.txt.

Posted

grf-files.txt is for building the map_cache.dat. I personally would create a new GRF with your map files in it and then edit your data.ini to call the GRF. You seem to have built the map_cache.dat so its not the issue.

Posted

Adding Custom Maps:

1. Get your custom map, you need .gat, .rsw and .gnd . Put it in a data folder and repack it on a grf

2. Go to conf/grf-files.txt - do it like this (Put your map.grf, rdata and data.grf to a folder named test)

grf: C:testmap.grf <- if you named your grf like this.

grf: C:testrdata.grf

grf: C:testdata.grf

3. go to db/mapindex.txt and add this line at the bottom

//Custom Maps

testmap

4. go to conf/maps_athena.conf and add a line like this at the bottom

//Custom Maps

map: testmap

5. Open your main grf and extract your mapnametable.txt then add a line like this

//Custom Map

test.rsw#Test Map#

then repack your grf and include the mapnametable.txt

6. Navigate to your rathena folder

example: C:UsersDesktoprathena <- get the folder path (copy)

7. Open CMD. type cmd at start menu and run as administrator

type cd and paste folder path of your rathena and type mapcache.exe

example: C:UsersDesktoprathenamapcache.exe (press enter)

It will now rebuild your mapcache with all official maps from data and rdata together with your custom map.

you can see the results at the bottom and see if there are errors on the cmd window.|

Thats all.. :o

Posted

Adding Custom Maps:

1. Get your custom map, you need .gat, .rsw and .gnd . Put it in a data folder and repack it on a grf

2. Go to conf/grf-files.txt - do it like this (Put your map.grf, rdata and data.grf to a folder named test)

grf: C: estmap.grf <- if you named your grf like this.

grf: C: estrdata.grf

grf: C: estdata.grf

3. go to db/mapindex.txt and add this line at the bottom

//Custom Maps

testmap

4. go to conf/maps_athena.conf and add a line like this at the bottom

//Custom Maps

map: testmap

5. Open your main grf and extract your mapnametable.txt then add a line like this

//Custom Map

test.rsw#Test Map#

then repack your grf and include the mapnametable.txt

6. Navigate to your rathena folder

example: C:UsersDesktoprathena <- get the folder path (copy)

7. Open CMD. type cmd at start menu and run as administrator

type cd and paste folder path of your rathena and type mapcache.exe

example: C:UsersDesktoprathenamapcache.exe (press enter)

It will now rebuild your mapcache with all official maps from data and rdata together with your custom map.

you can see the results at the bottom and see if there are errors on the cmd window.|

Thats all.. :(

Would this work for adding custom towns or do I have use a different method?

Posted (edited)

also, i always get error when entering the custom map... i dunno but some maps work and some errors, all the necessary files are fine. i dint have errors on my 1st rebuild but when i tried to rebuild my map cache again since i (removed about 10 maps from my custom map.grf from the original) i made i got this problem. used the default mapcache builder/weemapcache also but same errors on some map upon warping. (and ofcourse im warping to those map i din't remove)

----------------edited

try here from your other post

Edited by frenzmu06

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...