My goal: I want to be able to set a game (melee) state to whatever I want. I'm willing and able to modify actual memory addresses to do what I want.
For example, I'd like to be able to generate a save state/AR code that sets the game state such that player 1 is Fox and player 2 is Falco, with their x/y coordinates specified by me, plus their states specified by me.
What I don't know is a mechanism to do this. It seems the two ways Dolphin could support this are save states or AR codes?
For AR codes, if I know the values+memory addresses I want set, it looks like I should be able to generate an AR code that accomplishes that? I see stuff on the github wiki describing how to use AR. Maybe I'm misunderstanding how AR codes work though and they aren't workable for my use-case.
For save states, it looks like the format is undocumented & changes between versions frequently? So maybe it's a bit more brittle, but aside from that, programmatically generating a Dolphin save state doesn't seem too unreasonable?
In either case, it looks like I have to go through the UI manually. My goal is to get the feedback loop as tight as possible. Ideally, I'd like to ask my program for a melee state and then have it boot up dolphin w/melee in that state from scratch.
For example, I'd like to be able to generate a save state/AR code that sets the game state such that player 1 is Fox and player 2 is Falco, with their x/y coordinates specified by me, plus their states specified by me.
What I don't know is a mechanism to do this. It seems the two ways Dolphin could support this are save states or AR codes?
For AR codes, if I know the values+memory addresses I want set, it looks like I should be able to generate an AR code that accomplishes that? I see stuff on the github wiki describing how to use AR. Maybe I'm misunderstanding how AR codes work though and they aren't workable for my use-case.
For save states, it looks like the format is undocumented & changes between versions frequently? So maybe it's a bit more brittle, but aside from that, programmatically generating a Dolphin save state doesn't seem too unreasonable?
In either case, it looks like I have to go through the UI manually. My goal is to get the feedback loop as tight as possible. Ideally, I'd like to ask my program for a melee state and then have it boot up dolphin w/melee in that state from scratch.