Mass Effect

Informations

Creator Message
Berillions

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 41272
Wine: 1.7.46-staging

Feedbacks

Description

Action role-playing third-person shooter video game. 2007.

Wikipedia. Appdb.winehq.org  PCGamingWiki

Screenshots

MiniatureMiniature

Source code

#!/bin/bash
# Date : (2009-03-28 12:00)
# Last revision : (2012-03-16 21:00)
# Wine version used : 1.2.2-Mousepatch, 1.2.3-forcebox
# Distribution used to test : Debian Testing x64
# Author : Berillions & GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

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

TITLE="Mass Effect"
PREFIX="MassEffect"
EDITOR="BioWare"
GAME_URL="http://masseffect.bioware.com/me1"
AUTHOR="Berillions & GNU_Raziel"
WORKING_WINE_VERSION="1.7.46-staging"
GAME_VMS="256"

# Starting the script
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
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

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

# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam
fi
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_d3dx9

if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media 1 into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "setup.exe"
        cd "$WINEPREFIX"/dosdevices
        ln -sf "$CDROM" p:
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_SetupWindow_message "$(eval_gettext 'When the game setup will ask for next Disk\nclick on \"Forward\"')" "$TITLE"
        POL_Wine eject
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media 2 into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        cd "$WINEPREFIX"/dosdevices
        rm ./p:
        ln -sf "$CDROM" p:
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        # Mandatory pre-install fix for steam
        POL_Call POL_Install_steam_flags "17460"
        # Shortcut done before install for steam version
        POL_Shortcut "Steam.exe" "$TITLE" "" "steam://rungameid/17460"
        # Steam install
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "Steam.exe" steam://install/17460
        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 information keys for wine
POL_Wine_SetVideoDriver

## Fix for this game
# Wine patch related fix - do not use with vanilla wine
POL_Wine_DirectInput "MouseWarpOverride" "force-box"
POL_Wine_DirectInput "Box-Pixels" "5"

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

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

# Cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
        rm -rf "$WINEPREFIX/drive_c/windows/temp/"*
        chmod -R 777 "$POL_USER_ROOT/tmp/"
        rm -rf "$POL_USER_ROOT/tmp/"*
fi

# Making shortcut
if [ "$INSTALL_METHOD" != "STEAM" ]; then
        POL_Shortcut "MassEffect.exe" "$TITLE" "" ""
fi

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Thursday 4 July 2019 at 7:24
Dadu042

Message

Installation worked.

 

Note : in the script I replaced Wine version "1.7.46-staging" with "4.0" and "2.22", and after the installation of DVD1, Wine crashed. then I was asked the DVD2 but it was not read. The game did install in English (as I wanted) but had none music nor voices.

(OS ubuntu 18.04, POL v4.3.4, media: retail game on 2 DVD-ROMs)
My log: https://pastebin.com/wZKxfYkV

Replies

Friday 5 July 2019 at 20:44
A issue #2 I have (with Wine 2.22), the game did install fine, but there is no sound nor music, perhaps I should reinstall with winealsa disabled in the script.

Edited by Dadu042

greencopper Friday 22 April 2016 at 2:25
greencopper Anonymous

Message

I have not been able to get this game running using the installer. I get the following about "jack" in the debug.

 

