EDuke32 Wii: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
==Download==
==Download==


===Latest version===
http://dukeworld.duke4.net/eduke32/wii/
 
[http://hendricks266.duke4.net/files/eduke32-wii-r2729-milestone-1.7z EDuke32 Wii r2729 Milestone 1]
 
===Old versions===
 
[http://hendricks266.duke4.net/files/eduke32-wii-r2685.7z EDuke32 Wii r2685]


==Source==
==Source==
Line 15: Line 9:
See [[Acquiring the EDuke32 Source Code]].
See [[Acquiring the EDuke32 Source Code]].


===SDL Wii and libaesnd===
===Libraries===


As part of his porting, tueidj made a few custom modifications to SDL Wii and libaesnd. The source and compiled libraries of SDL Wii (incorporating the modified libaesnd) can be found here:
As part of his porting, tueidj made a few custom modifications to SDL Wii and libaesnd. The source and compiled libraries of SDL Wii (incorporating the modified libaesnd) are available on [http://dukeworld.duke4.net/eduke32/wii/library_source_code/ Dukeworld].
http://hendricks266.duke4.net/files/eduke32-wii-sdl-wii-mod-2-with-aesnd.7z


To install the compiled libraries into the devkitPPC folder, type <code>make install</code>.
To install the compiled libraries into the devkitPPC folder, type <code>make install</code>.


The modified libaesnd itself is necessary if you plan to compile your own SDL Wii. 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
The modified libaesnd itself is necessary if you plan to compile your own SDL Wii. The patch, the patched source, and the compiled library and include header file can all be found on [http://dukeworld.duke4.net/eduke32/wii/library_source_code/ Dukeworld].


==Building Instructions==
==Building Instructions==
Line 30: Line 23:
#Set up [[Building EDuke32 on Windows]] using MinGW.
#Set up [[Building EDuke32 on Windows]] using MinGW.
#Download and install [http://devkitpro.org/ devkitPPC].
#Download and install [http://devkitpro.org/ devkitPPC].
#Download the modified [[#SDL Wii|SDL Wii]], including libaesnd. If you want to compile it yourself, at the devkitPro shell, type <code>make clean</code> then <code>make</code>. Either way, type <code>make install</code> to copy the libraries to the devkitPPC library location.
#Download the modified [[#Libraries|SDL Wii]], including libaesnd. If you want to compile it yourself, at the devkitPro shell, type <code>make clean</code> then <code>make</code>. Either way, type <code>make install</code> to copy the libraries to the devkitPPC library location.
#Run '''wiibuild.bat'''.
#Run '''wiibuild.bat'''.


Line 46: Line 39:


==To-Do List==
==To-Do List==
*Controls: Basic motion controls could be tapped, and GameCube controller support needs to be added.
*Controls:
*Compile libogg, libvorbis, and libvpx.
**GameCube controller support needs to be added.
**Proper pointer-based aiming remains to be done.
**Basic motion controls could be tapped.
*Compile libFLAC and libvpx.


==Credits==
==Credits==

Latest revision as of 15:33, 18 November 2013

EDuke32 Wii (sometimes mistakenly called "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://dukeworld.duke4.net/eduke32/wii/

Source

See Acquiring the EDuke32 Source Code.

Libraries

As part of his porting, tueidj made a few custom modifications to SDL Wii and libaesnd. The source and compiled libraries of SDL Wii (incorporating the modified libaesnd) are available on Dukeworld.

To install the compiled libraries into the devkitPPC folder, type make install.

The modified libaesnd itself is necessary if you plan to compile your own SDL Wii. The patch, the patched source, and the compiled library and include header file can all be found on Dukeworld.

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, including libaesnd. 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:
    • GameCube controller support needs to be added.
    • Proper pointer-based aiming remains to be done.
    • Basic motion controls could be tapped.
  • Compile libFLAC and libvpx.

Credits

EDuke32 Team

See the main EDuke32 Credits page.

Porting: tueidj

Merging: Helixhorned

Maintenance / Development: Hendricks266