Banner
C3 Voting has ended! Stay tuned for the results (and Mr. Switchy's fate...)
Views: 958,597,206
Time:
11 users online: Ahrion,  Alex_X8, bwal,  Ice Man, MrDeePay, Paithus, Para_0, RanAS,  Segment1Zone2, simon.caio, Souldbminer - Guests: 33 - Bots: 73 Users: 53,079 (2,231 active)
Latest: komugi
Not logged in.
Basics of Lunar Magic
Forum Index - SMW Hacking - SMW Hacking Help - Tutorials - Old Tutorials - Basics of Lunar Magic
Pages: « 1 2 » Link
Here we go again, in this tutorial I will explain you the basics of Lunar Magic.

1. Getting Started


The first thing you always should do is opening your rom in Lunar Magic. You all know how that works. You also know how to save your edited game. If you're too stupid for finding it in the toolbar, you could use the options from the "File" box.

2. Adding Objects


If you want to add objects, make sure the button with the standart SMW ground is pressed. Then click on the button with the turn block on it. A window with all available objects shows up.

The numbers on the left is the objects number. In the dropdown-box you will find four options:
- Standard Objects -----> These objects are the standart objects that are used in all levels by Nintendo.
- Tileset Specific Objects -----> These objects are tiles that are looking and acting depends on the Tileset that is set for the level.
- Extended Objects -----> These objects are tiles like question and turn blocks, bushes and etc. They need the right Tileset to be shown correctly.
Direct Map16 Access (Lunar Magic) -----> Here are all tiles that can be pasted manually. Instead of a whole pipe, here you can paste the pipe tiles seperatly. With the Direct Map16 Access, you insert the ExGFX FG's too.
To paste the tiles, select one and press the right mouse button. To make them bigger or smaller, go to the bottom-right corner until you see a arrow. Hold the left mouse button and stretch or make them smaller. To delete a tile, mark it and press "DEL".

3. Adding Sprites


To add sprites, make sure the button with the shell is pressed. Then click on the button with the Baby Yoshi on it. A window with all available sprites pops up.

Like in the "Add Objects" window, the numbers on the left says which number the sprite is. There are three options:
- Standard Sprites -----> These sprites are shown in each level correctly regardless of which tileset is choosen. You can use them each time without any bad side-effects.
- Tileset Specific Sprites -----> These sprites are the ones that are used for levels that has the correct graphics loaded for them. Let us take for example the Bob-Omb: On the top left it says "SP4=02". You should see the Bob-Omb in level 105 garbled. It is because the wrong GFX file is loaded. To change that, click on the red poisonus mushroom, (I explain that later), check the box and click on the SP4 dropdown-box. Then scroll to 02, click on it and press OK. Now the Bob-Omb should have the correct graphics but the bullet bills and Rex's are messed up. This happened because the bullet bill uses SP4 too. But you changed it to show the Bob-Omb correctly. To change that back, click in the SP4 on 20 and click OK. (The same goes for sprites that uses the other SP settings)
Why aren't the Koopas messed up when I change the SP4 setting? Like I mentioned before, this is a standart sprite and can be used in each level.
- Special Commands and Generators -----> These sprites are the ones that makes for example, moving the Layer 2 or let generating bullet bills from all sides. They don't need any setting for themselves but the sprites that are spawned need them, so don't forget to change them. To delete a sprite, mark it and press "DEL".

4. Using Tileset Specific Objects


I mentioned that objects before, they have special settings and GFX depend on the tileset that is used. Let's say, you want to use Castle GFX in level 105 but all castle tiles are garbled and some tiles are missing. What to do? Click on the button with the blue, poisonus mushroom on it and a window comes up. There is a drop-down box that says "Change FG/BG GFX" and a box that says "Change Sprite GFX". To have a castle tileset, click on the first drop-down box and select "1: FG1=14, FG2=17, BG1=1B, FG3=18 T:1 (Castle 1) and click ok. The tiles of level 105 should be changed now to castle GFX. Notice how the Tileset Specific Tiles in the Add Objects window changed too. The FG tiles may have now wrong palettes. To change that, click on the button with the blue star on it and a window with many colors and drop-down boxes comes up. To change the palette of the FG tiles, change the option in the drop-down box where it says "FG Palette 0" until you find the colors you want. Then hit OK. To get a castle BG, go to "Level -----> Copy Background Image" and type in a level number of a castle, an example would be 101. The palette of the background can be changed by the palette editor (rainbow star) too. Remember the second drop-down box "Change Sprite GFX when you click on the blue poisonus mushroom? In the brackets you should see enemy names, if you use this enemys in a level, change the settings in that drop-down box to that enemy to get correct settings and to avoid errors like "Enemy dissappearing" etc.

5. 8x8 and 16x16 Editor


These editors are one of the most important tools featured by Lunar Magic when you want to alter or add graphics.
Let us open the 8x8 editor and see what does what. The first thing you'll see are tiles like the pipes, bushes, the door and the animated tiles like the question block or the coins. You can cycle through the palettes by pressing PageUp/Down. Each tile uses one palette row (explained later). At the bottom, it will say "Rendered with palette 0x1" if you press PageUp. Pressing it more times will cycle through the other palettes.
Pressing up/down on the arrow key will cycle through the pages, there are 4 standart pages, page 0,1,2 and 3. The first two pages are showing Layer 1/2 graphics, the other two are showing the sprite graphics. The first half of page 0 is FG1, the second half is FG2, the first half of page 1 is BG1 and the second half FG3. The first half of page 2 is SP1, the second half is SP2, the first half of page 3 is SP3 and the second half SP4. This is important for inserting ExGFX, so remember that for now, I'll explain this later aswell.

What exactly are these editors good for now?
See, each 16x16 tile consists of 4 8x8 tiles. Every tile you see in Lunar Magic (when you edit the levels) are made up of 8x8 tiles. These editors can change the graphics used by your ROM completely. Now, if you want to change the appearing of some objects, open up the Map16 editor and search for the tile you want edit. Let's take for example the moon, tile 6E.

How do I know which tile has which number?
If you hover your mouse on a tile, on the bottom of the editor, it will say "Tile 0x6E (Adress 0x370)". The number I underlined is crucial, don't bother about the rest. This applies for the moon tile now.

Let us continue with changing the moon tile. So, click on it and press the button "Edit 16x16 Attributes" seen in the Map16 window. You will get a little window now which contains the informations of the tile, made up of which tiles, use which palette, layer priority and the behavior. Good, in the 8x8 editor, when you hover your mouse on a tile, you'll see something like this at the bottom: "Tile 0x8D (Adress 0x11A0)." Like in the 16x16 editor, the underlined number here is the one we need. Tile 8D is the top-right part of the moon.
The little window that contains all the informations for the 16x16 tile you want to alter has 4 boxes at the top, saying which 8x8 tiles are used. Since tile 8D in the 8x8 editor is the top-right tile of the moon, it's in the rop-right box. This means, if you want to change the moon to, let's say a coin, you input following:

Top-Left Box: 6C ; Since this is the top-left part of the coin
Top-Right Box: 6D ; Since this is the top-right part of the coin
Bottom-Left Box: 6E ; Since this is the bottom-left part of the coin
Bottom-Right Box: 6F ; Since this is the bottom-right part of the coin

Then select a palette (you can view the palettes in the palette editor, more info about that later), the priority (should the tile appear behind or in front of Mario) and the behavior (act like a question block, a cement block, etc... the tile you input there is the same number you get when you hover your mouse on a tile in the Map16 window). right-click on the moon object and press F9. This saves the Map16 data, if you don't do this step, all the objects will turn in they former form when you re-load the rom. So never forget this.

Hooray, you changed your first object! Simple, not?
There are other additional commands to modify the tiles more:

Flip X: This flips the tile horizontally.
Flip Y: This flips the tile vertically.

Edit 8x8 Attributes: Here you can change the palette for each 8x8 tile to customize the tile more.
Flip X: This flips the 8x8 tile horizontally that is selected.
Flip Y: This flips the 8x8 tile vertically that's selected.

I will update this tutorial from time to time. Please don't PM me for questions. Copyright by Buu-Huu
Wow, this should be stickied!!! *when more is done :)*

