Wolfenstein

Informations

Créateur Messages
GNU_Raziel

Information

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

Informations

Plate-formes :
Téléchargements : 56304
Wine: 3.0.3

Retours d'expérience

Description

FPS, 2009. Wikipedia. Appdb.winehq.org 

Captures d'écran

MiniatureMiniatureMiniature

Code source

#!/bin/bash
# Date : (2010-19-08 19-30)
# Last revision : see changelog
# Wine version used : 1.2, 1.4
# Distribution used to test : Debian Squeeze (Testing)
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

#
# CHANGELOG
# [GNU_Raziel] (2010-19-08 19-30)
#   First script (Wine 4.0.3).
# [z3ke] (22012-05-18 21:00)
#   ?
# [z3ke] (2020-01-03)
#   Force arch x32
# [Dadu042] (2020-01-03)
#   Wine 1.4 -> 3.0.3
#   Improve POL_Shortcut
#   Add POL_RequiredVersion

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

TITLE="Wolfenstein"
PREFIX="wolfenstein_2k9"
MULTIPLAYER_EXE="Wolfenstein Multiplayer"
EDITOR="Activision"
GAME_URL="http://www.wolfenstein.com"
AUTHOR="GNU_Raziel"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="256"

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

# Starting debugging API
POL_Debug_Init

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

POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
# The POL_System_Arch must be x86 to get Wolfenstein working on x64
POL_System_SetArch "x86"

POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

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

# Installing mandatory dependencies
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_dxfullsetup

# Begin game installation
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')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Setup/rsrc/Wolfenstein.ico"
        POL_Wine start /unix "$CDROM/setup.exe"
        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

# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

## Fix for this game
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix


# Making shortcut
POL_Shortcut "Wolf2.exe" "$TITLE" "Wolf2_SP.png" "" "Game;"
POL_Shortcut "Wolf2MP.exe" "$MULTIPLAYER_EXE" "Wolf2_MP.png" "" "Game;"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Vendredi 3 Janvier 2020 à 22:59
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -1,12 +1,25 @@
 #!/bin/bash
 # Date : (2010-19-08 19-30)
-# Last revision : (2012-05-18 21:00)
+# Last revision : see changelog
 # Wine version used : 1.2, 1.4
 # Distribution used to test : Debian Squeeze (Testing)
 # Author : GNU_Raziel
 # Licence : Retail
 # Only For : http://www.playonlinux.com
 
+#
+# CHANGELOG
+# [GNU_Raziel] (2010-19-08 19-30)
+#   First script (Wine 4.0.3).
+# [z3ke] (22012-05-18 21:00)
+#   ?
+# [z3ke] (2020-01-03)
+#   Force arch x32
+# [Dadu042] (2020-01-03)
+#   Wine 1.4 -> 3.0.3
+#   Improve POL_Shortcut
+#   Add POL_RequiredVersion
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
@@ -16,7 +29,7 @@
 EDITOR="Activision"
 GAME_URL="http://www.wolfenstein.com"
 AUTHOR="GNU_Raziel"
-WORKING_WINE_VERSION="1.4"
+WORKING_WINE_VERSION="3.0.3"
 GAME_VMS="256"
 
 # Starting the script
@@ -28,6 +41,8 @@
 
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
+POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"
 
@@ -61,12 +76,12 @@
 	POL_Wine_WaitExit "$TITLE"
 fi
 
-# Asking about memory size of graphic card
-POL_SetupWindow_VMS $GAME_VMS
-
 # Set Graphic Card informations keys for wine
 POL_Wine_SetVideoDriver
 
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
+
 ## Fix for this game
 # Sound problem fix - pulseaudio related
 [ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
@@ -75,8 +90,8 @@
 
 
 # Making shortcut
-POL_Shortcut "Wolf2.exe" "$TITLE" "Wolf2_SP.png" ""
-POL_Shortcut "Wolf2MP.exe" "$MULTIPLAYER_EXE" "Wolf2_MP.png" ""
+POL_Shortcut "Wolf2.exe" "$TITLE" "Wolf2_SP.png" "" "Game;"
+POL_Shortcut "Wolf2MP.exe" "$MULTIPLAYER_EXE" "Wolf2_MP.png" "" "Game;"
 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2010-19-08 19-30)
# Last revision : see changelog
# Wine version used : 1.2, 1.4
# Distribution used to test : Debian Squeeze (Testing)
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

#
# CHANGELOG
# [GNU_Raziel] (2010-19-08 19-30)
#   First script (Wine 4.0.3).
# [z3ke] (22012-05-18 21:00)
#   ?
# [z3ke] (2020-01-03)
#   Force arch x32
# [Dadu042] (2020-01-03)
#   Wine 1.4 -> 3.0.3
#   Improve POL_Shortcut
#   Add POL_RequiredVersion

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

