ggFTW

MMORPG Gamer Community


Go Back   ggFTW Forum > MMO Games > Lunia > Lunia Questions & Answers

Perfect World
Looking for a new MMO?

Try 

Perfect World

Rating:  

7.4

 
LinkBack Thread Tools Display Modes
11-13-2009   #1 (permalink)
ggFTW Stalker
Saibak's Avatar
Games
LuniaSilkroad OnlineDynasty Warriors OnlineTales of Fantasy
 
Join Date: Feb 2008
Posts: 416
iTrader: (0)
Saibak is a glorious beacon of lightSaibak is a glorious beacon of lightSaibak is a glorious beacon of lightSaibak is a glorious beacon of lightSaibak is a glorious beacon of lightSaibak is a glorious beacon of light
Default How to edit Bgm.sbf properly?

If I open this file in notepad there's a list of every single ogg-file used by Lunia, each seperated by a random(?) ASCII-character. So, if I want to add additional music to Lunia, I have to write them into this file, but I just don't get the logic behind these ACII-characters (when I have to use which one to seperate the ogg-files).

Any ideas?
 
Get rid of this ad by registering for our community.
11-13-2009   #2 (permalink)
ggFTW Stalker
Awards Retired Forum Operations StaffMoM Award
 
Join Date: Sep 2007
Location: Antarctica
Posts: 2,520
iTrader: (0)
Godbot3000 has disabled reputation
Guild: DashAttack
Default

Use a hex editor. I personally use XVI32.
 
11-14-2009   #3 (permalink)
ggFTW Stalker
Saibak's Avatar
Games
LuniaSilkroad OnlineDynasty Warriors OnlineTales of Fantasy
 
Join Date: Feb 2008
Posts: 416
iTrader: (0)
Saibak is a glorious beacon of lightSaibak is a glorious beacon of lightSaibak is a glorious beacon of lightSaibak is a glorious beacon of lightSaibak is a glorious beacon of lightSaibak is a glorious beacon of light
Default

Looks like I'm still doing something wrong with adding additional music: I removed the comment tags around the Bgm section in E000110.xml and replaced <DataPath type="wstring" value="Bgm.Stage_Boss" />" with my own <DataPath type="wstring" value="Bgm.Test" />.
Then I edited Bgm.sbf with the hex editor and "registered" my own music file.
The result is no music when the 1-10H boss spawns and I have no idea what I'm doing wrong. I attached the two files if anyone wants to take a look.
Attached Files
File Type: zip Lunia.zip (2.9 KB, 2 views)
 
11-14-2009   #4 (permalink)
ggFTW Stalker
Awards Retired Forum Operations StaffMoM Award
 
Join Date: Sep 2007
Location: Antarctica
Posts: 2,520
iTrader: (0)
Godbot3000 has disabled reputation
Guild: DashAttack
Default

1. You didn't update the number of files listed in the .sbf file.
2. You didn't follow the format for adding things.

The attached should work, haven't tested it though.
Attached Files
File Type: zip Bgm.zip (760 Bytes, 2 views)
 
11-14-2009   #5 (permalink)
ggFTW Stalker
Saibak's Avatar
Games
LuniaSilkroad OnlineDynasty Warriors OnlineTales of Fantasy
 
Join Date: Feb 2008
Posts: 416
iTrader: (0)
Saibak is a glorious beacon of lightSaibak is a glorious beacon of lightSaibak is a glorious beacon of lightSaibak is a glorious beacon of lightSaibak is a glorious beacon of lightSaibak is a glorious beacon of light
Default

Yes, it's working.

Quote:
1. You didn't update the number of files listed in the .sbf file.
Hm ok, I understand now which part I have to edit to prevent this mistake.

Quote:
2. You didn't follow the format for adding things.
I forgot to add two additional null-bytes(?) at the end, but that aside, I still don't understand the logic for the "seperators" (the ones I marked in the pic). Can you explain the format I have to follow for adding new stuff?


Last edited by Saibak; 11-14-2009 at 11:16 AM.
 
11-14-2009   #6 (permalink)
ggFTW Stalker
Awards Retired Forum Operations StaffMoM Award
 
Join Date: Sep 2007
Location: Antarctica
Posts: 2,520
iTrader: (0)
Godbot3000 has disabled reputation
Guild: DashAttack
Default

Convert those values that I put in into base 10 numbers, and compare it to the number of characters in "Test" and "Sounds/Bgm/Test.ogg"

(Basically those tell the client how many chars to read)
 
11-14-2009   #7 (permalink)
ggFTW Stalker
Saibak's Avatar
Games
LuniaSilkroad OnlineDynasty Warriors OnlineTales of Fantasy
 
Join Date: Feb 2008
Posts: 416
iTrader: (0)
Saibak is a glorious beacon of lightSaibak is a glorious beacon of lightSaibak is a glorious beacon of lightSaibak is a glorious beacon of lightSaibak is a glorious beacon of lightSaibak is a glorious beacon of light
Default

Yay, thanks! Now everything works as it should
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Pockie Ninja
Need a new browser game?

Try 

Pockie Ninja

Rating:  

8.3
Hide this banner by registering for our community.