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
macOS (OS X) Edward Rudd
Linux Edward Rudd
Publishers
Frictional Games
Engines
HPL Engine 2
Release dates
Windows September 10, 2013
macOS (OS X) September 10, 2013
Linux September 10, 2013
Reception
Metacritic 72
IGDB 73
Taxonomy
Monetization One-time game purchase
Perspectives First-person
Controls Direct control
Genres Survival horror
Themes 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
Amnesia: The Dark Descent 2010
Amnesia: A Machine for Pigs 2013
Amnesia: Rebirth 2020
Amnesia: The Bunker 2023

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.

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

Availability

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]
Windows
macOS (OS X)
GOG.com
DRM-free
Windows
macOS (OS X)
Linux
Humble Store
DRM-free
Icon overlay.png
Windows
macOS (OS X)
Linux
Microsoft Store
DRM details are not known
Bundled in Amnesia: Collection. Included with Xbox Game Pass for PC.
Windows
Steam
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.
Windows
macOS (OS X)
Linux
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.

Notes

Press F4 to save and F5 to load.

Game data

Configuration file(s) location

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

Save game cloud syncing

System Native Notes
Epic Games Launcher
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.
Xbox Cloud

Video

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

Graphics feature State WSGF Notes
Widescreen resolution
Multi-monitor
Ultra-widescreen
4K Ultra HD
Options menu UI doesn't scale.
Field of view (FOV)
See Field of view (FOV).
Windowed
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 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

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

Input settings
Input settings

Audio

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.
Subtitles
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[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.

Localizations

Language UI Audio Sub Notes
English
Czech
Fan dub available here
French
German
Hungarian
Italian
Japanese
Fan translation. Available to download.
To activate it run the launcher and there select language "Japanese" and start the game.
Korean
Fan translation. Available to download.
Polish
Brazilian Portuguese
Russian
Spanish
Turkish
Fan translation, download.
Ukrainian
Fan translation. Available to download.
To activate it run the launcher and there select language "Українська" and start the game.

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

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

Crash during startup

Disconnect any gamepads and then start the game[8]

Freeze/lag every now and then

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

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

Disable gamma changing programs such as f.lux or DisplayCAL[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[11]

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

API

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

Middleware

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,[12] but this effect can be undesirably strong on some screens.
Fog editing mod[13]
  1. Launch the game at least once and disable color grading in the video options
  2. Download the mod here, then extract its contents in <path-to-game>\maps\.
  3. Overwrite existing files
  4. Start a new game or proceed through a level transition to take effect
Edit save files[14]
  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[15]

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.
On some setups editing the shader files/disabling the fog through editing a save file doesn't fully alleviate the symptom. If that's true for you, then disabling through the game's settings all or a combination of: colour grading, screen space ambient occlusion (SSAO), and Vsync should fix the issue when applied in conjunction with one of the above fixes

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.7.5
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

  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 - last accessed on May 2023
  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 - last accessed on May 2023
  8. Possible fix solution for crash at startup - Frictional Games Forum - last accessed on May 2023
  9. Amnesia A.M.F.P Troubleshooting Guide - last accessed on May 2023
  10. Light halos showing through walls - Frictional Games Forum - last accessed on May 2023
  11. Interesting bug after quiting game :: Amnesia: A Machine for Pigs General Discussions - last accessed on May 2023
  12. Blue haze? - Frictional Games Forum - last accessed on May 2023
  13. A Fog Machine for Pigs - Steam Community Guides - last accessed on July 2023
  14. HOW-TO: Remove the BLUE FOG - Steam Community Guides - last accessed on May 2023
  15. Easy and definitive fix for the blue fog of death - Steam Community Discussions - last accessed on May 2023