diff --git a/data/Tupfile.lua b/data/Tupfile.lua index b6d303825a..15d2b8c7df 100644 --- a/data/Tupfile.lua +++ b/data/Tupfile.lua @@ -139,6 +139,16 @@ extra_files = { {"kolibrios/games/fara/fara.gfx", "common/games/fara.gfx"}, {"kolibrios/games/jumpbump/", "common/games/jumpbump/*"}, {"kolibrios/games/lrl/", "common/games/lrl/*"}, + {"kolibrios/games/rstearth/barret_8bpp.png", PROGS .. "/games/rstearth/barret_8bpp.png"}, + {"kolibrios/games/rstearth/base_8bpp.png", PROGS .. "/games/rstearth/base_8bpp.png"}, + {"kolibrios/games/rstearth/death_8bpp.png", PROGS .. "/games/rstearth/death_8bpp.png"}, + {"kolibrios/games/rstearth/ifrit_8bpp.png", PROGS .. "/games/rstearth/ifrit_8bpp.png"}, + {"kolibrios/games/rstearth/miku_8bpp.png", PROGS .. "/games/rstearth/miku_8bpp.png"}, + {"kolibrios/games/rstearth/red_brick_8bpp.png", PROGS .. "/games/rstearth/red_brick_8bpp.png"}, + {"kolibrios/games/rstearth/skeleton_8bpp.png", PROGS .. "/games/rstearth/skeleton_8bpp.png"}, + {"kolibrios/games/rstearth/white_brick_8bpp.png", PROGS .. "/games/rstearth/white_brick_8bpp.png"}, + {"kolibrios/games/rstearth/flaunch.wav", PROGS .. "/games/rstearth/flaunch.wav"}, + {"kolibrios/games/rstearth/walking_with_poseidon.wav", PROGS .. "/games/rstearth/walking_with_poseidon.wav"}, {"kolibrios/lib/avcodec-55.dll", "common/lib/avcodec-55.dll"}, {"kolibrios/lib/avdevice-55.dll", "common/lib/avdevice-55.dll"}, {"kolibrios/lib/avformat-55.dll", "common/lib/avformat-55.dll"}, @@ -398,6 +408,7 @@ tup.append_table(extra_files, { {"HD_Load/USB_Boot/", PROGS .. "/hd_load/usb_boot/setmbr.exe"}, {"HD_Load/USB_boot_old/", PROGS .. "/hd_load/usb_boot_old/MeOSload.com"}, {"HD_Load/USB_boot_old/", PROGS .. "/hd_load/usb_boot_old/enable.exe"}, + {"kolibrios/games/rstearth/rstearth", PROGS .. "/games/rstearth/rstearth"}, {"kolibrios/media/zsea/zsea", PROGS .. "/media/zsea/zSea"}, {"kolibrios/media/zsea/plugins/cnv_bmp.obj", PROGS .. "/media/zsea/plugins/bmp/cnv_bmp.obj"}, {"kolibrios/media/zsea/plugins/cnv_gif.obj", PROGS .. "/media/zsea/plugins/gif/cnv_gif.obj"}, diff --git a/programs/games/rstearth/Tupfile.lua b/programs/games/rstearth/Tupfile.lua new file mode 100644 index 0000000000..005428d92f --- /dev/null +++ b/programs/games/rstearth/Tupfile.lua @@ -0,0 +1,3 @@ +if tup.getconfig("NO_FASM") ~= "" then return end +tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "en" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"}) +tup.rule({"rstearth.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "rstearth")