This will be a quick and rapid summary on how to edit levels in the SMB3Editor.

For a minimal read, reading only the Basic section should be enough to get you started with your first level.

Much of the editor's actions are based on Lunar Magic, a SMW editor, so many users who know how to use that will already be familiar with most actions. Any SMB3-specific or new actions will also be explained here.


Basic

Opening the editor

  • For Windows, you download the editor and open the .exe in its folder.
  • For Linux, you need Mono (complete version). Run the following:
    ⎗
    ✓
    sudo apt install mono-complete
    

From there, cd to the editor's directory (This is important!), then run mono SMB3Editor.exe.

  • I have not tested this on a Mac, but it should be similar to the Linux instructions. You will need mono-complete.

Opening the ROM

Open the ROM with the Load ROM button. From there, select your ROM (SNES is .sfc/.smc).

If a clean ROM isn't set up, it will ask for this too. This is used for restore points, which will revert the ROM back to a previous state if something goes wrong. The SNES's clean ROM will just be the unmodified All-Stars ROM.

  • Should you be opening a clean ROM, the editor will apply any necessary first-time patches, which includes stripping out the other games. Be sure to save the ROM after a first open.

  • The ROM also creates restore points in the background, and this occurs with every save.

Opening the Project Files

For modifying any updated baserom, you will need to import and replace the project files as well. This can be done in the Project Manager.

  1. In an opened ROM, select the Project Manager.
  2. Select the "Restore" menu.
  3. Select "Replace Project Directory".
  4. Continue with the warnings.
  5. Select the desired project folder to import. This project folder is the one provided.

If something goes wrong here, you can always inspect the project folder by clicking the "Open Project Folder" up the top, and replace any files there. The operations will be identical to replacing from the restore menu, but you may need to restart the editor for it to have a correct effect.

Level Editor: Basics of creating a new level

There are many environments in the game, which are called tilesets. Each tileset is tied to a particular level bank. These level banks only support a collection of levels belonging to a particular group of tilesets.

It is recommended that you delete all original levels to make room for your own, as level bank size is limited. This will also make the vanilla levels as invalid entrances in the overworld, but shouldn't be an issue if you do not intend to enter them.

  1. Click the Level Editor button to open it.
  2. Click the "Open a Level" button.
  3. From here, you can click and drag a set of levels in the level list, or all of them if you choose, and click delete. You cannot delete the level that is currently being worked on, as there must be at least one level in the list.

  4. Once the area is cleared, you can place a new level within its place. Click the "Create a New Level" button.
  5. Select the bank you just deleted from, and the tileset of your choice from within that bank. Give it a name (used as an identifier for the editor, alphanumeric characters only), helpful description, and click Create.

  6. The level is created. Once saved, the name will also be applied.


  7. To test it, it will need to be placed on the overworld as a location. This only needs to be done once. Go back to the Main Menu and open the Overworld Editor (if using any beta version, ignore the beta message).
  8. We will just modify an existing location. Enter the Location editor.
  9. Select a level location by clicking it. Then, go to the location settings.
  10. From there, select the created level from the "Level to use" dropdown. Click OK.
  11. Save the overworld. Ignore the warning given about the World 1 pipe, as this is an incorrect placement from the original game.

  12. You can run an emulator for testing by pressing the "F4" key within either the Level or Overworld Editor. You will need to select the correct path for them if this is the first time you are setting them up.
  13. That's your very first level done. You can play inside it, but it won't have much just yet.
  • The following are all usable tilesets within levels:
    ⎗
    ✓
    Tileset  1: "Plains" style (like 1-1, 1-3, etc.)
    Tileset  2: Fortress / Bowser castle style
    Tileset  3: "Hills" style (like 1-2, etc.) (Shares a lot of functionality with Tileset 14)
    Tileset  4: High-Up style (like 1-4, 1-6, etc.) (bank shared with Tileset 12)
    Tileset  5: Only used for the two "Plant infestation" levels of World 7 (the "hammer bro battle" replacement levels) (bank shared with Tilesets 11 and 13)
    Tileset  6: Underwater levels (bank shared with Tilesets 7 and 8)
    Tileset  7: Only used for Toad houses (bank shared with Tilesets 6 and 8)
    Tileset  8: Vertical levels (like 7-1 etc.) with support for the "pipe maze" mechanics (bank shared with Tilesets 6 and 7)
    Tileset  9: Desert areas
    Tileset 10: Airships / Coin Ships
    Tileset 11: Giant World levels (bank shared with Tilesets 5 and 13)
    Tileset 12: Frozen Tundra levels (bank shared with Tileset 4)
    Tileset 13: Sky areas (like Coin Heaven, 5-4, etc.)  (bank shared with Tilesets 5 and 11)
    Tileset 14: Underground style (Shares a lot of functionality with Tileset 3)
    Tileset 15: Bonus Game Host Introduction and Directions (bank shared with Tilesets 16 and 17)
    
  • There are some minor technical differences with the tilesets. For instance, only Tilesets 3/14 support slopes, and Tileset 7 allows the functionality of Chest tiles.
  • Note that the example uses the Toad House tileset. On the SNES, this will kill the player instantly from a time-up. The time should be set to 0 in the level header settings for this. For other tilesets, you don't need to worry about this.

