Files updated.

This commit is contained in:
Storm Dragon
2025-07-13 12:57:02 -04:00
parent 423da45ef3
commit 1a3656c85a
10 changed files with 2924 additions and 19 deletions
+3
View File
@@ -108,6 +108,9 @@ case "$GAME" in
done
nmtui-connect
;;
"Install to Disk")
/usr/local/bin/install_to_disk.sh
;;
*".md") /usr/bin/markdown -toc "$GAME" | /usr/bin/w3m -T text/html ;;
"/usr/bin/"*) $GAME ;;
esac
File diff suppressed because it is too large Load Diff
+1
View File
@@ -0,0 +1 @@
*.zip filter=lfs diff=lfs merge=lfs -text
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+43 -18
View File
@@ -4,11 +4,16 @@
fex_load() {
local gameDir="$1"
local exeName="$2"
export FEX_NO_SANDBOX=1
export MESA_GL_VERSION_OVERRIDE=3.2
export SPD_SOCKET=/run/user/1000/speech-dispatcher/speechd.sock
pushd "$HOME/.local/games/$gameDir"
FEX_NO_SANDBOX=1 MESA_GL_VERSION_OVERRIDE=3.2 BOX64_DYNAREC_STRONGMEM=1 DISPLAY=:0 FEXLoader ./$exeName
if [[ "$(uname -m)" != "x86_64" ]]; then
export FEX_NO_SANDBOX=1
export MESA_GL_VERSION_OVERRIDE=3.2
FEX_NO_SANDBOX=1 MESA_GL_VERSION_OVERRIDE=3.2 BOX64_DYNAREC_STRONGMEM=1 DISPLAY=:0 FEXLoader ./$exeName
else
export MESA_GL_VERSION_OVERRIDE=3.2
MESA_GL_VERSION_OVERRIDE=3.2 DISPLAY=:0 ./$exeName
fi
popd
}
@@ -18,12 +23,22 @@ run_wine() {
local exeName="$2"
local needNvda="${3:-}"
pushd "$HOME/.local/games/$gameDir"
if [[ ${#needNvda} > 1 ]]; then
systemctl --user start ${needNvda}.service
FEXBash -c "wine \"$exeName\""
systemctl --user stop ${needNvda}.service
if [[ "$(uname -m)" != "x86_64" ]]; then
if [[ ${#needNvda} > 1 ]]; then
systemctl --user start ${needNvda}.service
FEXBash -c "wine \"$exeName\""
systemctl --user stop ${needNvda}.service
else
FEXBash -c "wine $exeName"
fi
else
FEXBash -c "wine $exeName"
if [[ ${#needNvda} > 1 ]]; then
systemctl --user start ${needNvda}.service
wine "$exeName"
systemctl --user stop ${needNvda}.service
else
wine "$exeName"
fi
fi
popd
}
@@ -123,10 +138,12 @@ fi
[ -f /etc/xprofile ] && . /etc/xprofile
[ -f ~/.xprofile ] && . ~/.xprofile
export BOX64_PATH="$HOME/.fex-emu/RootFS/ArchLinux/usr/bin"
export BOX64_NOBANNER=1
if [[ "$(uname -m)" != "x86_64" ]]; then
export BOX64_PATH="$HOME/.fex-emu/RootFS/ArchLinux/usr/bin"
export BOX64_NOBANNER=1
export BOX64_DYNAREC_STRONGMEM=1
fi
export MESA_GL_VERSION_OVERRIDE=3.2
export BOX64_DYNAREC_STRONGMEM=1
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
export DBUS_SESSION_BUS_PID
exec dwm &
@@ -178,10 +195,6 @@ case "$GAME" in
"Brave")
run_web "" # Runs brave without a specific URL
;;
"Calamares")
orca &
exec calamares
;;
"Challenge of the Horse")
run_wine "Challenge of the Horse" "game.exe" "nvda2speechd"
;;
@@ -206,7 +219,11 @@ case "$GAME" in
;;
"Fantasy Story 2")
pushd "/home/stormux/.local/games/Fantasy Story 2/FS2_3.0_Linux"
FEXBash './fs2.x86_64'
if [[ "$(uname -m)" != "x86_64" ]]; then
FEXBash './fs2.x86_64'
else
'./fs2.x86_64'
fi
popd
;;
"Golf")
@@ -287,7 +304,11 @@ case "$GAME" in
run_wine "Super Liam" "sl.exe"
;;
"The Blind Swordsman")
FEXBash -c 'wine ~/.local/games/TheBlindSwordsman.exe'
if [[ "$(uname -m)" != "x86_64" ]]; then
FEXBash -c 'wine ~/.local/games/TheBlindSwordsman.exe'
else
wine ~/.local/games/TheBlindSwordsman.exe
fi
;;
"The Tornado Chicken")
fex_load "The Tornado Chicken" "Ttc"
@@ -306,7 +327,11 @@ case "$GAME" in
cp ~/.local/games/nvda/nvdaControllerClient64.dll ~/.local/games/ToyMania/lib/nvdaControllerClient64.dll
systemctl --user start nvda2speechd-important.service
pushd ~/.local/games/ToyMania
exec FEXBash -c 'wine ./tm.exe'
if [[ "$(uname -m)" != "x86_64" ]]; then
exec FEXBash -c 'wine ./tm.exe'
else
exec wine ./tm.exe
fi
popd
systemctl --user stop nvda2speechd-important.service
else