Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2011-05-14 08:06:53

Miksy91
Member
Registered: 2010-10-16
Post 362/2,339

GB/C Hacking Videos (using Pokemon Silver for examples)

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 (2013-05-04 06:44:23)

Offline

#2 2011-05-14 09:44:23

Cheestendo
Member
Registered: 2011-03-30
Post 83/319

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

you sir , got a funny voice.These could be useful.

Offline

#3 2011-05-14 22:09:04

Cartho
New member
Registered: 2011-05-14
Post 1/6

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

But JohtoMap doesn't work for Crystal version. Or is there a way to make it work?

Offline

#4 2011-05-14 23:34:06

dooshboi
Member
From: Brooklyn, New York
Registered: 2010-11-02
Post 60/132

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

Of course they requested you to do so, I mean your hacks are amazing!


I don't calculate stat values, I don't breed my way to perfection, and I don't care about natures. I catch my Pokemon the way they are, and treat them like individuals instead of brainless drones.

Offline

#5 2011-05-15 04:36:10

Miksy91
Member
Registered: 2010-10-16
Post 363/2,339

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

Cartho wrote:

But JohtoMap doesn't work for Crystal version. Or is there a way to make it work?

You're going to have to use CrystalMap.
It doesn't have the same features so you'd have to hex edit everything although it's not that much harder really.

kkj1116 wrote:

How many videos are you going to make? By the way, I am one of your viewers/subscribers/commentators but with a different name :-)

I've a feeling I know who you are ;)
Anyways, I'm not sure how many parts there will be but I'm at least going to tell something about trainer editing and how to repoint data.
After that, about the game's RAM and then how Map Headers work and some basic scripting.

Last edited by Miksy91 (2011-05-15 04:37:57)

Offline

#6 2011-07-09 16:43:16

Miksy91
Member
Registered: 2010-10-16
Post 468/2,339

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

Updated the thread !

I've currently recorded nine videos and linked all of them here.
Actually, I'm not sure if I'm going to record more because I've already shown enough for people to begin hacking and learning stuff on their own.

Offline

#7 2011-08-27 06:54:19

pkmgoldfan
Member
Registered: 2011-02-27
Post 29/51

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

This is awesome! thank you so much!

Offline

#8 2011-12-19 08:46:44

hacker
Member
From: Batam Grove City
Registered: 2011-07-30
Post 52/548
Website

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

@Miksy91 can you give me tutorial how to add event on goldmap 1.6 with video?

@Misky,and can you give me video tutorial to edit tittle screen for pokemon gold?
Pleasse.,give me the tutorial..
That's important for me


[POKÉMON JOURNEY] hacking planning 2012
Visit my website  www.pokemonhackingblog.blogspot.com

Offline

#9 2012-01-05 05:14:22

Vitharix
Member
Registered: 2011-12-29
Post 1/396

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

Nice work Miksy. Thank you for these. The pointer video was especially helpful. Just out of curiosity, what country are you from? You have an interesting accent. I'm guessing Eastern European?

Offline

#10 2012-01-05 07:43:07

Miksy91
Member
Registered: 2010-10-16
Post 712/2,339

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

vitharix wrote:

Nice work Miksy. Thank you for these. The pointer video was especially helpful. Just out of curiosity, what country are you from? You have an interesting accent. I'm guessing Eastern European?

Nice to hear they helped you out.
Anyway, I'm from Finland.

Offline

#11 2012-01-05 08:55:16

tysonrss
Member
From: US, Ohio
Registered: 2011-08-27
Post 458/649

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

I thought you were German...<_<

I don't know why..


Pokemon Blue DX is reborn!

Offline

#12 2012-03-17 19:30:57

Miksy91
Member
Registered: 2010-10-16
Post 821/2,339

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

Update !

It's very likely that a link to extremely long Part 10 will appear here during the next week.
That part is almost 1 hour and 40 minutes long and contains all kinds of stuff which apply the information learned in the first nine parts.

Contents:
-Idea of remaking Littleroot Town and RSE's starting events to Pokemon Silver
-Creating Littleroot Town from scratch
-Changing map connections of new Littleroot Town
-Creating a major script for script header of the route Littleroot Town connects to

