Snap Posted April 25, 2012 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
Shadowz Posted April 25, 2012 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
manabeast Posted April 25, 2012 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
Snap Posted April 25, 2012 Author 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
Syouji Posted April 25, 2012 Posted April 25, 2012 You need to add the map files (.rsw/.gat/.gnd) to your data folder: data Quote
Snap Posted April 25, 2012 Author 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
Syouji Posted April 25, 2012 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
Snap Posted April 25, 2012 Author 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
SilverMayCry Posted April 25, 2012 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
Snap Posted April 27, 2012 Author Posted April 27, 2012 Btw im using linux. My server is already hosted. up Quote
8thDaedlySin Posted May 14, 2012 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
frenzmu06 Posted May 21, 2012 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
khen16 Posted June 24, 2012 Posted June 24, 2012 what do you mean by REPACK IT ON GRF???? please help me Quote
frenzmu06 Posted June 30, 2012 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
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.
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.