PHO - Pokémon Hackers Online
Go Back   PHO - Pokémon Hackers Online > Discussion Board > Archive

Notices

Archive Old threads that serve no purpose are here.

 
 
Thread Tools Display Modes
Old 18th July 2013, 03:31 PM   #1
Miksy91
Gotta fill something here.
 
Miksy91's Avatar
 
Join Date: Jul 2013
Location: Northern Europe
Age: 28
Posts: 117
Miksy91
Default GB/C Rom Hacking Video Tutorials

Here's a videoset I've recorded for teaching people, from newbies to amateurs, how to do different kinds of stuff related to rom hacking. Since this covers explanation of GB/C engine, it's appropriate to use a rom file that is for a gameboy game for examples and these hacking tutorials are based on Pokemon Gold and Silver.

Of course, you don't have to hack Pokemon Silver rom to follow the series - any other GB/C game will do as well like a Mario or Zelda game. Or, you could hack a Gen III pokemon game and pick up stuff from these videos and apply that knowledge to GBA hardware!

Alrighty! Let's begin. Here you can find the links to the different videos (there are 8 so far, perhaps more to come), and explanations of what kind of things they cover.


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"
__________________

Last edited by Miksy91; 18th July 2013 at 03:35 PM.
Miksy91 is offline  
Likes looper liked this post
Sponsored Links
Old 18th July 2013, 04:01 PM   #2
Shhwonk
boop
Ex-StaffPHO VIP
 
Shhwonk's Avatar
 
Join Date: Jun 2010
Location: Canada
Posts: 72
Shhwonk
Default

I've been watching these to help me out for a while now. Really appreciate the huge amount of work you've put in to helping others out.
__________________

Maybe something kinda draws near.
Shhwonk is offline  
Likes Miksy91 liked this post
Old 18th July 2013, 04:13 PM   #3
karatekid552
What does this button do?.....
Ex-Staff
 
karatekid552's Avatar
 
Join Date: Feb 2013
Location: Stalker.......
Posts: 229
karatekid552 karatekid552
Default

I might just start GBC hacking now. This looks intriguing. Thanks Miksy91!
karatekid552 is offline  
Likes Miksy91 liked this post
Old 18th July 2013, 04:22 PM   #4
Miksy91
Gotta fill something here.
 
Miksy91's Avatar
 
Join Date: Jul 2013
Location: Northern Europe
Age: 28
Posts: 117
Miksy91
Default

Quote:
Originally Posted by Esmas View Post
I've been watching these to help me out for a while now. Really appreciate the huge amount of work you've put in to helping others out.
Thank you! It's also been nice to see it really hasn't been in vain

Quote:
Originally Posted by karatekid552 View Post
I might just start GBC hacking now. This looks intriguing. Thanks Miksy91!
You're welcome.
Also, if you're interested in even more "hc" stuff later on, might be worth checking out the Pandocs.
Haven't had much use of all that information myself, but understanding how the Video Display works would totally offer a lot more possibilities. Also, another handy, and not so difficult thing to understand, beside that is Memory Bank Controllers. In GB/C, you can't just expand the rom data just like that since the amount of ROM and RAM is determined by the used MBC.

I'd for example like to use MBC5 myself (Koolboyman actually uses this in his Prism hack), but if I did, I would also have to get rid of the Real-Time Clock since only MBC3 supports that (which G/S/C games originally use). Due to using it, I'm also forced to using a "little" (there's enough room, but you truly can't compile your work more than once if you don't want to run out of it) amount of space, and even delete most of the original in-game stuff while at it. But it's been my choice with my own hack so far.
__________________

Last edited by Miksy91; 18th July 2013 at 04:26 PM.
Miksy91 is offline  
Likes karatekid552 liked this post
Old 18th July 2013, 05:16 PM   #5
looper
The german guy
 
looper's Avatar
 
Join Date: Mar 2013
Location: Berlin, Germany
Posts: 18
looper
Default

This is great! :O I already knew the many things, but there are still interesting things in these videos. Thanks!
__________________
~looper
Blog
looper is offline  
Likes Miksy91 liked this post
Old 19th July 2013, 05:12 AM   #6
Miksy91
Gotta fill something here.
 
Miksy91's Avatar
 
Join Date: Jul 2013
Location: Northern Europe
Age: 28
Posts: 117
Miksy91
Default

Quote:
Originally Posted by looper View Post
This is great! :O I already knew the many things, but there are still interesting things in these videos. Thanks!
Nice to hear you'll find it useful

I've been trying to cover all kinds of useful information though I'm not expert at this kind of stuff either. But I should still be able to put up one more episode about things that aren't covered in part 8 yet.
I guess that would be mostly of how to use a debugger and efficiently, following and modifying some in-game routines.
__________________
Miksy91 is offline  
 

Tags
crystal, gameboy, gb or c, gold, hacking, pokemon, rom, tutorials, video, [Guide]

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 05:03 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc. User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Pokémon characters and images belong to Pokémon USA, Inc. and Nintendo.
Pokémon Hackers Online (PHO) is in no way affiliated with or endorsed by Nintendo LLC, Creatures, GAMEFREAK inc,
The Pokémon Company, Pokémon USA, Inc., The Pokémon Company International, or Wizards of the Coast.
All forum/site content (unless noted otherwise) and site designs are © 2006-2013 Pokémon Hackers Online (PHO).
Green Charizard Christos TreeckoLv100

"Black 2" by ARTPOP. Kyurem artwork by XOUS.

no new posts