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


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

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

From PCGamingWiki, the wiki about fixing PC games
m (updated template usage)
m (updated template usage)
Line 38: Line 38:
 
==Essential improvements==
 
==Essential improvements==
 
===Skip intro videos===
 
===Skip intro videos===
{{Fixbox|1=
+
{{Fixbox|description=Edit main_settings.cfg|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|Edit main_settings.cfg|ref={{cn|date=July 2016}}}}
 
 
# Go to the [[#Game data|configuration file and save game data location]].
 
# Go to the [[#Game data|configuration file and save game data location]].
 
# Open <code>main_settings.cfg</code> with a text editor.
 
# Open <code>main_settings.cfg</code> with a text editor.
Line 47: Line 46:
  
 
===Enable quick save===
 
===Enable quick save===
{{Fixbox|1=
+
{{Fixbox|description=Edit user_settings.cfg|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|Edit user_settings.cfg|ref={{cn|date=July 2016}}}}
 
 
# Go to the [[#Game data|configuration file and save game data location]].
 
# Go to the [[#Game data|configuration file and save game data location]].
 
# Go into <code>{{p|uid}}</code> and open <code>user_settings.cfg</code> with a text editor.
 
# Go into <code>{{p|uid}}</code> and open <code>user_settings.cfg</code> with a text editor.
Line 121: Line 119:
  
 
===[[Glossary:Field of view (FOV)|Field of view (FOV)]]===
 
===[[Glossary:Field of view (FOV)|Field of view (FOV)]]===
{{Fixbox|1=
+
{{Fixbox|description=Edit game.cfg|ref=<ref>[http://www.se7ensins.com/forums/threads/amnesia-the-dark-decent-mods.557577/ Amnesia - the dark decent mods - Se7enSins Gaming Community]</ref>|fix=
{{Fixbox/fix|Edit game.cfg|ref=<ref>[http://www.se7ensins.com/forums/threads/amnesia-the-dark-decent-mods.557577/ Amnesia - the dark decent mods - Se7enSins Gaming Community]</ref>}}
 
 
# Go to <code>{{p|game}}\config\</code>
 
# Go to <code>{{p|game}}\config\</code>
 
# Open <code>game.cfg</code> in text editor.
 
# Open <code>game.cfg</code> in text editor.
Line 132: Line 129:
 
{{ii}} The game limits frame rate to 60 FPS by default.
 
{{ii}} The game limits frame rate to 60 FPS by default.
  
{{Fixbox|1=
+
{{Fixbox|description=Edit main_settings.cfg|ref=<ref>[http://www.frictionalgames.com/forum/thread-6368.html 120Hz support? - Frictional Games Forum]</ref>|fix=
{{Fixbox/fix|Edit main_settings.cfg|ref=<ref>[http://www.frictionalgames.com/forum/thread-6368.html 120Hz support? - Frictional Games Forum]</ref>}}
 
 
# Go to <code>{{p|userprofile}}\Documents\Amnesia\Pig\</code>
 
# Go to <code>{{p|userprofile}}\Documents\Amnesia\Pig\</code>
 
# Open <code>main_settings.cfg</code> in text editor.
 
# Open <code>main_settings.cfg</code> in text editor.
Line 199: Line 195:
 
{{--}} Game is using old implementation of a sound system which limits output only to stereo.
 
{{--}} Game is using old implementation of a sound system which limits output only to stereo.
  
{{Fixbox|1=
+
{{Fixbox|description=Surround sound fix|ref=<ref>{{Refcheck|user=LDK|date=September 7, 2013|comment=Tested with openal-soft-1.15.1-bin version.}}</ref>|fix=
{{Fixbox/fix|Surround sound fix|ref=<ref>{{Refcheck|user=LDK|date=September 7, 2013|comment=Tested with openal-soft-1.15.1-bin version.}}</ref>}}
 
 
# Download [http://kcat.strangesoft.net/openal.html OpenAL Soft] ([https://community.pcgamingwiki.com/files/file/7-openal-soft/ PCGamingWiki mirror]).
 
# Download [http://kcat.strangesoft.net/openal.html OpenAL Soft] ([https://community.pcgamingwiki.com/files/file/7-openal-soft/ PCGamingWiki mirror]).
 
# Extract archive, navigate to <code>Win32</code> folder from this archive.
 
# Extract archive, navigate to <code>Win32</code> folder from this archive.
Line 349: Line 344:
 
==Issues fixed==
 
==Issues fixed==
 
===Vertical camera movement only with mouse===
 
===Vertical camera movement only with mouse===
{{Fixbox|1=
+
{{Fixbox|description=Disconnect controller|ref=<ref>[http://steamcommunity.com/app/239200/discussions/0/864978110166873856/ Problem with the mouse - Steam Community Discussions]</ref>|fix=
{{Fixbox/fix|Disconnect controller|ref=<ref>[http://steamcommunity.com/app/239200/discussions/0/864978110166873856/ Problem with the mouse - Steam Community Discussions]</ref>}}
 
 
# Unplug your controller.  
 
# Unplug your controller.  
 
# Start a new game.
 
# Start a new game.
Line 356: Line 350:
  
 
===Crash during startup===
 
===Crash during startup===
{{Fixbox|1=
+
{{Fixbox|description=Disconnect any gamepads and then start the game|ref=<ref>[http://www.frictionalgames.com/forum/thread-22826.html Possible fix solution for crash at startup - Frictional Games Forum]</ref>}}
{{Fixbox/fix|Disconnect any gamepads and then start the game|ref=<ref>[http://www.frictionalgames.com/forum/thread-22826.html Possible fix solution for crash at startup - Frictional Games Forum]</ref>}}
 
}}
 
  
 
===Freeze/lag every now and then===
 
===Freeze/lag every now and then===
 
{{ii}} A possible solution can be found at the official Amnesia A.M.F.P Troubleshooting Guide.<ref>[http://www.frictionalgames.com/forum/thread-22899.html Amnesia A.M.F.P Troubleshooting Guide]</ref>
 
{{ii}} A possible solution can be found at the official Amnesia A.M.F.P Troubleshooting Guide.<ref>[http://www.frictionalgames.com/forum/thread-22899.html Amnesia A.M.F.P Troubleshooting Guide]</ref>
  
{{Fixbox|1=
+
{{Fixbox|description=Edit main settings|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|Edit main settings|ref={{cn|date=July 2016}}}}
 
 
# Go to <code>{{p|userprofile}}\Documents\Amnesia\Pig</code>
 
# Go to <code>{{p|userprofile}}\Documents\Amnesia\Pig</code>
 
# Open 'main_settings.cfg' in a text editor.
 
# Open 'main_settings.cfg' in a text editor.
Line 375: Line 366:
  
 
===Light halos showing through walls===
 
===Light halos showing through walls===
{{Fixbox|1=
+
{{Fixbox|description=Start in offline mode|ref=<ref>[http://www.frictionalgames.com/forum/thread-22897.html Light halos showing through walls  - Frictional Games Forum]</ref>|fix=
{{Fixbox/fix|Start in offline mode|ref=<ref>[http://www.frictionalgames.com/forum/thread-22897.html Light halos showing through walls  - Frictional Games Forum]</ref>}}
 
 
# Start Steam in offline mode or disable Steam Cloud for the game.
 
# Start Steam in offline mode or disable Steam Cloud for the game.
 
# Start the game and enter Launcher Settings.
 
# Start the game and enter Launcher Settings.
Line 385: Line 375:
  
 
===Adjusting in-game gamma does nothing===
 
===Adjusting in-game gamma does nothing===
{{Fixbox|1=
+
{{Fixbox|description=Disable gamma changing programs such as f.lux|ref={{cn|date=September 2016}}}}
{{Fixbox/fix|Disable gamma changing programs such as f.lux|ref={{cn|date=September 2016}}}}
 
}}
 
  
 
===Gamma changes persist after exiting the game===
 
===Gamma changes persist after exiting the game===
 
{{ii}} If the in-game gamma setting is increased, it can sometimes alter the desktop's gamma even after the game is closed.
 
{{ii}} If the in-game gamma setting is increased, it can sometimes alter the desktop's gamma even after the game is closed.
  
{{Fixbox|1=
+
{{Fixbox|description=Use f.lux to restore gamma|ref={{cn|date=July 2016}}|fix=
{{Fixbox/fix|Use f.lux to restore gamma|ref={{cn|date=July 2016}}}}
 
 
# Download and install [https://justgetflux.com/ f.lux].
 
# Download and install [https://justgetflux.com/ f.lux].
 
# Run it and the desktop gamma should return to normal.
 
# Run it and the desktop gamma should return to normal.
 
}}
 
}}
{{Fixbox|1=
+
{{Fixbox|description=Enable Nvidia's own color settings in the Nvidia Control Panel|ref=<ref>[http://steamcommunity.com/app/239200/discussions/0/620695877094621433/ Interesting bug after quiting game :: Amnesia: A Machine for Pigs General Discussions]</ref>}}
{{Fixbox/fix|Enable Nvidia's own color settings in the Nvidia Control Panel|ref=<ref>[http://steamcommunity.com/app/239200/discussions/0/620695877094621433/ Interesting bug after quiting game :: Amnesia: A Machine for Pigs General Discussions]</ref>}}
 
}}
 
  
 
==Other information==
 
==Other information==
Line 405: Line 390:
 
{{ii}} The game has slight blue fog effect that is very apparent in the first level. This is intentional,<ref>[http://www.frictionalgames.com/forum/thread-22824-post-257141.html#pid257141 Blue haze? - Frictional Games Forum]</ref> but this effect can be undesirably strong on some screens.
 
{{ii}} The game has slight blue fog effect that is very apparent in the first level. This is intentional,<ref>[http://www.frictionalgames.com/forum/thread-22824-post-257141.html#pid257141 Blue haze? - Frictional Games Forum]</ref> but this effect can be undesirably strong on some screens.
  
{{Fixbox|1=
+
{{Fixbox|description=Edit save files|ref=<ref>[http://steamcommunity.com/app/239200/discussions/0/864978110177598988/ HOW-TO: Remove the BLUE FOG - Steam Community Guides]</ref>|fix=
{{Fixbox/fix|Edit save files|ref=<ref>[http://steamcommunity.com/app/239200/discussions/0/864978110177598988/ HOW-TO: Remove the BLUE FOG - Steam Community Guides]</ref>}}
 
 
# Launch the game and create save if you don't have one.
 
# Launch the game and create save if you don't have one.
 
# Go to <code>{{p|userprofile}}\Documents\Amnesia\Pig\{{p|uid}}</code>
 
# Go to <code>{{p|userprofile}}\Documents\Amnesia\Pig\{{p|uid}}</code>
Line 413: Line 397:
 
}}
 
}}
  
{{Fixbox|1=
+
{{Fixbox|description=Edit shader files|ref=<ref>[http://steamcommunity.com/app/239200/discussions/0/864978835638983106 Easy and definitive fix for the blue fog of death - Steam Community Discussions]</ref>|fix=
{{Fixbox/fix|Edit shader files|ref=<ref>[http://steamcommunity.com/app/239200/discussions/0/864978835638983106 Easy and definitive fix for the blue fog of death - Steam Community Discussions]</ref>}}
 
 
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.
 
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.
 
# Go to <code>{{p|game}}/core/shaders</code>
 
# Go to <code>{{p|game}}/core/shaders</code>

Revision as of 22:32, 22 November 2017

Template:Infobox game/row/osxporterTemplate:Infobox game/row/linporter
Amnesia: A Machine for Pigs
Amnesia: A Machine for Pigs cover
Developers
The Chinese Room
Frictional Games
Engines
HPL Engine 2|HPL Engine|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
Windows
macOS (OS X)
Linux

Essential improvements

Skip intro videos

Edit main_settings.cfg[citation needed]
  1. Go to the configuration file and save game data 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[citation needed]
  1. Go to the configuration file and save game data 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 and save game data location

This game does not follow the XDG Base Directory Specification on Linux.

Save game cloud syncing

System Native Notes
GOG Galaxy
Steam Cloud
Game saves, key binds and game settings. Graphics are saved locally.

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 Unsuported 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
French
Italian
German
Spanish
Czech
Hungarian
Polish
Brazilian Portuguese
Russian
Turkish

VR support

3D modes State Notes
Nvidia 3D Vision
Use 3D Surround Gaming.

Issues fixed

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

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.

Other information

API

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

System requirements

Integrated Intel HD Graphics should work but is not supported; problems are generally solved with a driver update.
Windows
Minimum Recommended
Operating system (OS) Vista
Processor (CPU) 2.0 GHz Core i5
System memory (RAM) 2 GB
Hard disk drive (HDD) 5 GB
Video card (GPU) Mid-range NVIDIA GeForce 3x0
ATI Radeon HD 5x00
macOS (OS X)
Minimum Recommended
Operating system (OS) 10.6.8
Processor (CPU) 1.3 GHz core i5
System memory (RAM) 2 GB
Hard disk drive (HDD)
Video card (GPU) Mid-range NVIDIA GeForce 3x0
ATI Radeon HD 5x00
Linux
Minimum Recommended
Operating system (OS) Major Linux Distribution from 2010
Processor (CPU) 2.0 GHz core i5
System memory (RAM) 2 GB
Hard disk drive (HDD) 5 GB
Video card (GPU) Mid-range NVIDIA GeForce 3x0
ATI Radeon HD 5x00

References