Super Mario Land 2B

Unofficial sequel to Super Mario Land 2

Public Chat
Similar projects worth following
The project is to make a sequel to SML2 that plays on the original Gameboy hardware.

To do this I am making an editor for SML2 / 3 that can extract and modify levels, then patches the ROM. Once the editor is done, anyone can submit their level designs and I will bundle them into a sequel!

Full alpha source is now available at github. Please try and help improve it :).

  • Project on pause

    Rory Renton10/07/2021 at 09:55 1 comment

    If anyone can help by building it in Windows and updating the Github so others can, as I only use Linux, also then I can then offer an ".exe" for people to use that would be great! :D.

    I have too much work to catch up on, so I need to pause this project. But now it's alpha, anyone can try it and contribute with pull requests on the github page. I will reply within a day :).

  • completed alpha version!

    Rory Renton04/22/2021 at 12:23 0 comments

    the alpha version of moojelly now views SML2 and SML3 completely! I am now publishing the source code to github, and welcome people to contribute.

    The big delay was dealing with SML3 having multiple tile-sets per level, so now it automatically switches tile-sets by understanding the level and warps.

    Although currently the new re-write of moojelly only views levels, I have previously made them edit levels with no problems, so I know adding level editing isn't a big job.

    this image shows a complete SML3 level, automatically switching 3 different tile-sets and sprites!

  • Auto tilesets!

    Rory Renton01/17/2021 at 17:36 0 comments

    The biggest hurdle on supporting SML3 has been completed; auto tile-set (and sprite) changing.

    SML3 added that each level can have multiple tile-sets that change when you go through doorways, to support this I added that it simulates playing the level and figures out where you can go, then changes the tile-sets accordingly. It works almost perfectly!

    I haven't yet got it changing the sprites too, although I have the data.

    the colours are different paths being traced in debug mode.

  • Project resumed

    Rory Renton01/11/2021 at 14:26 0 comments

    I have made some progress, I finished the Gameboy processor emulator and got it to correctly pass all the test ROMs, and integrated it to extract the SML3 sprites properly from the ROM. Also I have finally added the static bonus sprites for power ups.

    So the next stage is finishing the tile-set switcher (which works by simulating player movement across the level to decide which doorway was been used then applying the correct tile-set. This is practically completed already.

    The editor is now nearly feature complete as a viewer, adding the editing after isn't actually a big deal, as all the hard work of figuring out how to do this has been done in the previous version before the rewrite.

  • delay

    Rory Renton09/22/2020 at 07:46 0 comments

    been busy, with my paid work. This is coming to the end for this year, also winter is coming, which is a good time for me to do programming generally.

    Update: probably 2 weeks until I have free time now.

  • complexities with SML3

    Rory Renton03/13/2020 at 14:14 0 comments

    I have spend a couple of weeks dealing with the odd way SML3 handles sprites, unlike SML2 it does this with code instead of tables. So I wrote a Z80 emulator to follow the code then extract the needed info.

    Also SML3 has multiple tilesets per level, and switches them arbitrarily when passing through doorways, so I wrote a smart way of automatically detecting which tileset is used by each part of the level. This works by flood filling from the doorway then assuming all of those blocks use the same tileset (simulating Wario travelling around).

    Due to work I need to take a few weeks of from the project, which is a shame as the editor is really close to being completed. I'll be back though :)

  • C++ port is feature complete

    Rory Renton02/26/2020 at 19:24 0 comments

    I have now got my prototype working with both games (SML2 and SML3) with all features (sprites, sectors, levels, etc...). And it is done in a far superior way than before (all extracted from the ROM).

    There is still a fair amount of work to complete the editor, but it shouldn't be too long now!

    SML2 output sample:

    SML2 sample

  • C++ port nearly complete

    Rory Renton02/11/2020 at 15:32 0 comments

    made good progress, the currently unreleased rewrite now uses the headers for SML2 and SML3 to load all resources unlike the older version that was half hard-coded. I also found a missing header for SML2 that defines the tiles for each level finally!

    here is a sample of a SML3 level:

    And here is a SML2 level:

    adding the remaining details is easy (done it before). So not long now!

  • Porting to c++

    Rory Renton01/31/2020 at 09:49 0 comments

    the project stopped for a long time because it was written in visual basics, which is a nightmare, so now I am rewriting it again in C++ and finally finishing the editor!

    I have also made a little progress backwards engineering Super Mario Land 3 now, so will be adding that too :).

    got it extracting levels already, just need to add tiles now:

  • project restarted

    Rory Renton04/10/2016 at 20:30 0 comments

    fixed a bug that made the edited levels white screen the original hardware. (don't patch the rom name to work around it for now).

    Me and one collaborator have started to compile levels to get this finished.

View all 10 project logs

  • 1
    Step 1

    wait for the new port of the editor.

View all instructions

Enjoy this project?



joe wrote 02/13/2023 at 08:42 point

Hey just curious, it seems like the project has been idle for a while, i was wondering how the project is doing?

  Are you sure? yes | no

The WHG Hacks wrote 04/05/2021 at 06:54 point

Hey. Just Checkin In. What Is Going On With The Project/Editor Right Now.

  Are you sure? yes | no

Rory Renton wrote 04/22/2021 at 12:55 point

just been posted on github with full source code. it displays levels pretty much perfectly for SML2 and SML3... no editing yet, but that is easier than what I have done so far.

  Are you sure? yes | no

Austin Salgat wrote 07/15/2020 at 03:56 point

Hey SmellyMoo, do you have any updates on this project? :)

  Are you sure? yes | no

