Post subject: Inserting a memory card during a run ?
Active player (322)
Joined: 1/15/2012
Posts: 343
Hi ! I've got a problem... I'm making a VERY long run since some months, and it appears that after you beat a boss, you have to save to continue. ... I did this run without memory card. Is it over ? I can "insert" a memory card, save and continue, but will it be read by the emulator when playing back the movie ? Please, I need your help... You know how long and hard can a 3d game TAS be, I worked on it since September, I don't want to redo anything :|
RachelB
She/Her
Player (129)
Joined: 12/3/2011
Posts: 1579
Eh? What game is it? Surely it doesn't require a memory card to continue.
Player (34)
Joined: 3/8/2012
Posts: 398
Location: Windfall Island
Yeah, if you say what game it is, I'd be happy to look at it to help find an alternative. I have nothing better to do ;)
IronSlayer wrote:
Your counterargument would be like me saying that the Earth is round and then you telling me that I need to show it's flat so I can "prove us all wrong".
Seems legit.
Active player (322)
Joined: 1/15/2012
Posts: 343
Billy Hatcher And The Giant Egg, I'm playing an all level run, so I have to do the level after the final boss of Giant Palace. After this boss though, the ending credits arrives (can't skip them...), then the game ask me if I want to continue without saving, and then it just restart... If I have a save, it works perfectely, else I'm stuck
RachelB
She/Her
Player (129)
Joined: 12/3/2011
Posts: 1579
Oh.. Is it not possible to hex the start to include a memory card? If not, i can hack something up for you, but if you can hex it, that'd be the best option. Also, next time don't start a tas without planning everything out, and testing the route!
Active player (322)
Joined: 1/15/2012
Posts: 343
I never played the game without memory card, I didn't even doubt this would happen. I will have to hex every part where they ask for a memory card, but if it should be faster than redoing the whole run. Thanks for the help :) EDIT : I can't hex-edit actually, there are tons of stuff which are frame-dependent on this game :( I'm uploading the movie + 2 savestates (one before the credits, one after) so you can see by yourself.
RachelB
She/Her
Player (129)
Joined: 12/3/2011
Posts: 1579
http://pastie.org/5628393 should do what you need. You'll have to hex the movie though, since it doesn't record mc changes. It'll be bit 6 of the second byte of the controller data. I can compile a build for you if you need, just let me know if you need 32 or 64 bit. Keep in mind, you're movie will be unplayable without this patch (or i guess someone could just manually connect the mc during the credits, but who wants to do that?).
Active player (322)
Joined: 1/15/2012
Posts: 343
Just as a note, I'm using the build 828. Can you compile this for 64 bits please ? :D How do I hex edit that ? When I need the memory card, I change the 6th bite of the 2nd byte of the controller to 1 ? Also, can I do that with a simple hex editor or should I use another tool to modify bite-specific ?
RachelB
She/Her
Player (129)
Joined: 12/3/2011
Posts: 1579
What's the revision number of the build you're using? It's listed in the about menu towards the top. And yes you can use a hex editor. Just set the second byte to 0x20 (32 in decimal).
Active player (322)
Joined: 1/15/2012
Posts: 343
I think it's 828, http://i.imgur.com/nrBG2.png
RachelB
She/Her
Player (129)
Joined: 12/3/2011
Posts: 1579
Active player (322)
Joined: 1/15/2012
Posts: 343
Made it work ! Thank you so much ! :D EDIT : or not, I can record a save and then continue by modifying the second byte to 20, but when I play back the movie it just ignores the save... I don't know why. I'm going to continue testing :p By the way, do I have to delete the memorycard in user/GC each time or is it ok to keep it ?
RachelB
She/Her
Player (129)
Joined: 12/3/2011
Posts: 1579
I'm retarded
Active player (322)
Joined: 1/15/2012
Posts: 343
... How did I not realise that HxD is using decimal numbers... Ok, I'm going to try with 32 :p
RachelB
She/Her
Player (129)
Joined: 12/3/2011
Posts: 1579
I'm going to bed, i can't even think. Don't believe anything i've said all day.
Active player (322)
Joined: 1/15/2012
Posts: 343
Ok, when you wake up I'll need your help... When I put 32 instead of 20 on HxD, Dolphin tells me "Invalid file" infinitly (I have to force quit it). It was working better with 20 :p I really don't know what to do. EDIT : Oh, ok :p I'll put back 20. EDIT2 : Made it work... I just have to put a HUGE delay so the playback could actually load the memory card... (it seems it's not frame precise). Thank you so much RachelB ! :D
RachelB
She/Her
Player (129)
Joined: 12/3/2011
Posts: 1579
Oh, yeah, sorry, i should have mentioned that it won't switch the memory card right away. I'm glad you got it working. Also, if you could not call me rog anymore, i'd appreciate that!
Active player (322)
Joined: 1/15/2012
Posts: 343
Oh ok sorry.