Jump to content
  • 0

Changing maps background music


healthydude

Question


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  64
  • Reputation:   2
  • Joined:  02/05/13
  • Last Seen:  

I know this is a noob question, but I can't find the guide about this on rAthena wiki. Can someone help me regarding this? I kinda want to add my own background music on different maps, especially in prontera.

  • Upvote 1
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  23
  • Topics Per Day:  0.01
  • Content Count:  127
  • Reputation:   36
  • Joined:  01/21/13
  • Last Seen:  

If you want to change the music entirely, you could simply replace the corresponding .mp3 file in your client folder's BGM directory. Doing this would change the music on every single map that uses the new file. For example, replacing 87.mp3 client-side would change any map's background music that has the 87.mp3 defined in data/mp3nametable.txt.

 

If you wanted to add a new .mp3 file and change a specific map, you would change the map's file definition in data/mp3nametable.txt.

 

 

    gef_fild02.rsw#bgm\\35.mp3#
    gef_fild03.rsw#bgm\\35.mp3#
    gef_fild10.rsw#bgm\\35.mp3#
    in_orcs01.rsw#bgm\\35.mp3#

 

Here, we can see that multiple maps use 35.mp3. Instead of changing the song for all four maps that use it, we could change a specific map by adding a new file to the BGM folder and defining it. For example, if I added a new .mp3 and called it 1001.mp3, I could then change:

 

 

in_orcs01.rsw#bgm\\35.mp3#

 

to:

 

 

in_orcs01.rsw#bgm\\1001.mp3#

 

This will change the background music on in_orcs01 instead of changing it for the other field maps that use 35.mp3. This is particularly useful when adding custom maps or just getting a different feel for an existing one.

Edited by Via
  • Upvote 3
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  91
  • Reputation:   8
  • Joined:  03/03/12
  • Last Seen:  

Open data/mp3nametable.txt

 

or grf/data/mp3nametable.txt

 

Now Paste your MP3 file into the BGM folder if your setup is like this

 

SAMPLE MAP:

prontera.rsw#bgm\\87.mp3#
 

SAMPLE: (NAME OF THE MAP) -->>prontera.rsw # (DIRECTORY OF THE FILE) -->>bgm  \\  (NAME OF THE FILE) -->> 87.mp3#

 

FINAL OUTPUT

prontera.rsw#bgm\\87.mp3#

 


 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

what if i don't have that table ¿?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

what if i don't have that table ¿?

extract it from data.grf or get it from old data folder.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  127
  • Topics Per Day:  0.03
  • Content Count:  1445
  • Reputation:   163
  • Joined:  08/17/13
  • Last Seen:  

thanks that worked :D! +1

Edited by Kido
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...