The forum

[Script] From Dust

Does install but crash when loading.

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

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

Edited by Dadu042

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

Amazing, thank you :)

Dadu042 Saturday 2 March 2019 at 10:52
Dadu042
Moderator

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ÂRIS
Admin

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