The forum

[script] CSI: Dark Motives

Author Replies
Dadu042 Tuesday 4 February 2020 at 22:06
Dadu042

Warning: graphic rendering issues (tiles missing) makes this game almost unplayable.

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#!/usr/bin/env playonlinux-bash
# Date : (2019-05-06 21-14)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : Ubuntu 19.04 x64
# Script licence : GPL3
# Program licence : Retail
#
# Playonlinux version used : 4.3.4
#
# Media used: DVD, november 2005 (folders date), v1.01 (found in ReadMe.txt after installation).
#
# This game is based on Dotnet (2?), Bink videos, Macromedia.
#
# Known issues:
# - Wine 4.1 ? : game crash when lauching because of Bink videos. Fix: Wine 4.7, 4.21, 5.0
# - Wine 4.7, 4.21 : games goes to main menu (and show credit video) but main menu miss some graphic tiles ('clipping' ?), these that appear when moving mouse. Tried: gdiplus, flashplayer.
 
[ "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
    
TITLE="CSI: Dark Motives"
PREFIX="csi_dark_motives"
WORKING_WINE_VERSION="4.0.3"
AUTHOR="Dadu042"
EDITOR="369 Interactive"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
    
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
 
Set_OS "winxp"
 
################
# GPU settings #
################
 
# Really indispensable ? (Dadu042)
POL_SetupWindow_VMS "64"
 
# POL_Call POL_Install_VideoDriver
 
# POL_Call POL_Install_d3dx9
  
###############
# Go          #
###############
 
POL_SetupWindow_InstallMethod "LOCAL,DVD"
 
POL_SetupWindow_message  "Warning: Please DO NOT install DirectX nor GameShadow ! (this is the way this script was tested).\nAnd do not launch the game at the end of the installation." "$TITLE"
    
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
else
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "CSI.ico"
        POL_Wine start /unix "$CDROM/autorun.exe"
        POL_Wine_WaitExit "autorun.exe"
        cd "$POL_System_TmpDir"
fi
 
POL_Shortcut "CSI-Dark Motives.exe" "$TITLE" "" "" "Game;"
 
# Filename to change according the language
POL_Shortcut_Document "$TITLE" "Manual CSI-Dark Motives.pdf"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

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@playonlinux.com