Difference between revisions of "User:Insin/Chaos"

From WiiBrew
Jump to navigation Jump to search
m (Updated Infobox)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Infobox homebrewapp
+
{{Infobox homebrew
 
| title      = Chaos Wii
 
| title      = Chaos Wii
| image      = [[Image:ChaosIcon.png]]
+
| image      = [[File:ChaosIcon.png]]
| desc        = Port of Chaos GBA
+
| type        = arcade game
| type        = Game
 
 
| author      = insin
 
| author      = insin
 
| peripherals = {{WiimoteHorizontal}}
 
| peripherals = {{WiimoteHorizontal}}
| source      = [http://bitbucket.org/insin/chaos-wii bitbucket]
+
| source      = http://bitbucket.org/insin/chaos-wii
 
}}
 
}}
  
Line 59: Line 58:
 
'''2009-05-21'''
 
'''2009-05-21'''
  
* Code which was running fine yesterday is core dumping this morning. Backing out changesets up to and including the control changes makes it run again. Investigating...
+
* 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'''
 
'''2009-05-20'''
Line 76: Line 75:
  
 
* Wrote makefile for img libraries - not a happy introduction to makefiles, thanks to the existing one being written with automake.
 
* Wrote makefile for img libraries - not a happy introduction to makefiles, thanks to the existing one being written with automake.
 
[[Category:Homebrew in Development]]
 
[[Category:Homebrew using SDL libraries]]
 
 
 
== Milestones ==
 
== Milestones ==
  
Line 86: Line 81:
 
{| class="wikitable" style="float:left; text-align: center"
 
{| class="wikitable" style="float:left; text-align: center"
 
|-
 
|-
! Feature !! Done
+
! Feature
 +
! Done
 
|-
 
|-
 
| Emulate GBA controls with horizontal Wiimote || ☑
 
| Emulate GBA controls with horizontal Wiimote || ☑
Line 93: Line 89:
 
|-
 
|-
 
| Fix graphics/sound corruption || ☐
 
| Fix graphics/sound corruption || ☐
|-
+
|}
 +
 
 +
[[Category:Homebrew in Development]]
 +
[[Category:Homebrew using SDL libraries]]

Latest revision as of 21:41, 24 September 2009

Chaos Wii
ChaosIcon.png
General
Author(s)insin
TypeArcade game
Links
Source
Peripherals
WiimoteHorizontal.svg


A port of the SDL version of Quirky's GBA remake of 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.:

cd \projects\wii
svn co https://devkitpro.svn.sourceforge.net/svnroot/devkitpro/trunk/libogc/ devkitpro\libogc
cd devkitpro\libogc
make
make install

Copy all the SDL files (dependencies and SDL port) to your DevkitPro/libogc folder (required to build chaos-wii).

Download gfx2gba and put it somewhere on your PATH (required to build /img libraries).

Download SoX and put it somewhere on your PATH (required to build /snd libraries).

Compiling

  1. Get the source using Mercurial
  2. Run make in /img to create image libraries
  3. Run make in /snd to create sound library
  4. Run make in the project's root directory to compile the source and .elf/.dol it all up

e.g.:

cd \projects\wii
hg clone http://bitbucket.org/insin/chaos-wii/ chaos-wii
cd chaos-wii\img
make
cd ..\snd
make
cd ..
make

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 #include <gccore.h> 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.

2009-05-18

  • Wrote makefile for img libraries - not a happy introduction to makefiles, thanks to the existing one being written with automake.

Milestones

0.1 - Direct Port

Feature Done
Emulate GBA controls with horizontal Wiimote
Remove window scaling code, always display in fullscreen
Fix graphics/sound corruption