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,403
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
  • K3Nv2 @ K3Nv2:
    I've been taking fiber pills, eating more grapes, switched to wheat bread in hopes to lower it
    +1
  • BigOnYa @ BigOnYa:
    I like wheat bread, I even like the chunky wheat bread with pieces of whole grain in it.
  • K3Nv2 @ K3Nv2:
    Been getting this honey wheat bread from aldis pretty decent not very sweet to out do it
  • K3Nv2 @ K3Nv2:
    Me making any food at home is an improvement to how I use to be
    +1
  • BigOnYa @ BigOnYa:
    I have an bread machine and use it alot, better than breads you buy, but don't last as long, cause no bs preservatives
  • K3Nv2 @ K3Nv2:
    I got compliments about my weight loss and thought well guess I can pig out again now I'm the piggy
  • BigOnYa @ BigOnYa:
    My biggest prob is alcohol, definitely is fattening
  • K3Nv2 @ K3Nv2:
    I know when to stop at least honestly don't get those that go and go with food
  • BigOnYa @ BigOnYa:
    Or those that order 2 big macs , large fry, ice cream sundie, then a diet coke
  • K3Nv2 @ K3Nv2:
    I might get downing two big macs but nah that's it
  • BigOnYa @ BigOnYa:
    Ok that will be $15.99, cash or charge?
  • K3Nv2 @ K3Nv2:
    My go to orders usually a mcdouble and a mcchicken and I'm happy rarely mess with fries
  • K3Nv2 @ K3Nv2:
    Pro tip ask for that clowns jizzmac sauce on your mcdouble
    +1
  • BigOnYa @ BigOnYa:
    Do they charge extra when you add sauce,etc? I know burger king used to not, but don't know nowadays
  • K3Nv2 @ K3Nv2:
    They may squrit it for free if you ask nice
    +1
  • K3Nv2 @ K3Nv2:
    Last time I got bk it was 35c per sauce fuck you king of my nutsack
    +1
  • K3Nv2 @ K3Nv2:
    I'll buy a bottle of baby rays BBQ for $2 and add it from home out of spite
    +1
  • BigOnYa @ BigOnYa:
    I like baby rays, my favorite is KC masterpiece tho. Figured all you could buy is that there.
  • K3Nv2 @ K3Nv2:
    The metro doesn't discriminate good sauce
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Baby Rays isn't that what killed the crocodile hunter?
  • Psionic Roshambo @ Psionic Roshambo:
    If only he had done an endorsement for them....
  • Psionic Roshambo @ Psionic Roshambo:
    Oy mate don't let a bad bbq sauce kill your party! Baby Rays are killing it!! The flavor hits you right in the chest!
    +1
  • Xdqwerty @ Xdqwerty:
    My phone only has 13% battery so i don't have much time left
  • Xdqwerty @ Xdqwerty:
    Now 12%
  • BigOnYa @ BigOnYa:
    Happy birthday, btw
    BigOnYa @ BigOnYa: Happy birthday, btw