Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Mafia"

From PCGamingWiki, the wiki about fixing PC games
(some cleanup)
Line 5: Line 5:
 
|publisher      = [[Wikipedia:Gathering of Developers|Gathering of Developers]]<br />[[Wikipedia:Take 2 Interactive|Take 2 Interactive]]
 
|publisher      = [[Wikipedia:Gathering of Developers|Gathering of Developers]]<br />[[Wikipedia:Take 2 Interactive|Take 2 Interactive]]
 
|engine        = [[Wikipedia:LS3D engine|LS3D]]
 
|engine        = [[Wikipedia:LS3D engine|LS3D]]
|release dates  =  
+
|release dates  = August 28, 2002
<sup>NA</sup> August 28, 2002<br />
 
<sup>EU</sup> September 6, 2002
 
|steam          = 40990
 
 
}}
 
}}
 +
{{:Mafia (series)}}
 +
{{++}} Most users report no issues on modern systems once [[Compatibility Mode]] is enabled.
  
'''Mafia: The City of Lost Heaven''' (often shortened to '''Mafia''') is a 2002 game developed by [[Wikipedia:2K Czech|Illusion Softworks]] for [[Wikipedia:Microsoft Windows|Microsoft Windows]]. Most users report no issue with running the game on modern versions of Windows (once [[Compatibility Mode]] is enabled), however, a small number of people experience issues that can be resolved in a number of ways.
 
 
= Windows =
 
 
== Availability ==
 
== Availability ==
 
=== [[Digital Rights Management (DRM)]] ===
 
=== [[Digital Rights Management (DRM)]] ===
Line 62: Line 58:
 
# Copy <code>missions</code> folder from archive to your Mafia directory
 
# Copy <code>missions</code> folder from archive to your Mafia directory
  
== Graphical Tweaks ==
 
=== Custom [[Field Of View (FOV)]] ===
 
You can customise the FOV by using the following:
 
