terrible idea for a gimmick hacking tool
-
673 for the main menu.
yes I'm doing this manually -
@foone correct. That would require hooking into the frontend, which the scripting subsystem does not yet do
-
@foone there is an always fast forward option in the UI though--shift tab by default
-
frame 766 is the earliest you can press A for New GAme
-
@endrift ahh, missed that! thanks!
-
@endrift and I just crashed it. unfortunately I have no debugger or anything installed here so it just vanished... is there a log file I could look at?
-
I was accidentally running multiple copies of the same script all trying to push keys at specific times.
this created some HILARIOUS non-deterministic behavior! -
@endrift is there a way for my script to ensure only one copy of it is running? if I reload it (by using recent scripts), I get two copies running. I have to reset/reload instead. can my script do that itself somehow? unload any prior copy?
-
882 is the earliest you can select slot 1.
it's those fade-ins, fade-outs. those things take forever.
-
Here's how I documented it.
My script runs the game to frame 2000, after pushing the A button at 4 different times. Then screenshot. I can tell from the thumbnail if it made it to the dialogue or not! so I just manually bisect the numbers until I get minimums. -
so I did all this, and that's good, but I've not gotten much sleep and this took a couple hours.
so... I've completely forgotten WHY I needed to do this.
-
I suppose just to streamline the testing of patches to modify parts of the game. It certainly does that.
-
but I can't remember if I had anything more specific in mind before I got detoured into switching emulators, kinda*.
* I started with TASing on BizHawk, and then switched to scripting mGBA. This was for Reasons, but it also didn't really happen? I only changed emulator frontends, not emulators. I was using the mGBA-core in BizHawk in the first place, so I was always using mGBA. I'm just now using it directly (in its own frontend) rather than as a module in a different frontend.
-
I may be a fool: I've been trying to figure out how to hack sprites off a scene that HAS A MOVING CAMERA
I bet I can just hack the camera position and make it scroll off to -32767, -32767 or something
-
uhhhh I don't know what's going on but it looks amusingly glitched, at least?
-
emily, emitter of spooky noisereplied to Foone🏳️⚧️ last edited by
@foone is this cloud strife
-
@emily nope but I think he's in this game somewhere
-
I can't figure out how this game handles the camera. I've searched for variables going up and down and all over the place and nothing matches any kind of idea of "scrolling" that I can see.
either it's doing some weird dynamic loading or it's doing something silly like storing camera frames in a linked list (that's out of order)
-
so the only camera stuff I can find is a 4-byte value at 0x030EB0 in EWRAM (so 0x02030EB0) seems to be "how long it takes to pan over to the target destination". so if I set it to a billion, it means the camera moves so slowly it basically doesn't
-
not super useful on its own, but maybe it'll lead somewhere interesting. watchpoint time!