Star Wars: Battlefront II (2005)

Informations

Creator Wiadmości
Quentin PÂRIS
Admin

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 24936
Wine: 3.0.3

Feedbacks

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.

Screenshots

MiniatureMiniatureMiniature

Source code

#!/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:

Contribute
Member Wiadmości
Dadu042 Sunday 17 November 2019 at 15:36
Dadu042
Moderator

Information

This update has been approved by the team.

Wiadmości

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"
  

New source code

#!/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

Odpowiedzi

Dadu042 Saturday 16 November 2019 at 23:31
Dadu042
Moderator

Warning

This update has not been approved yet by the team.
Use it at your own risk

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

New source code

#!/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

Odpowiedzi

Dadu042 Friday 15 November 2019 at 12:53
Dadu042
Moderator

Warning

This update has not been approved yet by the team.
Use it at your own risk

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

New source code

#!/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

Odpowiedzi

Gold_Logi Friday 28 June 2019 at 4:52
Gold_Logi Anonymous

Wiadmości

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!

Odpowiedzi

Shakuniboss Monday 26 February 2018 at 0:28
Shakuniboss Anonymous

Wiadmości

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?

Odpowiedzi

Shakuniboss Sunday 25 February 2018 at 5:35
Shakuniboss Anonymous

Wiadmości

Help

Odpowiedzi

Anonymous
Sunday 25 February 2018 at 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
Sunday 25 February 2018 at 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
Sunday 25 February 2018 at 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
Sunday 25 February 2018 at 5:41
And my computer knowledge is very little so a walkthrough of steps would help out so much. Thanks again
Anonymous
Sunday 25 February 2018 at 5:44
https://swsaga.ru
Anonymous
Sunday 25 February 2018 at 5:44
That is the link to mod
techwiz24 Saturday 16 May 2015 at 1:54
techwiz24 Anonymous

Wiadmości

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

Odpowiedzi

Anonymous
Saturday 16 May 2015 at 1:55
Also, this shows up in the debug log: err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x75a29a
Saturday 16 May 2015 at 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 Friday 15 May 2015 at 0:18
AZMel Anonymous

Wiadmości

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

Odpowiedzi

Friday 15 May 2015 at 1:18
http://wiki.playonlinux.com/index.php/How_to_Request_a_Patched_Version_of_Wine
darktytanus Wednesday 17 September 2014 at 15:17
darktytanus Anonymous

Wiadmości

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. 

Odpowiedzi