Hacking How to change basic settings from song to song

biolizardshadow

Well-Known Member
OP
Member
Joined
May 4, 2020
Messages
121
Trophies
0
Age
22
XP
298
Country
United States
I am looking to learn a little bit about arm assembly and GBA games that use the MP2K sound engine. I am mainly wanting to learn how to change sound engine settings when a new song is loaded. I already have a grasp on how to change sound engine settings in general. I apparently need to know a little bit about assembly hacking or something (at least that's what ipatix told me) and so I have come here to try and figure out what I need to do to make this happen.

I am wanting to change the number of direct sound channels that are available from one song to the next. This is to maximize performance of the game I am hacking so I don't have to worry about slow down when there is a lot going on. I could just limit the number of playable direct sounds for the entire game; however, I would like to limit this to just each song so I can cut back on direct sound channels that I am not using for each song instead of having one overarching sound limiter.

Any help would with this endevour be appreciated!
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,348
Country
United Kingdom
Nice intro to GBA ARM assembly
http://www.coranac.com/tonc/text/asm.htm

Covers tracing in GBA hacking,
https://www.romhacking.net/documents/361/ (emulator it goes with http://web.archive.org/web/20130215155212/http://labmaster.bios.net.nz/vba-sdl-h/ granted most will point you at no$gba or even something like https://wrongbaud.github.io/posts/ghidra-debugger/)
The settings will likely fiddle with the audio aspects of the GBA so you would likely be altering these, either at instruction level or if it grabs settings from the ROM (like it might for speed, volume...) then you will know exactly where and how it decodes them (assembly is good stuff).

gbatek http://problemkaputt.de/gbatek.htm#armcpureference obviously has everything in detail about what goes, not sure what is gentler other than that TONC link above. You could find https://web.archive.org/web/2011090...om/products/processors/classic/arm7/index.php do something for you.

I have a few worked examples in my hacking docs but they are more for the cheat side of things. https://gbatemp.net/threads/gbatemp-rom-hacking-documentation-project-new-2016-edition-out.73394/ never the less.

https://www.cs.rit.edu/~tjh8300/CowBite/CowBiteSpec.htm for the sake of my usual link list. Don't think the quirky arm everything you never wanted to know link is worth it here, http://www.heyrick.co.uk/assembler/ will be linked because why not. For the sake of future forum searchers then for GBA audio http://belogic.com/gba/ is probably where most end up.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi @ AncientBoi:
    eeewww
  • K3Nv2 @ K3Nv2:
    I thought it was the toilet
  • AncientBoi @ AncientBoi:
    okies. Time to go watch YT paranormal ghost things. L8er my luvs :D
    +1
  • K3Nv2 @ K3Nv2:
    I got a massive clue
  • BakerMan @ BakerMan:
    this mf def ain't watching ghost shit, he boutta beat his meat fr
    +1
  • K3Nv2 @ K3Nv2:
    Nah he's about to be the ghost in your bedroom
    +1
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, and leave ectoplasm all over the place
  • BakerMan @ BakerMan:

    this is him being described
    +2
  • Xdqwerty @ Xdqwerty:
    Sigh
  • Xdqwerty @ Xdqwerty:
    Yawn
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, I dislike the kind of drm where you have to play single player games online all the time bc of some verification bs
    +1
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Don't use games that have Easy Anti-Cheat as its been exploited many times.
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, my PC can't run most AAA games so i wont
    +1
  • Xdqwerty @ Xdqwerty:
    Most of the modern AAA games
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, I also heard one of the Prince of Persia games was so unfinished that it required the "24/7 online" drm so a puzzle could be done and the game could be finished. And that when the Ubisoft servers were closed the (cracked) game was impossible to finish or something like that
  • SylverReZ @ SylverReZ:
    @Xdqwerty, That's extra scummy. Ubisoft nowadays ship out incomplete games like Skull and Bones which was being worked on for nearly a decade now.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, i think they have been doing that since late 2000s
    +1
  • Xdqwerty @ Xdqwerty:
    Either that or their old games were unfinished aswell but we can't notice it
  • Psionic Roshambo @ Psionic Roshambo:
    I like that games can be fixed after the fact, hate that it's being abused via beta tests... And DLC... I was a 7800 owner back in the day and loved Impossible Mission, turns out I couldn't beat it because it was actually impossible lol
  • Psionic Roshambo @ Psionic Roshambo:
    I never knew about it at the time but a fixed version was available but you had to mail in your broken copy lol
  • Psionic Roshambo @ Psionic Roshambo:
    So that version is semi rare
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, I have a rom of the ds version of impossible mission
    Xdqwerty @ Xdqwerty: @Psionic Roshambo, I have a rom of the ds version of impossible mission