Post subject: Hex Editing DTMs?
Xander
He/Him
Joined: 12/31/2016
Posts: 17
Location: Canada
I am wondering how I can hex edit DTMs to string together ILs. Many people have linked me to the DTM page here on tasvideos and sonicpacker's tutorial for hex editing m64s which can be found here: https://www.youtube.com/watch?v=vC7kPZ0Kwds I'm guessing the main difference between DTMs and m64s is the header size/how much the inputs need to be offset (when sp adds 1024 when calculating where the frame is in hex)(?). I've tried copying inputs this way and even when I should end up with some garbage input, it changes absolutely nothing; what I had originally still plays. It may be important to note that I'm working with 2 wiimotes, the first having a nunchuck extension. If anyone knows how to do this help would be very much appreciated, Thanks in advance.
Super Mario Galaxy/64 TASer
Memory
She/Her
Site Admin, Skilled player (1556)
Joined: 3/20/2014
Posts: 1765
Location: Dumpster
If it uses GCN controller it's doable. If it's using wiimote it's basically impossible.
[16:36:31] <Mothrayas> I have to say this argument about robot drug usage is a lot more fun than whatever else we have been doing in the past two+ hours
[16:08:10] <BenLubar> a TAS is just the limit of a segmented speedrun as the segment length approaches zero
Editor, Expert player (2329)
Joined: 5/15/2007
Posts: 3933
Location: Germany
I made a DTM on Dolphin 4.0-9215, an SSBM Homerun Contest TAS. Unfortunately, I used the v1.0 of the game which has a too short track. The camera stops and the sandbag falls through the ground. Any chance of getting this run to sync on v1.1? I'd make a DTM on v1.1 and copy the input over. How to do it? EDIT: Nevermind, the movie played back in v1.1 without a desync. Thanks anyway v :)
Editor
Joined: 3/31/2010
Posts: 1466
Location: Not playing Puyo Tetris
MUGG wrote:
Any chance of getting this run to sync on v1.1? I'd make a DTM on v1.1 and copy the input over. How to do it?
There's some Header Data here you can look at: http://tasvideos.org/EmulatorResources/DTM.html particularly the GameID and MD5 hash of game are most likely what you want to edit/change to make it hopefully sync on 1.1 Or at least giving you more to work with.
When TAS does Quake 1, SDA will declare war. The Prince doth arrive he doth please.
Editor, Expert player (2329)
Joined: 5/15/2007
Posts: 3933
Location: Germany
Ok, I'm still on ancient Dolphin version 4.0-9215, but maybe someone can help me anyway. I made a savestate-anchored TAS. Now I want to play back the same input starting from a different savestate. How can I do it? EDIT: After a long while of trying to hexedit the DTM and whatnot, I simply started recording from a new savestate, loaded the previous ending state (read+write), and then loaded that new starting state (read-only). Dolphin gave an error and I had to do this process a lot of times until a good RNG seed was found.