[04/22/16 02:17:47] - Running wine-1.2.3-forcebox MassEffect.exe (Working directory : /home/foo/.PlayOnLinux/wineprefix/MassEffect/drive_c/Program Files/Mass Effect/Binaries)
err:ole:CoGetClassObject class {9a5ea990-3034-4d6f-9128-01f3c61022bc} not registered
err:ole:CoGetClassObject no class object {9a5ea990-3034-4d6f-9128-01f3c61022bc} could be created for context 0x1
fixme:win:EnumDisplayDevicesW ((null),0,0x93f41c,0x00000000), stub!
fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS)
fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
fixme:wbemprox:wbem_locator_ConnectServer 0x21a508, L"\\\\.\\root\\cimv2", (null), (null), (null), 0x00000000, (null), (nil), 0x93b2e8)
fixme:d3d:debug_d3dformat Unrecognized 875710020 (as fourcc: DF24) WINED3DFORMAT!
fixme:d3d:getFormatDescEntry Can't find format unrecognized(875710020) in the format lookup table
fixme:d3d:swapchain_init Add OpenGL context recreation support to context_validate_onscreen_formats
fixme:d3d9:Direct3DShaderValidatorCreate9 stub
ALSA lib conf.c:3357:(snd_config_hooks_call) Cannot open shared library libasound_module_conf_pulse.so
ALSA lib control.c:954:(snd_ctl_open_noupdate) Invalid CTL hw:0
fixme:mixer:ALSA_MixerInit No master control found on HDA NVidia, disabling mixer
Cannot connect to server socket err = Ingen sådan fil eller filkatalog
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
AL lib: (WW) ALCjackBackendFactory_init: jack_client_open() failed, 0x11
AL lib: (WW) alc_initconfig: Failed to initialize backend "jack"
Inconsistency detected by ld.so: dl-close.c: 811: _dl_close: Assertion `map->l_init_called' failed!

 

Replies

Anonymous
Friday 22 April 2016 at 2:28
The update from deri82 below solves the issue!
deri82 Sunday 5 July 2015 at 8:34
deri82 Anonymous

Information

This update has been approved by the team.

Differences

@@ -15,7 +15,7 @@
 EDITOR="BioWare"
 GAME_URL="http://masseffect.bioware.com/me1"
 AUTHOR="Berillions & GNU_Raziel"
-WORKING_WINE_VERSION="1.2.3-forcebox"
+WORKING_WINE_VERSION="1.7.46-staging"
 GAME_VMS="256"
 
 # Starting the script

New source code

#!/bin/bash
# Date : (2009-03-28 12:00)
# Last revision : (2012-03-16 21:00)
# Wine version used : 1.2.2-Mousepatch, 1.2.3-forcebox
# Distribution used to test : Debian Testing x64
# Author : Berillions & GNU_Raziel
# Licence : Retail
# Only For : http://www.playonlinux.com

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

TITLE="Mass Effect"
PREFIX="MassEffect"
EDITOR="BioWare"
GAME_URL="http://masseffect.bioware.com/me1"
AUTHOR="Berillions & GNU_Raziel"
WORKING_WINE_VERSION="1.7.46-staging"
GAME_VMS="256"

# Starting the script
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
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

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

# Installing mandatory dependencies
if [ "$INSTALL_METHOD" == "STEAM" ]; then
        POL_Call POL_Install_steam
fi
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_d3dx9

if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media 1 into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "setup.exe"
        cd "$WINEPREFIX"/dosdevices
        ln -sf "$CDROM" p:
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_SetupWindow_message "$(eval_gettext 'When the game setup will ask for next Disk\nclick on \"Forward\"')" "$TITLE"
        POL_Wine eject
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media 2 into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        cd "$WINEPREFIX"/dosdevices
        rm ./p:
        ln -sf "$CDROM" p:
        POL_Wine_WaitExit "$TITLE"
elif [ "$INSTALL_METHOD" == "STEAM" ]; then
        # Mandatory pre-install fix for steam
        POL_Call POL_Install_steam_flags "17460"
        # Shortcut done before install for steam version
        POL_Shortcut "Steam.exe" "$TITLE" "" "steam://rungameid/17460"
        # Steam install
        POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "$TITLE"
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "Steam.exe" steam://install/17460
        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 information keys for wine
POL_Wine_SetVideoDriver

## Fix for this game
# Wine patch related fix - do not use with vanilla wine
POL_Wine_DirectInput "MouseWarpOverride" "force-box"
POL_Wine_DirectInput "Box-Pixels" "5"

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

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

# Cleaning temp
if [ -e "$WINEPREFIX/drive_c/windows/temp/" ]; then
        rm -rf "$WINEPREFIX/drive_c/windows/temp/"*
        chmod -R 777 "$POL_USER_ROOT/tmp/"
        rm -rf "$POL_USER_ROOT/tmp/"*
fi

# Making shortcut
if [ "$INSTALL_METHOD" != "STEAM" ]; then
        POL_Shortcut "MassEffect.exe" "$TITLE" "" ""
fi

POL_SetupWindow_Close
exit 0

Replies

Anonymous
Friday 22 April 2016 at 2:28
Works perfectly, thanks!
adlerhn Saturday 29 November 2014 at 23:41
adlerhn Anonymous

Message

The installation halts right after the steam client is installed (when the client is run for installing the game).

Replies