Posts for DeHackEd


1 2
18 19 20
32 33
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
AVI Prerelease to those who want it. Edit: this version is from an old version of the M64 which doesn't actually collect the final star. After the movie ended, I just pressed JUMP for the hell of it.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
In reply to FODA: Copying a level which has random events may not work, since the random events are a function of the whole movie up to that point in time. So RNG(old start + cut) != RNG(new start + cut), depending on the implementation. I've copy/pasted an entire level of MMX successfully, but item drops changed. Luckily that doesn't affect the outcome until the boss fight. In the grand scheme of things, this is the exception rather than the rule. Had there been a miniboss with random behaviour, I'd be screwed.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
Toad's a bit faster on this level for his ability to run faster carrying a heavy weight and the pickup speed of the items needed in world 1-2. Luigi or princess could make the jumps faster, but lose in other places. Toad can't make that last jump to the top level of the hill though, so he rides the carpet instead and uses it as a platform. Peach can abuse her floating ability and Luigi's jumping height allows doublejumping or crouch-jumping to reach the target.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
The highest level route for the 16 star run is:
  • Get 15 stars to make the rabbit appear.
  • Catch the rabbit. Use it to glitch through 2 doors.
  • Board Bowser's Sub to gain access to Bowser in the Fire Sea
  • Defeat bowser to gain access to the upstairs areas.
  • High Velocity Bum Rush your way to Bowser in the Sky.
  • Win the game.
Nobody cares about MIPS' star. We want the rabbit himself. He can make Mario move through solid doors. So we need him to appear, and that takes 15 stars. And yes, you can't collect the rabbit's star if the rabbit hasn't appeared yet. Also, you can't collect Toad's star as number 15 because the rabbit only shows up when the game loads the basement zone.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
A big issue that came up with other runs was forcing Bowser in the Dark World to do his angry foot-stomping thing at the very beginning of the battle so as to make him stall. Maybe you got lucky. But I interpreted it as luck manipulation in some sense.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
Of what the AVI says? While walking in the lighter green patches of the world map, you don't decrement the encounter counter! Erokky went wide around the mountain range. This would be considered a mistake if you didn't know about the encounter counter. And I didn't know until after I ran this plugin on the game and discovered it.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
They're supposed to be h.264 as usual, but they're sliced out of a larger AVI and might have lost some header information in the process. Here's an MPEG4/DivX version.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
I've seen some weird behaviour which I cannot adequately explain, especially in the Narshe Mines when Terra makes her escape at the start of the game. I know the program isn't entirely correct, but it's too weird to be explained by the mistakes I know of. Really I made it for my own advantage. The enemy HP display came out of your exact kill of that boss in Zozo, since I wanted to see it and thought it would be a good feature for the whole movie. The encounter counter came up later. And as for its usefulness, it's probably best targetted at a viewer. How many of you knew this? (Taken from erokky's currently published run)
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
                int i;
                for (i=0; i < 100; i++) // 100 is arbitrary rally
                {
                        unsigned short bigaccum = S9xGetWord(0x7e1f6e,true);
                        bigaccum += S9xGetWord(0xc0c29f, true) * i; // I don't think this is the right address all the time

                        int b1 = bigaccum >> 8;

                        int b3 = S9xGetByte(0x001fa4,true);
                        int b4 = S9xGetByte(0xc0fd00 + S9xGetByte(0x001fa1,true)+i+1,true);
                        signed int b5 = (unsigned char)(b4+b3) - b1;
                        if (b5 < 0)
                                break;
                }
                if (i == 0)
                        strcat(data, "Uh-oh");
                else
                        sprintf(data, "%d steps", i);
Here's the code for my "Encounter counter" plugin. It's not 100% accurate, in particular b4 should probably be zeroed every once in a while. But it does an adequare job in predicting random encoutners. Short demo AVI (32 seconds). S9xGetWord reads a 16 bit number, S9xGetByte reads an 8 bit number at the given address. Ignore the 'true' parameter.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
Figured it out. You need to let the emulator run for a bit before calling up Movie Replay. Played back fine with sound sync off. I have to admit, I kinda skipped the Extra half. But I watched the main courses and loved it. Yes vote.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
I've tried and failed to get it to playback. It always fails to selected "Play course" after selecting 1P game. I'll have to wait until someone publishes it.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
Don't worry about the AVI think, I'm just kidding around. We've come up with plenty of ideas in the IRC channel.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
What sync settings? This thing messes up on the main menu.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
Oh great... now how am I supposed to assemble this into an AVI? Just kidding. We have ideas. On a technical note, it sounds doable. Mostly wacky running to the right, dodging, etc. It would certainly look suicidal for the first few minutes. I don't know if you could bring it out the whole way. If you want to try, then by all means. I'll endorse it.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
Short version: don't call gtk's main loop code from any thread except the one designated to be for the main loop. This shows up sometimes when the emulation thread wants to display messages on the screen, and the emulation thread isn't the GTK thread. MessageBox() locks up at 100% CPU usage from the gtk code detecting the flaw. Break down. Workaround: messagebox now asks questions on the console. Besides, with always-on-top mode, I can't see the message boxes anyways.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
Nitsuja, this messagebox.c in main/gui_gtk, did you insert this? Because it's deadlocking the emulator and I'm going to have to amputate to save the patient.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
http://dehacked.2y.net/savestateify.php Edit the (backup of) movie to mark the end point. Provide a savestate to indicate the starting point. Wham, bam, thankyou SRAM.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
In terms of hardware, they're mostly the same. This one burns all the formats, is does dual layer, and the speed seems reasonable. I'd buy it. You want to check out what the software is capable of. The DVD burner itself doesn't give a damn about MPEG2 or operating systems. Ensure you can burn movies in DVD Video format if that's what you want, and do so in good quality. The site looks okay for me, but I'm not overly picky.
Post subject: Did somebody say AVI?
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
DeHackEd AVI Encoding Enterprises Ltd. (website forthcoming) is pleased to offer an AVI for the most recent m64 posting.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
It works for me, and I'm part way through pass 2, so don't worry too much.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
If you have suggestions, I'm listening. I'm having a hard time picking a still image that really tells this movie, and an animated GIF is out of the question. :)
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
Exitting Jolly Roger Bay via the Exit Course command from the menu (to skip the locked door)
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
Not the best way to implement reset recording (in fact I hate it), but I applied The Patch manually and it ran correctly. I'll probably encode it sometime in the immediate future.
Emulator Coder, Experienced Forum User, Published Author, Site Developer, Former player
Joined: 11/6/2004
Posts: 833
As previously mentioned, the four FCMs are not identical, starting at around frame 3900. Minor one-frame differences show up a few times causing desyncs. But people also want an AVI, so here it is (7zip'd)[Edit: URL broken]. Each video was made with its own FCM, so you get to see what the video should look like. This goes against the spirit of the whole thing, but it's really the way it's best demonstrated. Oh well... Edit: thanks to "itsblah" in IRC for getting me (sufficiently working) source to FCEU v.16. Head beatings to people messing with the emulators to the point of breaking sync.
1 2
18 19 20
32 33