The forum

Forgotten Realms: Demon Stone (GoG)

Author Replies
petch Sunday 8 January 2012 at 13:36
petch

Hi all,
Another script of mine, the game is rated Platinum by WineHQ's AppDB, and indeed it works well with little effort. I noticed some bugs in character's shadows, but nothing that gets in the way of gameplay, as far as I can tell...
Enjoy !

https://raw.github.com/petchema/playonlinux/master/demonstone-gog
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
#!/bin/bash
# Date : (2012-01-08 10-18)
# Last revision : (2012-01-08 10-24)
# Wine version used : 1.3.36
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite petchema@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
 
# Tested with install archives:
# setup_demon_stone.exe 1760455392 "4a1dcb6e1466775dafaedd5a5d651fc8"
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="DemonStone_gog"
WORKING_WINE_VERSION="1.3.36"
 
TITLE="$(eval_gettext 'Forgotten Realms: Demon Stone (GoG release)')"
SHORTCUT_NAME="Demon Stone"
SHORTCUT_DOC="$SHORTCUT_NAME - $(eval_gettext 'User manual')"
SHORTCUT_README="$SHORTCUT_NAME - $(eval_gettext 'Readme')"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Stormfront Studios / Atari" "http://www.gog.com/en/gamecard/forgotten_realms_demon_stone" "Pierre Etchemaite" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
cd $HOME
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "setup_demon_stone.exe"
ARCHIVE="$APP_ANSWER"
 
POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
 
POL_Call POL_Function_SetNativeExtension "pdf"
POL_Call POL_Function_SetNativeExtension "txt"
 
POL_Wine start /unix "$ARCHIVE" || POL_Debug_Fatal "$(eval_gettext 'Error while installing archive')"
 
POL_Wine_WaitExit "$TITLE"
 
 
# GoG work!
Set_OS winxp
 
POL_SetupWindow_VMS "64"
 
# Doesn't hurt ;)
POL_Wine_reboot
 
POL_Shortcut "demonlaunch.exe" "$SHORTCUT_NAME"
POL_Shortcut "start.exe" "$SHORTCUT_DOC" "" "'C:/$PROGRAMFILES/GOG.com/Demon Stone/manual.pdf'"
POL_Shortcut "start.exe" "$SHORTCUT_README" "" "'C:/$PROGRAMFILES/GOG.com/Demon Stone/Readme.txt'"
 
POL_SetupWindow_Close
 
exit

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