Level Editor: Basics of populating the level

If you're following along, we are going to use a blank Bank 1, Tileset 1 level as the example

  1. You can add either objects (stationary tiles) or sprites (moving items, enemies, etc.). This is done within these menus. Click on them to open the Window.

  2. You can scroll the list of objects here. To place a selected object, select it from the list, and right click the level area to place it down.
  3. You can click and drag the object with the left mouse button to move it around.
  4. Some objects are able to be resized. You can do this by left-clicking to select the object, hovering over its edge, then click and dragging the mouse when the cursor changes.
  5. Placing down sprites is similar to objects, but you have to enter Sprite Editing Mode to select them. You must be in the respective placement mode for the item to be placed.
  6. Sprite placement is identical to objects. You select one from the list, right click the area while in Sprite Editing Mode, then position it.

This is still a bare bones overview of how items are placed in the area, so there won't be any further detail here. You can try looking at a Lunar Magic guide to see how much functionality is ported over. And don't forget to save your work.

Level Editor: Basics of Level Header Editor

The level header determines various settings for the level. We will use it to change the background to something other than the default black.

  1. Click the Edit Header button.
  2. Change the Layer 2 background to something else.
  3. We will also change the length of the level here. Change this to three screens.
  4. Click OK to apply.

Level Editor: Other basics

Palettes

The background is applied, but the colour is still black. You can change this by adjusting the background colour in the Palette Editor.

Open the palette editor and change the BG colour to something else. Some tilesets don't allow this.


Screen Boundaries

You can also check to see our new boundaries by Toggling the View Screen Borders button. Note the areas in red. You will not be able to travel past the blue screen areas.

Goal Card

All levels need a goal card to finish with. This is a sprite. The backstage blackness is an object, and is available in almost every tileset.

Don't forget to save.

Level Editor: Exporting the Level as .M3L

  1. To export the level to a file, go to the File menu, then click "Export Joined Levels to Folder". We want to select this option to also export any additional levels that are joined with pipes and doors (not covered just yet).
  2. Create a new folder for the level pack, then press OK. If successful, it will put all .m3ls inside the folder.

Reverting the ROM to a previous state

Bad things can happen sometimes. Here's how to revert them.

  1. Go to the Project Manager.
  2. Click the Project Backups Tab.
  3. From here, the history of saves will show. You can select a point in time from the list and click OK to revert the ROM to that point. Please pay attention to all warnings given before reverting.

Intermediate

You can use a combination of Custom palettes, graphics, and Map16 tiles to vary your levels visually.

Custom Palettes

  1. Inside a level, open the palette editor.
  2. Click the "Enable custom palette for this level" checkbox.
  3. Click on a colour of your choosing to edit it. When the level is saved, the palette will also be saved with it.
  4. You can also import palettes from Lunar Magic using the import/export palette buttons, if you find it easier to edit there, since the SMB3Editor does not yet support colour gradients.

