Halo Combat Evolved

Informations

Creator Nachricht
GNU_Raziel

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 70135
Wine: 4.0.1

Feedbacks

Screenshots

Source code

#!/bin/bash
# Date : (2010-01-09 22-00)
# Last revision : (2019-07-01 02-21)
# Wine version used : 4.0.1
# Distribution used to test : Linux Mint 19.1 Cinnamon - 64-bit
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

# CHANGELOG
# [SuperPlumus] (2013-06-08 18-54)
#   gettext

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

TITLE="Halo Combat Evolved"
PREFIX="Halo"
WINEVERSION="4.0.1"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/top.jpg" "http://files.playonlinux.com/resources/setups/halo/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 236
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Microsoft Games" "http://www.microsoft.com/games/halo/" "GNU_Raziel" "$PREFIX"
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "http://halo.bungie.net/images/games/halopc/patch/110/halopc-patch-1.0.10.exe" "adeed5e8d33172ec387cb11a89f1b294"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_SetupWindow_InstallMethod "LOCAL,DVD"

# Installing mandatory dependancies
POL_Call POL_Install_d3dx9
POL_Call POL_Install_mfc42
POL_Call POL_Install_msxml4

Set_OS "winxp"

Set_Desktop "On" "1024" "768"

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert the DVD-ROM')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Setup/halo1.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

# Sound problem fix - pulseaudio related
if [ "$POL_OS" = "Linux" ]; then
        Set_SoundDriver "alsa"
        Set_SoundEmulDriver "Y"
fi

## PlayOnMac Section
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section

#Install patch
POL_Wine_WaitBefore "$(eval_gettext 'Updating $TITLE')"
POL_Wine "$POL_System_TmpDir/halopc-patch-1.0.10.exe"
POL_Wine_WaitExit "$TITLE"

# Making shortcut
POL_Shortcut "halo.exe" "$TITLE" "" "" "Game;"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Nachricht
Yaotl Monday 1 July 2019 at 1:25
Yaotl Anonymous

Information

This update has been approved by the team.

Differences

@@ -1,8 +1,8 @@
 #!/bin/bash
 # Date : (2010-01-09 22-00)
-# Last revision : (2011-02-08 21-00)
-# Wine version used : 1.2, 1.2.3
-# Distribution used to test : Debian Testing x64
+# Last revision : (2019-07-01 02-21)
+# Wine version used : 4.0.1
+# Distribution used to test : Linux Mint 19.1 Cinnamon - 64-bit
 # Author : GNU_Raziel
 # Licence : Retail
 # Only For : http://www.playonlinux.com
@@ -16,21 +16,36 @@
 
 TITLE="Halo Combat Evolved"
 PREFIX="Halo"
-WORKING_WINE_VERSION="1.4"
+WINEVERSION="4.0.1"
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/top.jpg" "http://files.playonlinux.com/resources/setups/halo/left.jpg" "$TITLE"
 POL_SetupWindow_Init
+POL_SetupWindow_SetID 236
 POL_Debug_Init
 
 POL_SetupWindow_presentation "$TITLE" "Microsoft Games" "http://www.microsoft.com/games/halo/" "GNU_Raziel" "$PREFIX"
+POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+
+POL_System_TmpCreate "$PREFIX"
+cd $POL_System_TmpDir
+POL_Download "http://halo.bungie.net/images/games/halopc/patch/110/halopc-patch-1.0.10.exe" "adeed5e8d33172ec387cb11a89f1b294"
 
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+POL_Wine_PrefixCreate "$WINEVERSION"
 
 POL_SetupWindow_InstallMethod "LOCAL,DVD"
 
 # Installing mandatory dependancies
+POL_Call POL_Install_d3dx9
 POL_Call POL_Install_mfc42
+POL_Call POL_Install_msxml4
+
+Set_OS "winxp"
+
+Set_Desktop "On" "1024" "768"
+
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS ${GAME_VMS}
 
 if [ "$INSTALL_METHOD" == "DVD" ]; then
         # Asking for CDROM and checking if it's correct one
@@ -48,9 +63,6 @@
         POL_Wine_WaitExit "$TITLE"
 fi
 
-# Asking about memory size of graphic card
-POL_SetupWindow_VMS "128"
-
 # Sound problem fix - pulseaudio related
 if [ "$POL_OS" = "Linux" ]; then
         Set_SoundDriver "alsa"
@@ -61,21 +73,13 @@
 [ "$POL_OS" = "Mac" ] && Set_Managed "Off"
 ## End Section
 
