The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.


Closed Thread
 
Thread Tools
  #1    
Old November 22nd, 2008, 09:19 AM
Sgt. Custard's Avatar
Sgt. Custard
Novice Hacker
 
Join Date: Apr 2007
Location: Rule Britannia!
Age: 21
Gender:
Nature: Calm
When I first started hacking, I found that learning the basics of hacking was actually quite difficult. There seemed to be an awfully large number of tools and tutorials and it was difficult to know where to start. That is what this tutorial is about. It's designed for beginner hacker to help them learn the ropes. Anyway, let's start.


A Note about ROM's and Legality

You should know that ROM's are illegal and as such cannot be posted on Pokécommunity. Technically any form of hacking or distribution of a ROM is illegal. That said, it's not something that you're really going to get in trouble for unless you try to sell them on eBay or something.


How to play ROM's

OK, so you've decided you still want to hack pokémon. The first thing you will want to do is download an emulator. This allows you to play the ROM's you are going to hack as well as other people's. Visual Boy Advance (VBA) is probably the best one, and it can be downloaded after a quick Google search.

Now you need your ROM. In case you hadn't realised, ROM's are the computer files that contain the game data. They take the form of .gba files. For obvious reasons, its illegal to attach or link to ROM's, but again, it's relatively easy to get one from the internet. You'll probably want to get both Ruby and Fire Red, as they are the most common games to hack.

Lastly, if you want to play or distribute your hack, you'll need Lunar IPS (LIPS), a program that converts .gba files to .ips files for distribution. To play a hack, you simply download the appropriate .ips file and use LIPS to patch it to your ROM.

Now simply open the patched .gba with VBA and enjoy.


The Golden Triangle of Hacking

Before attempting any hacking, you will probably want to try out some other good hacks. Shiny Gold by Zel is good, but there are plenty of other decent hacks in the Hacks Showcase. Although this guide focuses on GBA hacking, it's also worth having a look at coolboyman's Red and Gold hacks, Brown and Prism. These have some of the best scripting of any hack out there, so try them out.

Now, back to hacking. Once you have tried out some hacks, you should have a flavour of what hacking involves. As I see it, there are three areas of hacking: Mapping, Scripting and Graphics. Usually, someone is naturally good at one, maybe two, areas of these, but must work on the others. For example, I am pretty good at scripting, OK at mapping and absolutely pants at anything graphics-related.

The rest of this guide will go through what each area involves and how to get started.


Mapping

While not the most important part of hacking, it very nearly is. This is the first thing someone will notice when they play a hack, and if the mapping is poor, they will be immediately turned off by it and probably won't continue playing. Almost all good hacks have completely revamped maps, so it's worth getting at least a moderate understanding of this, even if you don't intend to do the mapping yourself.

There are two main mapping programs: Elite Map and Advance Map. However, in my opinion, Advance Map is streets ahead of Elite Map, and you can download it here on Pokécommunity in the toolbox. Once downloaded, open up a ROM, and have a fiddle around, trying out what you can do with it. Neti has two good tutorials on mapping in the Documents and Tutorials section. One helps with explaining how to use Advance Map and one with mapping itself. I would recommend reading both carefully.

It's also worth having a look at the Map Rating thread in the Scrapbox to give you an idea of which maps are good and how they are made, as well as looking for inspiration for your own. You should probably get a few maps of your own rated before you even consider starting a full hack.


Scripting

Scripting - the crux of any pokémon hack. Too many people these days try to get away with hacks involving only text edits and maps. Scripting however, is what sets apart a hack from the rest. It is what allows you to actually do stuff and make events happen. There is almost no limit to what scripting can do. If you want to be really good, you will eventually need to learn ASM or Assembly hacking, but that is complex and beyond the scope of this tutorial.

Regular scripting involves using a simple programming language that is converted into hexadecimal numbers and compiled into the game. There are various programs for this, including ScriptED, Pokéscript and XSE. XSE is by far the best nowadays and it can be download from HackMew's Tool Factory in the Toolbox.

