mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-30 14:34:22 +01:00
update makefiles, readme
This commit is contained in:
parent
e6f129332f
commit
654c9b353b
41
Makefile
41
Makefile
@ -1,10 +1,8 @@
|
|||||||
.PHONY = all wii gc wii-clean gc-clean wii-run gc-run specials specials-clean specials-wii specials-gc specials-wii-clean specials-gc-clean
|
.PHONY = all wii gc wii-clean gc-clean wii-run gc-run
|
||||||
|
|
||||||
VERSION := 004
|
|
||||||
|
|
||||||
all: wii gc
|
all: wii gc
|
||||||
|
|
||||||
clean: wii-clean gc-clean specials-clean
|
clean: wii-clean gc-clean
|
||||||
|
|
||||||
wii:
|
wii:
|
||||||
$(MAKE) -f Makefile.wii
|
$(MAKE) -f Makefile.wii
|
||||||
@ -23,38 +21,3 @@ gc-clean:
|
|||||||
|
|
||||||
gc-run:
|
gc-run:
|
||||||
$(MAKE) -f Makefile.gc run
|
$(MAKE) -f Makefile.gc run
|
||||||
|
|
||||||
# Custom Quicksave Versions
|
|
||||||
|
|
||||||
specials: specials-wii specials-gc
|
|
||||||
|
|
||||||
specials-clean: specials-wii-clean specials-gc-clean
|
|
||||||
|
|
||||||
specials-wii:
|
|
||||||
touch source/ngc/snes9xGX.h
|
|
||||||
$(MAKE) "CUSTOMFLAGS:=-DQUICK_SAVE_SLOT=0" "LOADTYPE:='"MCSLOTA"'" "VERSION:=$(VERSION)" -f Makefile.wii
|
|
||||||
touch source/ngc/snes9xGX.h
|
|
||||||
$(MAKE) "CUSTOMFLAGS:=-DQUICK_SAVE_SLOT=1" "LOADTYPE:='"MCSLOTB"'" "VERSION:=$(VERSION)" -f Makefile.wii
|
|
||||||
touch source/ngc/snes9xGX.h
|
|
||||||
$(MAKE) "CUSTOMFLAGS:=-DQUICK_SAVE_SLOT=3" "LOADTYPE:='"SD"'" "VERSION:=$(VERSION)" -f Makefile.wii
|
|
||||||
|
|
||||||
specials-gc:
|
|
||||||
touch source/ngc/snes9xGX.h
|
|
||||||
$(MAKE) "CUSTOMFLAGS:=-DQUICK_SAVE_SLOT=0" "LOADTYPE:='"MCSLOTA"'" "VERSION:=$(VERSION)" -f Makefile.gc
|
|
||||||
touch source/ngc/snes9xGX.h
|
|
||||||
$(MAKE) "CUSTOMFLAGS:=-DQUICK_SAVE_SLOT=1" "LOADTYPE:='"MCSLOTB"'" "VERSION:=$(VERSION)" -f Makefile.gc
|
|
||||||
touch source/ngc/snes9xGX.h
|
|
||||||
$(MAKE) "CUSTOMFLAGS:=-DQUICK_SAVE_SLOT=3" "LOADTYPE:='"SD"'" "VERSION:=$(VERSION)" -f Makefile.gc
|
|
||||||
touch source/ngc/snes9xGX.h
|
|
||||||
$(MAKE) "CUSTOMFLAGS:=-DQUICK_SAVE_SLOT=4" "LOADTYPE:='"SMB"'" "VERSION:=$(VERSION)" -f Makefile.gc
|
|
||||||
|
|
||||||
specials-wii-clean:
|
|
||||||
$(MAKE) "CUSTOMFLAGS:=-DQUICK_SAVE_SLOT=0" "LOADTYPE:='"MCSLOTA"'" "VERSION:=$(VERSION)" -f Makefile.wii clean
|
|
||||||
$(MAKE) "CUSTOMFLAGS:=-DQUICK_SAVE_SLOT=1" "LOADTYPE:='"MCSLOTB"'" "VERSION:=$(VERSION)" -f Makefile.wii clean
|
|
||||||
$(MAKE) "CUSTOMFLAGS:=-DQUICK_SAVE_SLOT=3" "LOADTYPE:='"SD"'" "VERSION:=$(VERSION)" -f Makefile.wii clean
|
|
||||||
|
|
||||||
specials-gc-clean:
|
|
||||||
$(MAKE) "CUSTOMFLAGS:=-DQUICK_SAVE_SLOT=0" "LOADTYPE:='"MCSLOTA"'" "VERSION:=$(VERSION)" -f Makefile.gc clean
|
|
||||||
$(MAKE) "CUSTOMFLAGS:=-DQUICK_SAVE_SLOT=1" "LOADTYPE:='"MCSLOTB"'" "VERSION:=$(VERSION)" -f Makefile.gc clean
|
|
||||||
$(MAKE) "CUSTOMFLAGS:=-DQUICK_SAVE_SLOT=3" "LOADTYPE:='"SD"'" "VERSION:=$(VERSION)" -f Makefile.gc clean
|
|
||||||
$(MAKE) "CUSTOMFLAGS:=-DQUICK_SAVE_SLOT=4" "LOADTYPE:='"SMB"'" "VERSION:=$(VERSION)" -f Makefile.gc clean
|
|
17
Makefile.gc
17
Makefile.gc
@ -1,3 +1,5 @@
|
|||||||
|
VERSION := 005
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# Clear the implicit built in rules
|
# Clear the implicit built in rules
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
@ -9,28 +11,22 @@ endif
|
|||||||
|
|
||||||
include $(DEVKITPPC)/gamecube_rules
|
include $(DEVKITPPC)/gamecube_rules
|
||||||
|
|
||||||
LOADTYPE = "sd"
|
|
||||||
VERSION = "version"
|
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# TARGET is the name of the output
|
# TARGET is the name of the output
|
||||||
# BUILD is the directory where object files & intermediate files will be placed
|
# BUILD is the directory where object files & intermediate files will be placed
|
||||||
# SOURCES is a list of directories containing source code
|
# SOURCES is a list of directories containing source code
|
||||||
# INCLUDES is a list of directories containing extra header files
|
# INCLUDES is a list of directories containing extra header files
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
TARGET := executables/snes9xgx-$(VERSION)-$(LOADTYPE)-gc
|
TARGET := executables/snes9xgx-$(VERSION)-gc
|
||||||
BUILD := build_gc
|
BUILD := build_gc
|
||||||
SOURCES := source/snes9x source/unzip source/ngc source/smb
|
SOURCES := source/snes9x source/ngc
|
||||||
DATA := data
|
DATA := data
|
||||||
INCLUDES := source/snes9x source/unzip source/ngc source/smb
|
INCLUDES := source/snes9x source/ngc
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# options for code generation
|
# options for code generation
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
|
|
||||||
CUSTOMFLAGS = -DQUICK_SAVE_SLOT=1 -DSMB_SVID='"Crunchewy"' \
|
|
||||||
-DSMB_IP='"192.168.1.111"' -DGW_IP='"192.168.1.1"'
|
|
||||||
|
|
||||||
CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) \
|
CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) \
|
||||||
-DNGC -DNO_ASM -DCPU_SHUTDOWN -DSPC700C \
|
-DNGC -DNO_ASM -DCPU_SHUTDOWN -DSPC700C \
|
||||||
-DSPC700_SHUTDOWN -DNEW_COLOUR_BLENDING \
|
-DSPC700_SHUTDOWN -DNEW_COLOUR_BLENDING \
|
||||||
@ -45,7 +41,7 @@ LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map -Wl,--cref
|
|||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# any extra libraries we wish to link with the project
|
# any extra libraries we wish to link with the project
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
LIBS := -lfat -lz -logc -lm -lfreetype -lbba
|
LIBS := -lbba -ltinysmb -lfat -lz -logc -lm -lfreetype
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# list of directories containing libraries, this must be the top level containing
|
# list of directories containing libraries, this must be the top level containing
|
||||||
@ -110,6 +106,7 @@ export OUTPUT := $(CURDIR)/$(TARGET)
|
|||||||
$(BUILD):
|
$(BUILD):
|
||||||
@[ -d $@ ] || mkdir -p $@
|
@[ -d $@ ] || mkdir -p $@
|
||||||
@make --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile.gc
|
@make --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile.gc
|
||||||
|
@rm -fr $(OUTPUT).elf
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
clean:
|
clean:
|
||||||
|
20
Makefile.wii
20
Makefile.wii
@ -1,3 +1,5 @@
|
|||||||
|
VERSION := 005
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# Clear the implicit built in rules
|
# Clear the implicit built in rules
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
@ -9,34 +11,28 @@ endif
|
|||||||
|
|
||||||
include $(DEVKITPPC)/wii_rules
|
include $(DEVKITPPC)/wii_rules
|
||||||
|
|
||||||
LOADTYPE = "sd"
|
|
||||||
VERSION = "version"
|
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# TARGET is the name of the output
|
# TARGET is the name of the output
|
||||||
# BUILD is the directory where object files & intermediate files will be placed
|
# BUILD is the directory where object files & intermediate files will be placed
|
||||||
# SOURCES is a list of directories containing source code
|
# SOURCES is a list of directories containing source code
|
||||||
# INCLUDES is a list of directories containing extra header files
|
# INCLUDES is a list of directories containing extra header files
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
TARGET := executables/snes9xgx-$(VERSION)-$(LOADTYPE)-wii
|
TARGET := executables/snes9xgx-$(VERSION)-wii
|
||||||
BUILD := build_wii
|
BUILD := build_wii
|
||||||
SOURCES := source/snes9x source/unzip source/ngc source/smb
|
SOURCES := source/snes9x source/ngc
|
||||||
DATA := data
|
DATA := data
|
||||||
INCLUDES := source/snes9x source/unzip source/ngc source/smb
|
INCLUDES := source/snes9x source/ngc
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# options for code generation
|
# options for code generation
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
|
|
||||||
CUSTOMFLAGS = -DQUICK_SAVE_SLOT=3 -DSMB_SVID='"Crunchewy"' \
|
|
||||||
-DSMB_IP='"192.168.1.111"' -DGW_IP='"192.168.1.1"'
|
|
||||||
|
|
||||||
CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) \
|
CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) \
|
||||||
-DNGC -DHW_RVL -DNO_ASM -DCPU_SHUTDOWN -DSPC700C \
|
-DNGC -DHW_RVL -DNO_ASM -DCPU_SHUTDOWN -DSPC700C \
|
||||||
-DSPC700_SHUTDOWN -DNEW_COLOUR_BLENDING \
|
-DSPC700_SHUTDOWN -DNEW_COLOUR_BLENDING \
|
||||||
-DNO_INLINE_GET_SET -DSDD1_DECOMP -DCORRECT_VRAM_READS \
|
-DNO_INLINE_GET_SET -DSDD1_DECOMP -DCORRECT_VRAM_READS \
|
||||||
-DDETECT_NASTY_FX_INTERLEAVE -DNGC_ZOOM -DSDUSE_LFN \
|
-DDETECT_NASTY_FX_INTERLEAVE -DNGC_ZOOM -DSDUSE_LFN \
|
||||||
-DFORCE_WII=1 $(CUSTOMFLAGS)\
|
-DFORCE_WII=1 $(CUSTOMFLAGS) \
|
||||||
-fomit-frame-pointer -fno-exceptions -Wno-unused-parameter -pipe
|
-fomit-frame-pointer -fno-exceptions -Wno-unused-parameter -pipe
|
||||||
CXXFLAGS = $(CFLAGS)
|
CXXFLAGS = $(CFLAGS)
|
||||||
|
|
||||||
@ -45,8 +41,7 @@ LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map -Wl,--cref
|
|||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# any extra libraries we wish to link with the project
|
# any extra libraries we wish to link with the project
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
LIBS := -lfat -lwiiuse -lz -lbte -logc -lm -lfreetype
|
LIBS := -lfat -lwiiuse -lz -lbte -logc -lm -lfreetype -ltinysmb
|
||||||
# -logcsys
|
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# list of directories containing libraries, this must be the top level containing
|
# list of directories containing libraries, this must be the top level containing
|
||||||
@ -111,6 +106,7 @@ export OUTPUT := $(CURDIR)/$(TARGET)
|
|||||||
$(BUILD):
|
$(BUILD):
|
||||||
@[ -d $@ ] || mkdir -p $@
|
@[ -d $@ ] || mkdir -p $@
|
||||||
@make --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile.wii
|
@make --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile.wii
|
||||||
|
@rm -fr $(OUTPUT).elf
|
||||||
|
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
clean:
|
clean:
|
||||||
|
29
README.txt
29
README.txt
@ -10,12 +10,37 @@
|
|||||||
———————————————————————————————————————————————————————————————————————•ßrK•
|
———————————————————————————————————————————————————————————————————————•ßrK•
|
||||||
|
|
||||||
×—–—–—–—– –—–—–—–—–—–—–—–—–—–— —–—–—–—–—–—–—–—-—–-–•¬
|
×—–—–—–—– –—–—–—–—–—–—–—–—–—–— —–—–—–—–—–—–—–—-—–-–•¬
|
||||||
|0O×øo· SNES9XGX v004 ·oø×O0|
|
|0O×øo· SNES9XGX v005 ·oø×O0|
|
||||||
`¨•¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨'
|
`¨•¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨¨ ¨¨¨¨¨¨¨¨¨¨¨¨¨'
|
||||||
|
|
||||||
PLEASE NOTE: THIS DOCUMENT IS A WORK IN PROGRESS
|
PLEASE NOTE: THIS DOCUMENT IS A WORK IN PROGRESS
|
||||||
|
|
||||||
[What's New 004]
|
[What's New 005]
|
||||||
|
|
||||||
|
michniewski
|
||||||
|
- added: Superscope/mouse/justifier support, with Wii remote
|
||||||
|
|
||||||
|
Tantric
|
||||||
|
- added: cheats menu! Loads .CHT file from /snes9x/cheats folder,
|
||||||
|
.CHT file name must match file name of ROM
|
||||||
|
- added: load/save preference selector. ROM, SRAM, Freeze, and preferences
|
||||||
|
are saved/loaded according to these
|
||||||
|
- added: preliminary Wii SMB support
|
||||||
|
- added: 'Auto' settings for save/load - attempts to automatically determine
|
||||||
|
your load/save device(s) - SD, USB, Memory Card, DVD, SMB
|
||||||
|
- added: ROM Information page
|
||||||
|
- added: Game Menu - all game-specific options are here now:
|
||||||
|
SRAM save/load, Freeze save/load, game reload, etc
|
||||||
|
- added: Credits page
|
||||||
|
- fixed: sd gecko works now
|
||||||
|
- fixed: full USB support
|
||||||
|
- changed: menu structure
|
||||||
|
- changed: if Home button is pressed when a game is running, Game Menu pops up
|
||||||
|
- changed: if preferences can't be loaded at the start and/or are reset,
|
||||||
|
preferences menu pops up
|
||||||
|
- changed: SRAM load - game reloaded automatically after loading SRAM
|
||||||
|
|
||||||
|
[What Was New 004]
|
||||||
|
|
||||||
- added: option to disable AA filtering
|
- added: option to disable AA filtering
|
||||||
(snes graphics 'crisper', AA now default OFF)
|
(snes graphics 'crisper', AA now default OFF)
|
||||||
|
Loading…
Reference in New Issue
Block a user