Company of Heroes

Informations

Créateur Messages
lahtis

Attention

This installer is a beta script. It means that it might not work as expected

Informations

Plate-formes :
Téléchargements : 21794
Wine: 1.5.3

Retours d'expérience

Description

Company of Heroes is set during World War II. In the single-player campaign the player commands two U.S. military units during the Battle of Normandy and the Allied liberation of France. Depending on the mission, the player controls either Able Company of the 29th Infantry Division, or Fox Company of the 101st Airborne's 506th PIR.

Captures d'écran

MiniatureMiniature

Code source

#!/bin/bash
# Date : (2013-02-28 22-08)
# Last revision : (2013-07-24 09-05)
# Wine version used : 1.5.3 (only working)
# Distribution used to test : Ubuntu 12.10
# Author : lahtis
# Script licence : GPL v.2
# Program licence : Retail
# Installer for Steam - Company of Heroes
# also install you own DLC...

# CHANGELOG
# [SuperPlumus] (2013-07-24 09-05)
#   Update gettext messages
#   Clean code

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

TITLE="Company of Heroes"
PREFIX="CompanyofHeroes_steam"
WORKING_WINE_VERSION="1.5.3"
STEAM_ID="4560"
EDITOR="Relic Entertainment / THQ"
GAME_URL="http://www.relic.com/games/company-of-heroes/"
AUTHOR="lahtis"
GAME_VMS="512"

#Initialization
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
Set_OS winxp
POL_System_TmpCreate "$PREFIX"

# Fix pulseaudio issue
which pulseaudio && Set_OS "winxp"

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Select install method
POL_SetupWindow_InstallMethod "STEAM"

# Downloading and install Visual C++ 2005 libraries
POL_Call POL_Install_vcrun2005

# downloading and install directx
POL_Call POL_Install_d3dx9
POL_Wine_OverrideDLL builtin d3dx9_43

# Installing Steam
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" "$TITLE" "$TITLE.png" "steam://rungameid/$STEAM_ID"
POL_Shortcut "steam.exe" "Steam ($TITLE)" "" ""

cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine_WaitBefore "$TITLE"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribuer
Membre Messages
zwiebelchen89 Dimanche 27 Juillet 2014 à 1:25
zwiebelchen89 Anonymous

Messages

Tried with Company of Heroes - Steam Version and everything went well.

 

My system:

Debian Wheezy 7.6

PlayOnLinux: 4.1.1-1

Xeon E3 1230 V2

GTX 660

16 GB DDR3

 

Thanks !

Réponses

Anonymous
Dimanche 27 Juillet 2014 à 1:47
Sry, not tested enough, seems to be broken :-(