The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Emulation & ROM Hacking > Tutorials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Tutorials Looking for a guide to help you out? Then you're in the right place! We've got everything you need, ranging from Mapping to Music!
New threads in this forum are to be approved by a moderator before they are displayed. The thread revival limit does not apply here.


Reply
 
Thread Tools
  #1    
Old February 27th, 2013, 12:02 PM
miksy91's Avatar
miksy91
A GB/C Rom Hacker since 2010
 
Join Date: Oct 2008
Location: A small country in the North
Gender: Male
Nature: Relaxed
Around two years ago, I started recording a long series of videos for teaching how to rom hack, mainly centered on hacking Gen II pokemon games.
Not too long ago, I started re-doing the whole thing from scratch and by now, I have managed recording 3 over 50-minute long parts of this new video series.

What is this about ?

I'm doing a video set for teaching people how to do rom hacking. Basically; what hex editing is, what is a rom image, what are pointers, how to transfer data from place to another, how does ram work, what kind of space limitations you've got to work with, how to program (or in this case, create real scripts on your own), how does assembly work and all that.
All of this will truly come in handy - no matter what game you're working with.

The series is done by using pokemon silver (u) rom for experimenting, but that's only because I happen to familiar with it and how it works. If you are modifying Pokemon FireRed like most of the community is, you have come to the right place! I wouldn't even be posting this tutorial here if I didn't knew I could help you out. Most of the community don't work with GB/C games and that's okay. This should help out everyone improve their knowledge in terms of rom hacking.

Although several parts of these tutorials have to do about GB/C hacking, that same knowledge can be used to hack GBA games too. I personally have never done any serious hacking with GBA games, just ones for GameBoy. Yet however, I happen to be the creator of that simple edit of DBZ Buu's Fury in Sideshow Showcase section.

So go on, spend a little bit of time by taking a look at the beginning of the first video in this video set! The stuff won't be too confusing while being explained properly, that I can guarantee.


Parts

Part #1: http://www.youtube.com/watch?v=P55prFTaZoE
Part #2: http://www.youtube.com/watch?v=IRpEwkCITBU
Part #3: http://www.youtube.com/watch?v=fJtaz0GZ2LM
Part #4: http://www.youtube.com/watch?v=TjrV2ZiWhjI

Part #4A: http://www.youtube.com/watch?v=MrJRc6GpeYg
Part #4B: http://www.youtube.com/watch?v=y4XtmhDkRdI

Part #5: http://www.youtube.com/watch?v=bqL8HMY6ong
Part #6: http://www.youtube.com/watch?v=HCOqFTrLRgY
Part #7: http://www.youtube.com/watch?v=S-bmnfzxQgU
Part #8: http://www.youtube.com/watch?v=Htx1F0ShrY8


Contents

Part #1
-Introduction to hex editing (and binary)
-GB/C rom structure
-Hex editing examples
-Text editing (Pokemon G/S/C content)
-Trainer editing (Pokemon G/S/C content)

Part #2
-Evolution editing (Pokemon G/S/C content)
-Preliminary explanation of Gameboy pointers
-Pointer calculation, repointing data
-Pointer tables

Part #3
-ROM and RAM Maps
-What does RAM stand for ?
-VBA's built-in tools
-Gameshark codes

Part #4
-Map Header
-Event Data
-Map Banks
-Basics of scripting

Part #5
-Scripting (Normal people and trainers)
-Bit Numbers
-Bit Table 1 (D7B7-)

Part #6
-What is assembly?
-Registers
-Basic instructions
-Simple asm routines
-Bit manipulations

Download the instruction set here:
http://www.mediafire.com/?46gxsf8n27t7xxj

Part #7
-Loop
-Subprogram
-"The World's Fastest Human Counter!"

Part #8
-Stack
-Building sub programs
-Using tables
---Looking for data with a certain index
---Checking if a certain value is in table or not
-Copying data
-"Invalid opcode"
__________________
My Rom Hack



Hacks I support





Learn how to hack GB/C games:

Check my GameBoy/Color hacking videos in Youtube
-The video set uses Pokemon Silver (U) rom for demonstrations

Last edited by miksy91; May 4th, 2013 at 04:42 AM. Reason: Parts 5, 6, 7 and 8 added
Reply With Quote
  #2    
Old February 27th, 2013, 02:35 PM
FBI agent
Imagine something beautiful
 
Join Date: Jan 2013
Location: Isle 4 - Dairy Products
Gender: Male
I wanted to do one of these too, except for FireRed :)
The idea is really good, and I'm sure many people will appreciate you doing this. For future videos, I would be to cut down those bigger videos into subsections. Edit your videos to match sections like in your mini table of contents in the thread. For example:

-Introduction to hex editing (and binary)
-GB/C rom structure
-Hex editing examples
-Text editing (Pokemon G/S/C content)
-Trainer editing (Pokemon G/S/C content)

These should all be 5 different videos all 8-10 mins in length maximum. The reason being is that we humans have short attention spans and prefer shorter videos on content that we want. Doing it this way will allow people of different levels to reference different "tutorials" at the same time not get really bored.

Keep up the great work, and I love your accent bro :P
__________________
...

Hacks I support:
http://www.pokecommunity.com/showthread.php?t=297199 --Legend of Anbuja
http://www.pokecommunity.com/showthread.php?t=200227 -- Pokemon Rose version

People whom I thank:
Comrade -- For helping me with my bad hack, and for being a good friend
Darthatron -- Helping me get into basic ASM, even though I'm hopeless. (He is heartless stay away).
Anbuja's_BlooDY -- Graphics help, and being a good friend
FBI -- For having the username I wanted
Reply With Quote
  #3    
Old February 27th, 2013, 10:21 PM
miksy91's Avatar
miksy91
A GB/C Rom Hacker since 2010
 
Join Date: Oct 2008
Location: A small country in the North
Gender: Male
Nature: Relaxed
Quote:
Originally Posted by FBI agent View Post
I wanted to do one of these too, except for FireRed
The idea is really good, and I'm sure many people will appreciate you doing this. For future videos, I would be to cut down those bigger videos into subsections. Edit your videos to match sections like in your mini table of contents in the thread. For example:

-Introduction to hex editing (and binary)
-GB/C rom structure
-Hex editing examples
-Text editing (Pokemon G/S/C content)
-Trainer editing (Pokemon G/S/C content)

These should all be 5 different videos all 8-10 mins in length maximum. The reason being is that we humans have short attention spans and prefer shorter videos on content that we want. Doing it this way will allow people of different levels to reference different "tutorials" at the same time not get really bored.
I both agree and disagree on separating the videos into smaller parts. It might be a good idea but viewers really don't have to watch the whole thing non-stop at once. If I did that though, I would already have ~15 parts done, having a lot more still coming up.
Now that 3 parts have been preliminary explanations on aspects related to rom hacking, next time I'll get to teach the basics of programming, using built-in scripting engine as a "programming language" and showing how to create even sort of complicated scripts with it.

Once I'm done with that, I will probably talk a little bit about complicated structures like flying map and map connection datas and get into showing how z80 assembly works. Gonna take a little while to finish this, hahha! :D

Quote:
Originally Posted by FBI agent View Post
Keep up the great work, and I love your accent bro
Thanks
__________________
My Rom Hack



Hacks I support





Learn how to hack GB/C games:

Check my GameBoy/Color hacking videos in Youtube
-The video set uses Pokemon Silver (U) rom for demonstrations
Reply With Quote
  #4    
Old May 4th, 2013, 05:01 AM
miksy91's Avatar
miksy91
A GB/C Rom Hacker since 2010
 
Join Date: Oct 2008
Location: A small country in the North
Gender: Male
Nature: Relaxed
I've uploaded parts 5 to 8 to Youtube and linked them here as well.

If you're not used to assembly yet, go and WATCH part 6!
The content there certainly is interesting.

Other than that, I'm almost done with this video series. Hopefully, some people around here also find these handy, cause they truly are
__________________
My Rom Hack



Hacks I support





Learn how to hack GB/C games:

Check my GameBoy/Color hacking videos in Youtube
-The video set uses Pokemon Silver (U) rom for demonstrations
Reply With Quote
  #5    
Old June 4th, 2013, 10:26 PM
iallende89
Unhatched Egg
 
Join Date: Jun 2013
Gender: Male
hi, I was looking around the web and still cant find some good editors for Pokemon Red.. I've just finished editing text and tiles, but still cant edit ITEM NAMES, TRAINERS NAMES, ELITE FOUR NAMES and some MOVES NAMES (aka Attacks)... If some one can give me a hand, I'll apreciate it
Reply With Quote
  #6    
Old 1 Week Ago, 03:11 PM
com3tiin's Avatar
com3tiin
Soy chamber...
 
Join Date: Jan 2013
Gender: Male
Thaks for this videos Miksy!

I can hardly understand spoken English, but I understand that is the most practical way to do it.
Reply With Quote
Reply
Quick Reply

Sponsored Links


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 03:43 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.