Star Wars: Battlefront II (2005)

Informations

Créateur Messages
Quentin PÂRIS
Admin

Information

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

Informations

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

Retours d'expérience

Description

FPS, 2005. Wikipedia. Appdb.winehq.org

Known problem (2014 ?): Loading time of games can be very slow (~2-3 minutes), it's listed as Wine bug #29582.

Captures d'écran

MiniatureMiniatureMiniature

Code source

#!/bin/bash
 
# CHANGELOG
# [Quentin P] (2014 ?)
#   Initial writting.
# [Dadu042] (2019-11-15 12-55)
#   Wine "1.5.10-battlefront" -> 2.22
# [Dadu042] (2019-11-15 13:23)
#   Add install from local
# [Dadu042] (2019-11-16 22:20)
#   Wine 2.22 -> 3.0.3. I tested with GOG.com release v1.1
# [Dadu042] (2019-11-17 15:35)
#   Force winxp and x86
#   Fix a log issue.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Star Wars - Battlefront II (2005)"
PREFIX="StarWarsBattlefrontII2005"
 
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "LucasArts" "" "Tinou" "$PREFIX"
 
POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "3.0.3"
POL_System_SetArch "x86"
Set_OS "winxp"

################
#      GPU     #
################
  
# Asking about memory size of graphic card
# POL_SetupWindow_VMS $GAME_VMS
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

################

# Fix for 'err:ole:CoGetClassObject class {ef985e71-d5c7-42d4-ba4d-2d073e2e96f4} not registered'
POL_Call POL_Install_mdac28

POL_SetupWindow_InstallMethod "DVD,LOCAL"
 
if [ "$INSTALL_METHOD" = "DVD" ]; then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Gamedata/Setup.exe"
        cd "$CDROM"
        POL_Wine --ignore-errors "$CDROM/Gamedata/Setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "LOCAL" ]; then        
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE" # "/SILENT"
        POL_Wine_WaitExit "$TITLE"
fi
 
POL_Shortcut "LaunchBFII.exe" "$TITLE" "" "" "Game;ActionGame;"
POL_Shortcut_QuietDebug "$TITLE"

# In the GOG release, filename is this one:
POL_Shortcut "BattlefrontII.exe" "$TITLE" "" "" "Game;ActionGame;"
POL_Shortcut_QuietDebug "$TITLE"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Dimanche 17 Novembre 2019 à 15:36
Dadu042
Modérateur

Information

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

Messages

Played 1h30.
 

Differences

@@ -9,7 +9,9 @@
 #   Add install from local
 # [Dadu042] (2019-11-16 22:20)
 #   Wine 2.22 -> 3.0.3. I tested with GOG.com release v1.1
-
+# [Dadu042] (2019-11-17 15:35)
+#   Force winxp and x86
+#   Fix a log issue.
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -25,6 +27,8 @@
 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "3.0.3"
+POL_System_SetArch "x86"
+Set_OS "winxp"
 
 ################
 #      GPU     #
@@ -36,6 +40,10 @@
 # Set Graphic Card information keys for wine
 POL_Wine_SetVideoDriver
 
+################
+
+# Fix for 'err:ole:CoGetClassObject class {ef985e71-d5c7-42d4-ba4d-2d073e2e96f4} not registered'
+POL_Call POL_Install_mdac28
 
 POL_SetupWindow_InstallMethod "DVD,LOCAL"
  

Nouveau code source

#!/bin/bash
 
# CHANGELOG
# [Quentin P] (2014 ?)
#   Initial writting.
# [Dadu042] (2019-11-15 12-55)
#   Wine "1.5.10-battlefront" -> 2.22
# [Dadu042] (2019-11-15 13:23)
#   Add install from local
# [Dadu042] (2019-11-16 22:20)
#   Wine 2.22 -> 3.0.3. I tested with GOG.com release v1.1
# [Dadu042] (2019-11-17 15:35)
#   Force winxp and x86
#   Fix a log issue.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Star Wars - Battlefront II (2005)"
PREFIX="StarWarsBattlefrontII2005"
 
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "LucasArts" "" "Tinou" "$PREFIX"
 
POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "3.0.3"
POL_System_SetArch "x86"
Set_OS "winxp"

################
#      GPU     #
################
  
# Asking about memory size of graphic card
# POL_SetupWindow_VMS $GAME_VMS
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver

################

# Fix for 'err:ole:CoGetClassObject class {ef985e71-d5c7-42d4-ba4d-2d073e2e96f4} not registered'
POL_Call POL_Install_mdac28

POL_SetupWindow_InstallMethod "DVD,LOCAL"
 
if [ "$INSTALL_METHOD" = "DVD" ]; then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Gamedata/Setup.exe"
        cd "$CDROM"
        POL_Wine --ignore-errors "$CDROM/Gamedata/Setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "LOCAL" ]; then        
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE" # "/SILENT"
        POL_Wine_WaitExit "$TITLE"
fi
 
POL_Shortcut "LaunchBFII.exe" "$TITLE" "" "" "Game;ActionGame;"
POL_Shortcut_QuietDebug "$TITLE"

# In the GOG release, filename is this one:
POL_Shortcut "BattlefrontII.exe" "$TITLE" "" "" "Game;ActionGame;"
POL_Shortcut_QuietDebug "$TITLE"

POL_SetupWindow_Close
exit 0

Réponses

Dadu042 Samedi 16 Novembre 2019 à 23:31
Dadu042
Modérateur

Warning

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

Differences

@@ -1,38 +1,65 @@
 #!/bin/bash
-
+ 
 # CHANGELOG
 # [Quentin P] (2014 ?)
 #   Initial writting.
 # [Dadu042] (2019-11-15 12-55)
 #   Wine "1.5.10-battlefront" -> 2.22
+# [Dadu042] (2019-11-15 13:23)
+#   Add install from local
+# [Dadu042] (2019-11-16 22:20)
+#   Wine 2.22 -> 3.0.3. I tested with GOG.com release v1.1
+
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
-TITLE="Star Wars - Battlefront II"
-PREFIX="StarWarsBattlefrontII"
-
+ 
+TITLE="Star Wars - Battlefront II (2005)"
+PREFIX="StarWarsBattlefrontII2005"
+ 
 POL_SetupWindow_Init
 POL_Debug_Init
-POL_SetupWindow_presentation "$TITLE" "LucasArts" "" "Tinou" "$PREFIX" 
-
+POL_SetupWindow_presentation "$TITLE" "LucasArts" "" "Tinou" "$PREFIX"
+ 
+POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "3.0.3"
+
+################
+#      GPU     #
+################
+  
+# Asking about memory size of graphic card
+# POL_SetupWindow_VMS $GAME_VMS
+ 
+# Set Graphic Card information keys for wine
+POL_Wine_SetVideoDriver
 
-POL_SetupWindow_InstallMethod "DVD"
 
+POL_SetupWindow_InstallMethod "DVD,LOCAL"
+ 
 if [ "$INSTALL_METHOD" = "DVD" ]; then
-	POL_SetupWindow_cdrom
-	POL_SetupWindow_check_cdrom "Gamedata/Setup.exe"
-
-	POL_Wine_SelectPrefix "$PREFIX" 
-	POL_Wine_PrefixCreate "2.22"
-
-	cd "$CDROM"
-	POL_Wine --ignore-errors "$CDROM/Gamedata/Setup.exe" 
-	POL_Wine_WaitExit "$TITLE"
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "Gamedata/Setup.exe"
+        cd "$CDROM"
+        POL_Wine --ignore-errors "$CDROM/Gamedata/Setup.exe"
+        POL_Wine_WaitExit "$TITLE"
+elif [ "$INSTALL_METHOD" == "LOCAL" ]; then        
+        cd "$HOME"
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
+        # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE"
+        SETUP_EXE="$APP_ANSWER"
+        POL_Wine start /unix "$SETUP_EXE" # "/SILENT"
+        POL_Wine_WaitExit "$TITLE"
 fi
