Jump to content

How to ADD MAPS in my server? (Linux)


ragnazorg

Recommended Posts


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  250
  • Reputation:   44
  • Joined:  11/13/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  95
  • Reputation:   26
  • Joined:  11/15/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  87
  • Topics Per Day:  0.02
  • Content Count:  1335
  • Reputation:   932
  • Joined:  10/26/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  250
  • Reputation:   44
  • Joined:  11/13/11
  • Last Seen:  

I kinda do that most of the time since some errors sometimes pops up meh /e5

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  95
  • Reputation:   26
  • Joined:  11/15/11
  • Last Seen:  

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

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  70
  • Reputation:   1
  • Joined:  12/14/11
  • Last Seen:  

where i can find this

resnametable.txt

mapnametable.txt

mp3nametable.txt

viewpointtable.txt (optional)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  70
  • Reputation:   1
  • Joined:  12/14/11
  • Last Seen:  

i'm getting error with my new map

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  250
  • Reputation:   44
  • Joined:  11/13/11
  • Last Seen:  

where i can find this

resnametable.txt

mapnametable.txt

mp3nametable.txt

viewpointtable.txt (optional)

your data grf or your data folder.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  70
  • Reputation:   1
  • Joined:  12/14/11
  • Last Seen:  

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

  • 6 months later...

  • Group:  Members
  • Topic Count:  29
  • Topics Per Day:  0.01
  • Content Count:  566
  • Reputation:   34
  • Joined:  11/17/11
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 8 months later...

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  04/06/13
  • Last Seen:  

do i need to compile when using windows??

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