News: 11 March 2016 - Forum Rules

Author Topic: GB/C Hacking Tutorials (using Pokemon Silver for examples)  (Read 4684 times)

Miksy91

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
I started a video tutorial series about teaching rom hacking a couple of months ago.
The videos are mainly centered around pokemon G/S/C data structures, hex editing and GB assembly.

As for myself, I know quite a lot about rom hacking and programming for an average guy, but my understanding level is far from those who create differents kinds of programs for companies to use, information systems and such, so that's why, there are some misconceptions here and there which some more experienced hackers have given critique of. But other than that, this video series is brilliant for people who are interested in learning how to rom hack.

The series is certainly focused on pokemon rom hacking (specifically Gen I and II games since they're quite similar) but I'd totally recommend anyone, who's interested in learning how to hack Gameboy games and isn't familiar with hex editors and machine languages, to check these videos out. They're good!

I think I'm done with the introductions so below, you can see the links to all the videos uploaded in youtube and even below them, descriptions on what kind of information each part covers. Feel free to give feedback about them because I'd appreciate that :)


Videos

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 #4A (additional part to Part 4)
-Explanation of the Scripting Compendium

Part #4B (additional part to Part 4)
-Step-by-step explanation of the script of receiving Totodile in Elm's lab

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"
Pokemon Dark Energy is a rom hack based on Pokemon Silver. Like most pokemon hacks, it retains the pokemon stylish gameplay but has plenty of elements from other RPGs as well. You'd better check it out!

justin3009

  • Hero Member
  • *****
  • Posts: 1660
  • Welp
    • View Profile
Re: GB/C Hacking Tutorials (using Pokemon Silver for examples)
« Reply #1 on: May 04, 2013, 01:46:22 pm »
I may check this out after work. I have a couple GBC games in mind I'd love to mod.
'We have to find some way to incorporate the general civilians in the plot.'

'We'll kill off children in the Juuban district with an infection where they cough up blood and are found hanging themselves from cherry blossom trees.'

Miksy91

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
Re: GB/C Hacking Tutorials (using Pokemon Silver for examples)
« Reply #2 on: May 04, 2013, 04:12:19 pm »
I may check this out after work. I have a couple GBC games in mind I'd love to mod.
Aren't you somewhat experienced with Snes already? In that case, I don't think these video tutorials would serve for much since the general idea is probably quite a lot the same.

Of course, the machine instruction set is different and for example, there is no defined length of how many bytes each machine instruction can take (each instruction is 1 byte long but some have parameters attached to them, don't know how it works with Snes). What comes to other thins; the code is split in 0x4000 byte long data areas, rom banks, and rom bank switching can be done by loading a value to MBC (Memory Bank Controller).

If you feel like checking these out (and are familiar with pretty much everything about asm and such), you could watch part 6 and for example part 8 (and 9 when it comes up) too. But that's all about it :)
Pokemon Dark Energy is a rom hack based on Pokemon Silver. Like most pokemon hacks, it retains the pokemon stylish gameplay but has plenty of elements from other RPGs as well. You'd better check it out!