Call of Chtulhu: Dark Corners of the Earth

Informations

Créateur Messages
bacatta Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 28376
Wine: System

Retours d'expérience

Description

Survival horror, 2005. Wikipedia.

Captures d'écran

Miniature

Code source

#!/bin/bash
# Last Revision: (2010-03-28)
# Distribution used to test: Ubuntu 9.10
# Wine version used: 1.1.25
# Author: Bacatta
# Script updated by: Jompa
[ "$PLAYONLINUX" = "" ] && exit 0 
#
# CHANGELOG
# [Bacatta] (2010-03-28)
#   Initial script.
# [Dadu042] (2020-02-23 23:41)
#   Standardize.
 
source "$PLAYONLINUX/lib/sources"
 
Title="Call of Chtulhu: Dark Corners of the Earth"
Prefix="CoCDCotE"
 
if [ "$POL_LANG" = "sv" ]; then
LNG_MEM="Hur mycke minne har ditt grafikkort?"
LNG_INSTALL="Installerar..."
else
LNG_MEM="How much memory do your graphic card have got?"
LNG_INSTALL="Installing..."
fi
 
POL_SetupWindow_Init 
 
#Presentation
POL_SetupWindow_presentation "$Title" "Bethesda Softworks" "http://www.callofcthulhu.com/" "Bacatta" "$Prefix"
 
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"
 
select_prefix "$REPERTOIRE/wineprefix/$Prefix"
POL_SetupWindow_prefixcreate
 
# fetching PROGRAMFILES environmental variable
PROGRAMFILES="Program Files"
POL_LoadVar_PROGRAMFILES
 
POL_SetupWindow_menu "$LNG_MEM" "$Title" "32-64-128-256-384-512-768-896-1024-2048" "-" "128"
VMS="$APP_ANSWER"
 
# Setup Direct3D
cd "$WINEPREFIX/drive_c/windows/temp"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]" > OGL.reg
echo "\"OffscreenRenderingMode\"=\"fbo\"" >> OGL.reg
echo "\"VideoMemorySize\"=\"$VMS\"" >> OGL.reg
regedit OGL.reg
 
POL_SetupWindow_wait_next_signal "$LNG_INSTALL" "$Title"
wine "$CDROM/setup.exe"
POL_SetupWindow_detect_exit
 
POL_Shortcut "CoCDCoTELauncher.exe" "$TITLE" "" "" "Game;"
        
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Dimanche 23 Février 2020 à 9:11
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -5,6 +5,12 @@
 # Author: Bacatta
 # Script updated by: Jompa
 [ "$PLAYONLINUX" = "" ] && exit 0 
+#
+# CHANGELOG
+# [Bacatta] (2010-03-28)
+#   Initial script.
+# [Dadu042] (2020-02-23 23:41)
+#   Standardize.
  
 source "$PLAYONLINUX/lib/sources"
  
@@ -19,8 +25,6 @@
 LNG_INSTALL="Installing..."
 fi
  
-cd "$REPERTOIRE/tmp"
-rm *.jpg
 POL_SetupWindow_Init 
  
 #Presentation
@@ -29,20 +33,17 @@
 POL_SetupWindow_cdrom
 POL_SetupWindow_check_cdrom "setup.exe"
  
-POL_SetupWindow_install_wine "1.1.25"
-Use_WineVersion "1.1.25"
- 
 select_prefix "$REPERTOIRE/wineprefix/$Prefix"
 POL_SetupWindow_prefixcreate
  
-#fetching PROGRAMFILES environmental variable
+# fetching PROGRAMFILES environmental variable
 PROGRAMFILES="Program Files"
 POL_LoadVar_PROGRAMFILES
  
 POL_SetupWindow_menu "$LNG_MEM" "$Title" "32-64-128-256-384-512-768-896-1024-2048" "-" "128"
 VMS="$APP_ANSWER"
  
-#Réglage Direct3D
+# Setup Direct3D
 cd "$WINEPREFIX/drive_c/windows/temp"
 echo "[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]" > OGL.reg
 echo "\"OffscreenRenderingMode\"=\"fbo\"" >> OGL.reg
@@ -53,11 +54,7 @@
 wine "$CDROM/setup.exe"
 POL_SetupWindow_detect_exit
  
-convert  "$CDROM/CoCDCoTE.ico" -geometry 32x32 "$REPERTOIRE/icones/32/$Title"
-
-POL_SetupWindow_make_shortcut "$Prefix" "$PROGRAMFILES/Bethesda Softworks/Call Of Cthulhu DCoTE/Engine" "CoCDCoTELauncher.exe" "" "$Title"
- 
-Set_WineVersion_Assign "1.1.25" "$Title"
- 
+POL_Shortcut "CoCDCoTELauncher.exe" "$TITLE" "" "" "Game;"
+        
 POL_SetupWindow_Close
 exit
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Last Revision: (2010-03-28)
# Distribution used to test: Ubuntu 9.10
# Wine version used: 1.1.25
# Author: Bacatta
# Script updated by: Jompa
[ "$PLAYONLINUX" = "" ] && exit 0 
#
# CHANGELOG
# [Bacatta] (2010-03-28)
#   Initial script.
# [Dadu042] (2020-02-23 23:41)
#   Standardize.
 
source "$PLAYONLINUX/lib/sources"
 
Title="Call of Chtulhu: Dark Corners of the Earth"
Prefix="CoCDCotE"
 
if [ "$POL_LANG" = "sv" ]; then
LNG_MEM="Hur mycke minne har ditt grafikkort?"
LNG_INSTALL="Installerar..."
else
LNG_MEM="How much memory do your graphic card have got?"
LNG_INSTALL="Installing..."
fi
 
POL_SetupWindow_Init 
 
#Presentation
POL_SetupWindow_presentation "$Title" "Bethesda Softworks" "http://www.callofcthulhu.com/" "Bacatta" "$Prefix"
 
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"
 
select_prefix "$REPERTOIRE/wineprefix/$Prefix"
POL_SetupWindow_prefixcreate
 
# fetching PROGRAMFILES environmental variable
PROGRAMFILES="Program Files"
POL_LoadVar_PROGRAMFILES
 
POL_SetupWindow_menu "$LNG_MEM" "$Title" "32-64-128-256-384-512-768-896-1024-2048" "-" "128"
VMS="$APP_ANSWER"
 
# Setup Direct3D
cd "$WINEPREFIX/drive_c/windows/temp"
echo "[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]" > OGL.reg
echo "\"OffscreenRenderingMode\"=\"fbo\"" >> OGL.reg
echo "\"VideoMemorySize\"=\"$VMS\"" >> OGL.reg
regedit OGL.reg
 
POL_SetupWindow_wait_next_signal "$LNG_INSTALL" "$Title"
wine "$CDROM/setup.exe"
POL_SetupWindow_detect_exit
 
POL_Shortcut "CoCDCoTELauncher.exe" "$TITLE" "" "" "Game;"
        
POL_SetupWindow_Close
exit

Réponses