add prefix stuff

This commit is contained in:
Kyan 2025-09-20 22:11:05 +02:00 committed by Kyan Wanschers
parent 58e64d3a28
commit 8712807dec
2 changed files with 11 additions and 0 deletions

8
launch.sh Executable file
View file

@ -0,0 +1,8 @@
if [ $# -eq 0 ]; then
echo "Usage: $0 <profile>"
exit 1
fi
profile="$1"
WINEPREFIX=/tmp/wacca/$profile/prefix umu-run /tmp/wacca/$profile/game/bin/launch.bat

3
patches/5-pfx.sh Executable file
View file

@ -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