Post Ao2AJsDLfeXOsj0dBg by gregly@retro.pizza
(DIR) More posts by gregly@retro.pizza
(DIR) Post #Ao1Z1xJyFTJFCghRZI by foone@digipres.club
2024-11-14T05:54:36Z
2 likes, 0 repeats
terrible idea for a gimmick hacking tool:you give it two copies of a ROM, and it runs them both in parallel according to a recorded input movie, but pauses when they desync and highlights what is different.
(DIR) Post #Ao1Z4gBePS4Svp6gYy by foone@digipres.club
2024-11-14T05:55:04Z
0 likes, 0 repeats
I could use this for some very silly, very lazy text injection hacking
(DIR) Post #Ao1Zx2oUV7XCkBCHya by foone@digipres.club
2024-11-14T06:04:58Z
0 likes, 0 repeats
gotcha!Doing it manually wasn't THAT painful.
(DIR) Post #Ao1aT5GUv9z3c9ZhM8 by foone@digipres.club
2024-11-14T06:10:46Z
1 likes, 0 repeats
oh, even better!
(DIR) Post #Ao1bVTAV7VACHZTHEm by foone@digipres.club
2024-11-14T06:22:22Z
0 likes, 0 repeats
and I have portrait injection! I can enumerate all the portraits by just generating 255(65536) versions of the ROM and running them all and screen capturing them.would it surprise you to learn that I have written software to do this already?
(DIR) Post #Ao1dyWAbEsRLtjUqIK by foone@digipres.club
2024-11-14T06:50:03Z
1 likes, 0 repeats
This is the third time TODAY!
(DIR) Post #Ao1eauVTCjHyNfZ7Fg by taxalot@framapiaf.org
2024-11-14T06:56:25Z
0 likes, 0 repeats
@foone With all this contract reading you will soon be able to apply for a lawyer license.
(DIR) Post #Ao1fPoqrzLe9bxqllo by foone@digipres.club
2024-11-14T07:06:13Z
0 likes, 0 repeats
I spent about 25 minutes and 12gb downloading a longplay to figure out how long I'd have to go in the game to find a better place to inject modified roms, or if I just give up and have a really long run time for each sprite-dumping-run. the answer turned out to be "like two rooms over" :(
(DIR) Post #Ao1fh4p5rQ084JFSYS by foone@digipres.club
2024-11-14T07:09:19Z
0 likes, 0 repeats
actually, no. it turns out that getting to a point where I can "be fast" is too far away, I'll get there quicker doing it the simple dumb way. Boring.
(DIR) Post #Ao1fq7IY1mIuLpKtDE by foone@digipres.club
2024-11-14T07:10:43Z
0 likes, 0 repeats
@0x4d6165 they don't require it, no! It's always been optional in every install system I've used. People just do it.
(DIR) Post #Ao1fx4f8E3SgCgDVke by foone@digipres.club
2024-11-14T07:12:13Z
0 likes, 0 repeats
this game goes 2 minutes 18 seconds before it renders the first line of dialogue. good lord.
(DIR) Post #Ao1gNZmj8SmMG1PHCC by foone@digipres.club
2024-11-14T07:16:56Z
0 likes, 0 repeats
@ChlorideCull time to leave it on overnight and hope it doesn't melt my laptop!
(DIR) Post #Ao1gWR6ukw8Jxc4eNk by foone@digipres.club
2024-11-14T07:18:37Z
1 likes, 0 repeats
"I've written software to do this already" says the foone, but she left out that:1. she wrote it in python22. this computer doesn't have python33. does it do a lot of printing (not print()ing) from random places? yes.4. does it do a lot of weird string-byte manipulation? yep! brb rewriting this for the nth time
(DIR) Post #Ao1hum4WZbsdsL7pL6 by Tau@im-in.space
2024-11-14T07:34:07Z
0 likes, 0 repeats
@foone Can't you speed up the emulator to go faster?
(DIR) Post #Ao1iNrHeH8goRA8GcC by tekhedd@byteheaven.net
2024-11-14T07:39:26Z
0 likes, 0 repeats
@foone surprise? no. disturb? maybe just a little. 😃
(DIR) Post #Ao1jTiG0qe6g8Mirdw by foone@digipres.club
2024-11-14T07:51:41Z
0 likes, 0 repeats
@Tau yeah but only so much. my system isn't powerful enough/this emulator isn't light enough that I can go at 100x speed, for example. I think I'm getting between 2-3x speed at the moment.
(DIR) Post #Ao1jnpUJfrUgLq0OZ6 by foone@digipres.club
2024-11-14T07:55:22Z
0 likes, 0 repeats
ARG. injection attempts have revealed that my partial decode script is using the span for the data files, but I misjudged the start and end point. So I need translate all my logic to shift all variables 16 bytes to the left. gah
(DIR) Post #Ao1jwR5HmAlVGqOwgi by foone@digipres.club
2024-11-14T07:56:55Z
0 likes, 0 repeats
actually I may not need that. I may never touch this script again, so I'm going to just note this and try to ignore it.
(DIR) Post #Ao1mjRslnTY7qO2uxc by foone@digipres.club
2024-11-14T08:28:10Z
0 likes, 0 repeats
okay so the extraction is taking about 70 seconds per portrait, so searching the 8-bit space (and I PRAY it is 8-bit!) will take 70*256 seconds, or... see you in five hours! (it'll hopefully speed up when I finish reencoding my roommate's copy of Armageddon (1998) to be videocd quality
(DIR) Post #Ao1o4WKUYdlRficmAa by foone@digipres.club
2024-11-14T08:42:49Z
0 likes, 0 repeats
I accidentally encoded Armageddon to 24:5 ratio which is less than watchable so I'm having to restart the encode
(DIR) Post #Ao1okgdgcKJLoDi10C by DJGummikuh@mastodon.social
2024-11-14T08:50:46Z
0 likes, 0 repeats
@foone Very-Ultra-Extreme-Widescreen? :D
(DIR) Post #Ao1or2ibRKLs1Z2VMm by foone@digipres.club
2024-11-14T08:51:59Z
0 likes, 0 repeats
I'm now considering hacking the ROM so that the opening movie is shorter
(DIR) Post #Ao1peJP4C6x5xeOXYW by foone@digipres.club
2024-11-14T09:00:49Z
0 likes, 0 repeats
I figured out how to optimize the emulator (turning off the display!) and got it down to 35s. 35*256=2 and a half hours
(DIR) Post #Ao1qTQ8eubn9cS5gRs by gkrnours@mastodon.gamedev.place
2024-11-14T09:10:01Z
0 likes, 0 repeats
@foone :(
(DIR) Post #Ao1u8hVvW21tF8LjXM by foone@digipres.club
2024-11-14T09:51:11Z
0 likes, 0 repeats
I found part of the movie player and hacked it to, uh, not work
(DIR) Post #Ao1uBRHGL5JJksnQHY by foone@digipres.club
2024-11-14T09:51:18Z
0 likes, 0 repeats
it just hangs forever
(DIR) Post #Ao1v8hDkhnWsHvPUtE by foone@digipres.club
2024-11-14T10:02:21Z
0 likes, 0 repeats
oh hey this stack trace goes through the VRAM. I pray to god that's a bug in the stack tracing and this code isn't jumping in and out of the VRAM
(DIR) Post #Ao1wLbiqYlmkxBfu6a by foone@digipres.club
2024-11-14T10:15:54Z
0 likes, 0 repeats
got it.to patch out the opening movie, change offset 0x5EF8F in the 10729BD884F8FDCA7A310B6D606C52E46657AA48 gba rom from 0xD0 to 0xE0.
(DIR) Post #Ao1wRQCkINbiyAQrgm by foone@digipres.club
2024-11-14T10:16:55Z
0 likes, 0 repeats
it took an hour and 20 minutes to figure out which two bits to change in the ROM
(DIR) Post #Ao1wqZHxer6sNnrXlI by foone@digipres.club
2024-11-14T10:21:29Z
0 likes, 0 repeats
it now takes 7 seconds per characterso it can finish in 21 minutesbut note: if I'd just let it run, it would have jut about finished by now on the slow route
(DIR) Post #Ao1ylkgw2EV8CzNK2S by leonerd@fosstodon.org
2024-11-14T10:42:58Z
1 likes, 0 repeats
@foone "An engineer is someone who'll spend hours building automation to speed up a 5 minute task"
(DIR) Post #Ao1zxkAHv0Uo0LO27s by oblomov@sociale.network
2024-11-14T10:55:24Z
0 likes, 0 repeats
@foone who wantsto hangforeveeeer
(DIR) Post #Ao20mjEV8x4psmfX3A by Drarok@mastodon.social
2024-11-14T11:05:33Z
0 likes, 0 repeats
@foone this is precisely why judging development output on lines of code is so completely useless. It might take ages to _find_ what to change, regardless how much needs changing.
(DIR) Post #Ao21m9grOEPNbTDww4 by foone@digipres.club
2024-11-14T11:16:36Z
0 likes, 0 repeats
dang it. it turns out characters have sub-expressions too
(DIR) Post #Ao22eQieIEGO3SwOP2 by RonanLK@piaille.fr
2024-11-14T11:26:29Z
0 likes, 0 repeats
@foone you should also check for dom-expressions while you're at it.
(DIR) Post #Ao22z1B8RnE6vK59xQ by foone@digipres.club
2024-11-14T11:30:10Z
0 likes, 0 repeats
it turns out if you go above the maximum expression on character 1, you get to the expressions of character 2so I just set it to character 0 and I'm iterating through all the expressions, since I can hit every expression on every character that way
(DIR) Post #Ao271I2p6vVXd0X7nk by gregly@retro.pizza
2024-11-14T12:15:23Z
0 likes, 0 repeats
@foone It absolutely would not surprise me. How many versions of the ROM can you run simultaneously? Or do you do it one by one?
(DIR) Post #Ao28oY7GFHjDcJf4Ou by foone@digipres.club
2024-11-14T12:35:34Z
0 likes, 0 repeats
@gregly I do it one by one for simplicity
(DIR) Post #Ao28rF3TZQvfMwAuBc by foone@digipres.club
2024-11-14T12:36:02Z
0 likes, 0 repeats
they use 241 of the 256 slots!
(DIR) Post #Ao28wGECdXIgSGaMaG by gregly@retro.pizza
2024-11-14T12:36:59Z
0 likes, 0 repeats
@foone Sensible. I just had this image in my mind of a 16x16 grid of emulators all running slightly different versions of a ROM like some sort of quantum alternate timeline viewer. 😆
(DIR) Post #Ao291nBDY9iW6KpK3E by foone@digipres.club
2024-11-14T12:38:00Z
0 likes, 0 repeats
@gregly I should try that sometime and see if it's any faster!
(DIR) Post #Ao2AJsDLfeXOsj0dBg by gregly@retro.pizza
2024-11-14T12:52:27Z
0 likes, 0 repeats
@foone Somehow I doubt it, but it would look cool 😆
(DIR) Post #Ao2BCNOVxaDDDrDlDM by anthony@bitbang.social
2024-11-14T13:02:17Z
0 likes, 0 repeats
@foone expression overflow?
(DIR) Post #Ao2Ciw8cQ4BmCNsLvU by phi1997@mastodon.social
2024-11-14T13:19:20Z
0 likes, 0 repeats
@fooneHow do you get it to show the ending credits instead for an even longer wait before the first dialogue box?
(DIR) Post #Ao2KtTZ3nKdoOkmPkO by MishaVanMollusq@sfba.social
2024-11-14T14:50:52Z
0 likes, 0 repeats
@foone do you sleep?
(DIR) Post #Ao2RNIpmqxtDX1D36u by bx@tiny.tilde.website
2024-11-14T16:03:28Z
0 likes, 0 repeats
@foone this is so fucken interesting, what a dope idea, this genuinly makes me want to sit down and write an emulator to build fun tools around, being able to hit a button and parrellell worlds gur game at any point with a 1 byte difference somewhere would be so insanely cool and a genuinly fun way to casually play a game while breaking it open
(DIR) Post #Ao2p2AXatHrId29hDs by foone@digipres.club
2024-11-14T20:28:35Z
0 likes, 0 repeats
@MishaVanMollusq I went to sleep after making that post and woke up now!
(DIR) Post #Ao2pLBbx8St1RyGKCe by MishaVanMollusq@sfba.social
2024-11-14T20:32:07Z
0 likes, 0 repeats
@foone a good 8-9 hours.
(DIR) Post #Ao3L4kV7MO9FGkGsMq by foone@digipres.club
2024-11-15T02:27:41Z
0 likes, 0 repeats
I can't figure out how to find the pointers to all the dialogue in this game so I'm just gonna invent the "statistical regex" to make the world that tiny bit worse
(DIR) Post #Ao3NTROTjjbd9p4FRA by foone@digipres.club
2024-11-15T02:54:32Z
0 likes, 0 repeats
putting that aside for now because I don't actually need dialogue right now, that's just me noodling.now I'm trying to remember what I used to edit tiles. I know yychr was the old go-to but I thought I replaced it with something newer... but I can't remember what that is.
(DIR) Post #Ao3NXGgPV7lr64HPn6 by foone@digipres.club
2024-11-15T02:55:11Z
0 likes, 0 repeats
not Binxelview, something that knows natively how to handle the weird way tiles are packed on nintendo consoles
(DIR) Post #Ao3NxlHOMn05WGD8Ou by foone@digipres.club
2024-11-15T02:59:11Z
0 likes, 0 repeats
someday I'm gonna hack together my own emulator and it'll be to do one thing and one thing alone:provenance tracking for assets.
(DIR) Post #Ao3NxnG30l75efb5aC by foone@digipres.club
2024-11-15T02:59:27Z
0 likes, 0 repeats
lemme point at a sprite and go "where was that loaded from?" and have it give me a filename and an offset
(DIR) Post #Ao3O1XWNSg1g0V1PFI by foone@digipres.club
2024-11-15T02:59:54Z
0 likes, 0 repeats
obviously not possible in all cases, but being able to do it at all would be amazing
(DIR) Post #Ao3OJUQrgVwRdi0Dg0 by foone@digipres.club
2024-11-15T03:03:59Z
0 likes, 0 repeats
but do I make a PSX or GBA emulator first? that's the question
(DIR) Post #Ao3PsrUU2uurF97qxk by foone@digipres.club
2024-11-15T03:21:33Z
0 likes, 0 repeats
I just scrolled past two fonts in this ROM and ONE was mirrored and the other wasn't. I hate that. Suspicious.
(DIR) Post #Ao3Q1gl3JsBgYw5JEO by foone@digipres.club
2024-11-15T03:23:11Z
0 likes, 0 repeats
@endrift awesome.mGBA (and the mGBA core in BizHawk) has been vitally important to this current project! Thanks so much.
(DIR) Post #Ao3QhjtM3erWRd1Fc8 by foone@digipres.club
2024-11-15T03:30:45Z
0 likes, 0 repeats
I found three more fonts, none of which are the one I want.
(DIR) Post #Ao3RLXDAcfYqhUGPVQ by foone@digipres.club
2024-11-15T03:37:56Z
0 likes, 0 repeats
there's a COPY of the tileset I'm looking for at 0x144C538. evil. I assume it's there for something like an altered version of this scene later, or it's a second room that was made by copying this one and altering it.but it's an annoying red herring
(DIR) Post #Ao3TeWg51z78SIyAq0 by foone@digipres.club
2024-11-15T04:03:45Z
0 likes, 0 repeats
Found it! I scanned through tiles until I found matching ones, scribbled over them, then ran the game until I saw them defaced in game. (I altered the defacement color in post, however, for visibility reasons)
(DIR) Post #Ao3Uo7EEbZPsNP57Ds by chocobo13@mastodon.social
2024-11-15T04:16:41Z
0 likes, 0 repeats
@fooneI can try to help with the former, if you'd like some. I've got a pretty good idea of how to write an emulator, as well as a decent grasp on MIPS
(DIR) Post #Ao404EX8JKHkFD5QzA by foone@digipres.club
2024-11-15T10:06:55Z
0 likes, 0 repeats
@kawa I know, I mean like how yy-chr has a dropdown for different encodings.
(DIR) Post #Ao4Hik30GBPOmstZLs by phi1997@mastodon.social
2024-11-15T13:24:43Z
0 likes, 0 repeats
@fooneNaminé decided that coloring in her sketchbook wasn't enough and made Castle Oblivion her canvas
(DIR) Post #Ao8E6ptyWT3Oi5kIr2 by foone@digipres.club
2024-11-17T11:03:08Z
0 likes, 0 repeats
naturally squeenix helpfully included a sprite viewer and then forgot to make it load the palettes correctly
(DIR) Post #Ao8FDZEsyMal0rIfWS by foone@digipres.club
2024-11-17T11:15:32Z
0 likes, 0 repeats
@ben that seems to be standard for sprite viewers. it means "animation"
(DIR) Post #Ao8HwZRxEetEbe03bU by foone@digipres.club
2024-11-17T11:46:05Z
0 likes, 0 repeats
I need to get a better arm assembler. I keep using an online one and it is generating stuff that the GBA can't handle
(DIR) Post #Ao8Lx0MtYM2HuP60gq by foone@digipres.club
2024-11-17T12:31:01Z
0 likes, 0 repeats
@endrift nah I got it, I'm using arm-none-eabi-as.exe from devkitpro with -march=armv4t -mthumb
(DIR) Post #Ao8OHxoGScqZxm1GYi by KatS@chaosfem.tw
2024-11-17T12:57:11Z
0 likes, 0 repeats
@foone I assume you mean ARM.I spent a moment wondering what kind of limb you had that could be disassembled :)
(DIR) Post #Ao9EiO10qYGcNru2Fc by foone@digipres.club
2024-11-17T22:44:41Z
0 likes, 0 repeats
It's amazing how much stupid automation you can develop when the alternative is manually editing 240 sprites
(DIR) Post #Ao9EyBsNkPf7MtOyrA by lritter@mastodon.gamedev.place
2024-11-17T22:47:31Z
0 likes, 0 repeats
@foone we ain't got corporation money! we can't afford temps!
(DIR) Post #Ao9G0kkJAoiU33PYWm by foone@digipres.club
2024-11-17T22:59:09Z
0 likes, 0 repeats
I wish I could script emulators worth a damn. They all seem to approach scripting from an almost antagonistic direction, like scripting is evil or something
(DIR) Post #Ao9G4WEV4gJOCAKSR6 by foone@digipres.club
2024-11-17T22:59:25Z
0 likes, 0 repeats
but I'm doing the second best thing to scripting: INJECTING ARM MACHINE CODE!
(DIR) Post #Ao9GHimTjTX4sQW8xs by grue@mastodon.social
2024-11-17T23:02:13Z
0 likes, 0 repeats
@foone I know bizhawk started from a "scripting should be good" pov but it was kinda the first one to do it as a first class citizen so maybe went about it dumb? idkFun Fact: the core VERGE creators were also the original BizHawk creators (although everyone from the original team has moved on)
(DIR) Post #Ao9GN0pg2oz0JKXKUK by foone@digipres.club
2024-11-17T23:03:14Z
0 likes, 0 repeats
@grue oh neat! I didn't know that.Anyway it makes sense, because bizhawk has moved on from being good. OOOOOOOOHHH!
(DIR) Post #Ao9GTaUWNYUEdrmC9o by grue@mastodon.social
2024-11-17T23:04:22Z
0 likes, 0 repeats
@foone (Those that have moved on might agree with you ;3)
(DIR) Post #Ao9IRFjYmdR1appDKS by foone@digipres.club
2024-11-17T23:26:25Z
0 likes, 0 repeats
My current hack changes the background color, skips an unskippable 1:30 cut scene, and I froze all sprites at animation frame zero.But it's not enough!
(DIR) Post #Ao9JGaJ23YUwAItTOK by foone@digipres.club
2024-11-17T23:35:39Z
0 likes, 0 repeats
maybe I'll move my process to native mGBA. I've been using bizhawk so far for TAS reasons, but my "TAS" is just "press A/B/Start a couple times until you get to the dialogue"
(DIR) Post #Ao9JJW2KO1HFnCThce by foone@digipres.club
2024-11-17T23:36:14Z
0 likes, 0 repeats
I can replace that with my old standby... a fake keyboard!
(DIR) Post #Ao9JY0gREqwCte9Poe by foone@digipres.club
2024-11-17T23:38:51Z
0 likes, 0 repeats
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
(DIR) Post #Ao9LSiv83Ns8GXd4XQ by foone@digipres.club
2024-11-18T00:00:14Z
0 likes, 0 repeats
@endrift I know! I'm currently working on coding this
(DIR) Post #Ao9LrLDJKd8dyps8jw by biggestsonicfan@digipres.club
2024-11-18T00:04:44Z
0 likes, 0 repeats
@foone obviously this means you need to make more (fake) keyboards
(DIR) Post #Ao9MFhSmGCj3w4ioUK by foone@digipres.club
2024-11-18T00:09:08Z
0 likes, 0 repeats
best way to make a TAS:if frame == 730 or frame == 816 or frame == 930 or frame == 1090 thenpress_a()end
(DIR) Post #Ao9MKfj49AlNzmiAdc by foone@digipres.club
2024-11-18T00:10:04Z
0 likes, 0 repeats
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.
(DIR) Post #Ao9MN8N2cL3VPmaF3A by foone@digipres.club
2024-11-18T00:10:29Z
0 likes, 0 repeats
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?
(DIR) Post #Ao9MPlLEhBSmrNzbMm by foone@digipres.club
2024-11-18T00:10:52Z
0 likes, 0 repeats
you never know when the next time you'll need to optimize time-to-donald-duck-speaking on some GBA game
(DIR) Post #Ao9N6FKxYyJq3I7Zcu by foone@digipres.club
2024-11-18T00:18:40Z
0 likes, 0 repeats
@endrift @leo but would it be fun? absolutely! actually this game has a weird callback mechanism so I could just inject my own code in there (without changing the rom!) and it'll get called by the end of the frame
(DIR) Post #Ao9NC1u6Q79C7xJh6e by NosirrahSec@infosec.exchange
2024-11-18T00:19:39Z
0 likes, 0 repeats
@foone I know that it's rhetorical, but I wish I would ask myself this question right before I waste a day to do a thing that would cost me mere minutes, maybe a few hours a year collectively lolI tell myself it makes me better through practice.
(DIR) Post #Ao9NEsQo5xsrcLyIW8 by foone@digipres.club
2024-11-18T00:20:06Z
0 likes, 0 repeats
@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
(DIR) Post #Ao9NMV6GixVHZd04fo by foone@digipres.club
2024-11-18T00:21:36Z
0 likes, 0 repeats
why can't I bisect my TAS for the GBA rom about donald duck
(DIR) Post #Ao9NXE9S4yBIC4bVSa by foone@digipres.club
2024-11-18T00:23:34Z
0 likes, 0 repeats
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
(DIR) Post #Ao9OB4BeXvZYsAd8oS by foone@digipres.club
2024-11-18T00:30:42Z
0 likes, 0 repeats
I manually did it: The first frame you can push "A" to skip the logos is 622.621 is too early.
(DIR) Post #Ao9OSxWw2CXpRK7IS8 by foone@digipres.club
2024-11-18T00:33:54Z
0 likes, 0 repeats
@endrift hmm. I think that might have ended up as C:\Program Files\mGBA? Which my user doesn't have permissions to write to
(DIR) Post #Ao9Oxjph0lFVw1ZDaS by foone@digipres.club
2024-11-18T00:39:30Z
0 likes, 0 repeats
@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?
(DIR) Post #Ao9P15i67ylQehc5cu by foone@digipres.club
2024-11-18T00:40:07Z
0 likes, 0 repeats
673 for the main menu.yes I'm doing this manually
(DIR) Post #Ao9P4ptor1zSmEsj6e by JennyFluff@chitter.xyz
2024-11-18T00:40:49Z
0 likes, 0 repeats
@foone Frame Perfect Foone
(DIR) Post #Ao9PFkmSE5MQ5Rdu7M by foone@digipres.club
2024-11-18T00:42:51Z
0 likes, 0 repeats
frame 766 is the earliest you can press A for New GAme
(DIR) Post #Ao9PIgmPYbT2Y11RJo by foone@digipres.club
2024-11-18T00:43:12Z
0 likes, 0 repeats
@endrift ahh, missed that! thanks!
(DIR) Post #Ao9PeXcgHbnkWDtIm0 by foone@digipres.club
2024-11-18T00:47:17Z
0 likes, 0 repeats
@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?
(DIR) Post #Ao9Q07FZ18KH5zMjVA by foone@digipres.club
2024-11-18T00:51:10Z
0 likes, 0 repeats
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!
(DIR) Post #Ao9Q8TiXMtHx5quBZw by foone@digipres.club
2024-11-18T00:52:33Z
0 likes, 0 repeats
@xssfox lua, sadly
(DIR) Post #Ao9QFBEoTMgxo8CK0G by foone@digipres.club
2024-11-18T00:53:54Z
0 likes, 0 repeats
@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?
(DIR) Post #Ao9QpALhFsorTXZoyO by foone@digipres.club
2024-11-18T01:00:13Z
0 likes, 0 repeats
882 is the earliest you can select slot 1. it's those fade-ins, fade-outs. those things take forever.
(DIR) Post #Ao9R6WsAlW8aFr2wym by foone@digipres.club
2024-11-18T01:03:28Z
0 likes, 0 repeats
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.
(DIR) Post #Ao9X2Ak9hPWKBkbP5E by foone@digipres.club
2024-11-18T02:09:55Z
0 likes, 0 repeats
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.
(DIR) Post #Ao9X79lEmOzKaaU8Aa by foone@digipres.club
2024-11-18T02:10:51Z
0 likes, 0 repeats
I suppose just to streamline the testing of patches to modify parts of the game. It certainly does that.
(DIR) Post #Ao9XQevf7ah4l1f1lo by foone@digipres.club
2024-11-18T02:14:22Z
0 likes, 0 repeats
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.
(DIR) Post #Ao9pRSqTKevWkFlasa by RueNahcMohr@infosec.exchange
2024-11-18T05:36:10Z
0 likes, 0 repeats
@foone so, your brute forcing the execution tree of a donald duck GBA game?Could I ask what got you interested in doing this?
(DIR) Post #Ao9u0KNTCsV6R154Yi by ppxl@social.tchncs.de
2024-11-18T06:27:18Z
0 likes, 0 repeats
@foone sounds like the story of every software dev 😁Deffo a screenshotable quote for a wall frame
(DIR) Post #AoA0j6ritGNNHfy6Cm by gkrnours@mastodon.gamedev.place
2024-11-18T07:42:35Z
0 likes, 0 repeats
@foone weren't you extracting the portraits from the game? Sprites? For a moment it thought you were making a meme generator.
(DIR) Post #AoARpRxa4WaZCuxKme by lapisliozuli@mastodon.au
2024-11-18T12:46:12Z
0 likes, 0 repeats
@foone Portrait Donald has a legitimately kickass outfit that matches my brand
(DIR) Post #AoE83sMbToMShS6LAG by foone@digipres.club
2024-11-20T07:23:38Z
0 likes, 0 repeats
I may be a fool: I've been trying to figure out how to hack sprites off a scene that HAS A MOVING CAMERAI bet I can just hack the camera position and make it scroll off to -32767, -32767 or something
(DIR) Post #AoE8TSUwGnP00aCOLg by foone@digipres.club
2024-11-20T07:28:15Z
0 likes, 0 repeats
uhhhh I don't know what's going on but it looks amusingly glitched, at least?
(DIR) Post #AoEAqo3AVPdjQ5TDSS by emily@sparkly.uni.horse
2024-11-20T07:30:57Z
0 likes, 0 repeats
@foone is this cloud strife
(DIR) Post #AoEAqp3uk7pYYgpKG9 by foone@digipres.club
2024-11-20T07:54:55Z
0 likes, 0 repeats
@emily nope but I think he's in this game somewhere
(DIR) Post #AoEBKPnNFTvOsmCWjw by foone@digipres.club
2024-11-20T08:00:15Z
0 likes, 0 repeats
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)
(DIR) Post #AoEHfstupVEuxRsiJM by foone@digipres.club
2024-11-20T09:11:21Z
0 likes, 0 repeats
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
(DIR) Post #AoEHim7EVtFcmaUNQ8 by foone@digipres.club
2024-11-20T09:11:51Z
0 likes, 0 repeats
not super useful on its own, but maybe it'll lead somewhere interesting. watchpoint time!
(DIR) Post #AoEK7tnPINCfkaK6BU by foone@digipres.club
2024-11-20T09:38:52Z
0 likes, 0 repeats
Bingo! I hacked the camera to not move and now it's somewhere useful.
(DIR) Post #AoEKCdzdTdfuBeJ13w by DJGummikuh@mastodon.social
2024-11-20T09:39:41Z
0 likes, 0 repeats
@foone but nobody's home /o\
(DIR) Post #AoEKdFLdDQ4nZOHMmm by foone@digipres.club
2024-11-20T09:44:25Z
0 likes, 0 repeats
@erice I hacked it to be pink a while back! I never figured out why I got red instead of pink
(DIR) Post #AoEKoITRvuLSS0CmZc by Nekoplanet@paquita.masto.host
2024-11-20T09:46:30Z
0 likes, 0 repeats
@foone @erice now we need cian and white :3