Go to file
Bryan Bishop 00f1b71cd4 remove a broken, unfinished disassembler (DisAsm)
This removes DisAsm from romstr.py, which was the only reason that
gbz80disasm wasn't able to import RomStr from romstr.py.

DisAsm was an experimental gbz80 disassembler that was meant to replace
gbz80disasm eventually. The goals were to write cleaner code and write
more unit tests. But it never worked and the code quality looks close to
being the same as gbz80disasm anyway.
2013-01-27 16:49:35 -06:00
extras remove a broken, unfinished disassembler (DisAsm) 2013-01-27 16:49:35 -06:00
gfx split off animation data chunks into files 2013-01-23 16:47:10 -05:00
maps oops forgot the maps 2012-05-21 02:43:52 -05:00
music remove deprecated music files 2012-11-30 05:55:29 -05:00
text Add phone scripts for Mom, Bill, Elm, and unused. 2013-01-14 21:24:45 -07:00
.gitignore don't let .gb roms sneak in 2013-01-19 23:31:32 -06:00
compare.sh make compare.sh overwrite the previous hexdump 2012-05-16 13:49:50 -05:00
constants.asm give names to some rst commands 2013-01-25 03:42:39 -05:00
INSTALL.md fix make/make clean line in INSTALL.md 2013-01-11 02:32:39 -06:00
main.asm give names to some rst commands 2013-01-25 03:42:39 -05:00
Makefile Add lots of phone call texts. 2013-01-13 15:40:23 -07:00
pokecrystal.asm Add code for the Extremespeed Dratini. 2012-03-20 22:23:40 -06:00
preprocessor.py allow labels and includes on the same line 2013-01-23 15:27:14 -05:00
README.md do i really want to endorse mibbit? 2013-01-11 02:35:28 -06:00
wram.asm fix OverworldMap definition 2013-01-25 03:25:48 -05:00

Pokémon Crystal

This is a hand-crafted disassembly of Pokémon Crystal.

The source code in this project successfully converts back into a ROM image. All source code is meticulously commented.

Base ROM

The following ROM is required for compiling:

Pokemon - Crystal Version (UE) (V1.0) [C][!].gbc

md5: 9f2922b235a5eeb78d65594e82ef5dde

Eventually this will not be necessary.

Installing

Simple.

sudo apt-get install make gcc bison git python python-setuptools 

# unittest2 is required if using python2.6
sudo easy_install unittest2

# download rgbds source code
git clone git://github.com/bentley/rgbds.git

# compile rgbds
cd rgbds
make
sudo make install

# check if rgbasm is installed now
which rgbasm

# download pokecrystal
git clone https://github.com/kanzure/pokecrystal.git
cd pokecrystal

make clean && make

Also, there are Windows installation instructions.

Assembling

  • To assemble, first install RGBDS and put it in your path. The version of RGBDS needed is rgbds-linux.

  • Next, copy the Pokémon ROM to this directory as "baserom.gbc".

  • Then run "make" in your shell.

  • This will output a file named "pokecrystal.gbc".

See also

Contributing