mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
yenatch
e733c4234c
preprocess asm files individually
this fixes a lot of previous hacks first off, rgbds requires that labels from includes be marked as globals. instead, 3626ddeb stuffed includes into the parent file in the preprocessor. this meant one huge file got preprocessed every time, adding an additional ten seconds to compile time. running the preprocessor once for each file would create too much overhead, so a list is fed into prequeue.py, which then makes calls to preprocessor.py. this paves the way for compiling source files separately some day. next, compiling previously required `make clean` to be executed first. f3340de6 touched main.asm to force a fresh compile instead. this behavior has been reverted. now, `make all` will only attempt to recompile if a source file has changed. preprocessor.py has some marginal changes. prequeue.py is created to keep the original functionality of preprocessor.py intact. so many files are preprocessed on first compile (1951 as of this commit) that the prequeue call has been hidden. compile time is reduced to 15-30 seconds on first compile, and 5-10 seconds subsequently. the majority of this time is spent in rgbasm.
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.
What can I do?
-
Are we missing something? Make a pull request! Contributions are welcome.
-
Take a look at some of the disasm tools in extras/. Most of the scripts are generalized enough to take apart other Game Boy games.
-
Tackle some issues!
See also
-
Hang out with us on IRC: nucleus.kafuka.org #skeetendo
-
Disassembly of Pokémon Red.
Description
Languages
Assembly
89.2%
C
6.3%
Python
2%
C++
1.6%
INI
0.6%
Other
0.2%