#!/bin/bash # Date : (2013-03-09 13-31) # Last revision : (2013-03-05 00-39) # Wine version used : 1.5.24 # Distribution used to test : Ubuntu 12.04.2 LTS # Author : ntzrmtthihu777 # Testers : [ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" TITLE="RPG Maker VXAce" PREFIX="RPG_VXAce" POL_SetupWindow_Init POL_Debug_Init POL_SetupWindow_presentation "$TITLE" "Enterbrain" "http://www.rpgmakerweb.com/" "ntzrmtthihu777" "$PREFIX" POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "1.5.24" POL_System_SetArch "x86" POL_System_TmpCreate "$PREFIX" #installs and configures needed libraries POL_Call POL_Install_dinput POL_Call POL_Install_dinput8 POL_Call POL_Install_directmusic POL_Call POL_Install_directplay POL_Call POL_Install_directx9 POL_Call POL_Install_dotnet20 POL_Call POL_Install_dxfullsetup POL_Call POL_Install_gdiplus POL_Wine_OverrideDLL "native,builtin" "d3d8" "d3d9" #downloads the official installer package, unzips it and installs the rtp and actual program. cd "$POL_System_TmpDir" POL_Download "http://c624285.r85.cf2.rackcdn.com/enterbrain/rpgvxace/RPGVXAce_Setup.zip" "1ae2e94c725e1c33325679014b9acd46" unzip RPGVXAce_Setup.zip POL_SetupWindow_wait "Installation in progress." "$TITLE RTP installation" POL_Wine start /unix "$POL_System_TmpDir/RTP100/Setup.exe" POL_Wine_WaitExit "Setup.exe" POL_SetupWindow_wait "Installation in progress." "$TITLE installation" POL_Wine start /unix "$POL_System_TmpDir/Program/Setup.exe" POL_Wine_reboot POL_Wine_WaitExit "Setup.exe" #creates shortcut POL_Shortcut "RPGVXAce.exe" "$TITLE" POL_System_TmpDelete POL_SetupWindow_Close exit