-
-# The game won't work without that
-# cd "$WINEPREFIX/drive_c"
-#POL_Download "http://www.bungie.net/images/games/halopc/patch/halopc108patch.exe" "39ff9beb498cee69c8c52884abf5e84f"
-
-# POL_Download "http://www.bungie.net/images/games/halopc/patch/patch_109.exe" "5d8b1cc3584f2916935c168ce39a216d"
-#POL_Wine "halopc108patch.exe"
-#POL_Wine "patch_109.exe"
-
-cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Microsoft Games/Halo"
+#Install patch
 POL_Wine_WaitBefore "$(eval_gettext 'Updating $TITLE')"
-POL_Wine haloupdate.exe
+POL_Wine "$POL_System_TmpDir/halopc-patch-1.0.10.exe"
+POL_Wine_WaitExit "$TITLE"
 
 # Making shortcut
-POL_Shortcut "halo.exe" "$TITLE"
+POL_Shortcut "halo.exe" "$TITLE" "" "" "Game;"
 
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2010-01-09 22-00)
# Last revision : (2019-07-01 02-21)
# Wine version used : 4.0.1
# Distribution used to test : Linux Mint 19.1 Cinnamon - 64-bit
# Author : GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

# CHANGELOG
# [SuperPlumus] (2013-06-08 18-54)
#   gettext

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

TITLE="Halo Combat Evolved"
PREFIX="Halo"
WINEVERSION="4.0.1"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/top.jpg" "http://files.playonlinux.com/resources/setups/halo/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 236
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Microsoft Games" "http://www.microsoft.com/games/halo/" "GNU_Raziel" "$PREFIX"
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "http://halo.bungie.net/images/games/halopc/patch/110/halopc-patch-1.0.10.exe" "adeed5e8d33172ec387cb11a89f1b294"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_SetupWindow_InstallMethod "LOCAL,DVD"

# Installing mandatory dependancies
POL_Call POL_Install_d3dx9
POL_Call POL_Install_mfc42
POL_Call POL_Install_msxml4

Set_OS "winxp"

Set_Desktop "On" "1024" "768"

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert the DVD-ROM')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "Setup/halo1.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

# Sound problem fix - pulseaudio related
if [ "$POL_OS" = "Linux" ]; then
        Set_SoundDriver "alsa"
        Set_SoundEmulDriver "Y"
fi

## PlayOnMac Section
[ "$POL_OS" = "Mac" ] && Set_Managed "Off"
## End Section

#Install patch
POL_Wine_WaitBefore "$(eval_gettext 'Updating $TITLE')"
POL_Wine "$POL_System_TmpDir/halopc-patch-1.0.10.exe"
POL_Wine_WaitExit "$TITLE"

# Making shortcut
POL_Shortcut "halo.exe" "$TITLE" "" "" "Game;"

POL_SetupWindow_Close
exit 0

Antworten

Monday 1 July 2019 at 10:31
Approved.

Editiert von: Yaotl

pesoen Tuesday 21 August 2018 at 23:04
pesoen Anonymous

Nachricht

i get errors about i965_dri.so and swrast_dri.so, so i cannot run it, however using the disc it launches enough to get me these errors. without the disc it fails to launch, wanting the disc, and i cannot update it to the no cd version without having the game running at least once. looking forward to playing halo on my linux computer, once i can get it to work(or get help from you guys here)

i have libgl1-mesa-dri installed.

 

feel free to ask for any other info you might need to help me.

 

Below is the entire log from launch.


- Running wine-1.4 halo.exe (Working directory : /home/pesoen/.PlayOnLinux/wineprefix/Halo/drive_c/Program Files/Microsoft Games/Halo)
fixme:iphlpapi:NotifyAddrChange (Handle 0xebe8cc, overlapped 0xebe8b0): stub
wine: configuration in '/home/pesoen/.PlayOnLinux//wineprefix/Halo' has been updated.
fixme:ddraw:DirectDrawEnumerateExA flags 0x00000001 not handled
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: i965_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: i965
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  1121
  Current serial number in output stream:  1125

Antworten

Anonymous
Saturday 5 January 2019 at 17:30
after having to reinstall my OS i found the issue, i had to change to wine 1.9.4 to get it working. seems odd, but it works as expected, though some sounds/audio is not playing as intended for example the first cutscene with cortana, the captain is silent at first, then begins talking, when cortana first shows up she speaks, but the second part of "so you did miss me" is not played. could be a local issue with my installation, and some files not working. or maybe that i play with sound settings on high instead of normal. outside of cutscenes all audio seems to be playing as intended.
msoftwaredoctor Wednesday 27 April 2016 at 8:38
msoftwaredoctor Anonymous

Nachricht

Needs support for 1080p plus screen resolution and wine itself needs a fix for cd validation games but other than that works next to perfect, thank you!

Antworten

eth.jp Wednesday 7 January 2015 at 6:56
eth.jp

Nachricht

The installation ran perfectly b

Antworten

Wednesday 7 January 2015 at 6:57
Sorry my internet cut out. The installation ran perfectly and the program launched but the screen was split diagonally and then mirrored, this rendered the game inoperable.