Difference between revisions of "Compiling ScummVM/Wii"

Jump to navigation Jump to search
480 bytes removed ,  13:46, 19 September 2009
no edit summary
m
Line 15: Line 15:


The latter two libraries are part of devkitPPC and are already installed with it. However, official ScummVM Wii and Gamecube binaries use unofficial versions, available via [http://git.or.cz/ git] [http://repo.or.cz/w/libogc.git here] and [http://repo.or.cz/w/libfat.git here].
The latter two libraries are part of devkitPPC and are already installed with it. However, official ScummVM Wii and Gamecube binaries use unofficial versions, available via [http://git.or.cz/ git] [http://repo.or.cz/w/libogc.git here] and [http://repo.or.cz/w/libfat.git here].
Reasons:
* libogc's <tt>malloc()</tt> has been [http://repo.or.cz/w/libogc.git?tag=ce9b85c1fa659d39ac26b72b82e31844c50bfdf6&p=libogc.git&a=commitdiff&h=ce9b85c1fa659d39ac26b72b82e31844c50bfdf6&hb=28e632dab2820a98ea3399e3090761581f034df7&tm=1366734 modfied] to utilize [http://wiibrew.org/wiki/Memory_Map MEM2]. Without this patch, a single binary with all game engines won't be able to run all games (like COMI) due to memory limits
* libfat gained a read-ahead cache, without it video sequences will stutter
Nevertheless, ScummVM should build just fine with either versions.


== Versions differences ==
== Versions differences ==
Line 27: Line 20:
* v0.12.0 (first official version) is built with devkitPPC r15
* v0.12.0 (first official version) is built with devkitPPC r15
* starting with v0.13.0, devkitPPC r16 is used
* starting with v0.13.0, devkitPPC r16 is used
* starting with revision 44189, [http://repo.or.cz/w/libgxflux.git libgxflux] in mandatory


= Optional libraries =
= Optional libraries =
Line 165: Line 159:
instead.
instead.


The script supports various arguments, which you can use to toggle various features, see <tt>./configure --help</tt>.
The script supports various arguments, which you can use to en- or disable features, see <tt>./configure --help</tt>.


Two of the [[#Optional libraries|optional libraries]] are already part of libogc:
Two of the [[#Optional libraries|optional libraries]] are already part of libogc:
Line 179: Line 173:
  ./configure --host=wii --with-flac-prefix=$DEVKITPRO/3rd/wii --with-tremor-prefix=$DEVKITPRO/3rd/wii
  ./configure --host=wii --with-flac-prefix=$DEVKITPRO/3rd/wii --with-tremor-prefix=$DEVKITPRO/3rd/wii


Additionally, there're a few make targets for convenience:
Additionally, there're a few make targets for your convenience:


* <tt>make wiiload</tt> - uploads a compiled Wii binary over TCP.
* <tt>make wiiload</tt> - uploads a compiled Wii binary over TCP/IP.
* <tt>make geckoupload</tt> - uploads a compiled binary over a USBGecko device.
* <tt>make geckoupload</tt> - uploads a compiled binary over a USBGecko device.
* <tt>make wiidist</tt> - copies all required files for the Wii into the ''dist'' subdirectory, read to copy onto your SD card for the Homebrew Channel.
* <tt>make wiidist</tt> - copies all required files for the Wii into the ''dist'' subdirectory, read to copy onto your SD card for the Homebrew Channel.
24

edits

Navigation menu