diff --git a/libretro/cores/Tuprules.tup b/libretro/cores/Tuprules.tup index 48045e0..e34eb78 100644 --- a/libretro/cores/Tuprules.tup +++ b/libretro/cores/Tuprules.tup @@ -73,3 +73,5 @@ endif LINK_T = $(TUP_CWD)/link.T DEFINES += -D__LIBRETRO__ -DFRONTEND_SUPPORTS_RGB565 NO_UNDEFINED = --no-undefined + +LIBRETRO_COMM_DIR = $(TUP_CWD)/../libretro-common diff --git a/libretro/cores/nxengine/Tuprules.tup b/libretro/cores/nxengine/Tuprules.tup index 0af4ccd..33295fa 100644 --- a/libretro/cores/nxengine/Tuprules.tup +++ b/libretro/cores/nxengine/Tuprules.tup @@ -2,13 +2,12 @@ CORE_PKGS += stdcxx libc libm NO_UNDEFINED = # __cxa_... - EXTRACTDIR = $(CORE_DIR)/extract-auto include upstream/Makefile.common -CFLAGS += -O2 -DNDEBUG -CFLAGS += -DHAVE_INTTYPES_H -CFLAGS += -DINLINE="inline" +DEFINES += -O2 -DNDEBUG +DEFINES += -DHAVE_INTTYPES_H +DEFINES += -DINLINE="inline" CFLAGS += -std=gnu11 CXXFLAGS += -fno-rtti -fno-exceptions diff --git a/libretro/cores/nxengine/upstream b/libretro/cores/nxengine/upstream index 399c670..6e0bdc0 160000 --- a/libretro/cores/nxengine/upstream +++ b/libretro/cores/nxengine/upstream @@ -1 +1 @@ -Subproject commit 399c670554ae433d479292a482a3c0461dc15a18 +Subproject commit 6e0bdc07e49f16279eb645c0ac70ef2f94227bc8 diff --git a/libretro/retro_frontend b/libretro/retro_frontend index 434a523..3649862 160000 --- a/libretro/retro_frontend +++ b/libretro/retro_frontend @@ -1 +1 @@ -Subproject commit 434a523034d99ac3522f1a4aaf1e60fafe265703 +Subproject commit 364986225486b2c7f4d7e0d048a0121849caebe2 diff --git a/runtimes/cave_story/Tuprules.tup b/runtimes/cave_story/Tuprules.tup new file mode 100644 index 0000000..56960ce --- /dev/null +++ b/runtimes/cave_story/Tuprules.tup @@ -0,0 +1,3 @@ +: archives |> !archives_to_depot |> {package} +: ../runtime |> !runtime_to_depot |> {package} +: {package} |> !publish_pkg |> diff --git a/runtimes/cave_story/cave_story-en/Tupfile b/runtimes/cave_story/cave_story-en/Tupfile new file mode 100644 index 0000000..4b9cc77 --- /dev/null +++ b/runtimes/cave_story/cave_story-en/Tupfile @@ -0,0 +1,9 @@ +include_rules + +: |> wget --quiet https://www.cavestory.org/downloads/%o |> cavestoryen.zip {zip} + +: {zip} \ + |> unzip -D %f -d tmp ; tar cf %o -C tmp/CaveStory . ; rm -r tmp \ + |> $(DEPOT_RAW_DIR)/%d/2004.12/doukutsu.tar {raw} + +: {raw} |> !publish_raw |> diff --git a/runtimes/cave_story/cave_story-en/archives b/runtimes/cave_story/cave_story-en/archives new file mode 100644 index 0000000..f8dab05 --- /dev/null +++ b/runtimes/cave_story/cave_story-en/archives @@ -0,0 +1,6 @@ +@SDK_USER@/src/vfs/@SDK_VERSION@ +@SDK_USER@/src/libc/@SDK_VERSION@ +@SDK_USER@/src/stdcxx/@SDK_VERSION@ +@DEPOT_USER@/src/retro_frontend/@DEPOT_VERSION@ +@DEPOT_USER@/src/libretro-nxengine/@DEPOT_VERSION@ +@DEPOT_USER@/raw/cave_story-en/2004.12 diff --git a/runtimes/cave_story/runtime b/runtimes/cave_story/runtime new file mode 100644 index 0000000..9895cb3 --- /dev/null +++ b/runtimes/cave_story/runtime @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +