From a743aa38516df989855e313b41c816fae9843c83 Mon Sep 17 00:00:00 2001 From: Kyan Wanschers Date: Sat, 20 Sep 2025 22:11:05 +0200 Subject: [PATCH] add prefix stuff --- launch.sh | 8 ++++++++ patches/5-pfx.sh | 3 +++ 2 files changed, 11 insertions(+) create mode 100755 launch.sh create mode 100755 patches/5-pfx.sh diff --git a/launch.sh b/launch.sh new file mode 100755 index 0000000..1f11db5 --- /dev/null +++ b/launch.sh @@ -0,0 +1,8 @@ +if [ $# -eq 0 ]; then + echo "Usage: $0 " + exit 1 +fi + +profile="$1" + +WINEPREFIX=/tmp/wacca/$profile/prefix umu-run /tmp/wacca/$profile/game/bin/launch.bat \ No newline at end of file diff --git a/patches/5-pfx.sh b/patches/5-pfx.sh new file mode 100755 index 0000000..738dec2 --- /dev/null +++ b/patches/5-pfx.sh @@ -0,0 +1,3 @@ +WINEPREFIX=$dir/prefix umu-run reg add "HKEY_LOCAL_MACHINE\\Software\\Wine\\Ports" /f /v COM1 /t REG_SZ /d "/dev/tnt0" #aime reader +WINEPREFIX=$dir/prefix umu-run reg add "HKEY_LOCAL_MACHINE\\Software\\Wine\\Ports" /f /v COM3 /t REG_SZ /d "/dev/tnt2" #Console touch left +WINEPREFIX=$dir/prefix umu-run reg add "HKEY_LOCAL_MACHINE\\Software\\Wine\\Ports" /f /v COM4 /t REG_SZ /d "/dev/tnt4" #Console touch right