Changes

Jump to navigation Jump to search
2,263 bytes added ,  21:41, 24 September 2009
m
Updated Infobox
{{Infobox homebrewapphomebrew
| title = Chaos Wii
| desc image = Port of Chaos GBA[[File:ChaosIcon.png]]| type = Gamearcade game
| author = insin
| peripherals = {{WiimoteHorizontal}}
| source = http://bitbucket.org/insin/chaos-wii
}}
A port of the SDL version of [http://www.geocities.com/quirky_2k1/ Quirky's] GBA remake of [http://en.wikipedia.org/wiki/Chaos_(video_game) Chaos], using [[SDL Wii]].
 
== Help! ==
 
Image and sound libraries are created using what I think is the same process as in the original project, but both images and sound are corrupted - can anyone shed any light on this? As a newbie to C, some of the goings-on in gfx.c are still a bit of a mystery to me.
 
== Building ==
 
=== Prerequisites ===
 
Compile and install the latest libogc and install it to the libogc folder (required by SDL Wii), e.g.:
 
<pre>
cd \projects\wii
svn co https://devkitpro.svn.sourceforge.net/svnroot/devkitpro/trunk/libogc/ devkitpro\libogc
cd devkitpro\libogc
make
make install
</pre>
 
Copy all the [http://code.google.com/p/sdl-wii/downloads/list?can=3 SDL files] (dependencies and SDL port) to your DevkitPro/libogc folder (required to build chaos-wii).
 
Download [http://www.gbadev.org/tools.php?showinfo=142 gfx2gba] and put it somewhere on your <tt>PATH</tt> (required to build /img libraries).
 
Download [http://sox.sourceforge.net/ SoX] and put it somewhere on your <tt>PATH</tt> (required to build /snd libraries).
 
=== Compiling ===
 
# Get the source using [http://www.selenic.com/mercurial/wiki/ Mercurial]
# Run <tt>make</tt> in /img to create image libraries
# Run <tt>make</tt> in /snd to create sound library
# Run <tt>make</tt> in the project's root directory to compile the source and .elf/.dol it all up
 
e.g.:
 
<pre>
cd \projects\wii
hg clone http://bitbucket.org/insin/chaos-wii/ chaos-wii
cd chaos-wii\img
make
cd ..\snd
make
cd ..
make
</pre>
== Development Log ==
 
'''2009-05-21'''
 
* Code which was running fine yesterday is core dumping this morning. Wasted this morning's development time trying to fix it, but in the end pulling a fresh copy from bitbucket sorted it out.
 
'''2009-05-20'''
 
* Gadzooks! It runs! Graphics and sound are horribly corrupted and there are no controls.
* Enabled SDL joystick input and replaced keyboard controls with Wiimote controls.
* Made source available via bitbucket
'''2009-05-19'''
* Wrote makefile for snd library
* Wrote makefile for project
* Hacked until the compiler was happy - this mostly involved dropping <tt>#include &lt;gccore.h&gt;</tt> where it was complaining and prepending all SDL header includes with "SDL/" (which doesn't seem right to me). Now builds to a .dol, no idea if it runs yet.
* Wrote devkitPPC-compatible makefile for project
* Wrote devkitPPC makefile for snd library
'''2009-05-18'''
* Wrote devkitPPC makefile for img libraries - not a happy introduction to makefiles, thanks to the existing one being written with automake.== Milestones == === 0.1 - Direct Port === {| class="wikitable" style="float:left; text-align: center"|-! Feature! Done|-| Emulate GBA controls with horizontal Wiimote || ☑|-| Remove window scaling code, always display in fullscreen || ☐|-| Fix graphics/sound corruption || ☐|}
[[Category:Homebrew in Development]]
[[Category:Homebrew using SDL libraries]]
3,005

edits

Navigation menu