The forum

Wolfenstein

2009

Author Replies
Berillions Friday 21 August 2009 at 20:16
Berillions

Salut tout le monde,

J'ai crée un script pour Wolfenstein, un jeu qui est sorti il y a peu. Pour le peu que j'y ai joué, je n'ai pas eu de crash ni de bug graphique.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/bin/bash
# Date: (2009-08-21 19-25)
# Distribution used to test: Frugalware Current
# Wine version used: 1.1.27
# Author: Berillions
# Graphic Card : GeForce GTX275
# Drivers : 185.18.31
  
#fetching PROGRAMFILES environmental variable
PROGRAMFILES=`wine cmd /c echo "%ProgramFiles%"`
PROGRAMFILES=${PROGRAMFILES:3}
  
#Vérifier que PlayOnLinux est bien exécuté avant
[ "$PLAYONLINUX" = "" ] && exit 0
  
#Charger les librairies
source "$PLAYONLINUX/lib/sources"
  
Title="Wolfenstein"
  
if [ "$POL_LANG" == "fr" ]; then
LNG_WAIT_END="Appuyez sur \\"Suivant\\" UNIQUEMENT quand l'installation du jeu sera
terminée sous peine de devoir recommencer l'installation."
else
LNG_WAIT_END="Click on \\"Next\\" ONLY when the game installation
is finished or you will have to redo the installation.."
fi
 
POL_SetupWindow_Init
  
#Presentation
POL_SetupWindow_presentation "$Title" "Activision" "http://www.wolfenstein.com/" "Berillions" "$Title"
  
#Installation de Wine
POL_SetupWindow_install_wine "1.1.27"
 
#Préparation de Wine
select_prefixe "$REPERTOIRE/wineprefix/$Title"
POL_SetupWindow_prefixcreate
 
#Taille de la mémoire graphique
POL_SetupWindow_textbox "Your Memory Graphic ?" "Memory Graphic"
VMS="$APP_ANSWER"
  
#Réglage DirectDrawRenderer
cd "$WINEPREFIX/drive_c/windows/temp"
echo "[HKEY_CURRENT_USER\\\\Software\\\\Wine\\\\Direct3D]" > OGL.reg
echo "\\"VideoMemorySize\\"=\\"$VMS\\"" >> OGL.reg
regedit OGL.reg
 
#Configuration de Wine
Set_OS winxp
  
#Détection du cd-rom
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"
 
wine $CDROM/setup.exe
 
POL_SetupWindow_message "$LNG_WAIT_END" "$Title"
  
#Création Launcher
POL_SetupWindow_make_shortcut "$Title" "$PROGRAMFILES/Activision/Wolfenstein/SP/" "Wolf2.exe" "" "$Title"
 
Set_WineVersion_Assign "1.1.27" "$Title"
 
POL_SetupWindow_Close
exit


Screenshot :





ptictux Saturday 5 September 2009 at 17:56
ptictuxAnonymous

Bonjour

Merci pour le script, ca le fait.

Mais j'ai un pb en mode multi:
- au1er lancement un patch est téléchargé et installé à priori sans souci.
- au 2ème il recommence le téléchargement, mais lors de la seconde install dit qu'il est déjà à jour.

Le souci est donc dans la détection du patch, searit-il installé au mauvais endroit... je ne vois pas où ?

Une idée ?

Pascal
Berillions Sunday 6 September 2009 at 11:41
Berillions

Je n'ai pas essayé le mode multijoueur. Désolé :s

You are here: Index > Vos créations > Wolfenstein

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@playonlinux.com