Pages: 12 »
Posted on 07-26-16, 09:09 pm (rev. 5 by  skawo on 06-28-17, 02:50 pm)


Karma: 19752
Posts: 493/1100
Since: 04-02-13
Here we go again. Basically this but you can choose between Mario and Luigi by pressing left or right, if you press SELECT on the intro screen. You then confirm your selection with A.

Video:


1. Usage

1. Set up the ASM Hacks template.
2. Copy the "SuperLevelIntros.cpp" and "nsmb.h" files from /source in the downloaded RAR into the template's /source folder and the "symbols.x" into the template's root.
3. Put a ROM in the template folder and open it in NSMBe.
4. Make the preview screens, convert them to ENPG, or (if you're just testing it out) import "Top Screen Template" and "Bottom Screen Template" over some useless files. I suggest adding files to the ROM and using those. Put all the bottom screen files in order.
5. Open LevelIntros.cpp and edit the "enpgAssignment" table by changing the zeroes under appropriate level slots to FileIDs in the rom of the files you just imported. Put in the first worlds' bottom screen file ID on line 104.
6. Insert the code into the ROM by pressing "Run make and insert" on the "Tools/Options" tab in NSMBe.

2. Download

https://www.dropbox.com/s/moxld60f9ygrw2m/SuperLevelIntros.zip?dl=0

Disclaimer: Not tested thoroughly.
Posted on 07-26-16, 09:20 pm
Panser


Karma: 577
Posts: 105/332
Since: 04-09-16
good skawo.
pity that I do not know how to enter this ASM hack
Posted on 07-26-16, 09:25 pm


Karma: 19752
Posts: 495/1100
Since: 04-02-13
Indeed, 'tis a shame reading and following instructions is such a rarely found skill nowadays.
Posted on 07-26-16, 09:30 pm
Panser


Karma: 577
Posts: 107/332
Since: 04-09-16
Posted by skawo
Indeed, 'tis a shame reading and following instructions is such a rarely found skill nowadays.



I am Italian and not English, this is the reason why I do not understand ASM hack.
Posted on 07-26-16, 09:39 pm


Karma: 19752
Posts: 496/1100
Since: 04-02-13
I think that's an insult to italians in some way.
Posted on 07-26-16, 09:40 pm
Fire Brother
Eugene

Karma: 3646
Posts: 908/1120
Since: 11-29-11
@mico Then why tell us? Since we can't help it that your English ain't good. You're giving us the impression you think we should explain it to you in Italian..
Posted on 07-26-16, 09:43 pm
Fuzzy
Will never finish a hack

Karma: 1843
Posts: 159/778
Since: 03-25-16
7 hours, Skawo. You made this 7 hours after I asked about this. Congratulations.

Actually, now that I think about it, it was probably like 1 extra line of code xD

Cool hack though.
_________________________
hey look, I did a thing
Posted on 07-26-16, 10:03 pm


Karma: 19752
Posts: 497/1100
Since: 04-02-13
It was very much not a single line of code.
Posted on 07-26-16, 10:18 pm
Shyguy


Karma: 463
Posts: 72/83
Since: 02-12-15
Posted by cros107
Actually, now that I think about it, it was probably like 1 extra line of code xD

I don't think you understand how ASM hacks work.
_________________________
Website | Twitter
MK8 Modding Central
Posted on 07-26-16, 11:13 pm (rev. 1 by  skawo on 07-26-16, 11:14 pm)


Karma: 19752
Posts: 498/1100
Since: 04-02-13
Code updated.

Now it works just like it does in Super Mario 3D World.
...even if the code is horrible, but eh.
Posted on 07-26-16, 11:31 pm
Fuzzy
Will never finish a hack

Karma: 1843
Posts: 161/778
Since: 03-25-16
Well. It is just switching characters.
_________________________
hey look, I did a thing
Posted on 07-26-16, 11:38 pm (rev. 2 by  skawo on 07-26-16, 11:57 pm)


Karma: 19752
Posts: 499/1100
Since: 04-02-13
And drawing additional graphics
And animating those graphics
And tracking player input

EDIT: Fixed a thing which caused garbled level clear message.
Posted on 07-27-16, 12:26 am
Birdo


Karma: 2754
Posts: 1701/2091
Since: 06-26-11
Thats pretty nice. Especially if used with MeroMero's Luigi physics and/or different-level-for-luigi-sort-of-thing-hack
Posted on 07-27-16, 09:09 am


Karma: 19752
Posts: 501/1100
Since: 04-02-13
Indeed. That would have to be ASM Template'd, though.
Posted on 07-27-16, 09:18 am
Birdo


Karma: 2754
Posts: 1703/2091
Since: 06-26-11
This, or the other hacks? What exacly does that mean anyway?
Posted on 07-27-16, 09:23 am


Karma: 19752
Posts: 502/1100
Since: 04-02-13
The Luigi physics hack. It's only available as a patch right now, not as code you can insert.
Posted on 07-27-16, 10:59 am


Karma: 1064
Posts: 92/200
Since: 02-02-15

Posted by mico
good skawo.
pity that I do not know how to enter this ASM hack


Hello Mico. Do not be discouraged because this.
It's not a trivial thing, but it's not to difficult.
If you have and old PC with Windows that runs NSMBe, you are able to repeat the Skawo instructions.
I admit, it's a lot of steps to follow for a newbie.
The most "difficult" steps is the software infraestructure installation in your computer.
You will need to install some programs and configure some folders, specified in the instructions above.
But when you succeed the first time, you don't need to configure nothing more. Just copy and past.
And you will just need to enjoy the hack-code patch files kindly shared for the masters of this community.

Look for example about Luluca in the other Skawo's Level Previews thread (tested and working).
Even she did set up the environment, after much determination and sweat. And the emulator does not run very well on her prehistoric PC, and she needs to copy each time the compilation into the Nintendo DS to test!

Don't give up!

I wish you success.
[] -P
Posted on 07-27-16, 11:17 am
Banned for being a complete retard.

Karma: 84
Posts: 61/140
Since: 02-25-16
By the way Skawo, your code for "Player Selection" is compiling OK. But it's not working.

The "Custom Level Previews" is OK. But when the level start, nothing is available for select the player.

And yes, the complexity of the code grows considerably. I don't understand absolutely nothing about C++, but if anyone just opened the file, could see that you work hardly in this project this time...

Kisses.
Posted on 07-27-16, 11:19 am


Karma: 19752
Posts: 503/1100
Since: 04-02-13
I bet you didn't change the top screen image. It needs to pull those graphics from SOMEWHERE.
Posted on 07-27-16, 08:04 pm (rev. 1 by  Luluca on 07-27-16, 08:12 pm)
Banned for being a complete retard.

Karma: 84
Posts: 63/140
Since: 02-25-16
F*****king AWESOME!!!
Amazing!
It works!!!!!!!!
I just changed the image to your new template, and Shazam!


Select a Player at Level Start and Level Previews!

Man, I don't know how you do this, and I don't know if you realized that you just improve the game to light years beyond! You just give to players the opportunity to change the character IN GAME! Any time! Without need exit the game!

And I was thinking that was all bulshit, like no... It's impossible.

Congratulations. More one time you proved you are a master.

And thanks again for share you knowledge to the community.
Pages: 12 »