diff --git a/Makefile.gc b/Makefile.gc index 64047d5..74ef71e 100644 --- a/Makefile.gc +++ b/Makefile.gc @@ -26,7 +26,6 @@ INCLUDES := source/vba source/vba/gb source/ngc #--------------------------------------------------------------------------------- CFLAGS = -g -Os -Wall $(MACHDEP) $(INCLUDE) \ - -mcpu=750 -mhard-float -meabi \ -DNGC -DWORDS_BIGENDIAN -DPACKAGE=\"VisualBoyAdvance\" \ -DVERSION=\"1.7.2\" -DC_CORE \ -DCHANFFS -DSDL -DNO_DEFLATE diff --git a/Makefile.wii b/Makefile.wii index 8718059..aa13347 100644 --- a/Makefile.wii +++ b/Makefile.wii @@ -26,10 +26,9 @@ INCLUDES := source/vba source/vba/gb source/ngc #--------------------------------------------------------------------------------- CFLAGS = -g -Os -Wall $(MACHDEP) $(INCLUDE) \ - -mcpu=750 -mhard-float -meabi \ -DNGC -DWORDS_BIGENDIAN -DPACKAGE=\"VisualBoyAdvance\" \ -DVERSION=\"1.7.2\" -DC_CORE \ - -DCHANFFS -DSDL -DWII_BUILD -DNO_DEFLATE + -DCHANFFS -DSDL -DNO_DEFLATE CXXFLAGS = -save-temps -Xassembler -aln=$@.lst $(CFLAGS) LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map -Wl,--cref diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..a9cb22e --- /dev/null +++ b/readme.txt @@ -0,0 +1,107 @@ +¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤ + + - Visual Boy Advance GX - + Version 1.0.0 + (Under GPL License) + +¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤ + +-=[ Explanation ]=- + +Visual Boy Advance GX is a port of Visual Boy Advance 1.7.2. +With it you can play GBA/Game Boy Color/Game Boy games on your Wii/GameCube. + +-=[ Features ]=- + +* Wiimote, Nunchuk, Classic, and Gamecube controller support +* SRAM and State saving +* Custom controller configurations +* SD and USB support + +ח–­—–­—–­—–­ –­—–­—–­—–­—–­—–­—–­—–­—–­—–­— ­—–­—–­—–­—–­—–­—–­—–­—-­—–­-–•Ĵ +|0O×ĝo· UPDATE HISTORY ·oĝ×O0| +`¨•¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨' + +[What's New 1.0.0] + +* Now compiles with devkitpro r15 +* One makefile to make all versions +* Complete rewrite based on code from SNES9x GX +* Now has a menu! ROM selector, preferences, controller mapping, etc +* Wiimote, Nunchuk, and Classic controller support +* Button mapping for all controller types +* Full support for SD and USB +* Load/save preference selector. ROMs, saves, and preferences are + saved/loaded according to these +* 'Auto' settings for save/load - attempts to automatically determine + your load/save device(s) - SD, USB +* Preferences are loaded and saved in XML format. You can open + VBAGX.xml edit all settings, including some not available within + the program + +ח–­—–­—–­—–­ –­—–­—–­—–­—–­—–­—–­—–­—–­—–­— ­—–­—–­—–­—–­—–­—–­—–­—-­—–­-–•Ĵ +|0O×ĝo· SETUP & INSTALLATION ·oĝ×O0| +`¨•¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨' + +Unzip the archive. You will find the following folders inside: + +apps Contains Homebrew Channel ready files + (see Homebrew Channel instructions below) + +executables Contains Gamecube / Wii DOL files + (for loading from other methods) + +vbagx Contains the directory structure required for storing + roms and saves (see below) + +------------------------------ +Loading / Running the Emulator: +------------------------------ + +Wii - Via Homebrew Channel: +-------------------- +The most popular method of running homebrew on the Wii is through the Homebrew +Channel. If you already have the channel installed, just copy over the apps folder +included in the archive into the root of your SD card. + +Remember to also create the fceugx directory structure required. See above. + +If you haven't installed the Homebrew Channel yet, read about how to here: +http://hbc.hackmii.com/ + +Gamecube: +--------- +You can load VBAGX via sdload and an SD card in slot A, or by streaming +it to your Gamecube, or by booting a bootable DVD with VBAGX on it. +This document doesn't cover how to do any of that. A good source for information +on these topics is the tehskeen forums: http://www.tehskeen.com/forums/ + +---------------------------- +ROMS, Preferences, and Saves: +---------------------------- + +By default, roms are loaded from "vbagx/roms/" and saves / preferences are +stored in "vbagx/saves/". + +¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤ + +-=[ Credits ]=- + +Visual Boy Advance GX Tantric +GameCube/Wii Port Improvements emukidid +Original GameCube Port SoftDev +Visual Boy Advance 1.7.2 Forgotten +libogc Shagkur & wintermute +Testing tehskeen users + +And many others who have contributed over the years! + +¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤ + + VBAGX Web Site + http://code.google.com/p/vba-wii + + TehSkeen Support Forums + http://www.tehskeen.net + +¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤°`°¤ĝ,¸,ĝ¤°`°¤ĝ,¸¸,ĝ¤ diff --git a/source/ngc/vbaconfig.cpp b/source/ngc/vbaconfig.cpp index 5b0554a..79ba729 100644 --- a/source/ngc/vbaconfig.cpp +++ b/source/ngc/vbaconfig.cpp @@ -22,9 +22,9 @@ DefaultSettings () /************** GameCube/Wii Settings *********************/ GCSettings.LoadMethod = METHOD_AUTO; // Auto, SD, DVD, USB, Network (SMB) GCSettings.SaveMethod = METHOD_AUTO; // Auto, SD, Memory Card Slot A, Memory Card Slot B, USB, Network (SMB) - sprintf (GCSettings.LoadFolder,"vba/roms"); // Path to game files - sprintf (GCSettings.SaveFolder,"vba/saves"); // Path to save files - sprintf (GCSettings.CheatFolder,"vba/cheats"); // Path to cheat files + sprintf (GCSettings.LoadFolder,"vbagx/roms"); // Path to game files + sprintf (GCSettings.SaveFolder,"vbagx/saves"); // Path to save files + sprintf (GCSettings.CheatFolder,"vbagx/cheats"); // Path to cheat files GCSettings.AutoLoad = 1; GCSettings.AutoSave = 1;