News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: MaBoShi hacking (DS download play game)  (Read 3244 times)

matt!

  • Full Member
  • ***
  • Posts: 142
  • JUS4QIX
    • View Profile
MaBoShi hacking (DS download play game)
« on: March 16, 2014, 10:56:52 pm »
This post refers to MaBoShi DS download play game from the WiiWare game of the same name. I extracted the NDS file from the WiiWare WAD. Let me know if you cannot find the ROM.

I play one mode of this game a lot, but after years of play the music is driving me crazy. Sadly there is no option to switch off or change the music :(

There are another few tunes I've not heard so much of in other parts of the game. I've extracted them using VGMTrans, but am still figuring out what that app will let me do.

I'd like to either:

1) swap one tune with another tune from same game
or
2) replace one tune with another tune from same game

How do I go about these using VGMTrans?

Advanced hacks:
3) change music volume to zero (but leave sound effect volume untouched)
4) patch the game so that the SELECT button cycled through tunes

How would I go about these?

Also:
5) patch in hi score saving on game over.

How difficult would this be?

Thanks
« Last Edit: March 16, 2014, 11:13:41 pm by emsef »

BlackDog61

  • Hero Member
  • *****
  • Posts: 784
    • View Profile
    • Super Robot Wars A Portable translation thread
Re: MaBoShi hacking (DS download play game)
« Reply #1 on: March 17, 2014, 03:02:14 pm »
Hi there!

What level of info do you already have on the tool?
Did you also check ndssndext (recommended by Fast)?
http://www.4shared.com/file/68276816/8092229e/ndssndext_v04.html

Bye for now,

Black

matt!

  • Full Member
  • ***
  • Posts: 142
  • JUS4QIX
    • View Profile
Re: MaBoShi hacking (DS download play game)
« Reply #2 on: March 17, 2014, 03:44:32 pm »
I have read a little on VGMTrans, I will experiment more. I also think I will investigate Tinke

I have already extracted sounds to see what is in there (not sure which tool, but multiple worked)

Currently reading the PDF hacking guide

Will report back,

FAST6191

  • Hero Member
  • *****
  • Posts: 3052
    • View Profile
Re: MaBoShi hacking (DS download play game)
« Reply #3 on: March 17, 2014, 05:18:17 pm »
First I assume the games use the SDAT sound format, if it gets extracted with VGMtrans it probably does but most of the rest of this will be assuming that is the case. Also being a download play game you will need either an injector to run it as a normal game (I think there is something, never really had cause to do this though) or a flashme modified DS to get around the signing. If it is SDAT it should be uncompressed too which is nice.

About the only tool I really trust to make lasting changes to SDAT files is tinke ( https://code.google.com/p/tinke/ , not sure where latest builds are at right now), even then I tend to favour doing things manually with everything else being used to direct me where I am going. That said VGMtrans got picked up by loveemu last year and it might actually be better right now, you will probably have to build your own err build though.

1 and 2 would appear to be the same thing at first though I will treat them as different.

1) SDAT is a software drive audio player and a fairly high level one (hence most of the hacks working as they do), if you could attack it and get it to feed a different track request you could do a lot. I have never tried this on the DS.
2) I do this often enough. The basic trick is either to replace the song with tinke or swap the pointers so the original track points to a new track. Some games will have a different sound bank to handle different songs, I doubt a download play game will do this but theoretically the overhead is not that high so it could happen.

3) In some ways this might be easier than the music hacking one. I did just such a hack for one of the nanostray titles (bonus is it used SDAT but a slightly nonstandard version). Anyway along with pointers for everything there is a section that covers audio volume for all sorts of things. Stick this down towards zero and you should lose the sounds they deal with, you could tweak things in track level as well I guess. I believe it is slightly different for SSEQ stuff in case you end up reading what I did for the nanostray hack.

4) Brings us back to 1) really, though I guess you could instead use a cheat activator if you prefer.

5) I have never really had cause to do something like this -- most of the time save functionality being added back in is for games that lost it between beta/coding and the final game or between regions and this rarely happens on the GBA/DS. You would be making use of the fact that flash carts will support saves as saves go over a standard bus, you may or may not have to figure out how lfash ca. The absolutely crazy method would involve some ability to write to the flash cart's SD card but let us not go there right now.

matt!

  • Full Member
  • ***
  • Posts: 142
  • JUS4QIX
    • View Profile
Re: MaBoShi hacking (DS download play game)
« Reply #4 on: March 17, 2014, 10:32:27 pm »
Thanks for the detailed info!

I can run the game fine with my flash cart solution. I can even run the NDS file through r4enc.exe to boot straight to the game and not the flash cart menu system.

The files are SSEQ as follows (from a 2013 version of VGMTrans)

1 x SWAR
5 x SBNK
7 x SSEQ



Tinke shows:



I have no idea what to do with Tinke.

Cheat activator for switching tunes is a good idea - thanks! So I've started prodding around in DeSmuME to see where the various values are stored. So far I have isolated:

hi score
score
multiplier
level


March 19, 2014, 07:56:16 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
Any tips on what I am looking for to change the current tune?

Am I looking for a song ID?

Or an address?
« Last Edit: March 19, 2014, 07:56:17 pm by emsef »