terrible idea for a gimmick hacking tool
-
though I may just jam a crappy pseudo-TAS into my lua script. easier than getting a fake keyboard, especially since I physically cannot get to my fake keyboards right now
-
@foone mGBA has lua scripting now that can do that. It can even take screenshots for you automatically!
-
@endrift I know! I'm currently working on coding this
-
-
@foone obviously this means you need to make more (fake) keyboards
-
-
best way to make a TAS:
if frame == 730 or frame == 816 or frame == 930 or frame == 1090 then
press_a()
end -
now I need an algorithm to push these numbers smaller while still getting the same result.
like, play the rom, run this, take screenshot at frame 2000. then try lowering one by 5%, re-run, see if we get the same screenshot. -
why do things manually that'll take maybe 5 minutes when you could spend an hour writing automation to do it for you in 30 minutes?
-
you never know when the next time you'll need to optimize time-to-donald-duck-speaking on some GBA game
-
-
@endrift speaking of screenshots, where do they go?
I tried emu:screenshot("filename.png") but filename.png doesn't seem to appear anywhere (not in the screenshots folder I set in paths, or the same as the rom, or C:\) so I have to do an absolute path
-
Foone🏳️⚧️replied to Foone🏳️⚧️ last edited by [email protected]
why can't I bisect my TAS for the GBA game about donald duck
-
I'm always disappointed in computers ability to let me be brute force stupid.
I have to write my own code to be stupid, which surely defeats the point -
I manually did it: The first frame you can push "A" to skip the logos is 622.
621 is too early.
-
@foone uhh I think it's relative paths, so that's probably %HOME% if you launched mGBA normally
-
@endrift hmm. I think that might have ended up as C:\Program Files\mGBA? Which my user doesn't have permissions to write to
-
@foone yeah that would be a problem
-
@endrift not a major one, just a bit of a confusing one since there was no error.
another question: am I right that you can't turn on turbo from a script? and there's no "always turbo" option, like turning off all throttles in bizhawk?
-
673 for the main menu.
yes I'm doing this manually