The forum

[Script] Cronus

Author Replies
Dadu042 Wednesday 1 May 2019 at 21:41
Dadu042

Please read the comments ("know issues") in the script.

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
#!/usr/bin/env playonlinux-bash
# Date : (2019-05-01 21-35)
# Last revision : (2019-05-01 21-35)
# Wine version used : see below
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : ?
#
# Playonlinux version used : 4.3.4
#
# This sofware is based on: Dotnet 4.
# Version tested: Chronus Pro v1.21
#
# -----------------------
#
# Issues known :
#
# "dxwsetup" does crash after Cronus_0121_Setup.exe installation is launched.
# Still occurs with : Wine 4.0, 4.2, 4.7
# Still occurs  with : dotnet20sp2, dotnet461, mono210, and Microsoft's Dotnet 4.6.0
# Perhaps a version of Mono > 2.10 could fix the issue...
  
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Chronus"
PREFIX="chronus"
WORKING_WINE_VERSION="4.1"
AUTHOR="Dadu042"
EDITOR="?"
  
Set_OS "Win7"
  
POL_SetupWindow_Init
POL_Debug_Init
      
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
      
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
  
################
# To improve ? #
################
POL_SetupWindow_message  "Warning: Currently this script does not allow the software to work.\n" "$TITLE"
 
POL_SetupWindow_message  "Warning: If the installation of DotNet never end, click Cancel (on the POL's Dotnet window)." "$TITLE"
 
# Note: The software (v1.21) want to install Dotnet v4.6
POL_Call POL_Install_dotnet461
 
###############
# Go          #
###############
  
POL_SetupWindow_message  "Please note: You should cancel the installation of Chronus's DotNet 4.6 !.\n" "$TITLE"
  
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"
POL_Wine_WaitExit "$TITLE"
cd "$POL_System_TmpDir"
 
POL_Shortcut "Chronus.exe" "$TITLE" ""
 
Set_WineWindowTitle "$TITLE"
    
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Edited by Dadu042

devilangelsoul Wednesday 5 August 2020 at 14:54
devilangelsoulAnonymous

hi , how i can use this script?

Dadu042 Wednesday 5 August 2020 at 17:33
Dadu042

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