Working version of game "Oh Shit"
This commit is contained in:
parent
6acd7a27ff
commit
bef82cb96e
@ -905,6 +905,9 @@ game_launcher() {
|
||||
"${0%/*}/speech/speak_window_title.sh" mw.exe &
|
||||
pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd &
|
||||
fi
|
||||
if [[ "$game" =~ oh-shit ]]; then
|
||||
pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd &
|
||||
fi
|
||||
if [[ "$game" =~ ^bokurano-daibouken-2\| ]]; then
|
||||
"${0%/*}/speech/clipboard_translator.sh" play.exe bokurano-daibouken2 &
|
||||
fi
|
||||
@ -2572,10 +2575,12 @@ EOF
|
||||
;;
|
||||
"Oh Shit")
|
||||
export winVer="win7"
|
||||
download "${ipfsGateway}/ipfs/QmRrX6ZUMWuCRscDJsAHomJPaXJTvEW3BB1z2DPtJEJA3F?filename=oh_shit.zip" "https://stormgames.wolfe.casa/downloads/nvdaControllerClient32.dll"
|
||||
export norh="true" # Requires sapi even though uses nvda
|
||||
download "${ipfsGateway}/ipfs/QmQnAJJrt5uABFziQc7enXYrJ74J9GKQSMi8Ry8ebsxfPV?filename=OhShit.zip" "https://stormgames.wolfe.casa/downloads/nvda2speechd32.dll"
|
||||
install_wine_bottle speechsdk
|
||||
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/oh_shit.zip"
|
||||
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvdaControllerClient32.dll" "{}" \;
|
||||
unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/OhShit.zip"
|
||||
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient32.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \;
|
||||
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \;
|
||||
add_launcher "c:\Program Files\oh_shit\OhShit.exe"
|
||||
;;
|
||||
"Operation BlackSquare")
|
||||
|
Loading…
Reference in New Issue
Block a user