Register - Login
Views: 87362632
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - JCS - Stats - Latest Posts - Color Chart - Smilies
11-20-17 01:16:01 AM

Jul - NSMB Hacking (Archive) - Mario Vs. Luigi stage hacking New poll - New thread - New reply
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19Next newer thread | Next older thread
Awesome turtwig
Random nobody
Level: 8


Posts: 1/9
EXP: 1481
For next: 706

Since: 08-24-09


Since last post: 6.0 years
Last activity: 6.0 years

Posted on 08-24-09 02:40:12 PM Link | Quote
So I downloaded the most recent NSMB tool and found the Mario and Luigi Multi-player maps. This is the main reason why I wanted to start hacking NSMB. So I made a stage over the first, grass stage and started to play with my friend. My friends DS froze when I was downloading the data to him. So this time I made a test, I just moved some blocks around and tried again. But when we got in game, all blocks are where they should have been. Any help here? I really want to edit these Mario and Luigi stages and play on them with my friends, thank you
Sails
2770
Level: 97


Posts: 1771/2775
EXP: 9001758
For next: 315567

Since: 07-04-07


Since last post: 52 days
Last activity: 22 days

Posted on 08-24-09 02:43:06 PM Link | Quote
The Multiplayer stages are in fact stored in a compressed file somewhere else in the ROM. The other copies are useless for both multicart and singlecart. So you can't edit those yet, sorry
Awesome turtwig
Random nobody
Level: 8


Posts: 3/9
EXP: 1481
For next: 706

Since: 08-24-09


Since last post: 6.0 years
Last activity: 6.0 years

Posted on 08-24-09 02:45:02 PM Link | Quote
Originally posted by Kartikeya
The Multiplayer stages are in fact stored in a compressed file somewhere else in the ROM. The other copies are useless for both multicart and singlecart. So you can't edit those yet, sorry


Aww, that's not cool. I hope one day it will be possible to edit them.
Sails
2770
Level: 97


Posts: 1772/2775
EXP: 9001758
For next: 315567

Since: 07-04-07


Since last post: 52 days
Last activity: 22 days

Posted on 08-24-09 02:50:15 PM Link | Quote
Originally posted by Awesome turtwig
Originally posted by Kartikeya
The Multiplayer stages are in fact stored in a compressed file somewhere else in the ROM. The other copies are useless for both multicart and singlecart. So you can't edit those yet, sorry


Aww, that's not cool. I hope one day it will be possible to edit them.

Yeah, we tried some tests and didn't get very far. Unless the compression is figured out, we've got no dice for now. Maybe Treeki could shed some more light on this situation...
Ninji

Boomboom
Why did my user title say I'm a toaster anyway
Level: 84


Posts: 466/1988
EXP: 5442225
For next: 219727

Since: 07-26-07
From: Rogueport

Since last post: 138 days
Last activity: 129 days

Posted on 08-24-09 02:50:58 PM Link | Quote
I would if I knew how - my lack of a flashcart stops me from testing anything to do with multiplayer.
Awesome turtwig
Random nobody
Level: 8


Posts: 4/9
EXP: 1481
For next: 706

Since: 08-24-09


Since last post: 6.0 years
Last activity: 6.0 years

Posted on 08-24-09 05:48:05 PM Link | Quote
Originally posted by Treeki
I would if I knew how - my lack of a flashcart stops me from testing anything to do with multiplayer.


You should get one. They're a lot of fun. I got mine here

http://www.colourful-zone.com/Store/product_info.php?products_id=205
dirbaio
For future reference, "Responsible disclosure" isn't "acting like a douche about an exploit and demanding compensation".
Level: NaN


Posts: 30/-1288
EXP: NaN
For next: 0

Since: 07-28-09
From: Spain

Since last post: 6.0 years
Last activity: 5.0 years

Posted on 08-25-09 11:48:35 AM (last edited by dirbaio at 08-25-09 11:50 AM) Link | Quote
yes, it IS possible to edit the multiplayer levels:

Originally posted by Camewel

Eureka! I've figured out how to edit the multiplayer files! This is how you do it:
Get NSMB editor 4 and NARC explorer 2
Edit the multiplayer levels normally. Now for the good bit
Extract these files from the ARCHIVE folder:
Dat_Basement.narc
Dat_Field.narc
Dat_Fort.nacc
Dat_Ice.narc
Dat_Pipe.narc
and these files from the course folder:
J01_1.bin
J02_1.bin
J03_1.bin
J04_1.bin
J05_1.bin

