ROM Hack Music Change and SBNK Exchange

Cat Dog

Member
OP
Member
Joined
Sep 5, 2012
Messages
11
Trophies
0
XP
105
Country
United States
First off, hi.​
I would like to say I'm a beginner in this whole game hacking​
deal so please excuse any ineptitude that may come up in my tackling of this problem.​
Before I get to that, I want to show you what I've been able to accomplish​
after a little research in changing music and your feedback.​
In this video I was able to use the sound data from Phoenix Wright: Ace Attorney​
and replaced the Elite Four battle music with it, namely the "Cornered" song when Phoenix​
Wright has done one in on his opponent.​
It took some Hex-editing, but my problem lies in the actual instruments, see I felt kind​
of limited to the instruments I could use thanks to the SBNK file that the Elite Four​
music uses...so I was wondering is there a way to exchange SBNK files out for a new one?​
Namely, the only way I've found that is possible is to use Editor.exe, or kiwi.ds,​
but it REARRANGES everything in alphabetical order and thus, messes up the​
sounds and music of the game completely when I try to reinsert the sound file.​
Any help please with that or replacing SBNK file period?​
 

Densetsu

Pubic Ninja
Former Staff
Joined
Feb 2, 2008
Messages
3,434
Trophies
0
Location
Wouldn't YOU like to know?
Website
gbatemp.net
XP
2,707
Country
United States
Nice name you got there. How do you pronounce it?

"Liiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiinnnnnnnnnnnnnnnneeeeeeeeeeeeeeeeeee?"

Or "Underscore-underscore-underscore-underscore-underscore-underscore-underscore-underscore-underscore-underscore-underscore-underscore?"
 
  • Like
Reactions: 3 people

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,348
Country
United Kingdom
kiwi.ds' editor is a pain however Tinke ( http://gbatemp.net/topic/303529-tinke-072/ and http://code.google.com/p/tinke/ ) added serious SDAT abilities a while back including the ability to manually inject banks.

The trouble with most PW games is they often use two banks with at least one of them being common to several other sound tracks making simple replacement not that useful.

I did however do an example bank sacrifice (there is usually a seldom used sound effect, often for another language, that has a bank all to itself) and swap actually for Phoenix Wright 2 in my hacking docs http://filetrip.net/nds-downloads/utilities/download-gba-and-ds-rom-hacking-guide-2012-preview-2-f30026.html
If you end up having to actually add a new bank that can get quite a bit harder so do go in for the sacrifice method if you can.
 

Cat Dog

Member
OP
Member
Joined
Sep 5, 2012
Messages
11
Trophies
0
XP
105
Country
United States
kiwi.ds' editor is a pain however Tinke ( http://gbatemp.net/topic/303529-tinke-072/ and http://code.google.com/p/tinke/ ) added serious SDAT abilities a while back including the ability to manually inject banks.

The trouble with most PW games is they often use two banks with at least one of them being common to several other sound tracks making simple replacement not that useful.

I did however do an example bank sacrifice (there is usually a seldom used sound effect, often for another language, that has a bank all to itself) and swap actually for Phoenix Wright 2 in my hacking docs http://filetrip.net/nds-downloads/utilities/download-gba-and-ds-rom-hacking-guide-2012-preview-2-f30026.html
If you end up having to actually add a new bank that can get quite a bit harder so do go in for the sacrifice method if you can.
Tinke! I knew it seemed familiar. I've ran into it before but I guess one wouldn't find it useful if they'r not hacking.

I'm okay with the Phoenix Wright, but there's BGM like Pinwheel Forest and Dreamyard that only has so few instruments to work with,
which makes an imported song (say Zelda) sound very...meh.

I'll give your ideas a shot and post results as soon as I'm able to.

Thanks!
 

Densetsu

Pubic Ninja
Former Staff
Joined
Feb 2, 2008
Messages
3,434
Trophies
0
Location
Wouldn't YOU like to know?
Website
gbatemp.net
XP
2,707
Country
United States
Lol, the names up for interpretation, or just Cam.

By the way, is there an easier way to break lines or space them out on here?

The editor kept snapping them back into bunches.
Welcome to the 'Temp, Cam!

Try switching the editing mode, maybe that will resolve the line breaks problem you're having:
w58f4.png
 

Cat Dog

Member
OP
Member
Joined
Sep 5, 2012
Messages
11
Trophies
0
XP
105
Country
United States
Hey guys, I wanted to update just so I won't leave this thread hangin'...I despise when people don't update when I'm looking for threads because they don't say if it worked or not....but Tinke worked!, but switching the SBNK files messes up the sdat so there may be something I'm doing wrong on a very specific thing but Tinke does do the basic of what I wanted to do, but from here it's looking like there's no way to totally modify the songs because it will definitely change the file size.

In any event, I'm glad to have Tinke for other purposes as well.
 

Cat Dog

Member
OP
Member
Joined
Sep 5, 2012
Messages
11
Trophies
0
XP
105
Country
United States
____________ Nice name there ;D
Thanks ! I think I've seen your name a few times from my anonymous/lurk days.

Try switching the editing mode, maybe that will resolve the line breaks problem you're having:
w58f4.png
Oh alright, I figured. I thought there was a specific option I was overlooking but I guess that's the only way, thanks!
 

Dubstep16

Well-Known Member
Member
Joined
Jun 24, 2012
Messages
802
Trophies
0
Age
27
XP
109
Country

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
    Sheeba- @ Sheeba-: I can't wait to hack my 11.00 PS4 pro