Jump to content
  • 0

Adding Map Problem


Snap

Question


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

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.

Link to comment
Share on other sites

14 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  24
  • Reputation:   1
  • Joined:  11/15/11
  • Last Seen:  

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. =)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  138
  • Topics Per Day:  0.03
  • Content Count:  835
  • Reputation:   25
  • Joined:  11/22/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

Ok i successfully added the map but as i @warp at the custom map i got error and then close my client. PLEASE HELP

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

You need to add the map files (.rsw/.gat/.gnd) to your data folder: data

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

I did. But i got a error as i warp at my map. Do i really need to edit the grf-files.txt?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  70
  • Topics Per Day:  0.02
  • Content Count:  1245
  • Reputation:   392
  • Joined:  11/19/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

I still got an error every time i go on my custom map.

Can you elaborate me some steps in adding them? The detailed one.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   2
  • Joined:  12/29/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.01
  • Content Count:  186
  • Reputation:   0
  • Joined:  04/07/12
  • Last Seen:  

Btw im using linux. My server is already hosted.

up

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   1
  • Joined:  05/01/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   47
  • Joined:  04/01/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   0
  • Joined:  06/24/12
  • Last Seen:  

what do you mean by REPACK IT ON GRF???? please help me

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  119
  • Reputation:   19
  • Joined:  11/14/11
  • Last Seen:  

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   47
  • Joined:  04/01/12
  • Last Seen:  

REPACK IT ON GRF = Compressing your data folder to one single file (.grf)

here are some tools for repacking:

GRF Builder

GRF Factory

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...