Pages: 1
Posted on 06-06-18, 02:35 pm
Ninji
W1 out :)

Karma: 544
Posts: 83/229
Since: 10-22-17
Hello everyone,

The hack I am currently working on will most likely be a one or two world hack.
Now I thought about the possibilities I have to end my first/second world.
What I mean is this: If you finish my levels, the credits should start playing and you won't be able to access the other worlds, only the edited ones.

So I tried around with the castle boss of the first world:
I replaced the W1-Boss Room with the W8-Final Boss Room. I thought that this would solve my problem.

But beside some strange particles that were wrong or not there in the first place, the game crashed every time (and in some cases were I just rebuilt the FInalBoss Room, BowserJR. started teleporting at the beginning of the fight) MelonDS and DeSmuMe both were not able to let me beat the boss.

So I though "The final boss is too hard for the emulator" but when going to W8, the Final Boss worked perfectly and the partficles and everything was back to normal.

video of what I mean:


Would be happy if someone can help me with this
Greets
BooChewbaca
_________________________
previously (un)known as BooChewbaca
Posted on 06-06-18, 02:56 pm (rev. 1 by RicBent on 06-06-18, 02:59 pm)
Mariomaster

Karma: 8528
Posts: 1254/1681
Since: 06-09-12
The worldmap engine can set a flag that tells the game that it should go to the next world if a level is beat.

If you are in world 8 this flag causes the credits to roll.

Also the boss crashes because the particles are incorrectöy loaded as these are hardcoded.  skawo made an asm hack for that. But if you would be able to kill the boss it would end the level like it did before.

A potential solution would be just disabling the "go to next world flag" in world 2 causing all later worlds to be unlockable.
Another way would be hacking the world id when beating world 2-C to 8. But that might glitch the save file and would require further hacks. The cleanest solution would be modifying the code that checks if the flag is set and if you are in world 8 to world 2. But I do not have an idea where that is done.
_________________________
GitHub - Kuribo64 - YouTube
Posted on 06-06-18, 04:14 pm
Ninji
W1 out :)

Karma: 544
Posts: 84/229
Since: 10-22-17
Ok, thanks to  skawo's ASM hack the boss does not crash anymore. That's at least something



Posted by RicBent
But I do not have an idea where that is done.

By that, do you mean you don't know how to hack the world ID, or do you mean both possible solutions you suggested?
_________________________
previously (un)known as BooChewbaca
Posted on 06-06-18, 05:48 pm
Mariomaster

Karma: 8528
Posts: 1255/1681
Since: 06-09-12
I know how to modify the flag. The world id can be found with a quick ram search in desmume (the one that ports you to the world when changed in ram).
_________________________
GitHub - Kuribo64 - YouTube
Posted on 06-06-18, 07:49 pm
Ninji
W1 out :)

Karma: 544
Posts: 85/229
Since: 10-22-17
Just to clarify: You are talking about the Cannon Level from World 2 ("...hacking the world id when beating world 2-c..."). And by hacking it you mean change it's destination to World 8? (because that can be done without RAM Search and with NSMBe)

And that's not the same as modifying the world flag, right?
_________________________
previously (un)known as BooChewbaca
Posted on 06-07-18, 04:29 pm
Giant Red Paratroopa
Not Edible

Karma: 3366
Posts: 625/1447
Since: 02-12-16
you can also make 1-1 a cannon that goes to world 8 and edit that instead
_________________________
Nothing to say, so jadnjkfmnjamnfjkldnajfnjkanfjdksan jsdnvj m.

Posted on 06-07-18, 04:35 pm
Giant Paratroopa
Cream Cheese King

Karma: 2140
Posts: 212/1379
Since: 04-24-18
or maybe put the cannon at the end of world 1-castle, like in the Wii U or something
_________________________


Discord Server 1 - Discord Server 2 - Youtube Channel
Posted on 06-07-18, 05:13 pm
Ninji
W1 out :)

Karma: 544
Posts: 86/229
Since: 10-22-17
those ideas are good, ill definetly bookmark them and maybe ill use one of them. Thanks!
_________________________
previously (un)known as BooChewbaca
Posted on 06-07-18, 05:34 pm
Giant Paratroopa
Cream Cheese King

Karma: 2140
Posts: 213/1379
Since: 04-24-18
No problem BooChewbaca! Of course, if you had the cannon at the end of the castle, it'll just take you to world 8, and not the boss. Maybe you can use a Pipe Cannon or something

_________________________


Discord Server 1 - Discord Server 2 - Youtube Channel
Posted on 06-07-18, 05:39 pm
Giant Red Paratroopa
Not Edible

Karma: 3366
Posts: 626/1447
Since: 02-12-16
what do pipe cannons have to do with anything. I think there's a way to have the cannon only available after the boss without keys. put the key location sprite outside the view and use a zone to detect when the boss dies and unlock a room with the cannon. it's untested and might not work but it's worth trying.
_________________________
Nothing to say, so jadnjkfmnjamnfjkldnajfnjkanfjdksan jsdnvj m.

Posted on 06-07-18, 06:58 pm
Giant Paratroopa
Cream Cheese King

Karma: 2140
Posts: 214/1379
Since: 04-24-18
It's just an idea I mean after you go through the door, you have a cannon that blasts you to the airship. AKA, the boss. Like in NSMBU
_________________________


Discord Server 1 - Discord Server 2 - Youtube Channel
Pages: 1