F.E.A.R

Informations

Creator Message
Berillions

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 36704
Wine: System

Feedbacks

Description

Type : Shooters
Online : No
Company : Monolith Production
Compatibility : 4/5

English :
F.E.A.R. First Encounter Assault Recon is a horror-themed first-person shooter developed by Monolith Productions and published by Vivendi
The game's story revolves around a supernatural phenomenon, which F.E.A.R.—a fictional special forces team—is called to contain. The player assumes the role of F.E.A.R.'s Point Man, who possesses superhuman reflexes, and must uncover the secrets of a paranormal menace in the form of a little girl.

Français :
Vous êtes un soldat d'élite entraîné pour faire face aux situations les plus extrêmes. Engagé pour combattre une force féroce aux habiletés paranormales, vous devez contenir la crise avant qu'elle ne dérape un peu plus hors de contrôle. Découvrez la vrai signification de la peur grâce à un habile mélange entre action stylisé et scénario intense.

Source code

#!/bin/bash
# Date : (2009-06-13)
# Last revision : (2010-04-15)
# Wine version used : 1.1.42
# Distribution used to test : Debian Sid
# Author : Berillions
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
Title="F.E.A.R"
Prefix="F.E.A.R"
 
if [ "$POL_LANG" == "fr" ]; then
LNG_WAIT_CP="Preparation de l'installation"
LNG_WAIT_END="Appuyez sur \"Suivant\" UNIQUEMENT quand l'installation du jeu sera terminée\nsous peine de devoir recommencer l'installation."
LNG_WAIT_WMF="Appuyez sur \"Suivant\" pour commencer l'installation des codecs sons."
LNG_MEM="La taille de votre mémoire graphique?"
else
LNG_WAIT_CP="Preparation of Installation"
LNG_WAIT_END="Click on \"Next\" ONLY when the game installation is finished\nor you will have to redo the installation."
LNG_WAIT_WMF="Click on \"Next\" to install sound codecs."
LNG_MEM="How much memory do your graphic card have got?"
fi
 
#Presentation
cd $REPERTOIRE/tmp
rm *.jpg
wget http://upload.wikimedia.org/wikipedia/en/1/15/FEAR_DVD_box_art.jpg --output-document="$REPERTOIRE/tmp/$Prefix.jpg"
convert "$REPERTOIRE/tmp/$Prefix.jpg" -scale 150x356\! "$REPERTOIRE/tmp/left.jpg"
 
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpg"
POL_SetupWindow_presentation "$Title" "Monolith Productions" "http://www.whatisfear.com/" "Berillions" "$Prefix"
 
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"

#Installation de Wine
POL_SetupWindow_install_wine "1.1.43"
#Use_WineVersion "1.1.42"
 
select_prefix "$REPERTOIRE/wineprefix/$Prefix"
#POL_SetupWindow_prefixcreate
 
#fetching PROGRAMFILES environmental variable
PROGRAMFILES="Program Files"
POL_LoadVar_PROGRAMFILES
 
#Install Directx9
POL_Call POL_Install_d3dx9
 
#Configuration de Wine
Set_OS winxp
 
#Taille de la mémoire graphique
POL_SetupWindow_menu_list "$LNG_MEM" "$Title" "32 64 128 256 384 512 768 896 1024 2048" " "
VMS="$APP_ANSWER"
 
#Réglage Direct3D dans le Registre
cd "$WINEPREFIX/drive_c/windows/temp"
cat << EOF > OGL.reg
[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]
"VideoMemorySize"="$VMS"
"OffscreenRenderingMode"="fbo"
EOF
regedit OGL.reg

#Réglage Fonts
cat << EOF > Fonts50.reg
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts]
"LogPixels"=dword:00000050
EOF
regedit Fonts50.reg
 
POL_SetupWindow_wait_next_signal "Installing Game" "$Title"
cd $CDROM
wine ./setup.exe
POL_SetupWindow_detect_exit 

POL_SetupWindow_message "$LNG_WAIT_WMF" "$Title"

POL_SetupWindow_wait_next_signal "Installing WMFADist.exe" "$Title"
cd "$CDROM/support"
wine ./WMFADist.exe
POL_SetupWindow_detect_exit
 
POL_SetupWindow_message "$LNG_WAIT_END" "$Title"
 
#Création Icone
cd "$REPERTOIRE/tmp"
wget http://sd-1.archive-host.com/membres/images/51568577817080088/FEAR.jpg
mv "$REPERTOIRE/tmp/FEAR.jpg" "$REPERTOIRE/icones/32/$Title"
 
POL_SetupWindow_make_shortcut "$Prefix" "$PROGRAMFILES/Sierra/FEAR" "FEAR.exe" "" "$Title"

#Réglage Fonts
cd "$WINEPREFIX/drive_c/windows/temp"
cat << EOF > Fonts60.reg
[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts]
"LogPixels"=dword:00000060
EOF
regedit Fonts60.reg
 
Set_WineVersion_Assign "1.1.43" "$Title"
 
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Message