Move the BK3 setup over to 7zip instead of using wine and xdotool.
This commit is contained in:
parent
a2cce62b1f
commit
190a97087a
@ -1655,12 +1655,7 @@ case "${game}" in
|
||||
export winVer="win7"
|
||||
install_wine_bottle
|
||||
download "https://www.nyanchangames.com/softs/nn3_setup.exe" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd32.dll"
|
||||
wine "$cache/nn3_setup.exe" &
|
||||
xdotool sleep 10 key --clearmodifiers --delay=75 ctrl+a
|
||||
xdotool sleep 1 key --clearmodifiers --delay=75 BackSpace
|
||||
xdotool sleep 1 type --delay=75 'c:\nyanchangame\bk3'
|
||||
xdotool sleep 1 key --clearmodifiers --delay=75 Return
|
||||
wineserver -w
|
||||
7z x -o"$WINEPREFIX/drive_c/nyanchangame/bk3" "${cache}/nn3_setup.exe"
|
||||
find "${WINEPREFIX}" -type f -name 'nvdaControllerClient.dll' -exec cp -v "${cache}/nvda2speechd32.dll" "{}" \;
|
||||
add_launcher "c:\nyanchangame\bk3\play.exe"
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user