Difference between revisions of "Amnesia: A Machine for Pigs"

From PCGamingWiki, the wiki about fixing PC games
m (updated template usage)
m (API: updated template usage)
Line 496: Line 496:
|macos intel 32-bit app = true
|macos intel 32-bit app = true
|macos intel 64-bit app = false
|macos intel 64-bit app = false
|macos arm app          =
|macos app notes        =  
|macos app notes        =  
|linux 32-bit executable= unknown
|linux 32-bit executable= unknown

Revision as of 07:39, 9 October 2021

Amnesia: A Machine for Pigs
Amnesia: A Machine for Pigs cover
The Chinese Room
macOS (OS X) Edward Rudd
Linux Edward Rudd
Frictional Games
HPL Engine 2
Release dates
Windows September 10, 2013
macOS (OS X) September 10, 2013
Linux September 10, 2013
Metacritic 72
Series Amnesia
Amnesia: A Machine for Pigs on HowLongToBeat
Amnesia: A Machine for Pigs on IGDB
Amnesia: A Machine for Pigs on MobyGames
Amnesia: A Machine for Pigs on Wikipedia
Amnesia: The Dark Descent 2010
Amnesia: A Machine for Pigs 2013
Amnesia: Rebirth 2020


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.

Key points

Game is open source.

General information

Port Report
Official support page
GOG.com Community Discussions for game series
GOG.com Support Page
Steam Community Discussions


Source DRM Notes Keys OS
Epic Games Store
DRM-free after installation through Epic Games Launcher (notes may include more details)
Game can be launched directly from the executable.[1]
macOS (OS X)
macOS (OS X)
Humble Store
Icon overlay.png
macOS (OS X)
Icon overlay.png
Amnesia Re-collection also available.
macOS (OS X)
Mac App Store (unavailable)
Icon overlay.png
macOS (OS X)

Essential improvements

Skip intro videos

Edit main_settings.cfg
  1. Go to the configuration file(s) location.
  2. Open main_settings.cfg with a text editor.
  3. Change ShowPreMenu="true" to ShowPreMenu="false"
  4. Save the changes.

Enable quick save

Edit user_settings.cfg
  1. Go to the configuration file(s) 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.


Press F4 to save and F5 to load.

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
Epic Games Launcher
GOG Galaxy
Steam Cloud
Approx. 95 MB available.
Settings will sync too, except graphics settings.


Basic settings
Basic settings
Advanced settings
Advanced settings

Graphics feature State WSGF Notes
Widescreen resolution
4K Ultra HD
Options menu UI doesn't scale.
Field of view (FOV)
See Field of view (FOV).
Borderless fullscreen windowed
See the glossary page for potential workarounds.
Anisotropic filtering (AF)
Up to 16x.
Anti-aliasing (AA)
On or off but proper AA and not FXAA.
Vertical sync (Vsync)
Not present in launcher. Can be enabled in-game. Adaptative Vsync is also available.
60 FPS
120+ FPS
See High frame rate.

Field of view (FOV)

Edit game.cfg[2]
  1. Go to <path-to-game>\config\
  2. Open game.cfg in text editor
  3. Locate line FOV = "70" in section Player_General and change its value to your desired field of view value.

High frame rate

All gameplay elements are locked to 60 FPS. This includes physics, puzzles, player movement, input and most animations. This limit can be removed, but will only affect particles and some animations.[3]
Remove FPS cap
  1. Go to the configuration file(s) location.
  2. Open main_settings.cfg with a text editor.
  3. Change LimitFPS="true" to "false".


Input settings
Input settings


Audio settings
Audio settings
Game settings
Game settings

Audio feature State Notes
Separate volume controls
Only master volume slider.
Surround sound
See Surround sound for a fix.
Closed captions
Mute on focus lost
Doesn't mute when viewing journal entries.

Surround sound

Game is using old implementation of a sound system which limits output only to stereo.
Surround sound fix[5]
  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.


Language UI Audio Sub Notes
Fan dub available here
Brazilian Portuguese
Fan translation, download.

VR support

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

Issues fixed

Game launches extremely zoomed in

The issue occurs when the application scaling conflicts with Windows' scaling.
Override high DPI scaling[citation needed]
  1. Go to <path-to-game>.
  2. Right-click on aamfp.exe and select Properties.
  3. Click on the Compatibility tab, then select Change high DPI settings.
  4. Check the Override high DPI scaling behavior box and make sure the drop-down menu is set to Application.
  5. Click OK, apply the changes and launch the game.

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[6]
  1. Unplug your controller.
  2. Start a new game.

Crash during startup

Disconnect any gamepads and then start the game[7]

Freeze/lag every now and then

A possible solution can be found at the official Amnesia A.M.F.P Troubleshooting Guide.[8]
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[9]
  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[10]

Screen gets offset to the right

Edit Compatibility
  1. Right click the .exe.
  2. Go to "Properties" and then to "Compatibility" tab.
  3. Go to "Change high DPI settings".
  4. Make sure the "Override high DPI scaling behavior" box is checked and set to "Application".
  5. Save and exit.

Other information


Technical specs Supported Notes
OpenGL 2.1
Executable 32-bit 64-bit Notes
macOS (OS X)
This 32-bit-only macOS game does not work on macOS Catalina (10.15) or later.


Middleware Notes
Audio OpenAL 6.14.0357.24

Strong blue haze

The game has slight blue fog effect that is very apparent in the first level. This is intentional,[11] but this effect can be undesirably strong on some screens.
Edit save files[12]
  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[13]

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

Minimum Recommended
Operating system (OS) Vista
Processor (CPU) Intel Core i3
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) OS X 10.7.5
Processor (CPU) Intel Core i3
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.
Minimum Recommended
Operating system (OS) Major Linux Distribution from 2010
Processor (CPU) Intel Core i3
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.


  1. Verified by User:Itsumi1117 on 2021-04-16
  2. Amnesia - the dark decent mods. | Se7enSins Gaming Community
  3. Verified by User:Litbeep on 2020-11-3
    Email from Peter Wester (engine programmer): "All the gameplay is run at 60 fps. This means physics, puzzles, player movement, mouse/kb/gamepad input and some animations. The only things that can be unlocked are particles, some animations and texture animations. This is the same for all other HPL-based games!"
  4. Xbox controller incompatibility
  5. Verified by User:LDK on September 7, 2013
    Tested with openal-soft-1.15.1-bin version.
  6. Problem with the mouse - Steam Community Discussions
  7. Possible fix solution for crash at startup - Frictional Games Forum
  8. Amnesia A.M.F.P Troubleshooting Guide
  9. Light halos showing through walls - Frictional Games Forum
  10. Interesting bug after quiting game :: Amnesia: A Machine for Pigs General Discussions
  11. Blue haze? - Frictional Games Forum
  12. HOW-TO: Remove the BLUE FOG - Steam Community Guides
  13. Easy and definitive fix for the blue fog of death - Steam Community Discussions