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

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

From PCGamingWiki, the wiki about fixing PC games
(→‎Video: FPS cap clarification)
(Fixed outdated info)
Line 36: Line 36:
 
'''General information'''
 
'''General information'''
 
{{ii}} [https://community.pcgamingwiki.com/blog/features/port-reports/port-report-amnesia-a-machine-for-pigs-r78/ Port Report]
 
{{ii}} [https://community.pcgamingwiki.com/blog/features/port-reports/port-report-amnesia-a-machine-for-pigs-r78/ Port Report]
 +
{{mm}} [https://frictionalgames.zendesk.com/hc/en-us/categories/360002551680-Amnesia-Collection Official support page]
 +
{{mm}} [https://amnesia.fandom.com/wiki/Amnesia_Wiki Unofficial Wiki]
 
{{GOG.com links|1207659443|amnesia_series|for game series}}
 
{{GOG.com links|1207659443|amnesia_series|for game series}}
 
{{mm}} [https://steamcommunity.com/app/239200/discussions/ Steam Community Discussions]
 
{{mm}} [https://steamcommunity.com/app/239200/discussions/ Steam Community Discussions]
Line 45: Line 47:
 
{{Availability/row| Humble | amnesia-a-machine-for-pigs | DRM-free |  | Steam | Windows, OS X, Linux }}
 
{{Availability/row| Humble | amnesia-a-machine-for-pigs | DRM-free |  | Steam | Windows, OS X, Linux }}
 
{{Availability/row| MacApp | id827651812 | MacApp |  |  | OS X }}
 
{{Availability/row| MacApp | id827651812 | MacApp |  |  | OS X }}
{{Availability/row| Steam | 239200 | Steam | {{Store link|steam-sub|36631|Amnesia Collection}} also available. |  | Windows, OS X, Linux }}
+
{{Availability/row| Steam | 239200 | Steam | {{Store link|steam-bundle|20170|Amnesia Re-collection}} also available. |  | Windows, OS X, Linux }}
 
}}
 
}}
  
 
==Essential improvements==
 
==Essential improvements==
 
===Skip intro videos===
 
===Skip intro videos===
{{Fixbox|description=Edit main_settings.cfg|ref={{cn|date=July 2016}}|fix=
+
{{Fixbox|description=Edit main_settings.cfg|fix=
# Go to the [[#Game data|configuration file location]].
+
# Go to the [[#Game data|configuration file(s) location]].
 
# Open <code>main_settings.cfg</code> with a text editor.
 
# Open <code>main_settings.cfg</code> with a text editor.
 
# Change <code>ShowPreMenu="true"</code> to <code>ShowPreMenu="false"</code>
 
# Change <code>ShowPreMenu="true"</code> to <code>ShowPreMenu="false"</code>
 
# Save the changes.
 
# Save the changes.
 +
}}
 +
 +
===Enable quick save===
 +
{{Fixbox|description=Edit user_settings.cfg|fix=
 +
# Go to the [[#Game data|configuration file(s) location]].
 +
# Go into <code>{{p|uid}}</code> and open <code>user_settings.cfg</code> with a text editor.
 +
# Change <code>AllowQuickSave="false"</code> to <code>AllowQuickSave="true"</code>
 +
# Save the changes.
 +
 +
'''Notes'''
 +
{{ii}} Press {{key|F4}} to save and {{key|F5}} to load.
 
}}
 
}}
  
Line 109: Line 122:
 
|ultrawidescreen            = true
 
|ultrawidescreen            = true
 
|ultrawidescreen notes      =  
 
|ultrawidescreen notes      =  
|4k ultra hd                = unknown
+
|4k ultra hd                = true
|4k ultra hd notes          =  
+
|4k ultra hd notes          = Options menu UI doesn't scale.
 
|fov                        = hackable
 
|fov                        = hackable
 
|fov notes                  = See [[#Field of view (FOV)|Field of view (FOV)]].
 
|fov notes                  = See [[#Field of view (FOV)|Field of view (FOV)]].
 
|windowed                  = true
 
|windowed                  = true
|windowed notes            = Window borders are hidden when running at native resolution.
+
|windowed notes            =  
|borderless windowed        = unknown
+
|borderless windowed        = hackable
|borderless windowed notes  =  
+
|borderless windowed notes  = Set to Windowed and use a third-party tool like [[Glossary:Borderless fullscreen windowed#Borderless Gaming|Borderless Gaming]].
 
|anisotropic                = true
 
|anisotropic                = true
|anisotropic notes          =  
+
|anisotropic notes          = Up to 16x.
 
|antialiasing              = true
 
|antialiasing              = true
 
|antialiasing notes        = On or off but proper AA and not FXAA.
 
|antialiasing notes        = On or off but proper AA and not FXAA.
 
|vsync                      = true
 
|vsync                      = true
|vsync notes                =  
+
|vsync notes                = Not present in launcher. Can be enabled in-game. [[Glossary:Vertical_sync_(Vsync)#Adaptive_V-Sync|Adaptative Vsync]] is also available.
 
|60 fps                    = true
 
|60 fps                    = true
 
|60 fps notes              =  
 
|60 fps notes              =  
|120 fps                    = hackable
+
|120 fps                    = false
 
|120 fps notes              = See [[#High frame rate|High frame rate]].
 
|120 fps notes              = See [[#High frame rate|High frame rate]].
 
|hdr                        = unknown
 
|hdr                        = unknown
Line 134: Line 147:
  
 
===[[Glossary:Field of view (FOV)|Field of view (FOV)]]===
 
===[[Glossary:Field of view (FOV)|Field of view (FOV)]]===
{{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|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=
 
# 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
# Go to the <code>Player_General</code> section.
+
# Locate line <code>FOV = "70"</code> in section <code>Player_General</code> and change its value to your desired field of view value.
# Change <code>FOV = "70"</code> to the desired field of view value.
 
 
}}
 
}}
  
 
===[[Glossary:Frame rate (FPS)|High frame rate]]===
 
===[[Glossary:Frame rate (FPS)|High frame rate]]===
{{ii}} 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.<ref>{{Refcheck|user=Litbeep|date=2020-11-3|comment=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!"}}</ref>
+
{{--}} 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.<ref>{{Refcheck|user=Litbeep|date=2020-11-3|comment=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!"}}</ref>
  
 
{{Fixbox|description=Remove FPS cap|fix=
 
{{Fixbox|description=Remove FPS cap|fix=
Line 155: Line 167:
 
|key remap                = true
 
|key remap                = true
 
|key remap notes          =  
 
|key remap notes          =  
|acceleration option      = false
+
|acceleration option      = true
|acceleration option notes = No native option, acceleration is taken from system settings.
+
|acceleration option notes = Mouse smoothing can be toggled.
|mouse sensitivity        = unknown
+
|mouse sensitivity        = true
 
|mouse sensitivity notes  =  
 
|mouse sensitivity notes  =  
 
|mouse menu                = true
 
|mouse menu                = true
Line 170: Line 182:
 
|full controller notes    =  
 
|full controller notes    =  
 
|controller remap          = false
 
|controller remap          = false
|controller remap notes    = Not remapping properly with the Xbox 360 Controller.<ref>[https://www.frictionalgames.com/forum/thread-24540-post-282869.html#pid282869 Xbox controller incompatibility]</ref>
+
|controller remap notes    = Not remapping properly with the Xbox Controller.<ref>[https://web.archive.org/web/20150619064554/https://www.frictionalgames.com/forum/thread-24540-post-282869.html Xbox controller incompatibility]</ref>
|controller sensitivity    = unknown
+
|controller sensitivity    = true
 
|controller sensitivity notes=  
 
|controller sensitivity notes=  
 
|invert controller y-axis  = true
 
|invert controller y-axis  = true
Line 197: Line 209:
 
|other button prompts      = unknown
 
|other button prompts      = unknown
 
|other button prompts notes=  
 
|other button prompts notes=  
|controller hotplug        = unknown
+
|controller hotplug        = true
 
|controller hotplug notes  =  
 
|controller hotplug notes  =  
|haptic feedback          = unknown
+
|haptic feedback          = false
 
|haptic feedback notes    =  
 
|haptic feedback notes    =  
 
|simultaneous input        = true
 
|simultaneous input        = true
Line 237: Line 249:
  
 
{{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|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=
# Download [http://kcat.strangesoft.net/openal.html OpenAL Soft] ([https://community.pcgamingwiki.com/files/file/7-openal-soft/ PCGamingWiki mirror]).
+
# Download [https://openal-soft.org/ 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.
 
# Copy <code>soft_oal.dll</code> to the installation folder.
 
# Copy <code>soft_oal.dll</code> to the installation folder.
Line 484: Line 496:
 
|physics notes    =  
 
|physics notes    =  
 
|audio            = OpenAL
 
|audio            = OpenAL
|audio notes      =  
+
|audio notes      = 6.14.0357.24
 
|interface        =  
 
|interface        =  
 
|interface notes  =  
 
|interface notes  =  
Line 495: Line 507:
 
|anticheat        =  
 
|anticheat        =  
 
|anticheat notes  =  
 
|anticheat notes  =  
}}
 
 
===Enable quick save===
 
{{Fixbox|description=Edit user_settings.cfg|ref={{cn|date=July 2016}}|fix=
 
# Go to the [[#Game data|configuration file location]].
 
# Go into <code>{{p|uid}}</code> and open <code>user_settings.cfg</code> with a text editor.
 
# Change <code>AllowQuickSave="false"</code> to <code>AllowQuickSave="true"</code>
 
# Save the changes.
 
 
'''Notes'''
 
{{ii}} Press {{key|F4}} to save and {{key|F5}} to load.
 
 
}}
 
}}
  
Line 550: Line 551:
 
|OSfamily = OS X
 
|OSfamily = OS X
  
|minOS    = 10.6.8
+
|minOS    = OS X 10.7.5 - 10.15.0
 
|minCPU  = Intel Core i3
 
|minCPU  = Intel Core i3
 
|minCPU2  = AMD A6
 
|minCPU2  = AMD A6
Line 558: Line 559:
 
|minGPU2  = AMD Radeon HD 5000
 
|minGPU2  = AMD Radeon HD 5000
  
|recOS    = 10.7.5
+
|recOS    = OS X 10.7.5 - 10.15.0
 
|recCPU  = Intel Core i5
 
|recCPU  = Intel Core i5
 
|recCPU2  = AMD FX
 
|recCPU2  = AMD FX
Line 565: Line 566:
 
|recGPU  = Nvidia GeForce 400
 
|recGPU  = Nvidia GeForce 400
 
|recGPU2  = AMD Radeon HD 6000
 
|recGPU2  = AMD Radeon HD 6000
|notes    = {{ii}} Integrated Intel HD Graphics should work but is not supported.
+
|notes    = {{ii}} Integrated Intel HD Graphics should work but is not supported.</br>{{ii}} This product is not compatiable with macOS 10.15 Catalina or later.
 
}}
 
}}
  

Revision as of 19:36, 7 April 2021

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
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
Unofficial Wiki
GOG.com Community Discussions for game series
GOG.com Support Page
Steam Community Discussions

Availability

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) ~/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
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

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
Set to Windowed and use a third-party tool like Borderless Gaming.
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[1]
  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.[2]
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[4]
  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
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

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

Crash during startup

Disconnect any gamepads and then start the game[6]

Freeze/lag every now and then

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

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 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,[10] but this effect can be undesirably strong on some screens.
Edit save files[11]
  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[12]

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