And that's briefly what happens in the video.
I didn't take time finishing the events because it would have been pointless to put new text and that kind of stuff there.
Instead, I just did everything that "had to be done".

But that's all for now - take a look at the video when it's up !

Last edited by Miksy91 (2012-03-17 19:32:08)

Offline

#13 2012-03-18 12:49:24

SaizoKenz
Member
From: Johto
Registered: 2012-03-18
Post 2/12

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

Miksy91 wrote:

Update !

It's very likely that a link to extremely long Part 10 will appear here during the next week.
That part is almost 1 hour and 40 minutes long and contains all kinds of stuff which apply the information learned in the first nine parts.

Contents:
-Idea of remaking Littleroot Town and RSE's starting events to Pokemon Silver
-Creating Littleroot Town from scratch
-Changing map connections of new Littleroot Town
-Creating a major script for script header of the route Littleroot Town connects to

And that's briefly what happens in the video.
I didn't take time finishing the events because it would have been pointless to put new text and that kind of stuff there.
Instead, I just did everything that "had to be done".

But that's all for now - take a look at the video when it's up !

Nice, i hope it will uploaded soon.

Last edited by SaizoKenz (2012-03-18 12:50:46)

Offline

#14 2012-07-28 19:59:42

spriter
Member
From: GoldenRod City, Jhoto
Registered: 2012-07-19
Post 30/40

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

Finally, i download almost all ur vids. I cnt download (parts 3 and 10..hmm anyway) so i can watch it offline whenever im not sure or sort of not remembering details on it, thnks miks..wahahah lol..

Last edited by spriter (2012-07-28 20:30:52)


Ken Sugimori (杉森建 Sugimori Ken)

Offline

#15 2012-12-20 16:49:45

Miksy91
Member
Registered: 2010-10-16
Post 1,356/2,339

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

Now after recomming the video set to Skurbert in the other thread, I got in my mind that I could add more parts to the set. For example having at least two more parts explaining bit numbers and ram and another one for "programming thinking and writing code".
There could still be even more to do, maybe mentioning something (small or big) about assembly as well.

On the other hand, I could even re-record the whole video set as well. Most of the videos ought to be okay but things could have been explained better as well, I didn't really plan out anything expect for the subject I was going to talk about whenever I recorded a new video.

Offline

#16 2012-12-20 18:51:50

SRL8
Member
From: United States
Registered: 2012-12-17
Post 18/27

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

You should definitely do a video tutorial on Assembly. A lot of new hackers get stuck on that aspect. I studied Assembly Language before getting into ROM Hacking, but most people who are new to the community haven't, and it seems to me that knowledge of that language is essential if you want to do anything significant.


"The more you know, the more you know you don't know."  -Aristotle
"Now remember, kids, the Internet is serious business." - Unknown

Offline

#17 2012-12-20 19:31:29

Miksy91
Member
Registered: 2010-10-16
Post 1,359/2,339

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

SRL8 wrote:

Assembly...is essential if you want to do anything significant.

Depends on what you mean by significant. The built-in scripting engine as itself allows you to create a new (and pretty darn good!) hack from scratch. Of course some particular add-ons always require assembly.

But good to hear you support to the idea :)
When I have time and feel like it, I could get back to recording more of these video tutorials.

P.S
I can't really generalize it but I haven't studied programming. But by learning how scripting with the scripting engine (in G/S) works, I got the hang of the way "to think", executing code like processor does. After understanding how to create my own script data, "no matter how complicated", it wasn't that difficult to apply that knowledge to get hang of assembly.
What I actually wanted to say here is that getting the hang of assembly came to me naturally after getting the hang of scripting. But yeah, can't generalize it to happen to others as well.

Last edited by Miksy91 (2012-12-20 19:38:56)

Offline

#18 2012-12-21 01:47:55

SRL8
Member
From: United States
Registered: 2012-12-17
Post 20/27

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

Miksy91 wrote:

I can't really generalize it but I haven't studied programming. But by learning how scripting with the scripting engine (in G/S) works, I got the hang of the way "to think", executing code like processor does.

