marzojr
He/Him
Experienced player (749)
Joined: 9/29/2008
Posts: 964
Location: 🇫🇷 France
X position: longword @ $FFA2D0 X pixel: word @ $FFA2D0 X subpixel: word @$FFA2D2 Y position: longword @ $FFA2D4 Y pixel: word @ $FFA2D4 Y subpixel: word @ $FFA2D6 X speed: longword @ $FFA2D8 Y speed: longword @ $FFA2DC The game updates position by doing a longword addition with speed for each component (X, Y); however, in the short amount of testing I did, it seems that the low byte of speed is unused, and so is the low byte of subpixels.
Marzo Junior
Expert player (2583)
Joined: 6/2/2009
Posts: 1182
Location: Teresópolis - Rio de Janeiro - Brazil
Nice! Thank you, marzojr. I'm not at home at the moment, but I'll test your addresses as soon as I get there. I posted it on the Snes forum a while back, here's the ones I've found;
Position = mainmemory.read_u16_be(0xA2D0) 
Subpixel = mainmemory.read_u8(0xA2D2)
The X position and subpixel seem similar to the ones you've found, and I'm pretty sure we've found the correct ones. In any case, I'm testing a new strategy in Maharajah to not use the peppers. (saving them to use in Egypt) So, it will be no problem if a restart is needed, as I need to manage the Popcorn better, too. edit: Our addresses are pretty much the same, but I think longword makes Donald's position a bit confusing. It makes enough sense for speed though. This or I don't know what longword means. :) In any case, here's the Lua script I'm using. (updated with some of your addresses) final edit; Not using the peppers in Maharajah is barely faster, just 4 frames, but I can save some popcorn, too. But with the new addresses it's possible to optimize Donald's movement a little further, especially his jumps. So, a restart is more than welcome at this point, since almost everything I did so far can be improved.
I am old enough to know better, but not enough to do it.
Joined: 5/12/2009
Posts: 748
Location: Brazil
Good luck improving your run, Dooty! I look forward to this submission!
Expert player (2583)
Joined: 6/2/2009
Posts: 1182
Location: Teresópolis - Rio de Janeiro - Brazil
Thank you, Reeve. After three restarts I'm pretty sure I'm working on the final version. :) The run is full of new things now and I just finished Transylvania, 1176 frames ahead.
I am old enough to know better, but not enough to do it.
Editor, Experienced player (575)
Joined: 10/22/2016
Posts: 581
Location: Argentina
This game is nostalgic and very fun to play, The best of luck on your submission!
You can see more TASes on my youtube channel
Expert player (2583)
Joined: 6/2/2009
Posts: 1182
Location: Teresópolis - Rio de Janeiro - Brazil
Thank you, Evil_3D. It won't take much longer now. I just finished Maharajah without using the peppers and it's 86 frames slower than the published run, but since Donald can use those peppers as soon as he starts Egypt, it will be faster overall. edit; I'm once again about to face the Viking Ghost, ~1800 frames ahead. edit2; I'm going to South Pole to grab the Viking Diary, ~2100 frames ahead now. edit3; I'm pretty close to skip a phase of those moving platforms of Hideout, so close... edit4; The skip succeeded! Now I'm about to face Pete, 2646 frames ahead.
I am old enough to know better, but not enough to do it.
Expert player (2583)
Joined: 6/2/2009
Posts: 1182
Location: Teresópolis - Rio de Janeiro - Brazil
I'm just one screen transition away from Garuzia, 3100 frames ahead! And since we know that it's possible to shave ~1000 frames from this boss fight, the new run should save around ~4100 frames. Way more than I was expecting. Time to think about the submission text, and I want to do something new this time. Maybe subtitles, a Lua script or something else entirely, but there'll be something. So, if nothing new happen to force a restart, and I hope not, it will be submitted soon. edit; in fact the new Garuzia's strategy is 468 frames faster... so the new run is 3651 frames faster, still good though.
I am old enough to know better, but not enough to do it.
Expert player (2583)
Joined: 6/2/2009
Posts: 1182
Location: Teresópolis - Rio de Janeiro - Brazil
That "something" I want to submit with the improved run will take quite some time. So here's the movie file. I'm working full time on it, so it will come out eventually.
I am old enough to know better, but not enough to do it.
Joined: 5/12/2009
Posts: 748
Location: Brazil
Amazing work Dooty! I look forward to whatever you're working on, so I have an excuse to watch the run again (I would anyway even if I had not an excuse).
Expert player (2583)
Joined: 6/2/2009
Posts: 1182
Location: Teresópolis - Rio de Janeiro - Brazil
Thank you, Reeve. I was hoping to submit it on Christmas Eve, but it's not even half way done yet. :( Not that it will be something "top notch", but I don't want it to be too crappy either. I can give you some details of what I'm doing: I'll call it TAST: Tool Assisted Submission Text. It may contain audio too, but I'm having some trouble with it, so, no promises.
I am old enough to know better, but not enough to do it.