diff --git a/engines/relentless-frontier/LICENSE b/engines/relentless-frontier/LICENSE new file mode 100644 index 000000000..77167d906 --- /dev/null +++ b/engines/relentless-frontier/LICENSE @@ -0,0 +1,17 @@ +Copyright (c) 2019 Patryk Obara + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any damages +arising from the use of this software. + +Permission is granted to anyone to use this software for any purpose, +including commercial applications, and to alter it and redistribute it +freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. +2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. +3. This notice may not be removed or altered from any source distribution. diff --git a/engines/relentless-frontier/assets/run-gzdoom.sh b/engines/relentless-frontier/assets/run-gzdoom.sh new file mode 100755 index 000000000..c9b0a286e --- /dev/null +++ b/engines/relentless-frontier/assets/run-gzdoom.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +export SteamDeck="" +unset SteamDeck + +LD_LIBRARY_PATH="lib:$LD_LIBRARY_PATH" ./rfgzdoom "$@" diff --git a/engines/relentless-frontier/build.sh b/engines/relentless-frontier/build.sh new file mode 100755 index 000000000..4c51df7ab --- /dev/null +++ b/engines/relentless-frontier/build.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +# From https://gitlab.com/luxtorpeda/packages/gzdoom - See LICENSE file for more information +# CLONE PHASE +git clone https://github.com/Waffle-Iron-Studios/Griddle.git source +pushd source +git checkout "$COMMIT_HASH" +popd + +# BUILD PHASE +pushd "source" +mkdir -p build +cd build +cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_PREFIX_PATH="$pfx" \ + .. +make -j "$(nproc)" +popd + +# COPY PHASE +cp -rfv "source/build"/{rfgzdoom,soundfonts,*.pk3} "$diststart/common/dist/" +cp -rfv assets/* "$diststart/common/dist/" + +ln -rsf "$diststart/common/dist/lib/libfluidsynth.so.3" "$diststart/common/dist/lib/libfluidsynth.so.2" diff --git a/engines/relentless-frontier/env.json b/engines/relentless-frontier/env.json new file mode 100644 index 000000000..026803619 --- /dev/null +++ b/engines/relentless-frontier/env.json @@ -0,0 +1,17 @@ +{ + "STEAM_APP_ID_LIST": [ + "1677900" + ], + "LICENSE_PATH": "./source/LICENSE", + "ADDITIONAL_LICENSES": [ + "./LICENSE" + ], + "COMMON_PACKAGE": true, + "LIBRARIES": [ + "zmusic" + ], + "APT_LIBRARIES": [ + "mercurial" + ], + "COMMIT_HASH": "7b52b6c" +} diff --git a/engines/relentless-frontier/vcpkg.json b/engines/relentless-frontier/vcpkg.json new file mode 100644 index 000000000..73b1e6ca7 --- /dev/null +++ b/engines/relentless-frontier/vcpkg.json @@ -0,0 +1,7 @@ +{ + "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json", + "dependencies": [ + { "name": "fluidsynth", "features": ["pulseaudio"] }, + "libwebp" + ] +} diff --git a/metadata/packagessniper_v2.json b/metadata/packagessniper_v2.json index 1d87859cb..e074652bb 100644 --- a/metadata/packagessniper_v2.json +++ b/metadata/packagessniper_v2.json @@ -9052,6 +9052,32 @@ "cloudAvailable": true, "cloudSupported": true, "app_id": "1678420" + }, + { + "game_name": "Relentless Frontier", + "download": [], + "command": "./run-gzdoom-local.sh", + "command_args": [ + "-iwad", + "Content/RF.ipk3", + "-file", + "Content/griddle_rf.pk3", + "-file", + "Content/PK3/RF_Data.pk3", + "-config", + "gzdoom.ini", + "-savedir", + "./Content/Save" + ], + "notices": [ + { + "key": "saves", + "value": "save_game_dir" + } + ], + "engine_name": "RFGZDoom", + "cloudNotAvailable": true, + "app_id": "1677900" } ], "engines": [ @@ -9148,6 +9174,17 @@ ], "internal_engine_name": "gzdoom" }, + { + "engine_link": "https://github.com/Waffle-Iron-Studios/Griddle/tree/rf-version", + "version": "7b52b6c", + "author": "dreamer/d10sfan", + "author_link": "https://github.com/dreamer", + "license": "GPLv3", + "license_link": "https://github.com/Waffle-Iron-Studios/Griddle/blob/rf-version/LICENSE", + "controllerSupported": true, + "engine_name": "RFGZDoom", + "internal_engine_name": "rfgzdoom" + }, { "engine_link": "https://github.com/Youda008/DoomRunner", "version": "1.8.2", @@ -11206,4 +11243,4 @@ "value": "Save Format Not Compatible" } ] -} \ No newline at end of file +}