Star Wars: Jedi Knight: Jedi Academy
Informations
| Creator | Nachricht | 
|---|---|
| Quentin PÂRIS   
 | InformationThis installer has been approved by the team. InformationsPlatforms:   Feedbacks0 1 Source code#!/bin/bash
# CHANGELOG
# [Quentin PÂRIS] (2012-04-29 13-09)
#   Updated to PlayOnLinux v4
# [SuperPlumus] (2015-08-02 20-13)
#   Update wine version to 1.7.48
#   Fix bug (incorrect argumentas) in POL_Wine_InstallCDROMCustom
#   Update title variable
#   Partial clean code
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Star Wars: Jedi Knight: Jedi Academy"
PREFIX="JediKnightAcademy"
STEAM_ID="6020"
POL_GetSetupImages "" "$SITE/setups/jka/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE"
POL_SetupWindow_presentation "$TITLE" "LucasArts" "http://www.lucasarts.com" "Quentin PÂRIS" "$PREFIX"
POL_SetupWindow_InstallMethod "CD,STEAM"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.48"
POL_System_TmpCreate "JediKnightAcademy"
if [ "$INSTALL_METHOD" = "CD" ]; then
    POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE"
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "GameData/Setup.exe"
    POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2522356"
    chmod -R 777 "$POL_System_TmpDir"
    POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
    POL_SetupWindow_message "$(eval_gettext 'Please insert the second game media into your disk drive')" "$TITLE"
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "GameData/data3.cab"
    POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2522356"
    chmod -R 777 "$POL_System_TmpDir"
    POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE"
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "GameData/Setup.exe"
    POL_Wine_InstallCDROMCustom "p" "$POL_System_TmpDir"
    POL_Wine "$POL_System_TmpDir/GameData/Setup.exe"
    POL_Wine_reboot
elif [ "$INSTALL_METHOD" = "STEAM" ]; then
    POL_Call POL_Install_steam
    POL_Call POL_Install_steam_flags "$STEAM_ID"
    POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" || POL_Debug_Fatal "Unable to change directory : \$WINEPREFIX/drive_c/\$PROGRAMFILES/Steam"
    POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
    POL_Wine_WaitExit "$TITLE"
fi
POL_System_TmpDelete
POL_Shortcut "JediAcademy.exe" "Jedi Knight Academy"
POL_SetupWindow_message "Installation is finished\n\nYou need to patch the game to run it" "$TITLE"
POL_SetupWindow_Close
exit 0
 | 
Contributions
Filters:
Contribute| Member | Nachricht | 
| SuperPlumus | Sunday 2 August 2015 at 20:28 | 
| SuperPlumus   
 | InformationThis update has been approved by the team. Nachricht@whatwhat Hello, Please test the attached script with the latest wine version 1.7.48, and tell me if it works properly. Thank you for report. Differences@@ -1,13 +1,18 @@ #!/bin/bash -# [Quentin PÂRIS] (2012-04-29 13:09) +# CHANGELOG +# [Quentin PÂRIS] (2012-04-29 13-09) # Updated to PlayOnLinux v4 +# [SuperPlumus] (2015-08-02 20-13) +# Update wine version to 1.7.48 +# Fix bug (incorrect argumentas) in POL_Wine_InstallCDROMCustom +# Update title variable +# Partial clean code -# CHANGELOG [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" -TITLE="Star Wars : Jedi Knight: Jedi Academy" +TITLE="Star Wars: Jedi Knight: Jedi Academy" PREFIX="JediKnightAcademy" STEAM_ID="6020" @@ -21,49 +26,48 @@ POL_SetupWindow_InstallMethod "CD,STEAM" POL_Wine_SelectPrefix "$PREFIX" -POL_Wine_PrefixCreate "1.2.3" +POL_Wine_PrefixCreate "1.7.48" POL_System_TmpCreate "JediKnightAcademy" if [ "$INSTALL_METHOD" = "CD" ]; then - POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE" - POL_SetupWindow_cdrom - POL_SetupWindow_check_cdrom "GameData/Setup.exe" - POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2522356" - chmod -R 777 "$POL_System_TmpDir" - POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE" - - POL_SetupWindow_message "$(eval_gettext 'Please insert the second game media into your disk drive')" "$TITLE" - POL_SetupWindow_cdrom - POL_SetupWindow_check_cdrom "GameData/data3.cab" - - POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2522356" - chmod -R 777 "$POL_System_TmpDir" - POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE" - - POL_Wine_WaitBefore "$TITLE" - - POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE" - POL_SetupWindow_cdrom - POL_SetupWindow_check_cdrom "GameData/Setup.exe" - POL_Wine_InstallCDROMCustom "$POL_System_TmpDir" - - POL_Wine "$POL_System_TmpDir/GameData/Setup.exe" - - POL_Wine_reboot + POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE" + POL_SetupWindow_cdrom + POL_SetupWindow_check_cdrom "GameData/Setup.exe" + POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2522356" + chmod -R 777 "$POL_System_TmpDir" + POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE" + + POL_SetupWindow_message "$(eval_gettext 'Please insert the second game media into your disk drive')" "$TITLE" + POL_SetupWindow_cdrom + POL_SetupWindow_check_cdrom "GameData/data3.cab" + + POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2522356" + chmod -R 777 "$POL_System_TmpDir" + POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE" + + POL_Wine_WaitBefore "$TITLE" + + POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE" + POL_SetupWindow_cdrom + POL_SetupWindow_check_cdrom "GameData/Setup.exe" + POL_Wine_InstallCDROMCustom "p" "$POL_System_TmpDir" + + POL_Wine "$POL_System_TmpDir/GameData/Setup.exe" + + POL_Wine_reboot +elif [ "$INSTALL_METHOD" = "STEAM" ]; then + POL_Call POL_Install_steam + POL_Call POL_Install_steam_flags "$STEAM_ID" + POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE" + cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" || POL_Debug_Fatal "Unable to change directory : \$WINEPREFIX/drive_c/\$PROGRAMFILES/Steam" + POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID + POL_Wine_WaitExit "$TITLE" fi -if [ "$INSTALL_METHOD" = "STEAM" ]; then - POL_Call POL_Install_steam - POL_Call POL_Install_steam_flags "$STEAM_ID" - POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE" - cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" || POL_Debug_Fatal "Unable to change directory : \$WINEPREFIX/drive_c/\$PROGRAMFILES/Steam" - POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID - POL_Wine_WaitExit "$TITLE" -fi POL_System_TmpDelete POL_Shortcut "JediAcademy.exe" "Jedi Knight Academy" POL_SetupWindow_message "Installation is finished\n\nYou need to patch the game to run it" "$TITLE" POL_SetupWindow_Close -exit 0 \ No newline at end of file +exit 0 New source code#!/bin/bash
