Banner
Views: 791,060,367
Time:
13 users online:  bebn legg, Fermín Acosta Jr.,  Giftshaven, GiraffeKiller, Kagami Hiiragi,  KKevinM, MiracleWater, Naraku1997, Ralshi02, rvx, Shiny Ninetales, Sixcorby, SuperCoop26 - Guests: 51 - Bots: 208 Users: 41,304 (1,494 active)
Latest: Mr.RedAndBlueYT
Tip: Keep track of ALL patches and hex edits in case you need to transfer your data to a new ROM. It's definitely worth the trouble.Not logged in.
Frequently Asked Questions
Please contact a staff member if you have any suggestions for the F.A.Q..
SMW Hacking General ROM Hacking SMW Central
Question:What is "GFX" and what is "ExGFX"?
Answer:"GFX" in the SMW Hacking scene is usually used as short for "Graphics", but GFX are actually the original 52 files of graphics from Super Mario World. "ExGFX" stands for "Extended/Extra Graphics" and are more graphics that can be added without overwriting the original graphics.
Question:How do I edit GFX and ExGFX?
Answer:Press #lm{extgfx} to extract Graphics (a folder called Graphics will be created in your ROM's directory). Press #lm{extexgfx} to extract Extended/Extra Graphics (a fresh ROM won't have any, obviously) and to create a folder called ExGraphics in your ROM's directory.

You can create ExGFX files by copying GFX files, pasting them into the ExGraphics folder, and naming them anywhere from ExGFX80.bin to ExGFXFFF.bin. The numbers are in hex.

Further information on creating ExGFX can be found in our Graphics & Related Topics forum and by following this tutorial. You can find custom graphics for download here.
Question:How do I insert GFX and ExGFX into my ROM?
Answer:Once you have the Graphics and ExGraphics folders with all the relevant files, press #lm{insgfx} to insert GFX into your ROM, or press #lm{insexgfx} to insert ExGFX instead. You can also click on to quickly insert and reload all the GFX and ExGFX for your ROM.
Question:How do I change the graphics used in a level?
Answer:Go to #lm{sgfxby} and check the Enable bypass [...] box. Then, you can load different graphics files. Open #lm{8x} to view the graphics files that are loaded: FG1 is the first half of page 1, FG2 is the second half, BG1 is the first half of the second page, and so on. For Layer 3 ExGFX, go to #lm{l3gfxby} - everything else works the same.
Question:How do I make objects actually display the graphics I just inserted?
Answer:You'll need to set up Map16 tiles to use your graphics for layer 1 and 2 objects. Refer to SMW Hacking > Map16 for further information.
Question:How do I edit Layer 3 tilemaps?
Answer:As of Lunar Magic 2.30, you can edit layer 3 tilemaps without using external tools. Just follow this tutorial.
Question:What exactly is in each GFX file?
Answer:Refer to this document.
Question:Is there any way to view all GFX files at once?
Answer:Yes. In Lunar Magic go to Options > General Options > ROM Editing Options and check Use Joined GFX Files. Now extract GFX and a file named AllGFX.bin containing all GFX files will appear in your Graphics folder. If you keep the option checked, Lunar Magic will only extract and insert AllGFX.bin. AllGFX.bin does not include any ExGFX files and ExGFX cannot be joined in this manner.
Question:What is the size limit of graphics files?
Answer:4kB for files intended to be used for layer 1/2 and sprites, 6.5kB for ExAnimation, 2kB for layer 3 graphics, 8kB for layer 3 tilemaps. GFX32.bin is for player graphics, and GFX33.bin is for global ExAnimation. GFX32.bin is 23.2kB in size, and GFX33.bin is 12kB in size.
Question:How do I make a block use palettes 8 - F? How do I make a sprite use palettes 0 - 7?
Answer:You don't. This setup is related to the SNES hardware and cannot be bypassed.
Question:How do I change Mario's palette?
Answer:Open the palette editor #lm{pal} and select which set of player palettes to edit from the Mario Palette dropdown - Mario and Luigi both use the ninth row down (palette 8). Make sure the Enable Custom Palette for this Level box is unchecked, and edit the palette to your liking. While still in the palette editor, click #lm{save} in the top right to apply your player palettes.

Note that some sprites like Monty Mole and the Falling Spike also use palette 8, and changing the first three gold/brown colors will affect their appearance.
Question:I gave Mario a different palette for a specific level, but he still looks the same - why don't his colors change?
Answer:Mario's palette is handled with special code that can't be changed per-level in Lunar Magic. There are a few patches that allow this here, here and here.
Question:Some graphics I use have conflicting palettes. How do I fix this?
Answer:In #lm{pal}, Ctrl + Alt + Left-Click to copy the graphics' palette row, and import the other palette. Ctrl + Alt + Right-Click to paste the copied palette to the selected row. Then, edit the Map16 of one set of conflicting graphics to use the other palette row.
Question:How can you view Mario's graphics, as well as the animated graphics, inside Lunar Magic?
Answer:Press Ctrl + Shift + Page Down while in the 8x8 Tile Editor to activate Internal GFX Viewing Mode. You cannot edit these graphics from this interface, however.
Question:I edited Mario's graphics, but stray tiles still show up when performing certain actions - how do I get rid of them?
Answer:Mario's extra tiles are found in GFX00.bin.
Question:How do I make an ExAnimation?
Answer:First, make sure you have the tiles you intend to use for the animation inserted into your ROM. You can dedicate a whole file for ExAnimation for each level - just go to #lm{sgfxby} and change the AN2 slot to the file you wish to use. Have #lm{8x} opened as a guide to figure out what to enter for Destination and the animation frames for tile animations, and have #lm{pal} opened for palette animations.

Refer to this tutorial to learn how to edit the ExAnimation frames in the #lm{exan} dialogue (check the type of animation you desire to have in the tutorial's table of contents). Once you're done, the animation will be displayed in the Destination tile or palette you chose. Put your animated tiles for layer 1/2 in Map16 and you're done.

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2019 - SMW Central
Legal Information - Privacy Policy - Link To Us


Total queries: 20

Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • SMBX Community
  • ROMhacking.net
  • MFGG