Forums

[Script] From Dust

Does install but crash when loading.

Auteur Réponses
Dadu042 Vendredi 1 Mars 2019 à 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 ?.

#!/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"
GAME_URL="https://en.wikipedia.org/wiki/From_Dust"
 
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

Edité par Dadu042

Quentin PÂRIS Vendredi 1 Mars 2019 à 22:29
Quentin PÂRISAnonymous

Amazing, thank you :)

Dadu042 Samedi 2 Mars 2019 à 10:52
Dadu042

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

Edité par Dadu042

Quentin PÂRIS Samedi 2 Mars 2019 à 14:25
Quentin PÂRISAnonymous

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

Dadu042 Vendredi 24 Janvier 2020 à 0:00
Dadu042

New attempt, unsuccessful.

#!/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"
GAME_URL="https://en.wikipedia.org/wiki/From_Dust"
 
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

 

Edité par Dadu042

Dadu042 Dimanche 26 Juillet 2020 à 22:18
Dadu042




#!/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"
GAME_URL="https://en.wikipedia.org/wiki/From_Dust"
 
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 dmcayonlinux.com