Jump to content
ragnazorg

How to ADD MAPS in my server? (Linux)

Recommended Posts

Oh wow nice map they have, I wonder am I allowed to add maps in my server too?

The answer is, yes you are!

Server Files Needed:

db/map_index.txt

db/map_cache.dat

conf/maps_athena.conf

Client data files Needed:

resnametable.txt

mapnametable.txt

mp3nametable.txt

viewpointtable.txt (optional)

Programs Needed:

Notepad or Notepad++

MapCache Maker

Filezilla

Putty

GRF Builder

And of course your maps you wanted to add:

rsw, gnd, gat & bmp file of your map

First extract mapcache maker. Copy the Server Files needed in it. (maps_athena.conf to conf/ map_index.txt and map_cache.dat to db/)

Now make a GRF with all your new custom maps and the edited client data files needed in it.

For example your map name is (ro_world)

Open resnametable.txt

ro_world.gnd
ro_world.gat
ro_world.rsw
À¯ÀúÀÎÅÍÆäÀ̽ºmapro_world.bmp#À¯ÀúÀÎÅÍÆäÀ̽ºmapro_world.bmp#

and save.

For mapnametable.txt add

ro_world.rsw#Ragnarok World#

Ragnarok World is the name I want to appear when I /w

For mp3nametable.txt add

ro_world.rsw#bgm11.mp3#

Or you can choose your own BGM or any custom BGM you might want to add.

and add the maps in data/

Then build the grf. Supposing we saved it at D:/ with the file name roworld.grf so it will be at D:/roworld.grf

Once done, open your mapcache_maker/conf/maps_athena.conf.

Look for //map: test in maps_athena.conf and add map: ro_world

//map: test
map: ro_world

Now open mapcache_maker/db/map_index.txt and look for //mymap-2 and add ro_world 1250

//mymap-2
ro world 1250

Once done open grf-files in mapcache_maker/conf/grf-files.txt

Look for

// grf: C:pathtoROdata.grf
// You may add more in this format
// grf:

and add

// grf: C:pathtoROdata.grf
// You may add more in this format
// grf:
grf: D:/Ragnarok/data.grf (this is if your Ragnarok is installed in D:/ragnarok)
grf: D:/Ragnarok/rdata.grf (this is if your Ragnarok is installed in D:/ragnarok)
grf: D:/roworld.grf

Then save your work.

Now run runme.bat and you will see your maps being cached.

Now upload the files in mapcache_maker to your eathena folder.

conf/maps_athena.conf

db/map_index.dat

db/map_cache.dat

Create a patch for your server to add the necessary new client data files and restart your server and done!

Cheers*

Note: Why do I need putty? ( you need it to restart your server) Why do I need filezilla? (You need it to upload files) Why do I need notepad (You need it to edit your txt files) Why do I need a grf builder? (to create a grf you'll need in doing this) Why do I need mapcache_maker? (The reason is obvious read above.)

Edited by ragnazorg
  • Upvote 1

Share this post


Link to post
Share on other sites

Hello, question.

ro_world.gnd

ro_world.gat

ro_world.rsw

À¯ÀúÀÎÅÍÆäÀ̽ºmapro_world.bmp#À¯ÀúÀÎÅÍÆäÀ̽ºmapro_world.bmp#

What does the

ro_world.gnd

ro_world.gat

ro_world.rsw

clearly do?

I only add this line

À¯ÀúÀÎÅÍÆäÀ̽ºmapro_world.bmp#À¯ÀúÀÎÅÍÆäÀ̽ºmapro_world.bmp#

on my resnametable for the minimap. Will there be any disfunctionalities on my map if I don't add the other lines above?

Edited by xMiland

Share this post


Link to post
Share on other sites

Huh, i think it is not necessary to add in resnametable.txt the minimap and the files of the map.... well I haven't did it before unless for duplicate existing maps and clone them

Share this post


Link to post
Share on other sites

Okay thanks. I guess I'll just put the following lines to be sure. :)

Share this post


Link to post
Share on other sites

where i can find this

resnametable.txt

mapnametable.txt

mp3nametable.txt

viewpointtable.txt (optional)

Share this post


Link to post
Share on other sites

i'm getting error with my new map

Share this post


Link to post
Share on other sites

where i can find this

resnametable.txt

mapnametable.txt

mp3nametable.txt

viewpointtable.txt (optional)

your data grf or your data folder.

Share this post


Link to post
Share on other sites

can u help me with this i get this error when i @warp to my costum map

2.jpg

what i need to do?

Edited by papol22

Share this post


Link to post
Share on other sites

If you're using LINUX (CentOS probably) then after adding your own maps, you must compile it just to make sure.

type cd /path/to/your/ro/trunk

then type:

cd /src/tool

and when your on the tool folder type this:

make mapcache

then go back to your root folder of your trunk.

(ex. /path/to/your/ro/trunk)

then type this:

./mapcache

and your map will be compiled.

Share this post


Link to post
Share on other sites

do i need to compile when using windows??

Share this post


Link to post
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
Reply to this topic...

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.