Now open NARC Explorer 2 and open the narcs. put:
J01_1.bin into Dat_Field.narc
J02_1.bin into Dat_Basement.narc
J03_1.bin into Dat_Ice.narc
J04_1.bin into Dat_Pipe.narc
J05_1.bin into Dat_Fort.narc

Now, back into NSMB editor 4 and but the narcs back in. Bingo, 5 new multiplayer levels


This works, i have tested it.

This only works with Multicart, with both the EXACTLY SAME rom! But you can't change tilesets, sprite sets and backgrounds. it will have the game freeze with a blank screen.

EDIT: you can download the NARC Explorer at http://treeki.shacknet.nu/
Ehm
Member
Level: 46


Posts: 90/532
EXP: 681129
For next: 30645

Since: 06-13-09
From: Canada

Since last post: 174 days
Last activity: 132 days

Posted on 08-26-09 01:22:05 PM Link | Quote
shouldn't the roms just work with each other if they've got the same rom file? Theoretically, it should work like the original does (for multi-pak). I'll test this out eventually, cause I've got a flash card and one of my friends has one as well.
Awesome turtwig
Random nobody
Level: 8


Posts: 6/9
EXP: 1481
For next: 706

Since: 08-24-09


Since last post: 6.0 years
Last activity: 6.0 years

Posted on 08-30-09 05:45:29 AM Link | Quote
Originally posted by dirbaio
yes, it IS possible to edit the multiplayer levels:

Originally posted by Camewel

Eureka! I've figured out how to edit the multiplayer files! This is how you do it:
Get NSMB editor 4 and NARC explorer 2
Edit the multiplayer levels normally. Now for the good bit
Extract these files from the ARCHIVE folder:
Dat_Basement.narc
Dat_Field.narc
Dat_Fort.nacc
Dat_Ice.narc
Dat_Pipe.narc
and these files from the course folder:
J01_1.bin
J02_1.bin
J03_1.bin
J04_1.bin
J05_1.bin

Now open NARC Explorer 2 and open the narcs. put:
J01_1.bin into Dat_Field.narc
J02_1.bin into Dat_Basement.narc
J03_1.bin into Dat_Ice.narc
J04_1.bin into Dat_Pipe.narc
J05_1.bin into Dat_Fort.narc

Now, back into NSMB editor 4 and but the narcs back in. Bingo, 5 new multiplayer levels


This works, i have tested it.

This only works with Multicart, with both the EXACTLY SAME rom! But you can't change tilesets, sprite sets and backgrounds. it will have the game freeze with a blank screen.

EDIT: you can download the NARC Explorer at http://treeki.shacknet.nu/



So this doesn't work with a single cart. I don't understand why it wouldn't. But I just tested it, it really didn't work.
dirbaio
For future reference, "Responsible disclosure" isn't "acting like a douche about an exploit and demanding compensation".
Level: NaN


Posts: 39/-1288
EXP: NaN
For next: 0

Since: 07-28-09
From: Spain

Since last post: 6.0 years
Last activity: 5.0 years

Posted on 08-31-09 12:39:12 PM Link | Quote
I don't know why it doesn't work with download play, but I guess it is one of these two reasons:

1-the game does some sort of checksum to see if the data has been sent correctly. Because we modify the level, and the checksum is the old one, it thinks the data has been corrupted during transfer and crashes. A workaround would be to find out where is that checksum and how to update it.

2- I read somewhere that downloaded things are RSA signed. that could be the problem...
SL92
Random nobody
Level: 4


Posts: 1/2
EXP: 155
For next: 124

Since: 08-30-09


Since last post: 8.0 years
Last activity: 8.0 years

Posted on 08-31-09 07:56:32 PM Link | Quote
Not sure if my input is needed, but whatever.

To get multicart multiplayer working, I had to replace the files listed above into the ".narc"s, and these:

J01_1_bgdat.bin
J01_2_bgdat.bin
J03_1_bgdat.bin
J04_1_bgdat.bin
J05_1_bgdat.bin

into the respective .narc files. Which may have been obvious.

