This is an installer script for the game Consortium by Interdimensional Games Inc.
Things done outside of PlayOnLinux
Nothing has to be done outside of PlayOnLinux to make it work.
The installer throws a few errors while installing, but they should be safe to ignore.
Unfortunately the ending scene of the game is a bit broken in wine, so the screen will be completely black during this scene. The game is still completeable though. Instructions for finishing the game, and more information about how the game performs in wine i general, can be found in this thread: https://steamcommunity.com/app/264240/discussions/0/613956964585243941/.
The instructions for how to finish the game are:
"As soon as you see the thing you're approaching at the end of the game come into view, remove your hand from the mouse. When you find yourself in the void, tap the D key a couple quick times (you don't spawn perfectly lined up), and then just hold W."
I will provide these instructions and the link to the steam thread in the description of the game. The script also informs of this error during installation
top -- https://www.dropbox.com/s/9hv0d8vfiqj4ykn/consortium-48x48.png?dl=0
left -- https://www.dropbox.com/s/yy6mke8qsij506h/left.png?dl=0
So here is the script! Since the images are not yet uploaded I haven't beenable to test the POL_GetSetupImages command, I think it is correct though.
# Date : (2016-01-20 21-00)
# Wine version used : 1.8
# Distribution used to test : Xubuntu 15.10 x64
# Author : August Lindberg
# Program licence : Retail
[ "$PLAYONLINUX" = "" ] && exit 0
TITLE="GOG.com - Consortium: The Master Edition"
SHORTCUT_NAME="Consortium: The Master Edition"
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/consortium/top.jpg" "http://files.playonlinux.com/resources/setups/consortium/left.jpg" "$TITLE"
POL_SetupWindow_presentation "$TITLE" "Interdimensional Games Inc"\
"http://interdimensionalgames.com" "August Lindberg" "$PREFIX"
# Setting prefix path
# Forcing x86 to make wmp9 work
# Choose setup file
POL_Call POL_GoG_setup "$GOGID"
# Warn for installer errors
POL_SetupWindow_message "$(eval_gettext "The installer will probably throw a\
few errors during installation. This is nothing to worry about. Just press\
'OK' when the errors appear and everything should work fine.\n\n\
Also, be sure to use the default install path and to press 'Exit' instead\
of 'Launch' when the game has finished installing.")" "$TITLE"
# Install game
## Fix for this game
# Create file to remove Consortiums static FX. Without this fix the screen
# will be black while playing.
GAME_PATH=$(cd "$(dirname "$(find "$WINEPREFIX" -name "consortium.exe")")"; pwd -P)
echo 'r_signal_fx "0"' > "$GAME_PATH"/consortium/cfg/autoexec.cfg
echo 'host_writeconfig' >> "$GAME_PATH"/consortium/cfg/autoexec.cfg
## End fix
# Create game shortcut. A launch argument is added that calls the
# file created in the previous step.
POL_Shortcut "consortium.exe" "$SHORTCUT_NAME" "" "+exec autoexec.cfg"
# Warn about broken ending
POL_SetupWindow_message "$(eval_gettext "IMPORTANT: The ending scene of the\
game is broken in wine, and because of this the screen will be black during\
this scene. For information on how to finish the game, please visit the page\
for this installer on playonlinux.com or this forum thread:\