X-CulT Community Forums: New Super Mario Bros. level editor - X-CulT Community Forums

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

New Super Mario Bros. level editor Mega fucking win

#1 User is offline   SSUK

  • Rule Britannia, mother fuckers!
Icon
Posts:
3,152
Joined:
01-January 06
Gender:
Male
Country:
Little Planet
Interest:
LOVES FRANZ'S PULSATING MEGA COCK

Posted 03 August 2007 - 06:50 AM

http://jul.rustedmag...read.php?id=244Speaks for itself. It's a simplistic level editor for NSMB, yet to try it myself... But will do in a minute. Need to move my shit to the Vista PC, my USB microSD reader's gone kaput. =/EDIT: HAY GUYZ, GUEZZ WAT? Threw the (E) rom at it, rejected it. Okay, was expecting that. Go and find a (U) ROM. Good, got one... Load it up... "Overflow" ... Okay, let's try using the R4 DS ROM trimmer on it. Reload ROM... "Subscript out of range". Yippee!! Someone get this to work and my laptop goes out the window. =)

This post has been edited by SSUK: 03 August 2007 - 07:23 AM


#2 User is offline   Cryomancer

Icon
Posts:
2,235
Joined:
01-January 06
Gender:
Male
Country:
United States
Interest:
Researcher
Location:
Wisconsin

Posted 03 August 2007 - 08:34 AM

Sounds promising but looks pretty weak so far. I'll totally play with this when the time comes though.Now someone make one for princess peach and hack wario to use normal goddamn controls.

#3 User is offline   podryw

Icon
Posts:
25
Joined:
03-July 07
Gender:
Male
Interest:
Asshole

Posted 03 August 2007 - 02:34 PM

Works for me. I had a dll error at first but that was it.

#4 User is offline   Overlord

  • Postcount whoring since 2003~
Icon
Posts:
3,702
Joined:
03-January 06
Gender:
Male
Country:
United Kingdom
Interest:
Programmer
Location:
Berkshire, UK

Posted 03 August 2007 - 02:59 PM

Intriguing. We need more editors like this for newer games, I applaud the coder for this app.

#5 User is offline   Tweaker

  • A thrilling mystery!
Icon
Posts:
965
Joined:
31-December 05
Gender:
Male
Country:
United States
Interest:
Hacker
Location:
Pinellas Park, FL

Posted 03 August 2007 - 03:06 PM

View PostOverlord, on Aug 3 2007, 03:59 PM, said:

Intriguing. We need more editors like this for newer games, I applaud the coder for this app.
Apparently the guy who coded it, Treeki, is only 12. Pretty damn impressive, if you ask me.

This post has been edited by Tweaker: 03 August 2007 - 03:07 PM


#6 User is offline   Treeki

Icon
Posts:
7
Joined:
04-August 07
Gender:
Male
Interest:
Hacker

Posted 04 August 2007 - 06:30 PM

So, hi. I'm the guy who made this editor. Yes, I'm 12. Pretty impressive that I've managed to make an editor and so on, although I'm not that good at ROM hacking: the NSMB level format is just simple. Didn't take TOO long to figure out (although in my quest to crack the other formats like TSA data etc, I've spent literally hours in front of XVI32, comparing bytes between files, making assumptions, and testing stuff in No$GBA).SSUK: Your "Overflow" error is weird, it works perfectly for me. Perhaps the problem is Vista; or your ROM is somehow not compatible. (The known ROM I use is release number 0434.) I haven't tested it on (E) region ROMs; perhaps I should get one to test it on. (Theoretically, it should work on any region ROM, since the DS's filesystem means offsets to files are no problem. My crappily hacked together filesystem code though only -just- works and is extremely buggy. There's nothing else available for VB, since DS hacking is so uncommon.)I should probably explain: Why so little features?Well, I've been working on two main things which both aren't done yet:1. Enemy/sprite command editing (should make level editing a lot better)2. Graphics viewing (TSA data + tileset viewing is done, just need to crack the format for files in the bg_unt folder)Once those two are added, regular updates should resume. :)For those of you who haven't shouted "TL;DR!!!" yet and skipped over my post; yay.I do want to look into hacking other DS games; preferably 2D. Mainly, what I'm interested in going into after NSMB (although they'll likely be harder) are Yoshi's Island DS and Super Princess Peach. I'm also considering porting it over to REALbasic sometime; although that will depend on 1. me getting a registration key for the Windows version and 2. figuring out how to not make it mangle tileset palettes.

#7 User is offline   Cryomancer

Icon
Posts:
2,235
Joined:
01-January 06
Gender:
Male
Country:
United States
Interest:
Researcher
Location:
Wisconsin

Posted 04 August 2007 - 07:41 PM

Peach editing would be pretty rad. I assume this will eventually lead to being able to replace graphics as well?

