Fallout 3 - DLC

Informations

Créateur Messages
NSLW

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 27922
Wine: System

Retours d'expérience

Description

Installer for DLCs from second DVD of Fallout 3 - Game of the Year Edition.

Code source

#!/bin/bash
# Date : (2010-05-15 08-00)
# Last revision : (2011-08-20 16:48)
# Distribution used to test : Fedora 12
# Author : NSLW & GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Fallout 3"
PREFIX="Fallout3"

# Starting the script
rm "$POL_USER_ROOT/tmp/*.jpg"
POL_SetupWindow_Init

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_free_presentation "$TITLE" "$(eval_gettext 'Welcome in the DLC Installer for $TITLE')"

POL_SetupWindow_checkexist()
{        
        if [ ! -e "$POL_USER_ROOT/wineprefix/$1" ]; then
                POL_SetupWindow_message "$(eval_gettext 'Game is not installed.')" "$TITLE"
                POL_SetupWindow_Close
                exit
        fi
}

POL_SetupWindow_checkexist "$PREFIX"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Using specific Wine
POL_SetupWindow_browse "$(eval_gettext 'Select a DLC to install')" "$TITLE" ""
SETUP_EXE="$APP_ANSWER"
POL_Wine start /unix "$SETUP_EXE"
POL_Wine_WaitExit

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribuer
Membre Messages

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