The forum

New install script for BYOND 493.1117

Author Replies
MCMLXXXIV Tuesday 6 December 2011 at 19:48
MCMLXXXIVAnonymous

Hi all,

I have submitted an install script for BYOND 493.1117 (at least I think I have) but have received no email or confirmation that it's actually being processed at your end. Can someone confirm whether it's going to be accepted or not?

Since 1.3.33 the latest WINE builds have stopped working so I wrote a script to install it with WINE 1.3.32. It seems to work well for me and would like to share.

I submitted via the normal url http://www.playonmac.com/repository/new.php

The script is called "BYOND 493.1117"

The only part I couldn't get it to do was download the 1.3.32 version of WINE, I had to install that myself by hand via the plugins section. The rest of it works perfectly, at least on my system. I haven't tested it on PlayOnMac, but maybe it will work...

#!/bin/bash
if [ "$PLAYONLINUX" = "" ]then
exit 0
fi
source "$PLAYONLINUX/lib/sources"

cfg_check

WORKINGWINEVERSION="1.3.32"

POL_SetupWindow_Init
POL_SetupWindow_presentation "BYOND" "BYOND" "http://www.byond.com/" "Alex Hayton" "BYOND"

select_prefix "$REPERTOIRE/wineprefix/BYOND"
POL_SetupWindow_prefixcreate

POL_SetupWindow_install_wine "$WORKINGWINEVERSION"
Use_WineVersion "$WORKINGWINEVERSION"

cd "$REPERTOIRE/wineprefix/BYOND/drive_c/"
POL_SetupWindow_download "Downloading BYOND..." "Downloading BYOND version 493.1117..." "http://www.byond.com/download/build/493/493.1117_byond.exe"

POL_SetupWindow_message "Now launching the BYOND setup program. Please choose the default options." "Instructions"

POL_SetupWindow_wait_next_signal "Installation in progress..." "BYOND"
wine "$REPERTOIRE/wineprefix/BYOND/drive_c/493.1117_byond.exe"
POL_SetupWindow_detect_exit

POL_SetupWindow_make_shortcut "BYOND" "Program Files/BYOND/bin" "BYOND.exe" "" "BYOND"

# Install dependencies with winetricks
POL_SetupWindow_pulsebar "Downloading and installing dependencies..." "Installing dependencies"
POL_SetupWindow_text "Downloading winetricks..."
wget http://www.kegel.com/wine/winetricks

POL_SetupWindow_text "Installing gecko, mfc42, vcrun6 and wsh56 from winetricks" "Installing dependencies"
POL_SetupWindow_pulse "10"
bash winetricks -q mfc42 vcrun6 wsh56 gecko
POL_SetupWindow_pulse "90"

Set_WineVersion_Assign "$WORKINGWINEVERSION" "BYOND"

POL_SetupWindow_reboot
POL_SetupWindow_pulse "100"

POL_SetupWindow_Close
exit
Quentin PÂRIS Tuesday 6 December 2011 at 19:53
Quentin PÂRISAnonymous

Sorry, winetricks is not accepted into PlayOnLinux     
MCMLXXXIV Wednesday 7 December 2011 at 19:15
MCMLXXXIVAnonymous

Okay thanks for clearing it up. I'll wait until the game gets Platinum support then repost without winetricks!.

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-notice@playonlinux.com