Fix BK# some more.

The translations are now copied into place.
This commit is contained in:
2025-09-11 14:56:23 -04:00
parent 7bc480fbbc
commit 1e3a368881

View File

@@ -1,5 +1,10 @@
source "${0%/*}/../.includes/dialog-interface.sh"
download "https://www.nyanchangames.com/softs/nn3_setup.exe"
# Uses standard wine path based on architecture (win32/win64)
export winVer="win7"
export WINEARCH=win32
install_wine_bottle
install_with_progress 7z "Extracting game files..." x -o"$WINEPREFIX/drive_c/nyanchangame/bk3" "${cache}/nn3_setup.exe"
if [[ ! -r "${cache}/bk3-dict.dat" ]]; then
echo "http://www.nyanchangames.com/order/bk3translate.html" | xclip -selection clipboard 2> /dev/null
agm_msgbox "Bokurano Daibouken 3" "Bokurano Daibouken 3" "If you would like English translations, the file is available at http://www.nyanchangames.com/order/bk3translate.html. Save the dict.dat file to your Downloads or Desktop directory. For convenience the url has been copied to your clipboard. Press enter when you are ready to continue."
@@ -13,10 +18,7 @@ done
if [[ "${#dictFile}" -ge 3 ]] && [[ ! -r "${cache}/bk3-dict.dat" ]]; then
agm_yesno "Bokurano Daibouken 3" "Bokurano Daibouken 3" "Possible English translation file found at $dictFile. Would you like to use it for BK3?" && cp -fv "$dictFile" "${cache}/bk3-dict.dat"
fi
download "https://www.nyanchangames.com/softs/nn3_setup.exe"
# Uses standard wine path based on architecture (win32/win64)
export winVer="win7"
export WINEARCH=win32
install_wine_bottle
install_with_progress 7z "Extracting game files..." x -o"$WINEPREFIX/drive_c/nyanchangame/bk3" "${cache}/nn3_setup.exe"
if [[ -f "${cache}/bk3-dict.dat" ]] ; then
cp -fv "${cache}/bk3-dict.dat" "${WINEPREFIX}/drive_c/nyanchangame/bk3/dict.dat"
fi
add_launcher "c:\nyanchangame\bk3\play.exe"