Custom Graphics

Custom Graphics are also known as ExGraphics, or ExGFX. Unlike SMW, they may vary in size, and be as small as 0x800 bytes long to as large as 0x4000 bytes. However, level slots only allow 0x800-long slices at a time.
You can also download graphics from the SMWCentral graphics section, but some porting is required.
Note that some graphics will be overriden by animations in a level. This will be covered in another section.

Getting the base graphics

You can export the vanilla graphics and paint over them using an external program like YY-CHR. Afterwards, you can reimport them and use them in levels.

  1. Open the Graphics Editor. Ignore the beta message.
  2. Click the Red Mushroom Icon "Quick Extract GFX from ROM".
  3. Click the Open Project Folder button for the ROM from the Main Menu.
  4. There will be a folder called Graphics, containing all graphics from the game.
  5. A quick way of finding out which pages to edit is from the Level Editor. If you open the "Super GFX Bypass" Menu, you can see which pages are used for the current level.

  6. Alternatively, view the pages by either opening the "8x8 Tile Editor" and selecting the buttons to navigate.

  7. The third way is opening the "16x16 Tile Map Editor", pressing the "Display Page Numbers" button, then opening the "8x8 Tile Selector". Use PgUp/PgDown to change the palette. Note that this view will not display sprites. You can always turn off page numbers if they get in the way.


  8. It is recommended to export the matching palette as well for the tile editor of your choice. You can do this by opening the Palette Editor, and clicking the "Export level palette to file" button. Save this as a .pal.

  9. Copy the Graphics file you intend to edit from the Graphics folder and paste it somewhere safe, preferably in a different folder. Rename it something meaningful to distinguish it.
  10. Open the file in your editor. With YY-CHR, this is opening the .bin file just copied, selecting Format as "4BPP SNES/PCE(CG)", and selecting the Palette from Palette->"Open RGB Palette (*.pal)..." and selecting the palette just exported. Be sure to set the Format FIRST before setting the palette.
  11. Some tiles in various graphics files are not arranged correctly in YY-CHR, particularly ones from sprites. You can change how the tiles are layed out by selecting the Pattern to "FC/NES x16".
  12. Select a palette row from the right, and edit away. You can check a tutorial on YY-CHR outside this guide if you need help. Hit save once you're done, and ALWAYS press "No" if it asks to expand the file.
  13. Create a new folder inside the Project folder and name it ExGraphics (if it does not already exist).
  14. Copy the graphics file inside the ExGraphics folder, and rename it to ExGFX**.bin, where the ** should be a hex number from 00-FF and 100-FFF. This will be the slot number. Be sure that it is an unreserved number.
  15. Go back into the Graphics Editor, and click the yellow mushroom "Quick Insert ExGFX to ROM".
  16. From the Graphics Slot dropdown, scroll down to find the collection of ExGFX, and select the slot that was inserted.
  17. Once selected, click the second dropdown and select LZ2, then click the yellow mushroom again. This will make the graphics take up less size in the ROM. The yellow mushroom has to be clicked every time you change the setting in this dropdown.

  18. Save the ROM. The graphics are now inserted. The preview can be shown by selecting the correct palette from the right via the dropdowns; however, this component is still under development.
  19. Go back to the level editor, then open the "Super GFX Bypass" Menu.
  20. Check the "Enable bypass" option, then check either "Enable ExGFX for FG/BG" or "Enable ExGFX for sprites", depending on what was replaced. Select the ExGFX files for the pages that were intended to be replaced. Larger ExGFX files may be broken up over multiple pages. Click "OK".
  21. The preview of the graphics will be shown immediately. Save the level, then you can preview them in action.

Custom Map16 pages

This section will use a custom ExGFX page that has been inserted.

