Dirbaio | |
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 4277/4458 Since: 06-08-11 |
The index was already there but it wasn't unique... Fixed!
|
Dirbaio |
Posted on 08-02-15, 07:02 pm in will there be another hack for a certain birthday of nsmdhd?
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 4290/4458 Since: 06-08-11 |
Stop creating useless threads x2.
|
Dirbaio |
Posted on 10-28-15, 10:58 am in How can you read the BG_chk files on their own?
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 4306/4458 Since: 06-08-11 |
25 days later... lol
This is the code that reads CHK files. https://github.com/Dirbaio/NSMB-Editor/blob/master/NSMBe4/NSMBTileset.cs#L388-L394 CHK files are super simple, they're the tile behavior files. They contain 4 bytes for each Map16 tile. The first 4 bytes are the behavior for Map16 tile 0 (the one at the top left), next 4 are for tile 1 (the one next to the right) and so on for all tiles, in left-to-right, top-to-down order. There are lots of zeros because there are lots of tiles that have all zeros as their behavior |
Dirbaio |
Posted on 10-28-15, 11:00 am in Help/Question Asking Thread
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 4307/4458 Since: 06-08-11 |
They are hardcoded based on Map16 tile numbers. The game will render a 3d polygon on top of the tile if it sees a Map16 tile of these numbers.
Same for all the other 3d tiles: fences, pipes, the 2d water... |
Dirbaio |
Posted on 05-08-16, 02:59 pm in FUCK NSMBHD
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 4321/4458 Since: 06-08-11 |
Why is this not in the trash?
|
Dirbaio |
Posted on 10-30-16, 06:09 am in fixed FAQ page not visible while not logged
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 4334/4458 Since: 06-08-11 |
Fixed!
|
Dirbaio |
Posted on 11-22-16, 09:27 pm in Roast Me!
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 4353/4458 Since: 06-08-11 |
Totally original thread idea, definitely not stolen from anyone.
|
Dirbaio |
Posted on 11-22-16, 11:07 pm in Roast Me!
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 4358/4458 Since: 06-08-11 |
Hey, it's me who's supposed to be roasted here!
|
Dirbaio |
Posted on 04-05-17, 07:48 pm in Post bugs and suggestions in this thread
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 4382/4458 Since: 06-08-11 |
I think he's talking about the jumpscare I added for April Fools, not my profile picture
I removed it the morning after, it's gone now. |
Dirbaio |
Posted on 05-11-18, 09:52 pm in Nintendo DS dev hardware! IS-NITRO-EMULATOR & co.
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 4419/4458 Since: 06-08-11 |
I've done more testing about writing commercial ROMs to gamecards, because I could only get it to work when changing the game code to "NTRJ, which seemed weird to me.
There's some interesting info in this thread (needs login, PDF) To summarize: - There is extra "encryption data" in the ROM region at 0x0200 - 0x3fff. - Cards don't allow you to read out the encryption data, so this region is zerofilled in commercial ROM dumps. - Cards NEED the encryption data to encrypt communications. This encryption data is calculated from the game's code with Nintendo's Secret Algorithm that game developers didn't have access to. To allow devs to write their games during development, the is-nitro-debugger software has the security data for NTRJ game code embedded, and silently writes it for you when you write a NTRJ game to a card. THIS is why it worked only with NTRJ game code. ndstool does have the algorithm to generate the encryption data! But it still doesn't work, why? Turns out ndstool has a bug, it writes some of the data to the wrong offset. The bug is that it writes the "sbox data" to 0x2800 instead of 0x1c00. Note that the sbox data is 0x1000 bytes long, so ndstool is afterwards overwriting half of it when writing the test data at 0x3000. Due to that, encrypting with the current ndstool, then using an hex editor to move the data from 0x2800 to 0x1c00 is not going to work! You need to compile ndstool from source with the fix. I sent a pull request. With that fix, encrypting and writing a ROM gives you a working flash game card! Yay! |
Dirbaio |
Posted on 05-11-18, 10:35 pm in Nintendo DS dev hardware! IS-NITRO-EMULATOR & co.
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 4420/4458 Since: 06-08-11 |
IS-NITRO-WRITER Teardown!
Top, with 8 DS slots. Side, with power, DIP switches, USB. Bottom, with serial sticker and option sticker. The "BACKUP" option allows you to write (or read?) the game card backup memory too (for game saves). Taking out the cover reveals the structure: there are 4 boards with 2 slots each, plugged into a "main board". Removing the 4 slot boards shows the connector board, with some huge heatsinks. It can be unscrewed and taken out, revealing a NEC v850 CPU board. The bottom of the case is just the 5 stand off screws soldered. NEC V850 cpu board up close. It looks VERY similar to the one in the IS-NITRO-EMULATOR. Probably same design with different layout. Also interesting is it has space for another of these white huge connectors, unpopulated. Slot adapter board. FPGAs and some RAM? And finally, the slot boards. They have these black wires for grounding soldered into the slots' covers, that go to the grounding pin at the back of the case. |
Dirbaio |
Posted on 03-29-20, 09:43 pm in fixed What's this?!
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 4437/4458 Since: 06-08-11 |
Fixed!
|
Dirbaio |
Posted on 06-08-11, 05:28 pm in asdf
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 4/4458 Since: 06-08-11 |
asdfadsfadsfa asdf ads fads
|
Dirbaio |
Posted on 06-19-11, 12:38 pm in asdf
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 5/4458 Since: 06-08-11 |
>>4
LOL, asdf |
Dirbaio |
Posted on 06-19-11, 02:50 pm in Welcome
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 8/4458 Since: 06-08-11 |
I hope you like them
|
Dirbaio |
Posted on 06-19-11, 06:22 pm in We need a name for this board (rev. 1)
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 9/4458 Since: 06-08-11 |
The "Dirbaio's Board" thing and the ABXD logo are temporary.
Suggestions? |
Dirbaio |
Posted on 06-25-11, 01:28 pm in Welcome to the new board! (rev. 4 by ImageBot on 11-21-16, 02:04 am)
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 14/4458 Since: 06-08-11 |
First, welcome to the new forums.
I hope you like them and I hope that this will mark a new era in the NSMB Hacking scene too... Some things I want YOU to know: [readmore]
|
Dirbaio |
Posted on 06-27-11, 10:45 pm in Server issues
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 25/4458 Since: 06-08-11 |
Great
|
Dirbaio |
Posted on 06-27-11, 11:04 pm in We need a name for this board
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 26/4458 Since: 06-08-11 |
C'mon. Nobody!?
|
Dirbaio |
Posted on 06-28-11, 07:47 pm in We need a name for this board
|
Super Mario
( ͡° ͜ʖ ͡°) Karma: 10081 Posts: 28/4458 Since: 06-08-11 |
@ray: Yees!! An IRC channel is a nice idea I'll see if I can get around to install an IRC server here...
Back on subject, I don't want the name to contain "Dirbaio". It's a NSMB hacking board, not "my" board. NSMBeAB is cool, but I'd like it to be more explanative. Something like "The NSMB Hackboard"? "The NSMB Hacking Domain"? |