Amnesia: A Machine for Pigs

From PCGamingWiki, the wiki about fixing PC games
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
Monetization One-time game purchase
Genres Survival horror
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 Community Discussions for game series 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)
DRM-free after installation through Steam client (notes may include more details)
DRM-free when running "aamfp_NoSteam" executable.[2] Amnesia Re-collection also available.
macOS (OS X)
Mac App Store (unavailable)
Icon overlay.png
macOS (OS X)

Essential improvements[edit]

Skip intro videos[edit]

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]

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[edit]

Configuration file(s) location[edit]

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[edit]

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[edit]

System Native Notes
Epic Games Launcher
GOG Galaxy
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.


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.
High dynamic range display (HDR)
See the glossary page for potential alternatives.

Field of view (FOV)[edit]

Edit game.cfg[3]
  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[edit]

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.[4]
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[edit]

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

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

Issues fixed[edit]

Game launches extremely zoomed in[edit]

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[edit]

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[edit]

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

Crash during startup[edit]

Disconnect any gamepads and then start the game[8]

Freeze/lag every now and then[edit]

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

Start in offline mode[10]
  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[edit]

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

Gamma changes persist after exiting the game[edit]

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[11]

Screen gets offset to the right[edit]

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[edit]


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[edit]

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

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[edit]

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. Verified by User:Mmachinecodev on 2022-06-09
  3. Amnesia - the dark decent mods. | Se7enSins Gaming Community
  4. 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!"
  5. Xbox controller incompatibility
  6. Verified by User:LDK on September 7, 2013
    Tested with openal-soft-1.15.1-bin version.
  7. Problem with the mouse - Steam Community Discussions
  8. Possible fix solution for crash at startup - Frictional Games Forum
  9. Amnesia A.M.F.P Troubleshooting Guide
  10. Light halos showing through walls - Frictional Games Forum
  11. Interesting bug after quiting game :: Amnesia: A Machine for Pigs General Discussions
  12. Blue haze? - Frictional Games Forum
  13. HOW-TO: Remove the BLUE FOG - Steam Community Guides
  14. Easy and definitive fix for the blue fog of death - Steam Community Discussions