Call of Chtulhu: Dark Corners of the Earth

Informations

Creator Message
bacatta Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 28732
Wine: System

Feedbacks

Description

Survival horror, 2005. Wikipedia.

Screenshots

Miniature

Source code

#!/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:

Contribute
Member Message
Dadu042 Sunday 23 February 2020 at 9:11
Dadu042

Information

This update has been approved by the team.

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

New source code

#!/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

Replies

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