Estas Aqui > Les forums > Your creations. > Broken Sword (GoG)
| Nuevo tema - Responder |
| Autor | Respuestas |
| petch | Lunes 6 Febrero 2012 a las 22:46 - [Citar] |
Scripteur![]() ![]() |
Hi all,
After spending roughly a week translating scriptwriter documentation, back to providing some scripts... I know that a script for Broken Sword 1 (by GoG) already exists, but I wanted to write a consistent set of scripts for the whole serie, so I also wrote one for the first episode. Sadly, I discovered that the 4th episode doesn't run (yet, hopefully) under Wine, so I can only provide 3 scripts... Enjoy! Broken Sword 1 (Director's Cut): https://raw.github.com/petchema/playonlinux/dev/brokensword1dc-gog #!/bin/bash # Date : (2012-01-29 17-31) # Last revision : (2012-02-02 23-35) # Wine version used : 1.4-rc2 # Distribution used to test : Debian Sid (Unstable) # Author : Pierre Etchemaite petchema@concept-micro.com # Script licence : GPL v.2 # Program licence : Retail # Depend : # Tested with install archives: # setup_broken_sword_directors_cut.exe 1217398155 "27b2f01bfd65ea1a20054c73aee8d4db" [ -z "$PLAYONLINUX" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="BrokenSword1DC_gog" WORKING_WINE_VERSION="1.4-rc2" INSTALLBIN="setup_broken_sword_directors_cut.exe" TITLE="$(eval_gettext 'Broken Sword: Shadow of the Templars (DC) (GoG release)')" URL="http://www.gog.com/en/gamecard/broken_sword_directors_cut" SHORTCUT_NAME="Broken Sword 1: Shadow of the Templars" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Revolution Software" "$URL" "Pierre Etchemaite" "$PREFIX" POL_SetupWindow_question "$(eval_gettext 'Do you want to download $TITLE from GOG.com?')" "$TITLE" [ "$APP_ANSWER" = "TRUE" ] && POL_Browser "$URL" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" cd $HOME POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "$INSTALLBIN" ARCHIVE="$APP_ANSWER" POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE" # Prevent GoG installer from installing Acrobat Reader or Foxit in each prefix POL_Call POL_Function_SetNativeExtension "pdf" POL_Wine start /unix "$ARCHIVE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing archive')" POL_Wine_WaitExit "$TITLE" # GoG work! Set_OS winxp POL_SetupWindow_VMS "64" # Doesn't hurt ;) POL_Wine_reboot POL_Shortcut "bs1dc.exe" "$SHORTCUT_NAME" POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/Broken Sword - Director's Cut/manual.pdf" POL_SetupWindow_Close exit |
| petch | Lunes 6 Febrero 2012 a las 22:47 - [Citar] |
Scripteur![]() ![]() |
Broken Sword 2 (Director's Cut):
https://raw.github.com/petchema/playonlinux/dev/brokensword2dc-gog #!/bin/bash # Date : (2012-01-29 18-29) # Last revision : (2012-02-02 23-35) # Wine version used : 1.4-rc2 # Distribution used to test : Debian Sid (Unstable) # Author : Pierre Etchemaite petchema@concept-micro.com # Script licence : GPL v.2 # Program licence : Retail # Depend : # Tested with install archives: # setup_broken_sword_2_dc.exe 1296672811 "4cfe3858334e36c85cb6954362afc4a5" [ -z "$PLAYONLINUX" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="BrokenSword2DC_gog" WORKING_WINE_VERSION="1.4-rc2" INSTALLBIN="setup_broken_sword_2_dc.exe" TITLE="$(eval_gettext 'Broken Sword II: The Smoking Mirror (DC) (GoG release)')" URL="http://www.gog.com/en/gamecard/broken_sword_2__the_smoking_mirror" SHORTCUT_NAME="Broken Sword 2: The Smoking Mirror" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Revolution Software" "$URL" "Pierre Etchemaite" "$PREFIX" POL_SetupWindow_question "$(eval_gettext 'Do you want to download $TITLE from GOG.com?')" "$TITLE" [ "$APP_ANSWER" = "TRUE" ] && POL_Browser "$URL" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" cd $HOME POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "$INSTALLBIN" ARCHIVE="$APP_ANSWER" POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE" # Prevent GoG installer from installing Acrobat Reader or Foxit in each prefix POL_Call POL_Function_SetNativeExtension "pdf" POL_Wine start /unix "$ARCHIVE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing archive')" POL_Wine_WaitExit "$TITLE" # GoG work! Set_OS winxp POL_SetupWindow_VMS "128" # Doesn't hurt ;) POL_Wine_reboot POL_Shortcut "BrokenSword2.exe" "$SHORTCUT_NAME" POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/Broken Sword II - The Smoking Mirror Directors Cut/manual.pdf" # C:\Program Files\GOG.com\Broken Sword II - The Smoking Mirror Directors Cut\Readme.txt POL_SetupWindow_Close exit |
| petch | Lunes 6 Febrero 2012 a las 22:48 - [Citar] |
Scripteur![]() ![]() |
Broken Sword 3:
https://raw.github.com/petchema/playonlinux/dev/brokensword3-gog #!/bin/bash # Date : (2012-02-03 21-27) # Last revision : (2012-02-03 23-36) # Wine version used : 1.4-rc2 # Distribution used to test : Debian Sid (Unstable) # Author : Pierre Etchemaite petchema@concept-micro.com # Script licence : GPL v.2 # Program licence : Retail # Depend : # Tested with install archives: # setup_broken_sword_3.exe 1086022553 "09b2c88aab14000ae56461d84bef3407" [ -z "$PLAYONLINUX" ] && exit 0 source "$PLAYONLINUX/lib/sources" PREFIX="BrokenSword3_gog" WORKING_WINE_VERSION="1.4-rc2" INSTALLBIN="setup_broken_sword_3.exe" TITLE="$(eval_gettext 'Broken Sword III: The Sleeping Dragon (GoG release)')" URL="http://www.gog.com/en/gamecard/broken_sword_3__the_sleeping_dragon" SHORTCUT_NAME="Broken Sword3: The Sleeping Dragon" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Revolution Software" "$URL" "Pierre Etchemaite" "$PREFIX" POL_SetupWindow_question "$(eval_gettext 'Do you want to download $TITLE from GOG.com?')" "$TITLE" [ "$APP_ANSWER" = "TRUE" ] && POL_Browser "$URL" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" cd $HOME POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "$INSTALLBIN" ARCHIVE="$APP_ANSWER" POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE" # Prevent GoG installer from installing Acrobat Reader or Foxit in each prefix POL_Call POL_Function_SetNativeExtension "pdf" POL_Wine start /unix "$ARCHIVE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing archive')" POL_Wine_WaitExit "$TITLE" # GoG work! Set_OS winxp POL_SetupWindow_VMS "64" # http://www.gog.com/en/forum/broken_sword_the_smoking_mirror/broken_sword_the_sleeping_dragon_freezes_on_startup #cat <<'_EOFINI_' > "$POL_USER_ROOT/tmp/refresh60hz.reg" #REGEDIT4 # #[HKEY_LOCAL_MACHINE\Software\Microsoft\DirectDraw] #"ForceRefreshRate"=dword:0000003c #_EOFINI_ #POL_Wine regedit "$POL_USER_ROOT/tmp/refresh60hz.reg" #rm "$POL_USER_ROOT/tmp/refresh60hz.reg" # Doesn't hurt ;) POL_Wine_reboot POL_Shortcut "BSTSD.exe" "$SHORTCUT_NAME" POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/$PROGRAMFILES/GOG.com/Broken Sword - The Sleeping Dragon/Readme.html" POL_SetupWindow_Close exit |
147 Usuarios Conectados


