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

Amnesia: A Machine for Pigs

From PCGamingWiki, the wiki about fixing PC games
Amnesia: A Machine for Pigs
Amnesia: A Machine for Pigs cover
Developers
The Chinese Room
Frictional Games
macOS (OS X) Edward Rudd
Linux Edward Rudd
Engines
HPL Engine 2
Release dates
Windows September 10, 2013
macOS (OS X) September 10, 2013
Linux September 10, 2013
Amnesia: A Machine for Pigs on Wikipedia

Warnings

The macOS (OS X) version of this game does not work on macOS Catalina (version 10.15) or later due to the removal of support for 32-bit-only apps.
Amnesia
Amnesia: The Dark Descent 2010
Amnesia: A Machine for Pigs 2013
Amnesia: Rebirth 2020
Amnesia: The Bunker 2023

General information

Port Report
Changelog
GOG.com Community Discussions for game series
GOG.com Support Page
Steam Community Discussions
Frictional Games Forum

Availability

Source DRM Notes Keys OS
GOG.com
DRM-free
Windows
macOS (OS X)
Linux
Humble Store
DRM-free
Icon overlay.png
Windows
macOS (OS X)
Linux
Mac App Store
Icon overlay.png
macOS (OS X)
Steam
Icon overlay.png
Amnesia Collection also available.
Windows
macOS (OS X)
Linux

Essential improvements

Skip intro videos

Edit main_settings.cfg[citation needed]
  1. Go to the configuration file location.
  2. Open main_settings.cfg with a text editor.
  3. Change ShowPreMenu="true" to ShowPreMenu="false"
  4. Save the changes.

Game data

Configuration file(s) location

System Location
Windows %USERPROFILE%\Documents\Amnesia\Pig\
macOS (OS X) ~/Library/Application Support/Frictional Games/Amnesia/Pig/
Linux ~/.frictionalgames/Amnesia/Pig/
Steam <Steam-folder>/userdata/<user-id>/239200/
This game does not follow the XDG Base Directory Specification on Linux.

Save game data location

System Location
Windows %USERPROFILE%\Documents\Amnesia\Pig\
macOS (OS X) ~/Library/Application Support/Frictional Games/Amnesia/Pig/
Linux ~/.frictionalgames/Amnesia/Pig/
Steam <Steam-folder>/userdata/<user-id>/239200/

Save game cloud syncing

System Native Notes
GOG Galaxy
OneDrive
Requires enabling backup of the Documents folder in OneDrive on all computers.
Steam Cloud
Approx. 95 MB available.
Settings will sync too, except graphics settings.

Video settings

Launcher.
Launcher.
Basic settings
Basic settings
Advanced settings
Advanced settings

Template:Video settings

Field of view (FOV)

Edit game.cfg[1]
  1. Go to <path-to-game>\config\
  2. Open game.cfg in text editor.
  3. Go to the Player_General section.
  4. Change FOV = "70" to the desired field of view value.

High frame rate

The game limits frame rate to 60 FPS by default.
Edit main_settings.cfg[2]
  1. Go to %USERPROFILE%\Documents\Amnesia\Pig\
  2. Open main_settings.cfg in text editor.
  3. Change Engine LimitFPS="true" to Engine LimitFPS="false".

Input settings

Input settings
Input settings

Template:Input settings

Audio settings

Audio settings
Audio settings
Game settings
Game settings

Template:Audio settings

Surround sound

Game is using old implementation of a sound system which limits output only to stereo.
Surround sound fix[3]
  1. Download OpenAL Soft (PCGamingWiki mirror).
  2. Extract archive, navigate to Win32 folder from this archive.
  3. Copy soft_oal.dll to the installation folder.
  4. Launch game launcher and navigate to the Sound options tab.
  5. There should be new Unsuported device. Select it and launch the game.

In case there is no Unsupported device:

  1. Launch game with soft_oal.dll file in the same folder as game's exe file.
  2. Quit game, navigate to %USERPROFILE%\Documents\Amnesia\Pig and open launcher.log in text editor.
  3. Locate section Initializing Sound Module. There are all available sound devices.
  4. Open main_settings.cfg from the same Main folder.
  5. Locate line <Sound Device= and change to corresponding value of sound device from launcher.log.

Localizations

Language UI Audio Sub Notes
English
Czech
French
Italian
German
Hungarian
Polish
Brazilian Portuguese
Russian
Spanish
Turkish
Fan translation, download.

VR support