-
+ 
 POL_Shortcut "LaunchBFII.exe" "$TITLE" "" "" "Game;ActionGame;"
 POL_Shortcut_QuietDebug "$TITLE"
 
+# In the GOG release, filename is this one:
+POL_Shortcut "BattlefrontII.exe" "$TITLE" "" "" "Game;ActionGame;"
+POL_Shortcut_QuietDebug "$TITLE"
+
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
 
# CHANGELOG
# [Quentin P] (2014 ?)
#   Initial writting.
# [Dadu042] (2019-11-15 12-55)
#   Wine "1.5.10-battlefront" -> 2.22
# [Dadu042] (2019-11-15 13:23)
#   Add install from local
# [Dadu042] (2019-11-16 22:20)
#   Wine 2.22 -> 3.0.3. I tested with GOG.com release v1.1


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Star Wars - Battlefront II (2005)"
PREFIX="StarWarsBattlefrontII2005"
 
POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "LucasArts" "" "Tinou" "$PREFIX"
 
POL_RequiredVersion "4.2.12" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "3.0.3"

################
#      GPU     #
################
  
# Asking about memory size of graphic card
# POL_SetupWindow_VMS $GAME_VMS
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver


POL_SetupWindow_InstallMethod "DVD,LOCAL"
 
if [ "$INSTALL_METHOD" = "DVD" ]; then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Gamedata/Setup.exe"
        cd "$CDROM"
        POL_Wine --ignore-errors "$CDROM/Gamedata/Setup.exe"
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "LOCAL" ]; then        
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        # POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE" # "/SILENT"
        POL_Wine_WaitExit "$TITLE"
fi
 
POL_Shortcut "LaunchBFII.exe" "$TITLE" "" "" "Game;ActionGame;"
POL_Shortcut_QuietDebug "$TITLE"

# In the GOG release, filename is this one:
POL_Shortcut "BattlefrontII.exe" "$TITLE" "" "" "Game;ActionGame;"
POL_Shortcut_QuietDebug "$TITLE"

POL_SetupWindow_Close
exit 0

Réponses

Dadu042 Vendredi 15 Novembre 2019 à 12:53
Dadu042
Modérateur

Warning

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

Differences

@@ -1,9 +1,15 @@
 #!/bin/bash
 
+# CHANGELOG
+# [Quentin P] (2014 ?)
+#   Initial writting.
+# [Dadu042] (2019-11-15 12-55)
+#   Wine "1.5.10-battlefront" -> 2.22
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
-TITLE="Star wars - Battlefront II"
+TITLE="Star Wars - Battlefront II"
 PREFIX="StarWarsBattlefrontII"
 
 POL_SetupWindow_Init
@@ -18,14 +24,14 @@
 	POL_SetupWindow_check_cdrom "Gamedata/Setup.exe"
 
 	POL_Wine_SelectPrefix "$PREFIX" 
-	POL_Wine_PrefixCreate "1.5.10-battlefront"
+	POL_Wine_PrefixCreate "2.22"
 
 	cd "$CDROM"
 	POL_Wine --ignore-errors "$CDROM/Gamedata/Setup.exe" 
 	POL_Wine_WaitExit "$TITLE"
 fi
 
-POL_Shortcut "LaunchBFII.exe" "$TITLE"
+POL_Shortcut "LaunchBFII.exe" "$TITLE" "" "" "Game;ActionGame;"
 POL_Shortcut_QuietDebug "$TITLE"
 
 POL_SetupWindow_Close

Nouveau code source

#!/bin/bash

# CHANGELOG
# [Quentin P] (2014 ?)
#   Initial writting.
# [Dadu042] (2019-11-15 12-55)
#   Wine "1.5.10-battlefront" -> 2.22

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

TITLE="Star Wars - Battlefront II"
PREFIX="StarWarsBattlefrontII"

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "LucasArts" "" "Tinou" "$PREFIX" 


POL_SetupWindow_InstallMethod "DVD"