Also, like stated above, you can't edit sprite sets, backgrounds, or tilesets. I assumed that meant just don't mess with those options in the Level Configuration, but you also can't have objects that weren't in the level before that are in the default set, like trying to put water in Underground or mini pipes in Pipe World, both of which I tried. Again, may have been implied. When I had those objects in there, the game froze when Luigi moved, and they just appeared as white spaces.

On a side note, hey, I'm new to both here and rom hacking (but not playing hacked roms), have made a couple of multiplayer stages, and one single-player stage, thanks to this forum. And, I learned hex in doing so, bonus.
dirbaio
For future reference, "Responsible disclosure" isn't "acting like a douche about an exploit and demanding compensation".
Level: NaN


Posts: 97/-1288
EXP: NaN
For next: 0

Since: 07-28-09
From: Spain

Since last post: 6.0 years
Last activity: 5.0 years

Posted on 09-30-09 04:24:32 PM (last edited by dirbaio at 10-05-09 01:55 PM) Link | Quote
Sorry for the bump but i think this is important:

IT IS possible to play in Download play!!!!!

What I did to make it work was to put in the narcs BOTH the .bin and the _bgdat.bin of each level!!!!


Another thing: I set the Underground platforms to go down and they did no longer work, any idea why???
EDIT: Seems that they can't go down. I just change them and they no longer work. Another thing I found out: You do can put slopes in mvsl levels, but the slope sliding anim doesn't work. I mean that you actually go down the slope and kill all the enemies, but you dont look like sliding: you just have the animation you had before sliding. You can slide standing up!
Deleted User
Original user deleted
Level: NaN


Posts: 34/-8234
EXP: NaN
For next: 0

Since: 07-26-07


Since last post: 10.0 years
Last activity: 7.0 years

Posted on 10-19-09 12:00:25 PM (last edited by TheKinoko at 10-19-09 12:01 PM) Link | Quote
So if I read right, multiplayer hacking is quite limited. Can't change the tileset used, can't add sprites...

I'm preparing a surprise which may help you getting rid of those limitations

Edit: sorry for the bump it's just to let you know about the surprise
dirbaio
For future reference, "Responsible disclosure" isn't "acting like a douche about an exploit and demanding compensation".
Level: NaN


Posts: 126/-1288
EXP: NaN
For next: 0

Since: 07-28-09
From: Spain

Since last post: 6.0 years
Last activity: 5.0 years

Posted on 10-19-09 12:43:27 PM Link | Quote
waiting for the surprise, i'm really interested in MvsL hacking.

(i have not tested this). I think that you can select a different tileset if you replace the tileset files inside the narcs with another ones, and maybe same with the backgrounds. I'll post here when i test it.
Deleted User
Original user deleted
Level: NaN


Posts: 35/-8234
EXP: NaN
For next: 0

Since: 07-26-07


Since last post: 10.0 years
Last activity: 7.0 years

Posted on 10-19-09 12:56:08 PM Link | Quote
I think you would need to rename the tileset files (that is, if you are trying to change the tileset number in the level header... otherwise it should be okay...).

Anyway you're still blocked for sprites... no way to add 'new' sprites (I mean sprites that aren't in the original multiplayer levels).
The slope problem you've been talking about may be the same thing once again - no way to add files inside NARCs... and the game needs those files.
Ninji

Boomboom
Why did my user title say I'm a toaster anyway
Level: 84


Posts: 649/1988
EXP: 5442225
For next: 219727

Since: 07-26-07
From: Rogueport

Since last post: 138 days
Last activity: 129 days

Posted on 10-19-09 01:16:15 PM Link | Quote
Originally posted by TheKinoko
I think you would need to rename the tileset files (that is, if you are trying to change the tileset number in the level header... otherwise it should be okay...).

Anyway you're still blocked for sprites... no way to add 'new' sprites (I mean sprites that aren't in the original multiplayer levels).
The slope problem you've been talking about may be the same thing once again - no way to add files inside NARCs... and the game needs those files.


No, leave the original names and number - I'm pretty sure then it should work.

I'm guessing all the broken things are due to missing files.
- Slopes: Maybe the animation isn't included?
- Water: Depends on if you were using the version from tileset 0 or the sprite version. The former isn't included in the tileset data - it's rendered as a 2D tile using the 3D engine, I believe. The latter is a separate 3D model.
- Mini pipes: Same issue as the water tiles. Normal pipes are included in the NARCs but mini pipes aren't.