3D modes State Notes
Nvidia 3D Vision
Use 3D Surround Gaming.
vorpX
G3D
Official supported game, see official vorpx game list.

Issues fixed

Low frame rate

Two particular video options, anti-aliasing (known as "smoothing" in-game) and ambient occlusion, drastically decrease frame rate with very little visual improvement. Turning these settings off is recommended. See the PCGamingWiki Port Report.

Vertical camera movement only with mouse

Disconnect controller[4]
  1. Unplug your controller.
  2. Start a new game.

Crash during startup

Disconnect any gamepads and then start the game[5]

Freeze/lag every now and then

A possible solution can be found at the official Amnesia A.M.F.P Troubleshooting Guide.[6]
Edit main settings[citation needed]
  1. Go to %USERPROFILE%\Documents\Amnesia\Pig
  2. Open 'main_settings.cfg' in a text editor.
  3. Locate entry <Sound....
  4. Change MaxChannels="64" to MaxChannels="32".
  5. Change StreamBuffers="8" to StreamBuffers="4".
  6. Start the game and check if it worked.
  7. If not, also change StreamBufferSize="262144" to StreamBufferSize="131072".

Light halos showing through walls

Start in offline mode[7]
  1. Start Steam in offline mode or disable Steam Cloud for the game.
  2. Start the game and enter Launcher Settings.
  3. Select auto-detect video device.
Alternatively remove all .ini files from the game data locations for the game and try fix again.

Adjusting in-game gamma does nothing

Disable gamma changing programs such as f.lux[citation needed]

Gamma changes persist after exiting the game

If the in-game gamma setting is increased, it can sometimes alter the desktop's gamma even after the game is closed.
Use f.lux to restore gamma[citation needed]
  1. Download and install f.lux.
  2. Run it and the desktop gamma should return to normal.
Enable Nvidia's own color settings in the Nvidia Control Panel[8]

Other information

API

Technical specs Supported Notes
OpenGL 2.1
Executable 32-bit 64-bit Notes
Windows
macOS (OS X)
Linux

Middleware

Middleware Notes
Audio OpenAL

Enable quick save

Edit user_settings.cfg[citation needed]
  1. Go to the configuration file location.
  2. Go into <user-id> and open user_settings.cfg with a text editor.
  3. Change AllowQuickSave="false" to AllowQuickSave="true"
  4. Save the changes.

Notes

Press F4 to save and F5 to load.

Strong blue haze

The game has slight blue fog effect that is very apparent in the first level. This is intentional,[9] but this effect can be undesirably strong on some screens.
Edit save files[10]
  1. Launch the game and create save if you don't have one.
  2. Go to %USERPROFILE%\Documents\Amnesia\Pig\<user-id>
  3. Locate your last save and open it in text editor.
  4. Locate entry name="mbFogActive" val="true" and change true to false.
Edit shader files[11]

An alternative to the save game method is to edit the shader files. This has the advantage of being a permanent solution (instead of per-save), and it also allows you to reduce (or increase!) the effect by an arbitrary factor.

  1. Go to <path-to-game>/core/shaders
  2. Edit deferred_fog_frag.glsl.
  3. Locate entry float fAmount = max(fDepth / avFogStartAndLength.y,0.0); and change it to float fAmount = 0.0; to switch the effect off completely, or e.g. to float fAmount = max(0.25 * fDepth / avFogStartAndLength.y,0.0); to reduce the effect to 25 % of original.

System requirements

Windows
Minimum Recommended
Operating system (OS) Vista
Processor (CPU) Intel Core i3
AMD A6
System memory (RAM) 2 GB
Hard disk drive (HDD) 5 GB
Video card (GPU) Nvidia GeForce 200
AMD Radeon HD 5000
Integrated Intel HD Graphics should work but is not supported.
macOS (OS X)
Minimum Recommended
Operating system (OS) 10.6.8
Processor (CPU) Intel Core i3
AMD A6
System memory (RAM) 2 GB
Hard disk drive (HDD) 5 GB
Video card (GPU) Nvidia GeForce 200
AMD Radeon HD 5000
Integrated Intel HD Graphics should work but is not supported.
Linux
Minimum Recommended
Operating system (OS) Major Linux Distribution from 2010
Processor (CPU) Intel Core i3
AMD A6
System memory (RAM) 2 GB
Hard disk drive (HDD) 5 GB
Video card (GPU) Nvidia GeForce 200
AMD Radeon HD 5000
Integrated Intel HD Graphics should work but is not supported.

References