if [ "$INSTALL_METHOD" = "DVD" ]; then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Gamedata/Setup.exe"

        POL_Wine_SelectPrefix "$PREFIX" 
        POL_Wine_PrefixCreate "2.22"

        cd "$CDROM"
        POL_Wine --ignore-errors "$CDROM/Gamedata/Setup.exe" 
        POL_Wine_WaitExit "$TITLE"
fi

POL_Shortcut "LaunchBFII.exe" "$TITLE" "" "" "Game;ActionGame;"
POL_Shortcut_QuietDebug "$TITLE"

POL_SetupWindow_Close
exit 0

Réponses

Gold_Logi Vendredi 28 Juin 2019 à 4:52
Gold_Logi Anonymous

Messages

I have installed Star Wars Battlefront 2 on my steam windows version with playonmac and wine and it has downloaded the game but when I go to click play through steam it pops up with a message saying it needs to update but there is no update and after 30 seconds or so another error pops up saying connection time out. So I can't get past this to actually open and play the game. Please help me solve this issue. Thank you!

Réponses

Shakuniboss Lundi 26 Février 2018 à 0:28
Shakuniboss Anonymous

Messages

Ok well I got the mod installed, but now the game won't start up at all. Any idea as to why this is happening?

Réponses

Shakuniboss Dimanche 25 Février 2018 à 5:35
Shakuniboss Anonymous

Messages

Help

Réponses

Anonymous
Dimanche 25 Février 2018 à 5:36
Does anyone know how to install the Star Wars Battlefront 2 Ultimate Mod to the Steam edition of Battlefront 2. I downloaded BF2 through Play on Linux
Anonymous
Dimanche 25 Février 2018 à 5:37
But i dont think that's the problem. I will copy and paste the file's location into the mod installer, but it is asking for a drive name? I dont know the drive name of the home folder so that might be the problem
Anonymous
Dimanche 25 Février 2018 à 5:38
If so does anyone know how to find out in what drive your home folder is located? But i am hoping there is someone who has managed to successfully install the Ultimate mod for BF2 who could help me out. Thanks!
Anonymous
Dimanche 25 Février 2018 à 5:41
And my computer knowledge is very little so a walkthrough of steps would help out so much. Thanks again
Anonymous
Dimanche 25 Février 2018 à 5:44
https://swsaga.ru
Anonymous
Dimanche 25 Février 2018 à 5:44
That is the link to mod
techwiz24 Samedi 16 Mai 2015 à 1:54
techwiz24 Anonymous

Messages

I have the 4 CD-ROM Set. I cannot get the installer to start installing (It asks if it wants to create a shortcut, which I select no) by throwing an error:

Unhandled Exception

Error Number: 0x80040707

Description: DLL functilon call crashed: LecSetup2.LecSetup_CheckDirectX

Setup will now terminate

Réponses

Anonymous
Samedi 16 Mai 2015 à 1:55
Also, this shows up in the debug log: err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x75a29a
Samedi 16 Mai 2015 à 2:23
Graphics card/drivers? Full computer specs? Full debug log? From the looks of it, you might want to check your graphics card drivers, but without that info, we are just guessing. :)
AZMel Vendredi 15 Mai 2015 à 0:18
AZMel Anonymous

Messages

There appears to be a patch for the slow loading.  Could you create a patched wine version from the solution described in this post?

 

https://bugs.winehq.org/show_bug.cgi?id=29582#c15

 

Thanks!

Mel

Réponses

Vendredi 15 Mai 2015 à 1:18
http://wiki.playonlinux.com/index.php/How_to_Request_a_Patched_Version_of_Wine
darktytanus Mercredi 17 September 2014 à 15:17
darktytanus Anonymous

Messages

Bonjour, 

ayant réussi  installer battlefront II sans soucis, le jeu se la ce également sans soucis mais au moment de jouer, le menu de chargement apparaît mais load dans le vide ça charge sans lancer la partie .. C est problématique.. Aucune solution ? 

Vous êtes mon seul espoir !

Merci d avance. 

Réponses