From 674e64de2707f04b8b585caefef009a0443e8706 Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Fri, 18 Oct 2024 15:12:34 -0400 Subject: [PATCH] Slow Damage --- Slow Damage/.gitignore | 2 ++ Slow Damage/README.md | 3 +++ Slow Damage/env | 8 ++++++++ Slow Damage/run | 7 +++++++ Slow Damage/setup | 5 +++++ 5 files changed, 25 insertions(+) create mode 100644 Slow Damage/.gitignore create mode 100644 Slow Damage/README.md create mode 100755 Slow Damage/env create mode 100755 Slow Damage/run create mode 100755 Slow Damage/setup diff --git a/Slow Damage/.gitignore b/Slow Damage/.gitignore new file mode 100644 index 0000000..391987f --- /dev/null +++ b/Slow Damage/.gitignore @@ -0,0 +1,2 @@ +bin +wine diff --git a/Slow Damage/README.md b/Slow Damage/README.md new file mode 100644 index 0000000..300b3bd --- /dev/null +++ b/Slow Damage/README.md @@ -0,0 +1,3 @@ +#### Slow Damage + +Extract Slow Damages game files into the `bin` directory. Then run `setup`. diff --git a/Slow Damage/env b/Slow Damage/env new file mode 100755 index 0000000..b0a7e23 --- /dev/null +++ b/Slow Damage/env @@ -0,0 +1,8 @@ +#!/bin/sh + +wineserver -k +export STEAM_TEMP_DIR="$(pwd)/wine" +mkdir -p "$STEAM_TEMP_DIR" +export STEAM_COMPAT_DATA_PATH="$STEAM_TEMP_DIR" +export STEAM_COMPAT_CLIENT_INSTALL_PATH="$STEAM_TEMP_DIR" +export PROTON="$HOME/.local/share/Steam/steamapps/common/Proton - Experimental/proton" diff --git a/Slow Damage/run b/Slow Damage/run new file mode 100755 index 0000000..a7f00f7 --- /dev/null +++ b/Slow Damage/run @@ -0,0 +1,7 @@ +#!/bin/sh + +source ./env + +cd 'wine/pfx/drive_c/Program Files (x86)/Slow Damage' && \ + "$PROTON" run 'slow_damage_en.exe' + diff --git a/Slow Damage/setup b/Slow Damage/setup new file mode 100755 index 0000000..ab21ac3 --- /dev/null +++ b/Slow Damage/setup @@ -0,0 +1,5 @@ +#!/bin/sh + +source ./env + +"$PROTON" run ./bin/setup.exe