If the default blocks (16x16 tiles, known as Map16 tiles) for a tileset don't match up to your graphics, you can always create custom arrangements of the 8x8 tiles and make up your own blocks.

  1. Within the Level Editor, open the "16x16 Tile Map Editor" menu.
  2. 256 blocks (16x16 tiles) make up one Map16 page. You can scroll up and down to see the tiles inside the two vanilla pages available.
  3. The first two pages are special and will change with every different tileset loaded. Custom pages are universal. To add one, press the "Add new Map16 page" button.
  4. This new page with all the circles is for you to edit. Click the brick block to go into 8x8 editing mode, then the question block to open the 8x8 tile selector.
  5. We will be using a custom graphics page loaded in the level already as an example. While the 8x8 Tile Selector is focused (clicked in), press PgUp/PgDown to change the palette. Left-click on an 8x8 tile within here, then right-click in the 16x16 tile map editor to place it down.

  6. You can also choose to set the properties for an 8x8 tile in the 16x16 editor by clicking any of the options on the left. This can be used to rechange the palette, set the flip, etc.
  7. By default, all custom blocks will behave like a solid tile (ID 0xF0). If you switch the 8x8 editing mode off, you can select and change the block to act like a clear block, a muncher, or others within the vanilla block area of 0x00-0xFF.
  8. Click on the save icon in the Map16 editor. Note that this is a different save button from saving the level.
  9. To use the new tiles, either select them directly from the Map16 editor while 8x8 Tile Editing mode is off, or select them from the Add Objects Window and select the "Direct Map16 Access" category.
  10. Select and drag the left-mouse button over the tiles you want to add, then right click the level area to place them down. It is more space efficient if you use a larger selection of Map16 tiles at once.
  11. Save the level and test it.

  12. You can also export your custom pages as a .map16 using the yellow question block icons in the 16x16 tile editor. This is useful for redistribution, since the level will not save the Map16 data by itself.
  • .map16 files downloaded from SMWCentral are in a different formant to SMB3Editor's format, and are not yet supported.

Adding the Checkpoint Sprite

You can get the checkpoint graphics from here.

  1. Go to the Patch Manager.
  2. Click the "Essential" Tab.
  3. Select the "Level Fixes" Patch and click "Apply Patch".
  4. Make sure that the "Enable Checkpoint Logic" checkbox on the right is selected, then select the "Apply Patch" button.
  5. Press OK once the patch is finished, but don't close off the Patch Manager.
  6. Select the "Add Custom Sprites" patch from the left and click "Apply Patch".
  7. Save the ROM.
  8. Click the Open Project Folder button for the ROM from the Main Menu.
  9. Create a new folder there and name it ExGraphics (if it does not already exist).
  10. Move the ExGFX00.bin file from the downloaded checkpoint graphics and put it inside the newly created folder.
  11. Open the Graphics Editor.
  12. Click the yellow mushroom button, "Quick insert ExGFX to ROM".
  13. Save the ROM and open the Level Editor.
  14. Open the Sprites Window, and select the sprite category as "Custom Collections of Sprites".
  15. The checkpoint sprite will be Custom Sprite ID 00. The garbled graphics are normal since we haven't selected them yet. Go into sprite placement mode and place it in the level area.
  16. Open the "Super GFX Bypass" menu.
  17. Tick "Enable bypass", then "Enable ExGFX for sprites". Change SP7 to use Ex0, which should be at the bottom of the dropdown.
  18. The checkpoint now has the correct graphics. You can now save the ROM and test the level. Any time you need to add the checkpoint to another level, follow from step 14 onwards.

List of Differences from Lunar Magic

  • Some objects are background objects, and can only be selected by double-clicking them. This is so they do not get in the way of a selection to prevent accidental modification.
  • While Screen Exits Mode is toggled, it will show where the level limit has been reached in red.
  • Some levels use Shared Object sets, which are for sprites. This can be observed in the bottom right corner of the Level Editor, saying "Shared Object Set" in red. If the sprites are moved and saved, all levels that use this set will be affected. To use a unique object set for the level, uncheck "Use Shared Object Set" in the level header.
  • There is a new object priority menu button located between the 16x16 Editor and Palette Editor. Some objects require their priority to be set higher in order for them to be drawn correctly.
Edit

Pub: 10 May 2023 23:01 UTC

Edit: 23 Oct 2026 20:51 UTC

Views: 265