Mafia: The City of Lost Heaven

From PCGamingWiki, the wiki about fixing PC games
(Redirected from Mafia)
This page may require cleanup to meet basic quality standards. You can help by modifying the article. The discussion page may contain useful suggestions.
Mafia: The City of Lost Heaven
Mafia: The City of Lost Heaven cover
Developers
Illusion Softworks
Publishers
Gathering of Developers
2K Games
Engines
LS3D
Release dates
Windows August 28, 2002
Mafia
Mafia: The City of Lost Heaven 2002
Mafia II 2010
Mafia III 2016

Key points

Most users report no issues on modern systems once Compatibility Mode is enabled.
No longer available in digital distribution.

General information

MafiaScene.com - Game fan site
Steam Community Discussions
Steam Users' Forums for game series

Availability[edit]

Source DRM Notes Keys OS
Retail
This game is no longer available in digital distribution. Due to licensing issues it's been removed from the Steam store.[1]

Essential improvements[edit]

Patches[edit]

Latest version is Patch 1.2.


Modifications[edit]

Footpath & Road Mod[edit]

The Footpath & Road Mod is a popular mod created by Mod DB 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[edit]

Enable unlimited draw distance (farther than that of the 'cumdal' cheat), for a vastly improved atmosphere
Replace game missions files[2]
  1. Download Mafia Data Xtractor v1.1
  2. Extract it in <path-to-game>
  3. Use it to extract MISSION data
  4. Copy missions folder from archive to your Mafia folder
  5. Place the mod in that folder

Custom Cars[edit]

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

Game data[edit]

Configuration file(s) location[edit]

System Location
Windows HKEY_LOCAL_MACHINE\Software\Illusion Softworks\Mafia\
Stored as a hexadecimal value

Save game data location[edit]

System Location
Windows <path-to-game>\savegame\

Save game cloud syncing[edit]

System Native Notes
Steam Cloud

Video settings[edit]

Graphics option Option WSGF Notes
Widescreen resolution
Resolutions above 1280x720, not available for all users.[citation needed]
See Widescreen resolution.
Multi-monitor
Limited support; see Widescreen resolution.
Field of view (FOV)
See Field of view (FOV).
Windowed
Borderless fullscreen windowed
Anisotropic filtering (AF)
Can be forced through the NVIDIA Control Panel/AMD Control Center.
Anti-aliasing (AA)
2x or 4x FSAA
Vertical sync (Vsync)
On/Off, Triple Buffering supported - On/Off
60 FPS
120+ FPS
Capped at 63 FPS

Widescreen resolution[edit]

Contains additional options such as draw distance tweaking and FPS limiter
Not compatible with Steam version[3]
Widescreen fix[4]
  1. Download widescreen fix - aspect ratio: 16:9/16:10/48:9/48:10.
  2. Download Mafia Data Xtractor v1.1
  3. Extract MISSION data with MafiaData Xtractor (place it installation folder).
  4. Copy missions folder from archive to your Mafia folder.

Field of view (FOV)[edit]

Changing FOV[4]
  1. Download Mafia Data Xtractor.
  2. Download BScriptView 6.0
  3. Extract MISSION data with MafiaDataXTractor (place in installation folder)
  4. 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
  5. Replace XX with your chosen value.

Notes

70 files need to be edited, and not all of them are named GameInitEnd. Some files are named GameInitStart etc.

Input settings[edit]

Controller support[edit]

Some users have reported success with using an Xbox 360 Controller but there are often issues with the use of the thumb-sticks.[5] 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.

Audio settings[edit]

Audio options Native Notes
Separate volume controls
Sound effects, Music, Vehicles, Voiceover
Surround sound
5.1
Subtitles
Closed captions
Mute on focus lost
EAX support
EAX 3[6]

Localizations

Language UI Audio CC Notes
English
Czech
Only retail version
French
German
Italian
Spanish

Issues fixed[edit]

Users should note 'Display' refers to their installed graphics card, and will vary from that shown
Users should note 'Display' refers to their installed graphics card, and will vary from that shown

Red Blocks/Black Lines On Screen[edit]

Example of the issue
Example of the issue
Change rendering method[7]
  1. Open <path-to-game>\Setup.exe
  2. Click on 'Open expert settings...', then select 'Multipass rendering' rather than 'Hardware Transform&Lighting'.

Settings Bug (Non-English Steam versions)[edit]

Non-English versions of the game have a bugged Settings launcher whereby adjusting options has no effect, with Mafia always running with default values. In some cases, this has also led to Mafia not running.
Swap game language[8]
  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[edit]

Download the freeware Indeo codec[9]
Input your actual screen resolution and refresh rate in the Setup launcher[10]
Set FullScreen AntiAliasing to "OFF" in Setup.exe.

Error 8815 Generic[edit]

Input your actual screen resolution and refresh rate in the Setup launcher[citation needed]
Change screen resolution and/or refresh rate in the game launcher[11]

Exploding Celeste frame rate bug[edit]

The Free Ride Extreme mission "Exploding Celeste" is impossible to complete if the game's frame rate is too high, which causes the bombs to explode earlier than usual.
Cap the frame rate at 10-15 FPS[12]

Use a frame rate capping method (such as RivaTuner Statistics Server) to cap the frame rate at 10-15 FPS. This will allow the explosions to go off at a normal rate.

No fullscreen mode on Windows 10[edit]

Instructions
  1. Install behar's widescreen fix
  2. Create blank wndmode.ini in <path-to-game>
  3. The game should run in fullscreen mode now

Other information[edit]

API[edit]

Technical specs Supported Notes
Direct3D 8
64-bit executable

Middleware[edit]

Middleware Notes
Cutscenes Bink Video 1.5p

System requirements[edit]

Windows
Minimum Recommended
Operating system (OS) 98, ME, XP
Processor (CPU) Intel Pentium III 500 MHz Intel Pentium III 700 MHz
System memory (RAM) 96 MB 128 MB
Hard disk drive (HDD) 1.8 GB
Video card (GPU) 32 MB of VRAM
DirectX 8.1 compatible

References

  1. Mafia - no longer in store? - Steam Users' Forums
  2. Mafia 1 essential Mod and settings - Steam Users' Forums
  3. [GTA|NFS|MP|OTHER] Widescreen Fixes Pack - GTAForums
  4. 4.0 4.1 WSGF article
  5. Mafia 1 Xbox 360 controller issues? - Steam Users' Forums
  6. EAX Featured Game: Mafia - EAX.CREATIVE.COM
  7. Weird lines/colors - Steam Users' Forums
  8. Mafia 1 Settings Bug - Steam Users' Forums
  9. Mafia hlasi chybu - notebooky-forum.notebook.cz
  10. Mafia Error: Init error error: #4205 Generic... - ForumPlanet (retrieved)
  11. error : #8815 Generic - Forum Bar Mafieuso
  12. Freeride Extreme - Exploding Celeste problems :: Mafia General Discussions