Deprecated: Assigning the return value of new by reference is deprecated in /var/www/dpadhero.com/public_html/blog/wp-settings.php on line 512

Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl(&$output) in /var/www/dpadhero.com/public_html/blog/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl(&$output) in /var/www/dpadhero.com/public_html/blog/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el(&$output) in /var/www/dpadhero.com/public_html/blog/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el(&$output) in /var/www/dpadhero.com/public_html/blog/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el(&$output) in /var/www/dpadhero.com/public_html/blog/wp-includes/classes.php on line 1244

Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl(&$output) in /var/www/dpadhero.com/public_html/blog/wp-includes/classes.php on line 1391

Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl(&$output) in /var/www/dpadhero.com/public_html/blog/wp-includes/classes.php on line 1391

Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el(&$output) in /var/www/dpadhero.com/public_html/blog/wp-includes/classes.php on line 1391

Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el(&$output) in /var/www/dpadhero.com/public_html/blog/wp-includes/classes.php on line 1391

Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el(&$output) in /var/www/dpadhero.com/public_html/blog/wp-includes/classes.php on line 1442

Strict Standards: Redefining already defined constructor for class wpdb in /var/www/dpadhero.com/public_html/blog/wp-includes/wp-db.php on line 306

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/dpadhero.com/public_html/blog/wp-includes/cache.php on line 103

Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /var/www/dpadhero.com/public_html/blog/wp-includes/cache.php on line 431

Deprecated: Assigning the return value of new by reference is deprecated in /var/www/dpadhero.com/public_html/blog/wp-includes/query.php on line 61

Strict Standards: Declaration of Walker_Comment::start_lvl() should be compatible with Walker::start_lvl(&$output) in /var/www/dpadhero.com/public_html/blog/wp-includes/comment-template.php on line 1266

Strict Standards: Declaration of Walker_Comment::end_lvl() should be compatible with Walker::end_lvl(&$output) in /var/www/dpadhero.com/public_html/blog/wp-includes/comment-template.php on line 1266

Strict Standards: Declaration of Walker_Comment::start_el() should be compatible with Walker::start_el(&$output) in /var/www/dpadhero.com/public_html/blog/wp-includes/comment-template.php on line 1266

Strict Standards: Declaration of Walker_Comment::end_el() should be compatible with Walker::end_el(&$output) in /var/www/dpadhero.com/public_html/blog/wp-includes/comment-template.php on line 1266

Strict Standards: Redefining already defined constructor for class WP_Dependencies in /var/www/dpadhero.com/public_html/blog/wp-includes/class.wp-dependencies.php on line 31

Strict Standards: Redefining already defined constructor for class WP_Http in /var/www/dpadhero.com/public_html/blog/wp-includes/http.php on line 61
source code
Jul 28

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!

Tagged with:
Dec 26

The source code of the songs, player and tools that power D-Pad Hero has been released. See the video on YouTube for more information.

Tagged with:
preload preload preload