hacking on the Tim Burton's The Nightmare Before Christmas GBA game.
-
at least according to GBATEK.
SEE, the GBA has two main rams: on-chip and on-board.
-
but what you call these two are... inconsistent.
-
BizHawk uses IWRAM and EWRAM, as does corrupt.wiki.
GBATEK says "WRAM - On-chip Work RAM" and "WRAM - On-board Work RAM".
mGBA internally calls them "iwram" and "wram". -
so whatever. iwram aka WRAM - On-chip Work RAM is at 0x03000000.
so 0x03005850 is the address I need to watch. -
080B5AEA writes it. BINGO
-
wee, dynamic code flow! they're passing jumps around in objects. that's no fun
-
Graham Sutherland / Polynomialreplied to Foone🏳️⚧️ last edited by
@foone you just reminded me of the time I tried to reverse engineer Steinberg Wavelab to extract realtime playback data from it, only to discover that they use a really weird event driven programming system where every event causes pretty much every object involved in that event to be reallocated at a new address, making it impossible to form a static pointer chain. if this was an intentional act of copy protection I am impressed.
-
Foone🏳️⚧️replied to Graham Sutherland / Polynomial last edited by
@gsuberland yikes! that doesn't sound... fast? optimal? it sounds like a bad idea just on general principles
-
@foone I mean wavelab itself is a bad idea, I cannot count how many times I used to have it eat people's projects in the radio studios
@gsuberland -
Foone🏳️⚧️replied to Foone🏳️⚧️ last edited by [email protected]
EWRAM:62F is the current weapon. You can set it to values of weapons you don't have, and it'll let you fire them
-
weapons:
1: frog gun
2: bat boomerang
3: pumpkin bomb
4: become fireguyother values seem to just do nothing when you press fire.
-
dang it. I tried to go to a locked area so I could test my new fancy warping-hacks, but it turns out that was were I was supposed to go in the first place.
-
I entered a boss fight, tried to cheat its health, then gave up and tried to beat it normally. failed.
then realized I accidentally succeeded at cheating its health, and I had made it invulnerable by mistake.whoops
-
"Go to the right. The path will be blocked by Pumpkin Blocks. Since you can't proceed, go back to..."
NOT SO FAST, WALKTHROUGH. I can cheat to Pumpkin Bombs, so let's break some sequences!
-
oh god this map scrolls.
-
@foone Isn't this easier done with Cheat Engine?
-
@jernej__s cheat engine would tell me when my emulator changes the RAM, not when the game inside the emulator changes RAM
-
@foone you’re really making me want to play this and I have never even seen the movie
-
@glyph I haven't either. I wouldn't really recommend it, personally. The combat is boring