mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
0e2ab04353
This updates the automatic parsing of main.asm to catch cases of INCBINs pulling in files that end in .asm, .lz, .1bpp, and .2bpp. This is necessary because otherwise the parser tries to figure out the start and end addresses expressed on the INCBIN line, details not present on these types of lines in the asm. Asm and Asm.insert_all are now back in working condition. |
||
---|---|---|
audio | ||
battle | ||
extras | ||
gfx | ||
items | ||
maps | ||
stats | ||
text | ||
trainers | ||
.gitignore | ||
bittable2.asm | ||
compare.sh | ||
constants.asm | ||
credits.asm | ||
gbhw.asm | ||
INSTALL.md | ||
joypad.asm | ||
landmarks.asm | ||
main.asm | ||
Makefile | ||
pokecrystal.asm | ||
preprocessor.py | ||
README.md | ||
requirements.txt | ||
vblank.asm | ||
wram.asm |
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
sudo easy_install pip
# 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
pip install -r requirements.txt
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
- disassembly of Pokémon Red.
Contributing
-
Hang out with us on IRC, nucleus.kafuka.org #skeetendo (or use mibbit)
-
Tackle some issues!