Skip to content

Commit

Permalink
[What's New 2.0.1 - September 6, 2008]
Browse files Browse the repository at this point in the history
* Zapper support! Turn this on in the Controller Settings - most games 
  require you to have the Zapper on Port 2. Thanks go to aksommerville whose
  previous work on the Zapper helped, and michniewski's cursor code
* RAM game save support! Now you can save your games just like the NES did. 
  By default game saves are saved/loaded automatically. This can be changed
  in the Preferences menu
* Start/Select reversed mapping fixed for Wii controllers
* Small bug fixes / improvements / tweaks
  • Loading branch information
dborth committed Oct 16, 2008
1 parent d89b6ac commit 6527dba
Show file tree
Hide file tree
Showing 57 changed files with 4,586 additions and 1,714 deletions.
24 changes: 13 additions & 11 deletions Makefile.gc
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,31 @@ include $(DEVKITPPC)/gamecube_rules
TARGET := fceugx_gc
TARGETDIR := executables
BUILD := build_gc
SOURCES := source/fceultra source/fceultra/boards \
source/fceultra/drivers/common source/fceultra/input \
source/fceultra/mappers source/fceultra/mbshare \
source/ngc source/sz
DATA := data
SOURCES := source/fceultra \
source/fceultra/boards source/fceultra/mappers source/fceultra/input \
source/fceultra/mbshare source/fceultra/drivers/common source/fceultra/roms \
source/ngc
DATA := data
INCLUDES := source/fceultra source/ngc
LANG := ENGLISH # Supported languages: ENGLISH
# Specify language in all capitals
# Supported languages: ENGLISH
LANG := ENGLISH

#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) -DNGC \
-DHAVE_ASPRINTF -DSTDC -DFCEU_VERSION_NUMERIC=9812 \
-D_SZ_ONE_DIRECTORY -D_LZMA_IN_CB -D_LZMA_OUT_READ \
-DLANG_$(LANG)
CFLAGS = -g -Os -Wall $(MACHDEP) $(INCLUDE) -DFCEU_VERSION_NUMERIC=9812 -DNGC=1 \
-DZLIB -DBIG_ENDIAN -DHAVE_ASPRINTF=1 -DSTDC \
-D_SZ_ONE_DIRECTORY=1 -D_LZMA_IN_CB=1 -D_LZMA_OUT_READ \
-DINTL_$(LANG)
CXXFLAGS = $(CFLAGS)

LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map -Wl,--cref

#---------------------------------------------------------------------------------
# any extra libraries we wish to link with the project
#---------------------------------------------------------------------------------
LIBS := -lmxml -lbba -ltinysmb -lfat -lz -logc -lm -lfreetype
LIBS := -lpng -lmxml -lbba -ltinysmb -lfat -lz -logc -lm -lfreetype

#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing
Expand Down
22 changes: 12 additions & 10 deletions Makefile.wii
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,31 @@ include $(DEVKITPPC)/wii_rules
TARGET := fceugx_wii
TARGETDIR := executables
BUILD := build_wii
SOURCES := source/fceultra source/fceultra/boards \
source/fceultra/drivers/common source/fceultra/input \
source/fceultra/mappers source/fceultra/mbshare \
source/ngc source/sz
SOURCES := source/fceultra \
source/fceultra/boards source/fceultra/mappers source/fceultra/input \
source/fceultra/mbshare source/fceultra/drivers/common source/fceultra/roms \
source/ngc
DATA := data
INCLUDES := source/fceultra source/ngc
LANG := ENGLISH # Supported languages: ENGLISH
# Specify language in all capitals
# Supported languages: ENGLISH
LANG := ENGLISH

#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) -DNGC -DWII_DVD \
-DHAVE_ASPRINTF -DSTDC -DFCEU_VERSION_NUMERIC=9812 \
-D_SZ_ONE_DIRECTORY -D_LZMA_IN_CB -D_LZMA_OUT_READ \
-DLANG_$(LANG)
CFLAGS = -g -Os -Wall $(MACHDEP) $(INCLUDE) -DFCEU_VERSION_NUMERIC=9812 -DNGC=1 \
-DZLIB -DBIG_ENDIAN -DWORDS_BIGENDIAN -DHAVE_ASPRINTF=1 -DSTDC \
-DWII_DVD -D_SZ_ONE_DIRECTORY=1 -D_LZMA_IN_CB=1 -D_LZMA_OUT_READ \
-DINTL_$(LANG)
CXXFLAGS = $(CFLAGS)

LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map -Wl,--cref

#---------------------------------------------------------------------------------
# any extra libraries we wish to link with the project
#---------------------------------------------------------------------------------
LIBS := -ldi -lmxml -lfat -lwiiuse -lz -lbte -logc -lm -lfreetype -ltinysmb
LIBS := -ldi -lpng -lmxml -lfat -lwiiuse -lz -lbte -logc -lm -lfreetype -ltinysmb

#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing
Expand Down
158 changes: 93 additions & 65 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,��

- FCE Ultra GX -
Version 2.0.4
http://code.google.com/p/fceugc
Version 2.0.1
(Under GPL License)

�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,��


-=[ Explanation ]=-

FCE Ultra GX is a modified port of the FCE Ultra 0.98.12 Nintendo Entertainment
system for x86 (Windows/Linux) PC's. With it you can play NES games on your
Wii/GameCube. Version 2 is a complete rewrite based on code from the
SNES9x GX project.
SNES9x GX and Genesis Plus GX projects.

-=[ Features ]=-

* Wiimote, Nunchuk, Classic, and Gamecube controller support
* iNES, FDS, VS, UNIF, and NSF ROM support
* 1-4 Player Support
* Zapper support
* 1-2 Player Support
* RAM and State saving
* Custom controller configurations
* SD, USB, DVD, SMB, GC Memory Card, Zip, and 7z support
* SD, USB, DVD, SMB, GC Memory Card, and Zip support
* NES Compatibility Based on v0.98.12
* Sound Filters
* Graphics Filters (GX Chipset, Cheesy and 2x)
Expand All @@ -29,32 +28,7 @@ SNES9x GX project.
|0O��o� UPDATE HISTORY �o��O0|
`������� ���������������� ��������������� �������������������� �������������'

[What's New 2.0.4 - October 15, 2008]
* Wii DVD fixed
* FDS BIOS loading works now
* FDS disk switching now consistently works with one button press
* FDS saving implemented
* 7z support
* Faster SD/USB (readahead cache enabled)
* VS coin now mapped to 1 button for VS zapper games
* Changed GC controller mappings - Select - Z, Start - Start,
Home - Start+A, Special - L

[What's New 2.0.3 - October 1, 2008]
* Complete rewrite of loading code - FDS / UNIF / NSF support added!
* VS games work (coin insert submitted by pakitovic)
* Mapping of 'Special' commands - VS coin insert, FDS switch disk (default A)
* 480p and DVD now available for GameCube
* Improved stability - less crashes!

[What's New 2.0.2 - September 19, 2008]
* Fixed network freeze-up problem
* Zapper now mapped to A and B
* Fixed auto-save feature
* Performance slowdowns on Gamecube should be fixed
* Will now attempt to load old save states with CRC filename

[What's New 2.0.1 - September 6, 2008]
[What's New 2.0.1]
* Zapper support! Turn this on in the Controller Settings - most games
require you to have the Zapper on Port 2. Thanks go to aksommerville whose
previous work on the Zapper helped, and michniewski's cursor code
Expand All @@ -64,7 +38,7 @@ SNES9x GX project.
* Start/Select reversed mapping fixed for Wii controllers
* Small bug fixes / improvements / tweaks

[What's New 2.0.0 - September 1, 2008]
[What's New 2.0.0]

* Complete rewrite based on code from SNES9x GX and Genesis Plus GX
* Wiimote, Nunchuk, and Classic controller support
Expand Down Expand Up @@ -98,34 +72,22 @@ executables Contains Gamecube / Wii DOL files
fceugx 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 FCEUGX via sdload and an SD card in slot A, or by streaming
it to your Gamecube, or by booting a bootable DVD with FCEUGX 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:
Directory Structure Setup
----------------------------

By default, roms are loaded from "fceugx/roms/" and saves / preferences are
stored in "fceugx/saves/".
Therefore you should have the following folder structure at the root
of your load device (SD/USB/SMB):

fceugx/
roms/
saves/

----------------------------
ROMS, Preferences, and Saves:
----------------------------

Wii
----------
Expand All @@ -144,14 +106,27 @@ You can load roms from DVD or SD card. If you create a bootable
DVD of FCEUGX you can put roms on the same DVD. You may save preferences and
game data to SD or Memory Card.

-=[ Famicom Disk System (FDS) ]=-
------------------------------
Loading / Running the Emulator:
------------------------------

FCE Ultra GX supports loading FDS games. The FDS BIOS is required - put it
in your roms folder, and name it disksys.rom (should be 8 KB in size).
You can switch disks using the A button (by default). The mapped button
can be changed under Controller Configuration ('Special' button).
Compatibility is limited, so check that the game in question works on
FCE Ultra 0.98.12 for Windows before asking for help.
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 FCEUGX via sdload and an SD card in slot A, or by streaming
it to your Gamecube, or by booting a bootable DVD with FCEUGX 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/

-=[ Supported Mappers ]=-

Expand All @@ -175,6 +150,59 @@ Palette - The colors used while viewing the game:
zaphod-smb . vs-drmar . vs-cv . vs-smb

Timing - NTSC or PAL (Depends if you're running a PAL or NTSC game)

ח����������� ������������������������������ �����������������������-����-���
|0O��o� UPDATE HISTORY (1.0.x) �o��O0|
`������� ���������������� ��������������� �������������������� �������������'

What's new [20080331]

+[Askot]
- Fixed/changed SDCARD slot selection for searching roms, at
start you will be prompted for this option.
- Code cleanup.

+[dsbomb]
- Added Wii mode support.
- Give a "Bad cartridge" error instead of locking up.
- Joystick fixes due to libogc r14's changed stick values
- Rearranged menu to make more sense, and consistent with Snes9x
- Add "Reboot" menu option
- Removed "." directory from SD card listing, it's pointless
- Expand DVD reading to DVD9 size (once DVDs are working again)
- Added option to go back a menu by pressing B.

What's new? Askot [20080326]
- Added saving state in SD Card (State files will be saved in root of SDCARD).
*Note: I can't make it work to save in root:\fceu\saves, so help needed.
- Added SDCARD slot selection for searching roms, meaning, you can search roms
from SDCARD SLOT A & SLOT B (Beta, meaning, buggy, but works).
- For standarization, you must create folders root:\fceu\roms to read NES
roms files from SDCARD.
- Added C-Left to call Menu.
- Reading files from SD Card it's faster, now they're called from cache
after first reading.
- Menu in saving STATE file changed to choose SLOT, DEVICE, Save STATE,
Load STATE, Return to previous.
- Added option PSO/SD Reload to menu, still works (START+B+X)
- Modified controls when going into the rom selection menu (DVD or
SDCARD):
+ Use B to quit selection list.
+ Use L/R triggrers or Pad Left/Right to go down/up one full page.
- Some menu rearrangment and a little of sourcecode cleanup:
+ Everytime you pressed B button on any option, playgame started, not anymore
until you select Play Game option.

What's new? asako [20070831]
- modify mmc3 code for Chinese pirated rom
- add some Chinese pirated rom mappers

What's new? _svpe_ [20070607]
- Wii support (PAL50 fix, 1.35GiB restriction removed)
- 7zip ROM loading support from the DVD (not from a SD card!!)
- dvd_read fix (the read data was always copied to readbuffer instead of *dst)
- slower file selection when using the D-Pad (I didn't like the selection to go
as fast as in the latest release)

�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,���`���,�,���`���,��,��

Expand Down
4 changes: 4 additions & 0 deletions source/fceultra/1.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
del C:\devkitPro\devkitPPC\Fc\build\ines*.*
del C:\devkitPro\devkitPPC\Fc\build\mmc3*.*
del C:\devkitPro\devkitPPC\Fc\build\unif*.*
del C:\devkitPro\devkitPPC\Fc\build\simple*.*
8 changes: 8 additions & 0 deletions source/fceultra/TODO.TXT
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FCEU-GC
---------

TODO

1. Remove ZLIB Dependencies
2. Remove NetPlay Dependencies
3. Remove all File I/O
8 changes: 4 additions & 4 deletions source/fceultra/fceu.c
Original file line number Diff line number Diff line change
Expand Up @@ -424,28 +424,28 @@ FCEUS FSettings;

void FCEU_printf(char *format, ...)
{
/*char temp[2048];
char temp[2048];

va_list ap;

va_start(ap,format);
vsprintf(temp,format,ap);
FCEUD_Message(temp);

va_end(ap);*/
va_end(ap);
}

void FCEU_PrintError(char *format, ...)
{
/* char temp[2048];
char temp[2048];

va_list ap;

va_start(ap,format);
vsprintf(temp,format,ap);
FCEUD_PrintError(temp);

va_end(ap);*/
va_end(ap);
}

void FCEUI_SetRenderedLines(int ntscf, int ntscl, int palf, int pall)
Expand Down
Loading

0 comments on commit 6527dba

Please sign in to comment.