Added Shadow Line. It is commented out though because I still have to deal with the installer. If you want to play it, uncomment and when the installer pops up press enter 3 times and wait about 5 minutes, then press enter again and the game will launch. Close it and relaunch from the agm launcher.

This commit is contained in:
Storm Dragon 2022-10-05 03:48:16 -04:00
parent f25d5d4b90
commit cc05b931fb
2 changed files with 14 additions and 1 deletions

View File

@ -778,6 +778,9 @@ game_launcher() {
if [[ "$game" =~ ^bokurano-daibouken\||bokurano-daibouken-2\| ]]; then if [[ "$game" =~ ^bokurano-daibouken\||bokurano-daibouken-2\| ]]; then
"${0%/*}/speech/clipboard_translator.sh" play.exe & "${0%/*}/speech/clipboard_translator.sh" play.exe &
fi fi
if [[ "$game" =~ hadow-line ]]; then
"${0%/*}/speech/clipboard_translator.sh" play_sr.exe &
fi
if [[ "$game" =~ bokurano-daibouken-3 ]]; then if [[ "$game" =~ bokurano-daibouken-3 ]]; then
pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd & pgrep -u "$USER" nvda2speechd &> /dev/null || ${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd &
dictPath="$(winepath "${winePath}")" dictPath="$(winepath "${winePath}")"
@ -1041,6 +1044,7 @@ gameList=(
"Sequence Storm" "Sequence Storm"
#"Shades of Doom 1.2" #"Shades of Doom 1.2"
"Shades of Doom" "Shades of Doom"
#"Shadow Line"
"Shooter" "Shooter"
"Silver Dollar" "Silver Dollar"
"Slender Lost Vision" "Slender Lost Vision"
@ -2429,6 +2433,15 @@ EOF
wine "${cache}/sod20022.exe" /silent wine "${cache}/sod20022.exe" /silent
add_launcher "c:\Program Files\Shades of Doom 2.0\sod.exe" add_launcher "c:\Program Files\Shades of Doom 2.0\sod.exe"
;; ;;
"Shadow Line")
export winVer="win7"
install_wine_bottle
download "https://www.mm-galabo.com/sr/Download_files_srfv/shadowrine_fullvoice3.171.exe"
wine "${cache}/shadowrine_fullvoice3.171.exe" /sp- &
wineserver -w
find "${WINEPREFIX}/drive_c/Program Files" -type f -name 'nvdaControllerClient.dll' -exec rm -v "{}" \;
add_launcher "c:\Program Files\GalaxyLaboratory\ShadowRine_FullVoice\play_sr.exe"
;;
"Silver Dollar") "Silver Dollar")
export winVer="win7" export winVer="win7"
install_wine_bottle speechsdk install_wine_bottle speechsdk

View File

@ -45,7 +45,7 @@ while pgrep -u "$USER" ^$1 &> /dev/null ; do
echo "" | xclip -d "${DISPLAY:-:0}" -selection clipboard 2> /dev/null echo "" | xclip -d "${DISPLAY:-:0}" -selection clipboard 2> /dev/null
continue continue
fi fi
translatedText="$(trans -b -- "$newText")" translatedText="$(trans -no-autocorrect -b -- "$newText")"
if ! [[ "${newText}" =~ ^[0-9[:punct:]]+$ ]]; then if ! [[ "${newText}" =~ ^[0-9[:punct:]]+$ ]]; then
echo "${newText})==:[${translatedText}" >> "$dictionaryFile" echo "${newText})==:[${translatedText}" >> "$dictionaryFile"
fi fi