Rory Renton wrote 07/29/2020 at 07:22 point

it's at the end of a short gap while I do paid work, expect I will pick it up again in a month, and then it should be one sprint to the finish line (for the editor)!

  Are you sure? yes | no

Johannes wrote 07/29/2020 at 15:59 point

Looking forward to it! And if you need beta testers, I'm game!

  Are you sure? yes | no

MarioZoneSecretLostLevel wrote 03/28/2020 at 14:25 point

I see on your screen shots the world map with yellow arrows for the ways where Mario can walk. Does this mean that the editor can edit the word map, adding other ways, other worlds or other levels?

  Are you sure? yes | no

Rory Renton wrote 11/03/2020 at 11:49 point

the old one could, but this one hasn't got that ported yet, I'm working on the levels first.

  Are you sure? yes | no

Rory Renton wrote 03/27/2020 at 15:30 point

it's worth waiting for the reboot, as the new editor will be superior in every way, as I am starting again with much more info and better skill (also better programming language).

Hopefully it should be in an alpha state in 1-2 months, depending on if other projects take away my time :).

  Are you sure? yes | no

MarioZoneSecretLostLevel wrote 03/27/2020 at 19:27 point

1-2 months! I can't wait to see and use this editor but I will! :) 

  Are you sure? yes | no

Rory Renton wrote 06/29/2020 at 20:15 point


  Are you sure? yes | no

MarioZoneSecretLostLevel wrote 03/25/2020 at 12:55 point

This project just looks amazing, can't wait to use it and help making levels of a sequel! <3 

  Are you sure? yes | no

Rory Renton wrote 06/29/2020 at 20:14 point

that would be really helpful! sorry I have been delayed getting back to work on this, I did a solid month and had to get back on with money making work.

but trust me, I will carry on, and have create ideas how to. It will be a lot of work making the sequel, but finishing this editor is the first step.

  Are you sure? yes | no

Cristian Capannini wrote 03/20/2020 at 11:05 point

Where is the editor?

  Are you sure? yes | no

Rory Renton wrote 06/29/2020 at 20:15 point

there is an old version, but it's worth waiting for the complete rewrite as it will be superior in every way!

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates