Steins;Gate is a visual novel released in 2009 by Nitro+, 5pbs, and MAGES. The second game in the "Science Adventure Series", this VN recently got an US release available at JAST USA. This installer was only tested using the English release on both DVD and digital download editions.
Note that msxml3 is needed since vc2010 will crash without it using newer versions of Wine (possibly Mac only).
[code language=playonlinux]
#!/bin/bash
# Date : (2014-01-20)
# Last revision : (2014-01-20)
# Wine version used : 1.7.15
# Distribution used to test : Mac OS X 10.9.2
# Author : Marking
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
# Setup some needed variables
TITLE="Steins;Gate"
PREFIX="steinsgate"
WINEVERSION="1.7.15"
EDITOR="Nitroplus"
GAME_URL="http://steins-gate.us"
AUTHOR="Marking"
SHORTCUT_NAME="Steins;Gate"
# Download images for installation script
POL_GetSetupImages "http://images.markinglifestyle.com/playonmac/script_icons/steinsgate-64x64.png" "http://images.markinglifestyle.com/playonmac/script_banners/steinsgate-banner.jpg" "$TITLE"
# Initialize the script and debugging
POL_SetupWindow_Init
POL_Debug_Init
# Setup presentation window
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
# Begin setting up the Wine Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
# Installs components needed to install game and play movies
POL_Call POL_Install_msxml3
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_d3dx9
POL_Call POL_Install_quartz
POL_Call POL_Install_wmp10
# Ask user for either DVD or Local installation
POL_SetupWindow_InstallMethod "LOCAL,DVD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
# Ask user to find "Setup.exe"
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please locate installation program (Setup.exe)')" "$TITLE"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$APP_ANSWER" /silent
elif [ "$INSTALL_METHOD" = "DVD" ]
then
# Launches the installation program from CD/DVD
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "data.bin"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "$CDROM/Setup.exe" /silent
fi
# Create a shortcut for easy access
POL_Shortcut "STEINSGATE.EXE" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png"
POL_SetupWindow_Close
exit
[/code]
Images:
Screenshot22x22 icon48x48 icon64x64 iconBanner Edited by markingdude