User Tools

Site Tools


development:compiling:player:wii

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
development:compiling:player:wii [2012/01/18 18:57] – created fdelapenadevelopment:compiling:player:wii [2015/10/03 09:55] (current) – external edit 127.0.0.1
Line 7: Line 7:
   * SDL_mixer (>=1.2.6) with support for WAV, MIDI, OGG and MP3.   * SDL_mixer (>=1.2.6) with support for WAV, MIDI, OGG and MP3.
 Precompiled SDL-libs can be found on the website from [[https://code.google.com/p/sdl-wii/downloads/list|SDL Wii]]. Precompiled SDL-libs can be found on the website from [[https://code.google.com/p/sdl-wii/downloads/list|SDL Wii]].
-  * Independent JPEG (>=8a). 
   * libpng (>=1.2.8).   * libpng (>=1.2.8).
   * zlib (>=1.2.2).   * zlib (>=1.2.2).
   * freetype (>=2.4.3).   * freetype (>=2.4.3).
 They can be found in the [[http://sourceforge.net/projects/devkitpro/files/portlibs/|devkitpro portlibs]]. They can be found in the [[http://sourceforge.net/projects/devkitpro/files/portlibs/|devkitpro portlibs]].
-  * iconv ([[https://code.google.com/p/mplayer-ce/source/browse/trunk/libs/libiconv|wii port]]) +  * iconv 
-  * [[http://cgit.freedesktop.org/pixman/|pixman]] (>=20.2)+  * pixman 
 +  * expat 
 +Recent versions can be found here: https://github.com/carstene1ns/portlibs-wii
  
-Their are some linker problems with SDL_mixer when ogg is enabled, either try to compile an ogg lib (and link against -lvorbisfile -lvorbis -lvorbisenc -logg) or recompile SDL_mixer without ogg support (remove -DOGG_MUSIC from the Makefile).+You need to build liblcf as portlib: 
 +<code bash> 
 +cd liblcf 
 +./configure --host=powerpc-eabi --prefix="$DEVKITPRO/portlibs/ppc"
 +            --disable-shared --enable-static \ 
 +            CFLAGS="-g -O2 -Wall -DGEKKO -mcpu=750 -meabi -mhard-float" 
 +make install 
 +</code> 
 + 
 +Once you have all dependencies above, change into the player/builds/wii folder and type 'make'. It will build a boot.dol that you can place on your sd card alongside meta.xml, icon.png and a game. That's all! 
 + 
 +===Notes about music playback (Ogg, Midi)=== 
 + 
 +There can be some linker problems with SDL_mixer when ogg is enabled, either try to compile an ogg lib (and link against -lvorbisfile -lvorbis -lvorbisenc -logg) or recompile SDL_mixer without ogg support (remove -DOGG_MUSIC from the Makefile).
  
 For midi you should also patch some lines in the sdl_mixer-timidity-folder (or you will have to put 20mb of "instruments" in the game root): For midi you should also patch some lines in the sdl_mixer-timidity-folder (or you will have to put 20mb of "instruments" in the game root):
Line 26: Line 40:
 ''#define CONFIG_FILE "sd:/data/timidity/timidity.cfg''\\ ''#define CONFIG_FILE "sd:/data/timidity/timidity.cfg''\\
 ''#define CONFIG_FILE_ETC "usb:/data/timidity/timidity.cfg'' ''#define CONFIG_FILE_ETC "usb:/data/timidity/timidity.cfg''
- 
-Once you have all dependencies above, just type '$ make' in the builds/wii/ directory and it will build the wii.dol. That's all! 
  
development/compiling/player/wii.1326913078.txt.gz · Last modified: 2013/06/30 23:46 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki