Go to file
yenatch 0b05325e07 Allow png->lz compression in the build process
To enable, append '${IMGFILES}' to line 22:
pokecrystal.o: pokecrystal.asm constants.asm wram.asm ${TEXTFILES} ${IMGFILES}

Also append '${LZFILES}' to line 48:
	rm -f main.tx pokecrystal.o pokecrystal.gbc ${TEXTFILES} ${LZFILES}
2013-02-09 05:23:39 -05:00
audio Move music/ into audio/ 2013-02-05 18:08:20 -05:00
battle Saner file distribution 2013-02-05 03:56:27 -05:00
extras Add some command-line interfaces for use w/ makefile 2013-02-09 04:36:36 -05:00
gfx Move compressed trainer pics into the main folder 2013-02-09 05:08:56 -05:00
maps oops forgot the maps 2012-05-21 02:43:52 -05:00
stats Create individual pokedex entry files 2013-02-05 19:29:20 -05:00
text Add phone scripts for Mom, Bill, Elm, and unused. 2013-01-14 21:24:45 -07:00
trainers Saner file distribution 2013-02-05 03:56:27 -05:00
.gitignore don't let .gb roms sneak in 2013-01-19 23:31:32 -06:00
bittable2.asm Saner file distribution 2013-02-05 03:56:27 -05:00
compare.sh make compare.sh overwrite the previous hexdump 2012-05-16 13:49:50 -05:00
constants.asm Add NONE constant 2013-02-04 21:10:34 -05:00
INSTALL.md fix git clone instructions 2013-02-03 14:54:59 -06:00
main.asm Move compressed trainer pics into the main folder 2013-02-09 05:08:56 -05:00
Makefile Allow png->lz compression in the build process 2013-02-09 05:23:39 -05:00
pokecrystal.asm Add code for the Extremespeed Dratini. 2012-03-20 22:23:40 -06:00
preprocessor.py clean up the preprocessor macro list 2013-01-27 17:45:23 -06:00
README.md do i really want to endorse mibbit? 2013-01-11 02:35:28 -06:00
vblank.asm Move VBlank function to a file 2013-02-05 15:40:25 -05:00
wram.asm Move BitTable2 to a file 2013-02-05 03:16:46 -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