#!/bin/bash
TITLE=
"GUILTY GEAR X2 #RELOAD"
CREATORS=
"ZOO Digital Publishing"
TITLESITE=
"www.guiltygearx2reload.com"
SCRIPTAUTHOR=
"LiL_Stenly"
PREFIX=
"GGX2R"
WVERSION=
"1.2"
FINDINS=
"GGX2R.msi"
TITLEEXE=
"ggx2.exe"
OTHEREXE=
"config.exe"
TITLENAME=
"GGX2R"
OTHERNAME=
"GGX2R Config"
LOADLEFT=
"$REPERTOIRE/tmp/GGX2RLeft.png"
LOADTOP=
"$REPERTOIRE/tmp/GGX2RTop.png"
IMGTMP=
"$REPERTOIRE/tmp"
WARN=
"PLEASE READ CAREFULLY!"
WARNTEXT=
"In the Next window you will have to point \\nthe CD or Installation directory \\nthat contains GGX2R.msi file! \\n\\nAfter that installation will continue in silent mode! \\n\\nThank you for your attention! \\n\\nLiL_Stenly"
MSGINS=
"Now installing... "
MSG=
"ReadMe... Instructions!"
MSGTEXT=
"To run the game correctly first start '$OTHERNAME' \\nand set this options: \\n\\n-Screen Mode- \\n *CHECK* Full screen Mode (HighColor) \\n\\n-Screen Processing- \\n *UNCKECK* 'Pixel Shaders On' \\n\\n-Texture Color- \\n *CHECK* HighColor \\n\\n-Palette Effect- \\n *CHECK* Simple \\n\\n... now you will run the game without any glitches! \\n\\nLiL_Stenly"
if
[
"$PLAYONLINUX"
=
""
];
then
exit
0
fi
source
"$PLAYONLINUX/lib/sources"
cd
$IMGTMP
rm
{GGX2RLeft,GGX2RTop}.png
wget {
"$IMGLEFT"
,
"$IMGTOP"
}
POL_SetupWindow_Init
"$LOADTOP"
"$LOADLEFT"
POL_SetupWindow_presentation
"$TITLE"
"$CREATORS"
"$TITLESITE"
"$SCRIPTAUTHOR"
"$PREFIX"
POL_SetupWindow_message
"$WARNTEXT"
"$WARN"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom
"$FINDINS"
select_prefix
"$REPERTOIRE/wineprefix/$PREFIX/"
POL_SetupWindow_install_wine
"$WVERSION"
Use_WineVersion
"$WVERSION"
POL_SetupWindow_prefixcreate
POL_LoadVar_PROGRAMFILES
POL_SetupWindow_wait_next_signal
"$MSGINS"
"$TITLE"
cd
"$CDROM"
wine MSIEXEC
/i
"$FINDINS"
/q
POL_SetupWindow_detect_exit
Set_Desktop On 800 600
POL_SetupWindow_message
"$MSGTEXT"
"$MSG"
convert
"$HOME/.local/share/icons/*_39b32d12.xpm"
-geometry 32X32
"$REPERTOIRE/icones/32/$TITLENAME.png"
convert
"$HOME/.local/share/icons/*_154754de.xpm"
-geometry 32X32
"$REPERTOIRE/icones/32/$OTHERNAME.png"
POL_SetupWindow_make_shortcut
"$PREFIX"
"$PROGRAMFILES/$CREATORS/$TITLE"
"$TITLEEXE"
""
"$TITLENAME"
Set_WineVersion_Assign
"$WVERSION"
"$TITLENAME"
POL_SetupWindow_make_shortcut
"$PREFIX"
"$PROGRAMFILES/$CREATORS/$TITLE"
"$OTHEREXE"
""
"$OTHERNAME"
Set_WineVersion_Assign
"$WVERSION"
"$OTHERNAME"
cd
$IMGTMP
rm
{GGX2RLeft,GGX2RTop}.png
POL_SetupWindow_Close
exit