*[http://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 Mafia Data Xtractor v1.1]
 
*[http://www.moddb.com/games/mafia/downloads/bscriptview-60 BScriptView 6.0]
 
Now follow these steps<ref>http://www.wsgf.org/dr/mafia-city-lost-heaven</ref>:
 
#Extract MISSION data with MafiaDataXTractor (place in game folder)
 
# Edit each <code>scene2.bin</code> file in '''all''' folders in <code>C:\Program Files\Mafia\Missions</code> with BSV6.0 - add the following to the <code>GameInitEnd</code> script: <pre>camera_setfov xx</pre> (Replace xx with your chosen value). '''Take care''' - 70 files need to be edited, and not all of them are named <code>GameInitEnd</code>. Some files are named <code>GameInitStart</code> etc.)
 
# Save Results
 
=== [[Multi-monitor]] ===
 
The game can be adjusted to an extent to support Multi-monitor setups such as nVidia's Eyefinity. To do this the user requires the following:
 
*Mafia Widescreen Fix v1.2 ([http://wsgfmedia.com/uploads/thales100/Mafia_Widescreen_Fix_1.2_48-9.rar 48:9]/[http://wsgfmedia.com/uploads/thales100/Mafia_Widescreen_Fix_1.2_48-10.rar 48:10])
 
*[http://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 Mafia Data Xtractor v1.1]
 
Now follow these steps<ref>http://www.wsgf.org/dr/mafia-city-lost-heaven</ref>:
 
#Extract MISSION data with MafiaData Xtractor (place in game folder)
 
#Copy <code>missions</code> folder from archive to your Mafia directory
 
 
== Mods And Utilities ==
 
== Mods And Utilities ==
 
=== Custom Cars ===
 
=== Custom Cars ===
Line 96: Line 76:
 
|widescreen_resolution_notes=Resolutions above 1280x720, not available for all users - see [http://pcgamingwiki.com/wiki/Mafia#Issues_And_Fixes Issues And Fixes]
 
|widescreen_resolution_notes=Resolutions above 1280x720, not available for all users - see [http://pcgamingwiki.com/wiki/Mafia#Issues_And_Fixes Issues And Fixes]
 
|multimonitor=hackable
 
|multimonitor=hackable
|multimonitor_notes=Limited support - see [http://pcgamingwiki.com/wiki/Mafia#Graphical_Tweaks Graphical Tweaks]
+
|multimonitor_notes=Limited support - see [[#Multi-monitor|Multi-monitor]]
 
|fov=hackable
 
|fov=hackable
|fov_notes=See [[#Graphical_Tweaks Graphical Tweaks]]
+
|fov_notes=See [[#Field of view (FOV)|Field of view (FOV)]].
 
|windowed=true
 
|windowed=true
|windowed_notes=See [[#Windowed]].
+
|windowed_notes=See [[#Windowed|Windowed]].
 
|fullscreen=true
 
|fullscreen=true
 
|fullscreen_notes=See [[#Borderless Fullscreen Windowed]].
 
|fullscreen_notes=See [[#Borderless Fullscreen Windowed]].
Line 109: Line 89:
 
|vsync=true
 
|vsync=true
 
|vsync_notes=On/Off, Triple Buffering supported - On/Off
 
|vsync_notes=On/Off, Triple Buffering supported - On/Off
 +
}}
 +
=== [[Field of view (FOV)]] ===
 +
You can customise the FOV by using the following:
 +
*[http://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 Mafia Data Xtractor v1.1]
 +
*[http://www.moddb.com/games/mafia/downloads/bscriptview-60 BScriptView 6.0]
 +
Now follow these steps<ref>http://www.wsgf.org/dr/mafia-city-lost-heaven</ref>:
 +
#Extract MISSION data with MafiaDataXTractor (place in game folder)
 +
# Edit each <code>scene2.bin</code> file in '''all''' folders in <code>C:\Program Files\Mafia\Missions</code> with BSV6.0 - add the following to the <code>GameInitEnd</code> script: <pre>camera_setfov xx</pre> (Replace xx with your chosen value). '''Take care''' - 70 files need to be edited, and not all of them are named <code>GameInitEnd</code>. Some files are named <code>GameInitStart</code> etc.)
 +
# Save Results
 +
 +
=== [[Multi-monitor]] ===
 +
The game can be adjusted to an extent to support Multi-monitor setups such as nVidia's Eyefinity. To do this the user requires the following:
 +
*Mafia Widescreen Fix v1.2 ([http://wsgfmedia.com/uploads/thales100/Mafia_Widescreen_Fix_1.2_48-9.rar 48:9]/[http://wsgfmedia.com/uploads/thales100/Mafia_Widescreen_Fix_1.2_48-10.rar 48:10])
 +
*[http://www.moddb.com/games/mafia/downloads/mafia-data-xtractor-v11 Mafia Data Xtractor v1.1]
 +
Now follow these steps<ref>http://www.wsgf.org/dr/mafia-city-lost-heaven</ref>:
 +
#Extract MISSION data with MafiaData Xtractor (place in game folder)
 +
#Copy <code>missions</code> folder from archive to your Mafia directory
 +
 +
==Input settings==
 +
{{Input Settings
 +
|key_remap                  =unknown
 +
|key_remap_notes            =
 +
|acceleration_option        =unknown
 +
|acceleration_option_notes  =
 +
|controller_support        =true
 +
|controller_support_notes  = Limited native support; see [[#Controller support|Controller support]].
 
}}
 
}}
  
== Controller Support ==
+
==[[Controller|Controller support]]==
Mafia has limited controller support built in to the game. Some users have reported success with using an Xbox 360 Controller For Windows with the game, however, there are often issues with the use of the thumb-sticks<ref>http://forums.steampowered.com/forums/showthread.php?t=2595124</ref>. This can be fixed by using a program such as [http://xpadder.com/ XPadder] to rebind controls, using the D-Pad to steer, and disabling the thumb-sticks.
+
Some users have reported success with using an [[Xbox 360 Controller]] but there are often issues with the use of the thumb-sticks<ref>http://forums.steampowered.com/forums/showthread.php?t=2595124</ref>. This can be fixed by using a program such as [http://xpadder.com/ XPadder] to rebind controls, using the D-Pad to steer, and disabling the thumb-sticks.
== Cheats ==
 
=== Cheat Codes ===
 
Press [Shift] + ~ during game play, then type one of the following codes:
 
{| class="wikitable" style="text-align: left; width: 300px;"
 
|-
 
! scope="col" | Code
 
! scope="col" | Effect
 
|-
 
|badgangsters
 
|Invulnerability
 
|-
 
|boxer
 
|Enlarged hands
 
|-
 
|cornufse
 
|Unlock all cars
 
|-
 
|cumdal
 
|Maximum draw distance
 
|-
 
|deadguns
 
|Guns and ammo
 
|-
 
|jizda
 
|Folds roof on convertible cars
 
|-
 
|krefjezivot
 
|Refill health
 
|-
 
|municak
 
|Infinite ammo
 
|-
 
|parnik
 
|Spawns the Titanic under nearest bridge
 
|}
 
  
== System Requirements ==
+
== System requirements ==
{{SysReq
+
{{System Requirements
 
|OSfamily = Windows
 
|OSfamily = Windows
 
|minOS = Windows 98, Windows ME, Windows XP
 
|minOS = Windows 98, Windows ME, Windows XP
Line 165: Line 136:
 
{{references}}
 
{{references}}
  
[[Category:Game]]
 
 
[[Category:Windows]]
 
[[Category:Windows]]

Revision as of 03:23, 13 February 2013

This page may require cleanup to meet basic quality standards. You can help by modifying the article. The discussion page may contain useful suggestions.

Template:Infobox Mafia (series)

Most users report no issues on modern systems once Compatibility Mode is enabled.

Availability

Digital Rights Management (DRM)

  • All boxed versions of Mafia include a CD check
  • The game is purchasable through Steam

Issues And Fixes

Running On Vista/7 (Boxed Version)

Some users may experience issues with running the game on Windows Vista or 7. The following solution offers the best experience for users of these operating systems.

  1. First install the game. If you run into issues at this stage, set MafiaLauncher.exe and MafiaSetup.exe on the first CD to Windows XP SP2 Compatibility Mode. If the issue still occurs, execute both as administrators.
  2. Once installed, go to C:\Program Files\Mafia and set the executable Game.exe to Windows XP SP2 Compatibility Mode.
  3. Download Mafia patch v1.2 (users should note there is no difference between patch 1.3 and 1.2)
  4. Go to C:\Program Files\Mafia and execute Setup.exe. Ensure it is configured as follows
    File:Mafiasetupimage.jpg
    Users should note 'Display' refers to their installed graphics card, and will vary from that shown
  5. At this stage the user may be able to run the game. You can test this by running intro.avi in C:\Program Files\Mafia. If the video runs, the game is now ready. If not, follow the remaining steps.
  6. Intro movies in Mafia run using an Indeo codec, which is unsupported by Windows since XP SP1, so the user will need to download a freeware Indeo codec such as this. Since version 5.2 the software has become a paid product, so it is important to find a version before this.
  7. Open a command prompt with elevated right (press the Start button, type 'CMD', right click on it and choose 'Run as administrator'). In the console, type regsvr32 ir50_32.dll
  8. Attempt to run the game.

Red Blocks/Black Lines On Screen

Some users have reported seeing red blocks of colour, or black lines run across the screen during play, similar to the following[1]:

Mafiavisualerror1.jpg

This error can often be resolved by opening Setup.exe in C:\Program Files\Mafia, and clicking on 'Open expert settings...', then selecting 'Multipass rendering' rather than 'Hardware Transform&Lighting'.

Settings Bug (Non-English Steam Versions)

Some users of non-English versions of the game have reported an issue whereby changing the settings of the game in the Settings launcher has no effect, with Mafia always running with default values. In some cases, this has also led to Mafia not running. This issue can be resolved as follows[2]:

  1. Set Mafia's language in Steam to English
  2. Wait until download is complete
  3. Start Settings launcher
  4. Select desired settings
  5. Save and exit launcher
  6. Set Mafia's language in Steam to your desired option
  7. Wait until download is complete
  8. Start the game - it should run in your desired language with your desired settings

Error 4205 Generic

Some users experience an 'Init error error: #4205 Generic' error message upon startup. There are a variety of possible fixes for this issue - below is a checklist of things to try to resolve the issue:

  1. Download the freeware Indeo codec outlined above[3]
  2. Input your screen resolution (rather than the default one) in the Setup launcher in C:\Program Files\Mafia[4], and change your refresh rate to your screen's actual refresh rate[5]
  3. Update your appropriate video card drivers and version of DirectX

Error 8815 Generic

Many users have reported the game crashing upon start to a white screen with the message 'error 8815 generic'[6]. Again, there are a number of claimed fixes for this issue, but the error can have different causes on a case by case basis. Some common causes and fixes are outlined below:

  1. One reason why is error may be caused is out of date graphics or sound card drivers. Users should check on the relevant card manufacturer's website for new drivers, then download and install them
  2. Sometimes sound card drivers may need to be re-installed[7]
  3. In some cases changing the user's screen resolution in the Setup launcher located in C:\Program Files\Mafia) may solve the issue[8]

Widescreen

Mafia offers a number of widescreen resolutions accessible through C:\Program Files\Mafia\Setup.exe, however some users may be unable to obtain these. In order to solve this issue, you need:

Now follow these steps[9]:

  1. Extract MISSION data with MafiaData Xtractor (place in game folder)
  2. Copy missions folder from archive to your Mafia directory

Mods And Utilities

Custom Cars

User created vehicles are a popular addition to Mafia. ModDB is a popular host for these creations.

Footpath & Road Mod

The Footpath & Road Mod is a popular mod created by ModDB user Don Mafioso], designed to produce higher resolution roads and footpaths. The mod can be installed using:

The user must then extract the maps folder to C:\Program Files\Mafia.

Unlimited Draw Distance Mod

It is possible to enable unlimited draw distance (farther than that of the 'cumdal' cheat outlined in Cheats) for a vastly improved atmosphere. To do this, you need:

Now follow these steps[10]:

  1. Extract MISSION data with MafiaData Xtractor (place in game folder)
  2. Copy missions folder from archive to your Mafia directory

Video Settings

Template:Video Settings

Field of view (FOV)

You can customise the FOV by using the following:

Now follow these steps[11]:

  1. Extract MISSION data with MafiaDataXTractor (place in game folder)
  2. Edit each scene2.bin file in all folders in C:\Program Files\Mafia\Missions with BSV6.0 - add the following to the GameInitEnd script:
    camera_setfov xx
    (Replace xx with your chosen value). Take care - 70 files need to be edited, and not all of them are named GameInitEnd. Some files are named GameInitStart etc.)
  3. Save Results

Multi-monitor

The game can be adjusted to an extent to support Multi-monitor setups such as nVidia's Eyefinity. To do this the user requires the following:

Now follow these steps[12]:

  1. Extract MISSION data with MafiaData Xtractor (place in game folder)
  2. Copy missions folder from archive to your Mafia directory

Input settings

Template:Input Settings

Controller support

Some users have reported success with using an Xbox 360 Controller but there are often issues with the use of the thumb-sticks[13]. This can be fixed by using a program such as XPadder to rebind controls, using the D-Pad to steer, and disabling the thumb-sticks.

System requirements

Template:System Requirements


References