The forum

Fallout Script

Author Replies
DemonHypnos Friday 20 March 2009 at 23:25
DemonHypnosAnonymous

Hi all,

I have made a script for Fallout 1.

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



POL_SetupWindow_Init
POL_SetupWindow_presentation "Fallout" "Black Isle Studios" "http://fallout.bethsoft.com/" "DemonHypnos" "Fallout"


select_prefix "$REPERTOIRE/wineprefix/Fallout/"
POL_SetupWindow_prefixcreate
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"

Set_OS win98

POL_SetupWindow_wait_next_signal "Installing Fallout...make sure to select SMALL INSTALLATION." "Fallout"
wine "$CDROM/setup.exe"

POL_SetupWindow_detect_exit

POL_SetupWindow_reboot


POL_SetupWindow_make_shortcut "Fallout" "Program Files/Interplay/Fallout/" "falloutw.exe" "" "Fallout"


POL_SetupWindow_Close
exit

Edited by Tinou


"Sleep is eminent!"
mattcaron Thursday 2 December 2010 at 3:37
mattcaronAnonymous

You forgot a semicolon. It's:

if [ "$PLAYONLINUX" = "" ]; then
mango12 Saturday 12 March 2011 at 5:36
mango12Anonymous

Merci pour le partage
Quentin PÂRIS Saturday 12 March 2011 at 15:16
Quentin PÂRISAnonymous

Mais de rien !