TITLE="Wolfenstein"
PREFIX="wolfenstein_2k9"
MULTIPLAYER_EXE="Wolfenstein Multiplayer"
EDITOR="Activision"
GAME_URL="http://www.wolfenstein.com"
AUTHOR="GNU_Raziel"
WORKING_WINE_VERSION="3.0.3"
GAME_VMS="256"

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

# Starting debugging API
POL_Debug_Init

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

POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
# The POL_System_Arch must be x86 to get Wolfenstein working on x64
POL_System_SetArch "x86"

POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

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

# Installing mandatory dependencies
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_dxfullsetup

# Begin game installation
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')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Setup/rsrc/Wolfenstein.ico"
        POL_Wine start /unix "$CDROM/setup.exe"
        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

# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

## Fix for this game
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix


# Making shortcut
POL_Shortcut "Wolf2.exe" "$TITLE" "Wolf2_SP.png" "" "Game;"
POL_Shortcut "Wolf2MP.exe" "$MULTIPLAYER_EXE" "Wolf2_MP.png" "" "Game;"

POL_SetupWindow_Close
exit 0

Réponses

z3ke Mercredi 2 Mars 2016 à 22:13
z3ke Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

To get Wolfenstein 2009 working on x64 Linux systems, you have to use the Wine version 1.4 for x86.

As second you should choose the the size of the grafic card between 256 (default) and 1024 (recommended).

 

Change the line with POL_System_SetArch "auto" to POL_System_SetArch "x86"

A fix was submitted.

 

Differences

@@ -32,7 +32,9 @@
 POL_Wine_SelectPrefix "$PREFIX"
 
 # Downloading wine if necessary and creating prefix
-POL_System_SetArch "auto"
+# The POL_System_Arch must be x86 to get Wolfenstein working on x64
+POL_System_SetArch "x86"
+
 POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
 # Choose between DVD and Digital Download version

Nouveau code source

#!/bin/bash
# Date : (2010-19-08 19-30)
# Last revision : (2012-05-18 21:00)
# Wine version used : 1.2, 1.4
# Distribution used to test : Debian Squeeze (Testing)
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

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

TITLE="Wolfenstein"
PREFIX="wolfenstein_2k9"
MULTIPLAYER_EXE="Wolfenstein Multiplayer"
EDITOR="Activision"
GAME_URL="http://www.wolfenstein.com"
AUTHOR="GNU_Raziel"
WORKING_WINE_VERSION="1.4"
GAME_VMS="256"

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

# Starting debugging API
POL_Debug_Init

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

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Downloading wine if necessary and creating prefix
# The POL_System_Arch must be x86 to get Wolfenstein working on x64
POL_System_SetArch "x86"

POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

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

# Installing mandatory dependencies
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_dxfullsetup

# Begin game installation
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')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Setup/rsrc/Wolfenstein.ico"
        POL_Wine start /unix "$CDROM/setup.exe"
        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

# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS

# Set Graphic Card informations keys for wine
POL_Wine_SetVideoDriver

## Fix for this game
# Sound problem fix - pulseaudio related
[ "$POL_OS" = "Linux" ] && Set_SoundDriver "alsa"
[ "$POL_OS" = "Linux" ] && Set_SoundEmulDriver "Y"
## End Fix


# Making shortcut
POL_Shortcut "Wolf2.exe" "$TITLE" "Wolf2_SP.png" ""
POL_Shortcut "Wolf2MP.exe" "$MULTIPLAYER_EXE" "Wolf2_MP.png" ""

POL_SetupWindow_Close
exit 0

Réponses

Anonymous
Mercredi 2 Mars 2016 à 22:58
Forgot to say: If it doesn't work please start the game in window mode!
Anonymous
Jeudi 3 Mars 2016 à 15:01
What about using Wine 1.8?
Vendredi 3 Janvier 2020 à 22:56
Script approved.
dyp Dimanche 19 Octobre 2014 à 15:41
dyp

Messages

hello and thanks for POL, we at HandyLinux.org made a tutorial to install POL to encourage people to come to GNU/Linux.

I install Wolfenstein from DVD edition (4 DVD) but after installing directx, it strats and send me message 'I can't found CD after asking me to insert the game DVD in. I tryed all 4 DVD no success telling it DVD are in /media/cdrom0 (location on my File System.

I'm stuck in. thanks for help.

bonjour et merci pour POL, chez HandyLinux.org nous avons foait un tutoriel pour installer POl afin d'encourager les gens à passer à GNU/Linux.

J'ai installé Wolfenstein par le pack 4 DVD mais après l'installationde directx, il me demande d'insérer le CD mais ne le trouve pas, je lui ai donné le chemin /media/cdrom0 ou se trouve le DVD mais aucun des 4 DVD ne fonctionne.

Je suis bloqué, merci pour votre aide.

Réponses

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