Snap Posted April 25, 2012 Group: Members Topic Count: 64 Topics Per Day: 0.01 Content Count: 186 Reputation: 0 Joined: 04/07/12 Last Seen: May 18, 2012 Share Posted April 25, 2012 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. Quote Link to comment Share on other sites More sharing options...
Shadowz Posted April 25, 2012 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 24 Reputation: 1 Joined: 11/15/11 Last Seen: October 8, 2019 Share Posted April 25, 2012 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. =) Quote Link to comment Share on other sites More sharing options...
manabeast Posted April 25, 2012 Group: Members Topic Count: 138 Topics Per Day: 0.03 Content Count: 835 Reputation: 25 Joined: 11/22/11 Last Seen: December 4, 2012 Share Posted April 25, 2012 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. Quote Link to comment Share on other sites More sharing options...
Snap Posted April 25, 2012 Group: Members Topic Count: 64 Topics Per Day: 0.01 Content Count: 186 Reputation: 0 Joined: 04/07/12 Last Seen: May 18, 2012 Author Share Posted April 25, 2012 Ok i successfully added the map but as i @warp at the custom map i got error and then close my client. PLEASE HELP Quote Link to comment Share on other sites More sharing options...
Syouji Posted April 25, 2012 Group: Members Topic Count: 70 Topics Per Day: 0.01 Content Count: 1245 Reputation: 395 Joined: 11/19/11 Last Seen: January 15, 2020 Share Posted April 25, 2012 You need to add the map files (.rsw/.gat/.gnd) to your data folder: data Quote Link to comment Share on other sites More sharing options...
Snap Posted April 25, 2012 Group: Members Topic Count: 64 Topics Per Day: 0.01 Content Count: 186 Reputation: 0 Joined: 04/07/12 Last Seen: May 18, 2012 Author Share Posted April 25, 2012 I did. But i got a error as i warp at my map. Do i really need to edit the grf-files.txt? Quote Link to comment Share on other sites More sharing options...
Syouji Posted April 25, 2012 Group: Members Topic Count: 70 Topics Per Day: 0.01 Content Count: 1245 Reputation: 395 Joined: 11/19/11 Last Seen: January 15, 2020 Share Posted April 25, 2012 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. Quote Link to comment Share on other sites More sharing options...
Snap Posted April 25, 2012 Group: Members Topic Count: 64 Topics Per Day: 0.01 Content Count: 186 Reputation: 0 Joined: 04/07/12 Last Seen: May 18, 2012 Author Share Posted April 25, 2012 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. Quote Link to comment Share on other sites More sharing options...
SilverMayCry Posted April 25, 2012 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 55 Reputation: 2 Joined: 12/29/11 Last Seen: October 27, 2014 Share Posted April 25, 2012 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.. Quote Link to comment Share on other sites More sharing options...
Snap Posted April 27, 2012 Group: Members Topic Count: 64 Topics Per Day: 0.01 Content Count: 186 Reputation: 0 Joined: 04/07/12 Last Seen: May 18, 2012 Author Share Posted April 27, 2012 Btw im using linux. My server is already hosted. up Quote Link to comment Share on other sites More sharing options...
8thDaedlySin Posted May 14, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 7 Reputation: 1 Joined: 05/01/12 Last Seen: June 4, 2012 Share Posted May 14, 2012 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? Quote Link to comment Share on other sites More sharing options...
frenzmu06 Posted May 21, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 326 Reputation: 47 Joined: 04/01/12 Last Seen: February 1, 2023 Share Posted May 21, 2012 (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 May 21, 2012 by frenzmu06 Quote Link to comment Share on other sites More sharing options...
khen16 Posted June 24, 2012 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 26 Reputation: 0 Joined: 06/24/12 Last Seen: July 3, 2012 Share Posted June 24, 2012 what do you mean by REPACK IT ON GRF???? please help me Quote Link to comment Share on other sites More sharing options...
Wolfeh Posted June 29, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 119 Reputation: 19 Joined: 11/14/11 Last Seen: June 13, 2018 Share Posted June 29, 2012 Wiki. Quote Link to comment Share on other sites More sharing options...
frenzmu06 Posted June 30, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 326 Reputation: 47 Joined: 04/01/12 Last Seen: February 1, 2023 Share Posted June 30, 2012 REPACK IT ON GRF = Compressing your data folder to one single file (.grf) here are some tools for repacking: GRF Builder GRF Factory Quote Link to comment Share on other sites More sharing options...
Question
Snap
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.