Browse Source

final fixes for Risen 2 and the Witcher 2

Helmut Pozimski 9 years ago
parent
commit
7fbb328d9f
2 changed files with 9 additions and 7 deletions
  1. 3 2
      risen2.sh
  2. 6 5
      the_witcher_2.sh

+ 3 - 2
risen2.sh

@@ -34,8 +34,9 @@ POL_SetupWindow_question "Do you want to install the Gold Edition Upgrade now? T
 
 if [ "$APP_ANSWER" == "TRUE" ];
 then
-	POL_CALL POL_GoG_setup "$GOGID_UPGRADE"
-	POL_CALL POL_GoG_install
+	POL_SELECTED_FILE=""
+	POL_Call POL_GoG_setup "$GOGID_UPGRADE"
+	POL_Call POL_GoG_install
 fi
 
 POL_Call POL_Install_d3dx9_36

+ 6 - 5
the_witcher_2.sh

@@ -12,10 +12,10 @@
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="the_witcher_2"
-PREFIX="Witcher2_gog"
+PREFIX="TheWitcher2_gog"
 WORKING_WINE_VERSION="1.7.20"
 
-TITLE="GOG.com - Witcher 2: Assassins of Kings"
+TITLE="GOG.com - The Witcher 2: Assassins of Kings Enhanced Edition"
 
 POL_SetupWindow_Init
 POL_Deug_Init
@@ -30,19 +30,20 @@ POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 POL_Call POL_GoG_install "/nogui"
 
 POL_Call POL_Install_d3dx9_36
-POL_Call POL_install_d3dx9_43
+POL_Call POL_Install_vcrun2010
+POL_Call POL_Install_dotnet40
 
 Set_OS winxp
 
 # Configure the shortcut
 GOGPATH="$GOGROOT/The Witcher 2 Enhanced Edition"
-POL_Shortcut "Launcher.exe" "Witcher 2: Assassins of Kings" "" "" "Game;"
+POL_Shortcut "Launcher.exe" "The Witcher 2: Assassins of Kings Enhanced Edition" "" "" "Game;"
 
 # Language selection for the manual shortcut
 POL_SetupWindow_menu "$(eval_gettext 'What is your preferred language?')" "$(eval_gettext 'Language')" "en: English~fr: French~de: German~it: Italian~es: Spanish~pl: Polish~cz: Czech~hu: Hungarian~jp: Japanese~ru: Russian~tr: Turkish~zh: Chinese" "~"
 MAN_LANG=$(echo "${APP_ANSWER}" | cut -d ':' -f 1)
 
-POL_Shortcut_Document "Witcher 2: Assassins of Kings" "$GOGPATH/manual_$MAN_LANG.pdf"
+POL_Shortcut_Document "The Witcher 2: Assassins of Kings Enhanced Edition" "$GOGPATH/manual_$MAN_LANG.pdf"
 
 POL_SetupWindow_Close
 exit 0