Learning to script can be hard for a beginner, but TheTheTheThe's Scripting Tutorial is a good place to start and is a detailed, but easy to follow guide for scripting. Although it's for pokéscript, it will take little adjustment to use XSE instead and a quick look at any basic XSE tutorial will quickly inform you of the differences. HackMew is currently working on his Comprehensive Scripting Guide, but that may not be out for a while, so Thex4's Tutorial is a decent replacement for the time being.


Graphics

Arguably the least important aspect of a hack, but good graphics can still leave a lasting impression on someone, so if you're good at that sort of thing, then it's definitely worth looking into. There are various kinds of graphics editing. These include Tiles, Overworlds and Spriting. Overworlds are the pictures of people seen on the normal world view. They can be edited with HackMew's Overworld editor by exporting them to Paint or similar.

Sprites and other graphics can be found in unLZ-GBA and thence exported to a paint program.

The easiest way to edit tiles (things like grass, houses, water etc.) is to go to Advance Map's Block Editor and Save a tileset as a .bmp file and edit that before loading it back in.

That just about covers the Golden Triangle of Hacking.


Other Useful Programs

There are various other programs you may find useful or essential in your hacking. Some of these follow:

PET/Trainer Edit: These programs allow you to change which pokémon trainers have, as this can't be done by scripting. Usefulness: Very High
A-Starter: Another HackMew creation that helps change the start pokémon without using hex. I just create a separate event, but if you want to keep the Ruby animation this is useful. Usefulness: Moderate
Advance-Text: Used for text edits. This is for lazy people who can't be bothered to learn to script. Could be used to edit things like the intro, however, for those who can script. Usefulness: Low
Elite Map Pack: This is a set of programs, including Elite Map itself that allows you to change various aspects of the game such as pokémon base stats. Most of the tools in there are covered by others already mentioned or those in HackMew's Toolbox, but it can be useful to have. Usefulness: Moderate.


Closing Statements

And that concludes my tutorial. This is only the first draft, so if anyone has any suggestions about how it could be improved, I would be grateful for those. Any beginners who use it, your comments are also appreciated. Happy Hacking!

Last edited by Sgt. Custard; November 29th, 2008 at 02:58 PM.
  #2    
Old November 22nd, 2008, 10:02 AM
Νιτραμ
Trainer
 
Join Date: Nov 2007
I do not think that it is actually neccessary to scare people with stuff like "ROMs are illegal, ROM hacking is illegal" - ROMs are indeed illegal, but hacking is sort of grey area. You must understand that scaring off people hurts the community. The other parts are fine I suppose. I quite like the way you write about hacking. It's simple yet comprehensive. Maybe you could go a bit into the history of hacking, but that does not matter. Oh, and one thing: I wrote some tips for beginners which will be included in RHN 14. Combined with this guide, a beginner will sure have nice start to hacking
__________________
If you remeber me, feel free to send me a PM ;-)
  #3    
Old November 22nd, 2008, 10:15 AM
Sgt. Custard's Avatar
Sgt. Custard
Novice Hacker
 
Join Date: Apr 2007
Location: Rule Britannia!
Age: 21
Gender:
Nature: Calm
Fair point. Maybe I'll tone it down a little. Thanks for the comment.

EDIT: There we go.
  #4    
Old November 22nd, 2008, 10:19 AM
Νιτραμ
Trainer
 
Join Date: Nov 2007
Very nice ;) Now the guide's really perfect ;)
__________________
If you remeber me, feel free to send me a PM ;-)
  #5    
Old November 22nd, 2008, 11:36 AM
Korronensu's Avatar
Korronensu
Scrap Punk
 
Join Date: Nov 2008
Age: 24
Nature: Adamant
Send a message via AIM to Korronensu Send a message via Yahoo to Korronensu
Roms are 100% legal. The problem is that many people download them without first owning the game they are getting the rom of. The rom is a backup of your game. If you went out to buy Fire Red from the stores, and then decided you wanted to make some changes, it's no more illegal than using a game-shark, except hacking is more personally involving and rewarding.
Anyways, the point is, own your games and your roms will be fine.
  #6    
