News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Smaghetti: Super Mario Advance 4 level editor  (Read 1239 times)

city41

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
    • Smaghetti
Smaghetti: Super Mario Advance 4 level editor
« on: April 01, 2021, 03:56:19 pm »
Smaghetti is a level editor for Super Mario Advance 4 with a focus on being really easy to use. Strongly inspired by Mario Maker. I want to take advantage of all the cool stuff available in this game thanks to the e-reader levels.

You can try it here: https://smaghetti.com



It's still very early, tons of work to do. But you can create a level and either load it in an emulator or on a GBA with an Everdrive.
SMA4/SMB3 level editor - https://smaghetti.com

Metalwario64

  • Full Member
  • ***
  • Posts: 173
    • View Profile
Re: Smaghetti: Super Mario Advance 4 level editor
« Reply #1 on: April 01, 2021, 07:58:29 pm »
I was worried about this being an April Fools day prank, because I've always wanted a good level editor (or even one at all since I never heard of one) for Advance 4. Very much looking forward to the development on this!

city41

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
    • Smaghetti
Re: Smaghetti: Super Mario Advance 4 level editor
« Reply #2 on: April 01, 2021, 09:45:01 pm »
Oops, I didn't even think about April Fools. Ha :) But yeah, no I'm really making it.

If anyone is good at reverse engineering and wants to help figure out things about the game, let me know. I'm building a bunch of tools to help figure the game out.
SMA4/SMB3 level editor - https://smaghetti.com

Jorpho

  • Hero Member
  • *****
  • Posts: 4789
  • The cat screams with the voice of a man.
    • View Profile
Re: Smaghetti: Super Mario Advance 4 level editor
« Reply #3 on: April 02, 2021, 02:09:37 am »
I want to take advantage of all the cool stuff available in this game thanks to the e-reader levels.
"More unused content than the entire main game!" according to TCRF.

Have you been working on this for a long time?
This signature is an illusion and is a trap devised by Satan. Go ahead dauntlessly! Make rapid progres!

Alex O.

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: Smaghetti: Super Mario Advance 4 level editor
« Reply #4 on: April 02, 2021, 11:31:51 am »
Awesome! It takes a little getting used to it.
I've got few things from people who also used to make stuff for this.
Download them here: https://www.dropbox.com/s/ne6snff06eskand/SMA4%20Hack%20Assets.zip?dl=0

As for the folders inside:
Marionator is a map editor (though it gives me nonsense when I try it).
SMA4 Notes has more information on various things, like sprites and memory.
sma4savtool can load e-levels into a game save. I also have all the e-levels (with their Wii U VC names) and have edited the classic SMB1 levels to be closer to their original selves (with help from Solar Magic Advance below and a hex editor).
Solar Magic Advance was a previous attempt at a SMA4 level editor. It can open e-levels and view information about them and also create new power-up and switch cards.
« Last Edit: April 02, 2021, 10:17:25 pm by Alex O. »

city41

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
    • Smaghetti
Re: Smaghetti: Super Mario Advance 4 level editor
« Reply #5 on: April 02, 2021, 11:45:55 am »
Have you been working on this for a long time?

The editor itself I have been working on for a while. It's pretty polished, it has undo/redo, zoom, pan, drag and drop, etc. Reverse engineering SMA4 is a more recent thing, but over the years many people have done work on that so I was able to get a huge head start thanks to all that. If anyone from about 10 years ago who reverse engineered SMA4 is reading this, thank you!

Awesome! It takes a little getting used to it.

If there is anything you think is weird or could be better, let me know, always open to feedback. I'm trying to make it really easy to use. I don't want the user to have to know how the SMA4 engine works at all, unless they choose to do advance stuff (which isn't possible yet)

Quote
I've got few things from people who also used to make stuff for this.

Awesome! Thanks! I have already found most of this stuff. I probably found your old forum posts out there :) I never did find Marionator though, that sounds interesting, I will have to try it out. SolarMagicAdvance and all that stuff has been super helpful.

I ported sma4savtool to JavaScript, that is how Smaghetti loads the level into a save file. I don't remember off hand who wrote that, but thank you, that was a MASSIVE help. Also whoever wrote NLZ-GBA a massive thank you to you, I ported your LZ77 decompression routines to JavaScript to help explore the tiles in the game. I have a raw tile viewer here https://smaghetti.com/tools/tiles

Most rom hacking tools do not have their source code, thankfully sma4savtool and NLZ-GBA did.
SMA4/SMB3 level editor - https://smaghetti.com

J^P

  • Full Member
  • ***
  • Posts: 143
    • View Profile
Re: Smaghetti: Super Mario Advance 4 level editor
« Reply #6 on: April 02, 2021, 05:42:03 pm »
Finally, a weapon to surpass metel ge- I mean Lunar Magic  ;D.


Alex O.

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
Re: Smaghetti: Super Mario Advance 4 level editor
« Reply #7 on: April 03, 2021, 08:19:44 am »
@city41: I was referring to the editor, particularly with adding new objects (It's a bit much to have to add them to the menu before you can use them, unlike in the Super Mario Maker games.).

Also, The Spriter's Resource (https://www.spriters-resource.com/game_boy_advance/sma4/) should have all graphics needed (a few of them are off, like the Shoe Goomba and the Magic Ball).
« Last Edit: April 03, 2021, 08:29:07 am by Alex O. »

city41

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
    • Smaghetti
Re: Smaghetti: Super Mario Advance 4 level editor
« Reply #8 on: April 03, 2021, 08:47:51 am »
@city41: I was referring to the editor, particularly with adding new objects (It's a bit much to have to add them to the menu before you can use them, unlike in the Super Mario Maker games.).

Cool, thanks, I'll have to think about how to make that better.

Quote
Also, The Spriter's Resource (https://www.spriters-resource.com/game_boy_advance/sma4/) should have all graphics needed (a few of them are off, like the Shoe Goomba and the Magic Ball).

Yeah shoe goomba, para troopa and boom boom have some graphical issues. I know how to fix it, just focusing on getting the overall editor working for now.

The magic ball is actually correct. You can add it to a level and see. Although it does do some weird things sometimes, so possibly it's an extra entity that Nintendo never actually used. Figuring out all those details is going to take a while.

EDIT: actually no magic ball doesn't do weird things, the weirdness was caused by a bug I added. It works well. So I think it's just a different magic ball from the one you get after beating boom boom.

April 03, 2021, 11:21:28 am - (Auto Merged - Double Posts are not allowed before 7 days.)

SMA4 Notes has more information on various things, like sprites and memory.

I forgot to mention, I hadn't seem some of these files and there is some really good stuff in there. So thanks for the link!
« Last Edit: April 03, 2021, 11:21:28 am by city41 »
SMA4/SMB3 level editor - https://smaghetti.com

city41

  • Jr. Member
  • **
  • Posts: 5
    • View Profile
    • Smaghetti
Re: Smaghetti: Super Mario Advance 4 level editor
« Reply #9 on: April 16, 2021, 09:18:24 am »
New additions

Lots of new entity types including veggies, triangle blocks, doors and more. Existing entities that can take payloads got more payloads including shoe inside question block

This payload chooser looks a little crappy, I know. Fine polish is not the focus yet.



Ability to add multiple rooms, and warp between them using doors



And a new tool that is really taking reverse engineering to a new level. It lets you explore a level, make changes, and see the changes take effect immediately.

SMA4/SMB3 level editor - https://smaghetti.com