Scripting is merely a subset of programming. The only real difference is that scripts are dependent upon a scripting engine and do not need to be compiled, while programs need to be compiled into processor instructions that can be executed independently of other programs or "engines".

My first experiences in programming-related activity were with scripting languages as well: MS-DOS and VBScript. I then progressed to C# (my first "real" programming language), Perl, HTML, JavaScript, C, Microsoft Macro Assembly, Java, and Z80 Assembly (in that order).

Of all of these, Assembly was the most difficult for me to understand. There are aspects of it that I still don't fully comprehend. That's why I'm going to college for a Computer Science degree. If you already understand Z80 Assembly, it shouldn't be difficult for you to study other programming languages if you so desire.


"The more you know, the more you know you don't know."  -Aristotle
"Now remember, kids, the Internet is serious business." - Unknown

Offline

#19 2012-12-21 07:04:35

Miksy91
Member
Registered: 2010-10-16
Post 1,362/2,339

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

SRL8 wrote:

Of all of these, Assembly was the most difficult for me to understand. There are aspects of it that I still don't fully comprehend. That's why I'm going to college for a Computer Science degree. If you already understand Z80 Assembly, it shouldn't be difficult for you to study other programming languages if you so desire.

Actually, that would be the plan starting from January. I still don't understand everything about it either, especially the "carry flag instructions" but I should get to that point in time too. But I can keep up with pretty much everything else (for instance, what happens when "ret" is executed) that's going on.

Offline

#20 2013-01-28 18:56:44

Miksy91
Member
Registered: 2010-10-16
Post 1,477/2,339

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

A major update has taken place !

I have decided to re-do the series and by working on it for an hour today, I already got 4 parts out of 9 re-done. I'd like to have some feedback on it. Is the new part #1 understandable enough? Should it have been more newbie-friendly and have more examples in it than it has right now? Would you have done something differently?

If you have time to watch me talking for 50 minutes, that would be really appreciated. But no reason to do that today, or tomorrow.

Last edited by Miksy91 (2013-01-28 20:06:03)

Offline

#21 2013-01-28 21:45:46

emaj30
Member
From: Indigo Plateau
Registered: 2012-12-29
Post 168/463
Website

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

ow too bad for me!i cant watch everything,im only using mobile phone:(but i'll try to download the video you're talking about.

Offline

#22 2013-01-29 09:38:04

virus95x
Member
Registered: 2012-04-03
Post 82/225

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

make example like creating event, region, how to add item... etc really would help by showing than saying  and would save your time..

Offline

#23 2013-01-30 00:18:52

Munchulax
Member
From: Somewhere in Johto
Registered: 2011-08-10
Post 247/410

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

I'm not usually the kind of person to ask people for something, but I'm really interested on learning about how you made it so you can use multiple backsprites and pallets in your hack and in Mateo's Christmas hack.  I'm also kinda interested in how you made your game automatically ask you if you want to use another repel. :P


“To live is the rarest thing in the world. Most people exist, that is all.” ― Oscar Wilde

Offline

#24 2013-01-30 00:42:43

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 2,232/3,578

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

(Technically I made the backsprite routine for Christmas without ever looking at his routine, after he taught me the basics of ASM, but I certainly couldn't have done it if he hadn't helped me like that.) But it would be handy to explain debugging to find and modify routines like that.

Offline

#25 2013-01-30 07:21:45

Miksy91
Member
Registered: 2010-10-16
Post 1,478/2,339

Re: GB/C Hacking Videos (using Pokemon Silver for examples)

Munchulax wrote:

I'm not usually the kind of person to ask people for something, but I'm really interested on learning about how you made it so you can use multiple backsprites and pallets in your hack and in Mateo's Christmas hack.

These both can be easily done once you understand how to use the basic asm instructions.
And where the original routines are stored.

Munchulax wrote:

I'm also kinda interested in how you made your game automatically ask you if you want to use another repel. :P

This thing here was a little tricky and right now, I can't say straight what I did to accomplish this.

I do have some notes lying around though:

Repel's assembly
25:6B0A
Old script: $139DB

Last edited by Miksy91 (2013-01-30 07:49:53)

Offline

Board footer

Powered by FluxBB