The source code to D-Pad Hero 2 has been released. Get it at
http://repo.or.cz/w/dpadhero2.git
In order to build, you need to have xorcyst (fromĀ http://repo.or.cz/w/xorcyst.git) and xm2nes (from http://repo.or.cz/w/kents-nes-stuff.git) installed.
After cloning the dpadhero2 repository, first build tools/xm2btn
:
cd tools/xm2btn && make
Then build dpadhero2.nes:
cd ../../src && make
If all goes well, there will be a dpadhero2.nes under src/build/
.
D-Pad Hero 2 should build on Linux, Mac and Windows/Cygwin. If you have problems, let me know.
Brief structural overview:
src/
: Game code.src/common/
: Support (”library”) code.src/sound/
: Sound engine.src/songs/
: The game music.src/targetdata/
: “Level data” for the playable songs.tools/xm2btn/
: Converts target data to a packed format.
Enjoy!