Old November 22nd, 2008, 11:46 AM
Sgt. Custard's Avatar
Sgt. Custard
Novice Hacker
 
Join Date: Apr 2007
Location: Rule Britannia!
Age: 21
Gender:
Nature: Calm
Technically, you are only allowed a ROM if you have it as a back-up. According to Nintendo's website, you can't download them, play them, hack them or anything. That's just the way it is unfortunately. That's not the point of this thread though, so can we get back on topic?
  #7    
Old November 22nd, 2008, 11:47 AM
machomuu's Avatar
machomuu
Fueled by Pepsi
Community Supporter
 
Join Date: Apr 2008
Location: 'Murca
Gender: Male
Nature: Relaxed
It's not nice to say A-text is for lazy people. I'm adept in scripting, but find A-Text very useful.
__________________
  #8    
Old November 22nd, 2008, 12:20 PM
Snowfield34
Booted out - don't be like me!
 
Join Date: Sep 2008
Gender:
This tuturial is kind of bad...

Quote:
You should know that ROM's are illegal and as such cannot be posted on Pokécommunity. Technically any form of hacking or distribution of a ROM is illegal. That said, it's not something that you're really going to get in trouble for unless you try to sell them on eBay or something.
I wouldn't cryed say so...

Quote:
a program that converts .gba files to .ips files for distribution.
I get what you mean, not a big thing...

Quote:
it's also worth having a look at coolboyman's Red and Gold hacks, Brown and Prism. These have some of the best scripting of any hack out there, so try them out.
- The Reason for quoteing these isn't they're good hacks. Not a big thing for the tutorial, it's just you're telling about the "power" of scripting... Brown is a hack of Red, Remember?

But maybe you could give some links to the other tutorials and the tools which are hosted at this site...

Even if you're intirely new to hacking, you wouldn't get much needed information out of this tutorial as it is now...
  #9    
Old November 22nd, 2008, 03:33 PM
Sgt. Custard's Avatar
Sgt. Custard
Novice Hacker
 
Join Date: Apr 2007
Location: Rule Britannia!
Age: 21
Gender:
Nature: Calm
Quote:
Originally Posted by Snowfield34 View Post
I wouldn't cryed say so...
...What does that mean?

Quote:
Originally Posted by Snowfield34 View Post
- The Reason for quoteing these isn't they're good hacks.
They are good hacks.

Quote:
Originally Posted by Snowfield34 View Post
Not a big thing for the tutorial, it's just you're telling about the "power" of scripting...
What's wrong with that?

Quote:
Originally Posted by Snowfield34 View Post
Brown is a hack of Red, Remember?
Yup.

Quote:
Originally Posted by Snowfield34 View Post
But maybe you could give some links to the other tutorials and the tools which are hosted at this site...
Well I suppose I could add links, although it's not as if it's difficult to find them once you've got the name.
  #10    
Old November 23rd, 2008, 02:29 AM
Snowfield34
Booted out - don't be like me!
 
Join Date: Sep 2008
Gender:
I mean you should read some more about the legalness of roms...


I like Brown and Prismn, Theyre some of the only hack's I have/will play...

But you're not telling about the power of asm, but simpel scripting...
  #11    
Old November 23rd, 2008, 06:47 AM
Sgt. Custard's Avatar
Sgt. Custard
Novice Hacker
 
Join Date: Apr 2007
Location: Rule Britannia!
Age: 21
Gender:
Nature: Calm
I don't need to read about the legality of ROM's: they are illegal for our purposes and that's that. I just put Brown and Prism in so people can see what is possible with a ROM and I do say that to be really good you will need ASM. But this is a beginners tutorial and its not appropriate to talk too much about ASM in here.
  #12    
Old November 24th, 2008, 11:20 AM
Bibliophibian's Avatar
Bibliophibian
Power Rabbit
 