#8 User is offline   Treeki

Icon
Posts:
7
Joined:
04-August 07
Gender:
Male
Interest:
Hacker

Posted 05 August 2007 - 02:55 AM

View PostCryomancer, on Aug 4 2007, 07:41 PM, said:

Peach editing would be pretty rad. I assume this will eventually lead to being able to replace graphics as well?
Yep. I'm planning to add Lunar Magic-style graphics extracting/importing.

#9 SANiK

Posted 05 August 2007 - 03:22 AM

For the extraction, you can try using this program:http://sanik.hacking...org/ndstool.zipJust include it with your app, and then call it from within your programIt should do the extraction for youBut can you be more specific in your spec?http://treeki.google...levelformat.txtThe part where I lose you is the:These values are encoded using the same 2 byte format described above:0x74 = Time Limit0x76 = Background Graphics Setetc.Does the file contain:0x74 0x00 0x00 (0x74 + two bytes after that state the time limit?)You should convert your notes to "standard spec format"I'd do it for you if I understood how the latter map parts workedThe BGDAT would be written as:BGDAT[fileSize / 10]__word tileType__word tilePosX__word tilePosY__word tilePosWidth__word tilePosHeight (One byte = Byte, two bytes = Word, four bytes = Dword)

This post has been edited by SANiK: 05 August 2007 - 03:24 AM


#10 User is offline   Treeki

Icon
Posts:
7
Joined:
04-August 07
Gender:
Male
Interest:
Hacker

Posted 05 August 2007 - 03:26 AM

View PostSANiK, on Aug 5 2007, 03:22 AM, said:

For the extraction, you can try using this program:http://sanik.hacking...org/ndstool.zipJust include it with your app, and then call it from within your programIt should do the extraction for youBut can you be more specific in your spec?http://treeki.google...levelformat.txtThe part where I lose you is the:These values are encoded using the same 2 byte format described above:0x74 = Time Limit0x76 = Background Graphics Setetc.Does the file contain:0x74 0x00 0x00 (0x74 + two bytes after that state the time limit?)You should convert your notes to "standard spec format"I'd do it for you if I understood how the latter map parts workedThe BGDAT would be written as:BGDAT[fileSize / 10]__word tileType__word tilePosX__word tilePosY__word tilePosWidth__word tilePosHeight (One byte = Byte, two bytes = Word, four bytes = Dword)
Well, I'm not really good with formats like those.The 0x74 thing is an offset in the file. I'd do it, if I understood standard spec format..

#11 User is offline   SSUK

  • Rule Britannia, mother fuckers!
Icon
Posts:
3,152
Joined:
01-January 06
Gender:
Male
Country:
Little Planet
Interest:
LOVES FRANZ'S PULSATING MEGA COCK

Posted 05 August 2007 - 03:28 AM

Oh, sorry. I wasn't using Vista for this thng yet, I was running it on Windows XP Media Centre Edition SP2 when I stated those errors. MCE seems to be quite a bastard of an OS anyway, I'll try it on Vista later and see if I get the same results. I'd up my (E) and (U) ROMs for you, but my WiFi is pretty unstable and 30mb isn't something it can handle (bloody thing). =/

#12 SANiK

Posted 05 August 2007 - 03:53 AM

Gotcha loud and clear,I was thinking the 0x74 was like an opcode that would denote what information the following values heldBtw, file address 0x30 contains the offset to where the enemy list starts?If so, what address will tell me the total # of enemies?

This post has been edited by SANiK: 05 August 2007 - 03:54 AM


#13 User is offline   Treeki

Icon
Posts:
7
Joined:
04-August 07
Gender:
Male
Interest:
Hacker

Posted 05 August 2007 - 04:16 AM

View PostSANiK, on Aug 5 2007, 03:53 AM, said:

Gotcha loud and clear,I was thinking the 0x74 was like an opcode that would denote what information the following values heldBtw, file address 0x30 contains the offset to where the enemy list starts?If so, what address will tell me the total # of enemies?
No address. An enemy of type "FF FF" completes the list. (I'm not sure if all standard enemy bytes after the type are inserted, or just the FF FF; I should check.)The spec has also been updated. Same address.

#14 User is offline   SSUK

  • Rule Britannia, mother fuckers!
Icon
Posts:
3,152
Joined:
01-January 06
Gender:
Male
Country:
Little Planet
Interest:
LOVES FRANZ'S PULSATING MEGA COCK

Posted 06 August 2007 - 06:55 AM

http://rapidshare.co...b_roms.rar.htmlmy roms, all rejected by the editor. hope it helps.

#15 User is offline   Treeki

Icon
Posts:
7
Joined:
04-August 07
Gender:
Male
Interest:
Hacker

Posted 06 August 2007 - 08:41 AM

View PostSSUK, on Aug 6 2007, 06:55 AM, said:

http://rapidshare.co...b_roms.rar.htmlmy roms, all rejected by the editor. hope it helps.
(E) ROM runs perfectly on editor for me. Both the current 2.0 release and WIP 2.1.psy-nsmb.nds works on the old editor, but loads the wrong level files. 2.1 gives "Subscript out of range" due to mis-loading of enemy data. Looks like it has something that's breaking my crappy implementation of the DS filesystem that -just- works. (Barely.)

#16 User is offline   SSUK

  • Rule Britannia, mother fuckers!
Icon
Posts:
3,152
Joined:
01-January 06
Gender:
Male
Country:
Little Planet
Interest:
LOVES FRANZ'S PULSATING MEGA COCK

Posted 06 August 2007 - 09:33 AM

I'll try it on Vista, see if I get the same results. For the record, what OS are you using, Trekki? I get the feeling I'll get the same errors on Vista as XP MCE, as MCE is basically Vista 0.5. But, I'll get back to you on it.EDIT: Okay then. Well, I got the thing to open in Vista. That was a whole 10 minutes of bullshit. For anyone attempting; you can find the missing COMDLG32.OCX file either in XP's \system32\ folder or on the net, (quick google search) drop the thing into Vista's \system32\ folder. Press the Start button, type "CMD" in the quick search dialogue, wait until cmd.exe appears at the top of the search results, right click, click "Run as Administrator" enter the admin p/word or click continue and then type "regsvr32 \windows\system32\comdgl32.oxc". Doesn't matter if you're the admin account, you'll still need to click "Run as administrator" or shit wont happen.You'll also have to repeat this for a bunch of other missing OCX files. (... Why aren't these files here by default ffs?)As for the ROMs working... The (E) ROM works, as you've said... Wonder what's causing XP MCE to mess up... =/

This post has been edited by SSUK: 06 August 2007 - 10:33 AM


#17 User is offline   Overlord

  • Postcount whoring since 2003~
Icon
Posts:
3,702
Joined:
03-January 06
Gender:
Male
Country:
United Kingdom
Interest:
Programmer
Location:
Berkshire, UK

Posted 06 August 2007 - 01:57 PM

View PostSSUK, on Aug 6 2007, 03:33 PM, said:

I'll try it on Vista, see if I get the same results. For the record, what OS are you using, Trekki? I get the feeling I'll get the same errors on Vista as XP MCE, as MCE is basically Vista 0.5. But, I'll get back to you on it.EDIT: Okay then. Well, I got the thing to open in Vista. That was a whole 10 minutes of bullshit. For anyone attempting; you can find the missing COMDLG32.OCX file either in XP's \system32\ folder or on the net, (quick google search) drop the thing into Vista's \system32\ folder. Press the Start button, type "CMD" in the quick search dialogue, wait until cmd.exe appears at the top of the search results, right click, click "Run as Administrator" enter the admin p/word or click continue and then type "regsvr32 \windows\system32\comdgl32.oxc". Doesn't matter if you're the admin account, you'll still need to click "Run as administrator" or shit wont happen.You'll also have to repeat this for a bunch of other missing OCX files. (... Why aren't these files here by default ffs?)As for the ROMs working... The (E) ROM works, as you've said... Wonder what's causing XP MCE to mess up... =/
Those OCX files are installed with the VB6 runtimes. Though they come with XP, it would appear they aren't shipped with Vista. Laaaaaame.

#18 User is offline   PsychoSk8r

  • Where's my cup of tea? =P
Icon
Posts:
126
Joined:
04-January 06
Gender:
Male
Country:
England
Interest:
Been around forever
Location:
Walsall, right next to Birmingham, UK, in a cardboard box.

Posted 07 August 2007 - 02:22 PM

Anybody for SMB1 (NES) levels is NSMB? =P I'm so tempted to do Try this

#19 User is offline   Overlord

  • Postcount whoring since 2003~
Icon
Posts:
3,702
Joined:
03-January 06
Gender:
Male
Country:
United Kingdom
Interest:
Programmer
Location:
Berkshire, UK

Posted 07 August 2007 - 02:24 PM

Sure, I'll go with that. Be fun to give SMB1 a go with the NSMB powerups and moves =P

#20 User is offline   Treeki

Icon
Posts:
7
Joined:
04-August 07
Gender:
Male
Interest:
Hacker

Posted 07 August 2007 - 05:12 PM

View PostPsychoSk8r, on Aug 7 2007, 02:22 PM, said:

Anybody for SMB1 (NES) levels is NSMB? =P I'm so tempted to do Try this
http://www.youtube.c...h?v=9HVSeuG0m5A and http://www.youtube.c...h?v=ckYhYscJecg :P

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users