Post by Insectduel on Jul 27, 2008 10:26:48 GMT -5
Hosted by Bluetails from SMW Central.
Today, im going to show you how to hack Super Mario Brothers 2
Most of us know that the level editor is a pain, you need to know hex, and know how to hack graphics.
First, Lets talk about text editing. To do this, we need:
A hex editor (WinHex32)
A SMB2 ROM (None provided)
A SMB2 Table File
Im not going to teach you how to do hex, Go to the documents section for a Tutorial on that.
The SMB2 Table File:
D0=0
D1=1
D2=2
D3=3
D4=4
D5=5
D6=6
D7=7
D8=8
D9=9
DA=A
DB=B
DC=C
DD=D
DE=E
DF=F
E0=G
E1=H
E2=I
E3=J
E4=K
E5=L
E6=M
E7=N
E8=O
E9=P
EA=Q
EB=R
EC=S
ED=T
EE=U
EF=V
F0=W
F1=X
F2=Y
F3=Z
F4=-
F5=?
F6=.
F7=?
F8=
Anyways, The table file has different hex values that make a letter.
Go into the hex editor, Open the table file, scroll down or jump to (If you have the offsets listed) to text that make up words. I.E. Lives, World, Game Over etc. Change those values by inputing the value you want.
I.E. you want to change "World" to "City", find the values used by "World" and change them with different hex values to make "City"
On to level editing.
Acmlm created this tool, thank him with pride. Level editing is the hardest in my opinion, With a buggy editor. But its worth it, you might create some good levels.
To do this we need:
A SMB2 Level Editor (Provided in the links section)
A SMB2 ROM (None provided)
Windows 95 and onward (Go buy it if you haven't already)
A Mouse (Duh)
Originaly posted by the editor.
This is a level editor for Super Mario Bros. 2 (of course). It is not really complete, however. Most of the enemy support is done, but the object editing (and viewing) may be a bit buggy.
WARNING. BEWARE OF FRUSTRATION AHEAD
If you (or anyone) does not enjoy making backups, messing up, and hates limited space, please move away from this tutorial at once.
All in all, its a good editor and now I will teach you how to use it.
The first thing you see after you load your ROM is the room where you fall out of the sky. Using the mouse, you can move things around, click buttons etc. Now comes the part everyone is been waiting for, How to create/delete stuff! I am warning you, The ROM has limited space for each level, therefore only a few things are alowed in each room.
How to add/create enemys and objects:
Click Objects > Add object
Click Objects > Add enemy
A window will come up asking for what object/enemy in hex you want.
Below is a X/Y positions (If you want to use numbers instead of your mouse, doubt it) I don't know how to add different enemys besides the Pink ShyGuy, read the readme for that one. When it comes to doors/pots you need to know what pointers do. (Unfortunatly, I don't know about pointers) If you place the door in the wrong place then intended, It will take you to a death pit or another level.
How to delete enemys and objects:
Select the object/enemy you want to be deleted, Click Options > Delete object/enemy.
How to change the header (Colors, Music, BG etc.)
Click Levels > Edit Header. A window will apear with multiple values to change. You can choose the type of Scrolling, (Vertical or Horizontal) Level colors, (You can make your own too) Enemy colors, (You can also customize the colors here) Music, (Wart, Boss, Underground, and Normal) and the ground type. You can also do this in the bottom pane in the main editor. (Im using the SMB2 Discombobulator)
The Other stuff:
Click Other in the toolbar menu to see extra options.
Change number of levels in worlds
Take/Add levels from other worlds to change how many are in each world.
Change color palettes...
Just like the "Edit Header" setting, you can change colors for each world.
Change character properties
You can change different settings for each player:
Jump Height
Plucking Speed
Speed on Ground
Speed when Jumping
Float Ability (Peach's ability)
Gravity
Quick Sand (Speed, Jump etc.)
How to change Boss/Enemy HP and weapons:
Click Other > Change Enemy Properties > (you choose)
Change enemy weapons
Change what each Boss uses, Snifit, Albatoss, Fryguy etc.
Change Boss health or speed
Adjust the HP of a boss or change the speed.
WARNING
Messing with speed messes up Bob-Omb explosion GFX.
Change various enemy properties
Mess around with jumping height for Birdo/Wart
Change sound effects for Egg, Bubble, Die sound etc.
Modify timers and speed
Number of lives at start
Change lives at start
Now its time to USE THE GRAPHICS EDITOR.
To do this we need:
YY-CHR (I recommend this, but if you want to use TLP, then its fine with me)
SMB2 ROM (None provided)
The Artistic Side (Learn how to do pixel art, otherwise... yeah I thought so)
Open SMB2 in YY-CHR and the first thing you see is... Scrambled Tiles™
Let me tell you something, The tiles are arranged in a pattern (For most NES Roms) This pattern is:
Top left
Bottom left
Top right
Bottom right
This will annoy noobs on sight. I did NES graphics hacking before, Its not that hard.
Palettes
YY-CHR has a built in NES palette, you do not need savestates to get the colors (SNES GFX hacking does) You can change the colors to match the sprite/object's colors. Its VERY easy to do. Im not done yet, You can use Nesticle to give you hex values of colors and change those in a hex editor. (Doubt that you will do that, the SMB2 Discombobulator has a palette system for SMB2)
Other Graphic Stuff
The credits don't use the actual sprite graphics for the GFX in the ending, it has its own, white, GFX tiles. You can make these different from the actual GFX. (Doubt it)
The title screen and the Game Over screen (Including the Slot Machine screen) use different GFX. You have to change it twice or maybe thrice for all of the screens to match. You can make different GFX for the extra screens.
This is the end of my Tutorial, Happy hacking! ^_^
Links:
WinHex32: www.romhacking.net <=== Go find it there
SMB2 Discumbobulator: acmlm.overclocked.org/SMB2/index.html
SMB2 Transmogrificator
insectduelromhacks.googlepages.com/smb2trans-090.zip You can also find it a ROM-hacking net
www.romhacking.net/utils/429/
YY-CHR: The Tools section
SMB2 ROM: www.google.com <=== Go find it there
Orginally posted by BlueTails. Changes made by Insectduel.
Today, im going to show you how to hack Super Mario Brothers 2
Most of us know that the level editor is a pain, you need to know hex, and know how to hack graphics.
First, Lets talk about text editing. To do this, we need:
A hex editor (WinHex32)
A SMB2 ROM (None provided)
A SMB2 Table File
Im not going to teach you how to do hex, Go to the documents section for a Tutorial on that.
The SMB2 Table File:
D0=0
D1=1
D2=2
D3=3
D4=4
D5=5
D6=6
D7=7
D8=8
D9=9
DA=A
DB=B
DC=C
DD=D
DE=E
DF=F
E0=G
E1=H
E2=I
E3=J
E4=K
E5=L
E6=M
E7=N
E8=O
E9=P
EA=Q
EB=R
EC=S
ED=T
EE=U
EF=V
F0=W
F1=X
F2=Y
F3=Z
F4=-
F5=?
F6=.
F7=?
F8=
Anyways, The table file has different hex values that make a letter.
Go into the hex editor, Open the table file, scroll down or jump to (If you have the offsets listed) to text that make up words. I.E. Lives, World, Game Over etc. Change those values by inputing the value you want.
I.E. you want to change "World" to "City", find the values used by "World" and change them with different hex values to make "City"
On to level editing.
Acmlm created this tool, thank him with pride. Level editing is the hardest in my opinion, With a buggy editor. But its worth it, you might create some good levels.
To do this we need:
A SMB2 Level Editor (Provided in the links section)
A SMB2 ROM (None provided)
Windows 95 and onward (Go buy it if you haven't already)
A Mouse (Duh)
Originaly posted by the editor.
This is a level editor for Super Mario Bros. 2 (of course). It is not really complete, however. Most of the enemy support is done, but the object editing (and viewing) may be a bit buggy.
WARNING. BEWARE OF FRUSTRATION AHEAD
If you (or anyone) does not enjoy making backups, messing up, and hates limited space, please move away from this tutorial at once.
All in all, its a good editor and now I will teach you how to use it.
The first thing you see after you load your ROM is the room where you fall out of the sky. Using the mouse, you can move things around, click buttons etc. Now comes the part everyone is been waiting for, How to create/delete stuff! I am warning you, The ROM has limited space for each level, therefore only a few things are alowed in each room.
How to add/create enemys and objects:
Click Objects > Add object
Click Objects > Add enemy
A window will come up asking for what object/enemy in hex you want.
Below is a X/Y positions (If you want to use numbers instead of your mouse, doubt it) I don't know how to add different enemys besides the Pink ShyGuy, read the readme for that one. When it comes to doors/pots you need to know what pointers do. (Unfortunatly, I don't know about pointers) If you place the door in the wrong place then intended, It will take you to a death pit or another level.
How to delete enemys and objects:
Select the object/enemy you want to be deleted, Click Options > Delete object/enemy.
How to change the header (Colors, Music, BG etc.)
Click Levels > Edit Header. A window will apear with multiple values to change. You can choose the type of Scrolling, (Vertical or Horizontal) Level colors, (You can make your own too) Enemy colors, (You can also customize the colors here) Music, (Wart, Boss, Underground, and Normal) and the ground type. You can also do this in the bottom pane in the main editor. (Im using the SMB2 Discombobulator)
The Other stuff:
Click Other in the toolbar menu to see extra options.
Change number of levels in worlds
Take/Add levels from other worlds to change how many are in each world.
Change color palettes...
Just like the "Edit Header" setting, you can change colors for each world.
Change character properties
You can change different settings for each player:
Jump Height
Plucking Speed
Speed on Ground
Speed when Jumping
Float Ability (Peach's ability)
Gravity
Quick Sand (Speed, Jump etc.)
How to change Boss/Enemy HP and weapons:
Click Other > Change Enemy Properties > (you choose)
Change enemy weapons
Change what each Boss uses, Snifit, Albatoss, Fryguy etc.
Change Boss health or speed
Adjust the HP of a boss or change the speed.
WARNING
Messing with speed messes up Bob-Omb explosion GFX.
Change various enemy properties
Mess around with jumping height for Birdo/Wart
Change sound effects for Egg, Bubble, Die sound etc.
Modify timers and speed
Number of lives at start
Change lives at start
Now its time to USE THE GRAPHICS EDITOR.
To do this we need:
YY-CHR (I recommend this, but if you want to use TLP, then its fine with me)
SMB2 ROM (None provided)
The Artistic Side (Learn how to do pixel art, otherwise... yeah I thought so)
Open SMB2 in YY-CHR and the first thing you see is... Scrambled Tiles™
Let me tell you something, The tiles are arranged in a pattern (For most NES Roms) This pattern is:
Top left
Bottom left
Top right
Bottom right
This will annoy noobs on sight. I did NES graphics hacking before, Its not that hard.
Palettes
YY-CHR has a built in NES palette, you do not need savestates to get the colors (SNES GFX hacking does) You can change the colors to match the sprite/object's colors. Its VERY easy to do. Im not done yet, You can use Nesticle to give you hex values of colors and change those in a hex editor. (Doubt that you will do that, the SMB2 Discombobulator has a palette system for SMB2)
Other Graphic Stuff
The credits don't use the actual sprite graphics for the GFX in the ending, it has its own, white, GFX tiles. You can make these different from the actual GFX. (Doubt it)
The title screen and the Game Over screen (Including the Slot Machine screen) use different GFX. You have to change it twice or maybe thrice for all of the screens to match. You can make different GFX for the extra screens.
This is the end of my Tutorial, Happy hacking! ^_^
Links:
WinHex32: www.romhacking.net <=== Go find it there
SMB2 Discumbobulator: acmlm.overclocked.org/SMB2/index.html
SMB2 Transmogrificator
insectduelromhacks.googlepages.com/smb2trans-090.zip You can also find it a ROM-hacking net
www.romhacking.net/utils/429/
YY-CHR: The Tools section
SMB2 ROM: www.google.com <=== Go find it there
Orginally posted by BlueTails. Changes made by Insectduel.