EDuke32 Wii

From EDukeWiki
Revision as of 16:28, 26 May 2012 by Hendricks266 (talk | contribs) (thanks to Helixhorned)
Jump to navigation Jump to search

EDuke32 Wii (also known as WiiDuke32) is a Wii port of Duke Nukem 3D using EDuke32. For more information about the Wii port specifically and Wii homebrew in general, see WiiBrew.

Download

http://hendricks266.duke4.net/files/eduke32-wii-r2685.7z

Source

See Acquiring the EDuke32 Source Code.

SDL Wii and libaesnd

As part of his porting, tueidj made a few custom modifications to SDL Wii. The source and compiled libraries can be found here: http://hendricks266.duke4.net/files/eduke32-wii-sdl-wii-mod.7z

Changes were also made to libaesnd from libogc. The patch, the patched source, and the compiled library and include header file can all be found here: http://hendricks266.duke4.net/files/eduke32-wii-libaesnd-mod.7z

Building Instructions

These instructions require Windows or WINE.

  1. Set up Building EDuke32 on Windows using MinGW.
  2. Download and install devkitPPC.
  3. Download the modified SDL Wii. If you want to compile it yourself, at the devkitPro shell, type make clean then make. Either way, type make install to copy the libraries to the devkitPPC library location.
  4. Run wiibuild.bat.

Debugging

Gets the disassembly interspersed with line numbers:

powerpc-eabi-objdump -d -l boot.elf > eduke32.ppcasm

Gets the addresses of various data in the executable:

powerpc-eabi-nm -l boot.elf |sort > symbols.nm

Simplified PPC instruction set

To-Do List

  • CONTROLS!
  • Crashes. It appears that the game crashes whenever the player dies, which at least will help fix the problem.
  • Saving preferences.
  • Compile libogg, libvorbis, and libvpx.

Credits

EDuke32 Team

See the main EDuke32 Credits page.

Porting: tueidj

Merging: Helixhorned

Maintenance / Development: Hendricks266