--------------------
my layout sucked. so here to fill in is giggles the clown.
Retards don't seem to be capable of reading the help file/documents/SMWiki/trying things out themselves. -_-
Hey, I'm atleast someone who tries to help the community.
I make this tutorial for the noobs who have really problems with Lunar Magic and because of boreness. I think, I'm the only one here who has the will to do something like that, or are there more? I want that we don't get that stupid hacks that are uploaded every 2 days. If someone has anything against this thread then he just shut the **** up.
I think I should actualize this thread some time. I will get on it working soon, I have to reupload the pictures but I think I will just link to pictures to save space for the main part.
hmmm how do i edit secodary entraces? And how to make mario apear from a pipe when entering a level?
Great job Buu! Say all you want about retards; I still think this forum needs more helpful people.

TO ANY NOOB SEEKING MORE INFORMATION: you may want to check out the below link.

[url=http://www.smwcentral.net/download.php?id=31&type=documents]

I've used that tutorial myself- it's very helpful. In my opinion, it's more detailed and more helpful than the FAQ/LM's help file/SMWiki. Just another place that you can look for the answer to problems.

Originally posted by wowfunhappy
Great job Buu! Say all you want about retards; I still think this forum needs more helpful people.

TO ANY NOOB SEEKING MORE INFORMATION: you may want to check out the below link.

[url=http://www.smwcentral.net/download.php?id=31&type=documents]

I've used that tutorial myself- it's very helpful. In my opinion, it's more detailed and more helpful than the FAQ/LM's help file/SMWiki. Just another place that you can look for the answer to problems.



BBCode laughs at you. (Or... whatever.)

It's true a lot of people won't read the help, so I think your tutorial will help a lot of people. If there's too much interest in this, I may be tempted to make a video.

--------------------
I'm part of the Testers for Hire thread, so if you'd like something play tested, no matter what it is, PM me, and I'll give you honest feedback. Anything else is in my profile.

Support the SMWiki!
That would be great since I'm very lazy and I don't feel like continuing the tutorial for now. Maybe I will redo it, with more informations and stuff.

Edit: I guess I will continue it tomorrow if I find time.

Edit2: I deleted now the pics and added some alternate informations.

And here I am watching the documents section gather dust.


AS IF I KNOW WHAT TO PUT HERE.

Hack Status: Cat Adventure Deluxe
-100% Undone
Derp.
Since 2006

It's very good for Hacking.

Yeah, I know you know what do you know. Let see for Map16 Access. Sorry.

--------------------
Sorry, about my bad english. Because I'm Indonesian.
A good first patch is the classic pirana plant patch. If you are new, try using it.

--------------------
Tiles 0x200-0xFFF can be used 4 16x16 tiles.
Here is a 16x16 tile:
Golden cement block- UL:30 UR:31 LL:32 LR:33 Palette:6 Act like:130

--------------------

</A>

Does anybody know the answers? I'm having difficulty adding custom sprites into lunar magic and am getting very fed up. Instead i was thinking of just editing the sprites in the 8x8 tile editor myself. The questions are, 1)I only want to edit certain sprites for a few levels i.e snow levels etc.. Does anybody know that if i edit the sprites will they change for the whole game or just the level that i use the editor on. 2)If They do change for the whole game does anyone know a way to get round this i.e checking a button or some obscure option that i can't seem to find? lol. I hope I'm not being stupid and haven't overlooked something but any help would be much appreciated. Cheers.

P.s A big thanks to Buu-Huu for taking the time to help people that he doesn't really have to.

--------------------
Make sure you get the 1up!

Originally posted by 85mario
Does anybody know the answers? I'm having difficulty adding custom sprites into lunar magic and am getting very fed up. Instead i was thinking of just editing the sprites in the 8x8 tile editor myself. The questions are, 1)I only want to edit certain sprites for a few levels i.e snow levels etc.. Does anybody know that if i edit the sprites will they change for the whole game or just the level that i use the editor on. 2)If They do change for the whole game does anyone know a way to get round this i.e checking a button or some obscure option that i can't seem to find? lol. I hope I'm not being stupid and haven't overlooked something but any help would be much appreciated. Cheers.


im not sure about this, but if you can make a ExGFX file for the sprites you want to redraw, they dont have to replace the original sprites from the game, like say if you drew the koopas different, use a different GFX file for it, and load it into the level you want that sprite in and it should look the way you want it only in that level (or any other level you use the GFX file you made in). kinda difficult to explain, but the "red poison mushroom" button in LM lets you change the GFX (graphics) the level uses, if you change the sprite GFX to the one you redrew, it should replace the graphics of the sprites with the ones you redrew in any level you set it to. like say for the koopa, which i think uses SP2 01 i think, if you copy the graphics and edit them, save them to a new file, and insert the new file into LM, open the Red poison mushroom button window, check the box to bypass the standard GFX, and open the down arrow for SP 2 (GFX to load for sprites) and find the number of your file (you have to give it a hex number thats not being used), and it should load the graphics you made, just make sure you keep everything in the same order, like keep the koopas where they are originally and just change the graphics for them. Sorry for writing so much, i hope this helps

--------------------
-Myke

The layout of the initial post is broken.
Hey, I need to know how to edit mario's sprite itself. not the colors really, but the actual sprite.

--------------------






To edit Mario's Graphics, use a tile editor, such as YY-CHR or Tile Layer Pro. Click the red mushroom to extract the GFX, open AllGFX.bin (or GFX32.bin) in the tile editor, make the changes you want, save, and re-insert the GFX by clicking the green mushroom. More info can be found in the FAQ.

By the way, questions like this should be asked in a thread like "Ask anything about SMW Hacking" (or in their own thread), but not in a tutorial like this.

--------------------


 
Even though tutorials are nice and any edept human-being would just gather the info they need on their own to avoid dumb questions and mildly figure out what they're doing, but it's still nice to ask knowledgable people for specific questions.
So, I must agree that it's good to have helpful people around even with the top-of-the-line documents and tutorials at one's disposal.
Already know all that (like most of the people here...), but great tutorial.Bacics rules!
Pages: « 1 2 » Link
Forum Index - SMW Hacking - SMW Hacking Help - Tutorials - Old Tutorials - Basics of Lunar Magic

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

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


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy
  • sm64romhacks