Join Date: Jul 2008
Location: Goldenrod City
Age: 24
Gender: Female
Nature: Quiet
I like this, mostly because when you first start looking into hacking, things can be really confusing. 95%+ of the tutorials assume you already have some knowledge of how to hack, and how to use certain programs, which can make it kind of rough out there for people who have never tried any of it before. I know I stumbled around for quite a while before I figured out which programs were necessary, and what some of the terms meant.

The only thing I have as far as a suggestion, is that maybe you should call this an "Introduction to Hacking", instead of a tutorial. It seems to fit more as a crash course in the basics, and some of the terminology rather than a step-by-step how-to, which is what I think of when I think of a tutorial.
__________________

My Trade Thread
SS FC: 3567 3984 6125
  #13    
Old November 27th, 2008, 09:13 AM
Sgt. Custard's Avatar
Sgt. Custard
Novice Hacker
 
Join Date: Apr 2007
Location: Rule Britannia!
Age: 21
Gender:
Nature: Calm
Thanks for the comment; are there any other suggestions on how I could improve this?
  #14    
Old November 27th, 2008, 09:30 AM
Vrai
can you feel my heart?
 
Join Date: Jun 2008
Age: 20
Gender: Male
Nature: Adamant
Send a message via Windows Live Messenger to Vrai
No, I rather like it. It'd have been a great help to me when I started; maybe it would help others as well.
__________________
aka Zebraiken | pairs; Ω & ζ | bffl; λ | now; Ϟ | twin; ξ | brother; φ | sister; Ψ | neeks; Ϫ
  #15    
Old November 27th, 2008, 09:52 AM
machomuu's Avatar
machomuu
Fueled by Pepsi
Community Supporter
 
Join Date: Apr 2008
Location: 'Murca
Gender: Male
Nature: Relaxed
Quote:
Originally Posted by Sgt. Custard View Post
Thanks for the comment; are there any other suggestions on how I could improve this?
Add more tools and change the usefulnesses, Advance text can be very useful to hacks, I myself would like to see XSE, the elite map pack, and pokescript up there.
__________________
  #16    
Old November 29th, 2008, 02:55 PM
Sgt. Custard's Avatar
Sgt. Custard
Novice Hacker
 
Join Date: Apr 2007
Location: Rule Britannia!
Age: 21
Gender:
Nature: Calm
XSE and Pokéscript are in the scripting section already.

Well, I'm sceptical of how useful A-Text is. I rarely use it except to edit things I don't know where the pointer is for (e.g. Introduction, Start Menu, Multi-choice boxes).

I'll change it to moderate if someone else agrees with you.
  #17    
Old December 5th, 2008, 12:41 PM
hayitsCARLOS's Avatar
hayitsCARLOS
Pokemon Caretaker
 
Join Date: Nov 2008
Location: Ontario, Canada
Age: 19
Gender:
Nature: Naughty
Send a message via Windows Live Messenger to hayitsCARLOS
I thought ROMs were legal, if you own the game in real life?
__________________
  #18    
Old December 9th, 2008, 10:19 AM
Sgt. Custard's Avatar
Sgt. Custard
Novice Hacker
 
Join Date: Apr 2007
Location: Rule Britannia!
Age: 21
Gender:
Nature: Calm
Nope. Unfortunately not; you can only have them for back-up purposes, but you can't play them or distribute them etc.
  #19    
Old February 20th, 2009, 02:09 PM
Blackpanfa's Avatar
Blackpanfa
ROM Buster
 
Join Date: Nov 2008
Location: England [+]
Nature: Quirky
Thanks, this is really gonna help me get off the starting line!
__________________


I support:

Spoiler:







  #20    
Old February 20th, 2009, 05:58 PM
Blazichu's Avatar
Blazichu
Bahhhh?
 
Join Date: Mar 2006
Location: The ground?
Age: 23
Gender: Male
Send a message via Windows Live Messenger to Blazichu
Do not revive month old threads.

*Locks*
__________________

←(left) the online world for life(MSN, PC etc.)~
Closed Thread
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 11:49 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.