Command And Conquer : Red Alert 3

Informatie

Creator Bericht
GNU_Raziel

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 54595
Wine: 1.4.1

Feedbacks

Omschrijving

Français :
La troisième guerre mondiale vient d'éclater opposant les forces Alliées, l'Empire du soleil levant et le bloc soviétique. Command & Conquer : Alerte Rouge 3 est un jeu de stratégie sur PC qui vous permet d'incarner l'un des trois camps et de profiter de leurs armes et avancées technologiques pour vous imposer à travers la campagne solo et surtout les modes multijoueurs.

English :
In Command & Conquer: Red Alert 3's alternate history, it's the Allies launching a surprise attack on Hawaii, a longtime stronghold of the Empire of the Rising Sun, and that's just the tip of the proverbial iceberg. Red Alert 3 puts tongue firmly in cheek and dreams up a bizarre world where armored bears parachute from the sky, transformable Japanese mecha wreak havoc, and Mount Rushmore is actually a secret military facility where Honest Abe's head shoots deadly laser beams out of his eyes.

Schermafdrukken

Broncode

#!/bin/bash
# Date : (2009-03-12 19-00)
# Last revision : (2013-06-20 21:00)
# Wine version used : 1.2, 1.3.15, 1.3.25, 1.3.26, 1.3.27, 1.4.1
# Distribution used to test : Debian Testing x64
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

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

TITLE="Command And Conquer : Red Alert 3"
SHORTCUT_NAME="Command And Conquer : Red Alert 3"
PREFIX="RA3"
WORKING_WINE_VERSION="1.4.1"
GAME_VMS="64"
STEAM_ID="17480"

if [ "$POL_LANG" == "fr" ]; then
        TITLE="Command And Conquer : Alerte Rouge 3"
        SHORTCUT_NAME="Command And Conquer : Red Alert 3"
fi

# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/ra3/top.jpg" "http://files.playonlinux.com/resources/setups/ra3/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 360

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Electronic Arts" "http://www.redalert3.com/" "GNU_Raziel" "$PREFIX"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "DVD,STEAM,LOCAL"

# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam

        # Mandatory pre-install fix for steam
        POL_Call POL_Install_steam_flags "$STEAM_ID"

        # Shortcut done before install for steam version
        POL_Shortcut "steam.exe" "$SHORTCUT_NAME" "ra3.png" "steam://rungameid/$STEAM_ID" "Game;StrategyGame;"
        POL_Shortcut "steam.exe" "Steam ($SHORTCUT_NAME)" "" "" "Game;"
fi
POL_Call POL_Install_gdiplus
POL_Call POL_Install_d3dx9

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

## Fix for this game
POL_Wine_OverrideDLL "builtin,native" "winhttp"

if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "AutoRun.exe"
        POL_Wine start /unix "$CDROM/AutoRun.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
        POL_Wine_WaitExit "$TITLE"
else
        #Asking then installing DDV of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
fi

# Making shortcut
if [ "$INSTALL_METHOD" != "STEAM" ]; then
        POL_Shortcut "RA3.exe" "$TITLE" "ra3.png" "" "Game;StrategyGame;"
fi

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Bericht