dirbaio
For future reference, "Responsible disclosure" isn't "acting like a douche about an exploit and demanding compensation".
Level: NaN


Posts: 127/-1288
EXP: NaN
For next: 0

Since: 07-28-09
From: Spain

Since last post: 6.0 years
Last activity: 5.0 years

Posted on 10-19-09 01:27:52 PM Link | Quote
yeah. thats the point. only things that are used in the original levels are included, to reduce load time in donwload play.

But its not that easy to add files to the narcs and then have the game to load them. NSMB loads files using their File IDs, not the names. It has tables that map tileset numbers to file ids, sprite numbers to file ids, bgs... etc. Some of these tables (i dont know if all) are in Overlay ID 0, but these seem to be only for 1 player. File IDs in the NARCS are different from the ones in the main filesystem. so the game must have some tables for multiplayer elsewhere...

I have been looking at these tables the other day with Treeki, and these are a pain to work with. They are in a compressed overlay file that has executable code mixed with tables, and their offsets vary in each ROM version. Not easy. Maybe an ASM hack to get the game load things from the main filesystem even in MvsL levels would be easier.

Conclusion: You will not solve this by adding files into the NARCS
Ninji

Boomboom
Why did my user title say I'm a toaster anyway
Level: 84


Posts: 654/1988
EXP: 5442225
For next: 219727

Since: 07-26-07
From: Rogueport

Since last post: 138 days
Last activity: 129 days

Posted on 10-19-09 01:42:34 PM Link | Quote
Originally posted by dirbaio
It has tables that map tileset numbers to file ids, sprite numbers to file ids, bgs... etc. Some of these tables (i dont know if all) are in Overlay ID 0, but these seem to be only for 1 player.

I didn't know there was a table that mapped sprite numbers to file IDs. I guess there has to be one - But a lot of the sprites are so different that I'm not sure if one would even exist. Some sprites (like ones that change the level behaviour) might not need any files. Others might need several files or more. It might be hard coded into the sprite code.
Deleted User
Original user deleted
Level: NaN


Posts: 36/-8234
EXP: NaN
For next: 0

Since: 07-26-07


Since last post: 10.0 years
Last activity: 7.0 years

Posted on 10-19-09 02:01:12 PM Link | Quote
Actually, adding the missing files to the NARCs may solve the problem, and I think it will do.

See the tileset/background files. Okay, in one-player mode, the game relies on file IDs.
But, in NARCs, the file IDs are assigned in a different way... into the NARCs containing multiplayer levels, the tileset/background files have the same IDs... so the game cannot rely on file IDs in multiplayer mode. I think it just relies on filenames.

So adding the missing files to the NARCs should do it.
Ninji

Boomboom
Why did my user title say I'm a toaster anyway
Level: 84


Posts: 657/1988
EXP: 5442225
For next: 219727

Since: 07-26-07
From: Rogueport

Since last post: 138 days
Last activity: 129 days

Posted on 10-19-09 02:04:28 PM Link | Quote
Originally posted by TheKinoko
Actually, adding the missing files to the NARCs may solve the problem, and I think it will do.

See the tileset/background files. Okay, in one-player mode, the game relies on file IDs.
But, in NARCs, the file IDs are assigned in a different way... into the NARCs containing multiplayer levels, the tileset/background files have the same IDs... so the game cannot rely on file IDs in multiplayer mode. I think it just relies on filenames.

So adding the missing files to the NARCs should do it.

I think you're expecting far too much from NSMB with this.. I'm suspecting that the particular tileset numbers used are simply hardcoded. Also, I've never managed to find any filename references in the ROM.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19Next newer thread | Next older thread
Jul - NSMB Hacking (Archive) - Mario Vs. Luigi stage hacking New poll - New thread - New reply




Rusted Logic

Acmlmboard - commit 2f1bc75 [2017-08-27]
©2000-2017 Acmlm, Xkeeper, Inuyasha, et al.

29 database queries, 6 query cache hits.
Query execution time: 0.163997 seconds
Script execution time: 0.016800 seconds
Total render time: 0.180797 seconds