The forum

[Script] From Dust

Does install but crash when loading.

Author Replies
Dadu042 Friday 1 March 2019 at 21:36
Dadu042

As I write in the code, currently this script does not allow to run the game (DVD v1.0, nor Steam) but just to install it.

I do not know if the issue is related to Uplay only, DRM, or something else...

Maybe someone can improve this 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
#!/bin/bash --login
# Date : (2019-03-01 20-04)
# Last revision : (2019-03-01 20-04)
# Wine version used : 4.2
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux : 4.3.4
#
# Tested : DVD v1.0.0 (but the upgrade file v1.0.1 is provided on the DVD). setup.exe: may 2011.
# Currently it does not allow to run the game. Maybe someone can improve this script ?.
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="From Dust"
PREFIX="from_dust"
WORKING_WINE_VERSION="4.2"
AUTHOR="Dadu042"
EDITOR="Ubisoft"
  
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"
 
Set_OS "win7" "sp1"
 
POL_SetupWindow_InstallMethod "LOCAL,DVD"
  
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 "Setup.bmp"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "setup.exe"
        cd "$POL_System_TmpDir"
fi
 
POL_Call POL_Install_mfc42
 
POL_Call POL_Install_msvc80
 
POL_Call POL_Install_dotnet40
 
POL_Call POL_Install_d3dx9_43
 
POL_Shortcut "From_Dust.exe" "$TITLE" ""
POL_Shortcut_Document "$TITLE" "readme.txt"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Edited by Dadu042

Quentin PÂRIS Friday 1 March 2019 at 22:29
Quentin PÂRISAnonymous

Amazing, thank you :)

Dadu042 Saturday 2 March 2019 at 10:52
Dadu042

Keep calm because this game has serious issues : https://appdb.winehq.org/objectManager.php?sClass=application&iId=13398

Edited by Dadu042

Quentin PÂRIS Saturday 2 March 2019 at 14:25
Quentin PÂRISAnonymous

Hum sorry, though you was not able to run in only for the DVD version

Dadu042 Friday 24 January 2020 at 0:00
Dadu042

New attempt, unsuccessful.

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
#!/bin/bash --login
# Date : (2019-03-01 20-04)
# Last revision : see changelog
# Wine version used : 4.2
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux : 4.3.4
#
# Tested : DVD v1.0.0 (but the upgrade file v1.0.1 is provided on the DVD). setup.exe: may 2011.
# Currently it does not allow to run the game. Maybe someone can improve this script ?.
#
# CHANGELOG
# [Dadu042] (2019-03-01 20-04)
#   Initial script, game does not run.
# [Dadu042] (2020-01-23 14:50)
#   More tries with newer Wines.
#   Tried to use (copy) binkw32.dll files from other games.
#   Could not find a way to rename the video files, disabling binkw32.dll prevent the game to run.
#
#
# KNOWN ISSUES:
#  - Wine amd64 4.0.3, 4.21, 5.0: The game does crash after the ESRB screen and the "R.G. MEXAHN" dark logo.
#              In the backtrace, I see that the component crashing is 'binkw32' (BinkControlBackgroundIO). Tried: amstream, quartz, ffdshow. binkw32 as native, and as disabled.
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="From Dust"
PREFIX="from_dust"
WORKING_WINE_VERSION="4.19"
AUTHOR="Dadu042"
EDITOR="Ubisoft"
  
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"
  
Set_OS "win7" "sp1"
  
POL_SetupWindow_InstallMethod "LOCAL,DVD"
  
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 "Setup.bmp"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "setup.exe"
        cd "$POL_System_TmpDir"
fi
 
# ?
# POL_Call POL_Install_xact
  
POL_Call POL_Install_mfc42
  
POL_Call POL_Install_msvc80
  
POL_Call POL_Install_dotnet40
  
# POL_Call POL_Install_d3dx9_43
  
POL_Shortcut "From_Dust.exe" "$TITLE" ""
POL_Shortcut_Document "$TITLE" "readme.txt"
  
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

 

Edited by Dadu042

Dadu042 Sunday 26 July 2020 at 22:18
Dadu042

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
85
86
87
88
89
90
91
92
93
94
#!/bin/bash --login
# Date : (2019-03-01 20-04)
# Last revision : see changelog
# Wine version used : 4.2
# Distribution used to test : Ubuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux : 4.3.4
#
# Tested : DVD v1.0.0 (but the upgrade file v1.0.1 is provided on the DVD). setup.exe: may 2011.
# Currently it does not allow to run the game. Maybe someone can improve this script ?.
#
# CHANGELOG
# [Dadu042] (2019-03-01 20-04)
#   Initial script, game does not run.
# [Dadu042] (2020-01-23 14:50)
#   More tries with newer Wines.
#   Tried to use (copy) binkw32.dll files from other games.
#   Could not find a way to rename the video files, disabling binkw32.dll prevent the game to run.
#
#
# KNOWN ISSUES:
#  - Wine amd64 4.0.3, 4.21, 5.0, 5.11, 5.13: The game does crash after the ESRB screen and the "R.G. MEXAHN" dark logo.
#              In the backtrace, I see that the component crashing is 'binkw32' (BinkControlBackgroundIO). Tried: amstream, quartz, ffdshow. binkw32 as native, and as disabled.
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="From Dust"
PREFIX="from_dust"
WORKING_WINE_VERSION="5.13"
AUTHOR="Dadu042"
EDITOR="Ubisoft"
  
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"
  
Set_OS "win7" "sp1"
 
#######################################
#  Installing mandatory dependencies  #
#######################################
 
# ?
# POL_Call POL_Install_xact
 
POL_Call POL_Install_mfc42
POL_Call POL_Install_msvc80
POL_Call POL_Install_msvc90
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_dotnet40
 
POL_Call POL_Install_directx9
 
POL_Call POL_Install_d3dx9_43
POL_Call POL_Install_d3dcompiler_43
 
# POL_Call POL_Install_d3dx9_43
 
#######################################
#  Main part of this script           #
#######################################
  
POL_SetupWindow_InstallMethod "LOCAL,DVD"
  
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 "Setup.bmp"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "setup.exe"
        cd "$POL_System_TmpDir"
fi
  
POL_Shortcut "From_Dust.exe" "$TITLE" "" "" "Game;"
POL_Shortcut_Document "$TITLE" "readme.txt"
  
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