# CHANGELOG
# [Quentin PÂRIS] (2012-04-29 13-09)
#   Updated to PlayOnLinux v4
# [SuperPlumus] (2015-08-02 20-13)
#   Update wine version to 1.7.48
#   Fix bug (incorrect argumentas) in POL_Wine_InstallCDROMCustom
#   Update title variable
#   Partial clean code
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Star Wars: Jedi Knight: Jedi Academy"
PREFIX="JediKnightAcademy"
STEAM_ID="6020"
POL_GetSetupImages "" "$SITE/setups/jka/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_Debug_Init
POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE"
POL_SetupWindow_presentation "$TITLE" "LucasArts" "http://www.lucasarts.com" "Quentin PÂRIS" "$PREFIX"
POL_SetupWindow_InstallMethod "CD,STEAM"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.7.48"
POL_System_TmpCreate "JediKnightAcademy"
if [ "$INSTALL_METHOD" = "CD" ]; then
    POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE"
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "GameData/Setup.exe"
    POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2522356"
    chmod -R 777 "$POL_System_TmpDir"
    POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
    POL_SetupWindow_message "$(eval_gettext 'Please insert the second game media into your disk drive')" "$TITLE"
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "GameData/data3.cab"
    POL_System_CopyDirectory "$CDROM" "$POL_System_TmpDir" "2522356"
    chmod -R 777 "$POL_System_TmpDir"
    POL_SetupWindow_wait "$(eval_gettext 'Please wait...')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_SetupWindow_message "$(eval_gettext 'Please insert the first game media into your disk drive')" "$TITLE"
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "GameData/Setup.exe"
    POL_Wine_InstallCDROMCustom "p" "$POL_System_TmpDir"
    POL_Wine "$POL_System_TmpDir/GameData/Setup.exe"
    POL_Wine_reboot
elif [ "$INSTALL_METHOD" = "STEAM" ]; then
    POL_Call POL_Install_steam
    POL_Call POL_Install_steam_flags "$STEAM_ID"
    POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam" || POL_Debug_Fatal "Unable to change directory : \$WINEPREFIX/drive_c/\$PROGRAMFILES/Steam"
    POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
    POL_Wine_WaitExit "$TITLE"
fi
POL_System_TmpDelete
POL_Shortcut "JediAcademy.exe" "Jedi Knight Academy"
POL_SetupWindow_message "Installation is finished\n\nYou need to patch the game to run it" "$TITLE"
POL_SetupWindow_Close
exit 0
AntwortenMonday 3 August 2015 at 8:49                                                                                     Tuesday 4 August 2015 at 22:41                                                                                     Wednesday 5 August 2015 at 3:16                                                                                     Wednesday 27 November 2019 at 8:52                                                                                     | 
| whatwhat | Sunday 2 August 2015 at 4:22 | 
| whatwhat   
 | NachrichtSteam does not currently work, needs a newer version of wine to function. AntwortenSunday 2 August 2015 at 20:30                                                                                     | 
This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com
 Install this program
 Install this program                        