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 "Sanitarium"

From PCGamingWiki, the wiki about fixing PC games
imported>AemonyBot
(updated template usage)
Line 6: Line 6:
 
{{Infobox game/row/publisher|XS Games}}
 
{{Infobox game/row/publisher|XS Games}}
 
{{Infobox game/row/publisher|ASC Games}}
 
{{Infobox game/row/publisher|ASC Games}}
{{Infobox game/row/publisher|DotEmu|Digital}}
+
{{Infobox game/row/publisher|DotEmu|Steam}}
 
|engines      =  
 
|engines      =  
{{Infobox game/row/engine|Asylum|ref=<ref>[http://wiki.scummvm.org/index.php/Sanitarium Sanitarium - ScummVM :: Wiki]</ref><ref>[https://github.com/alexbevi/scummvm/blob/asylum/engines/asylum/configure.engine scummvm/configure.engine at asylum · alexbevi/scummvm]</ref>}}
+
{{Infobox game/row/engine|Asylum|ref=<ref name="scummvm">[http://wiki.scummvm.org/index.php/Sanitarium Sanitarium - ScummVM :: Wiki]</ref><ref>[https://github.com/alexbevi/scummvm/blob/asylum/engines/asylum/configure.engine scummvm/configure.engine at asylum · alexbevi/scummvm]</ref>}}
 
|release dates=  
 
|release dates=  
 
{{Infobox game/row/date|Windows|April 30, 1998}}
 
{{Infobox game/row/date|Windows|April 30, 1998}}
 +
{{Infobox game/row/date|Windows|September 29, 2022|wrapper=ScummVM|ref=<ref name="gog scummvm">{{Refurl|url=https://www.gogdb.org/product/1207658811/releasenotes|title=GOG Database - Sanitarium - Release Notes|date=2022-10-25}}</ref>}}
 +
{{Infobox game/row/date|Linux|September 29, 2022|wrapper=ScummVM|ref=<ref name="gog scummvm"/>}}
 
|reception    =  
 
|reception    =  
 
{{Infobox game/row/reception|IGDB|sanitarium|}}
 
{{Infobox game/row/reception|IGDB|sanitarium|}}
 
|taxonomy    =  
 
|taxonomy    =  
{{Infobox game/row/taxonomy/monetization      | }}
+
{{Infobox game/row/taxonomy/monetization      | One-time game purchase }}
 
{{Infobox game/row/taxonomy/microtransactions | }}
 
{{Infobox game/row/taxonomy/microtransactions | }}
 
{{Infobox game/row/taxonomy/modes            | Singleplayer }}
 
{{Infobox game/row/taxonomy/modes            | Singleplayer }}
Line 29: Line 31:
 
|gogcom id    = 1207658811
 
|gogcom id    = 1207658811
 
|hltb        = 8152
 
|hltb        = 8152
 +
|lutris      = sanitarium
 +
|mobygames    = sanitarium
 
|strategywiki =  
 
|strategywiki =  
|mobygames    = sanitarium
 
 
|wikipedia    = Sanitarium (video game)
 
|wikipedia    = Sanitarium (video game)
 
|winehq      = 2803
 
|winehq      = 2803
Line 51: Line 54:
 
{{Availability|
 
{{Availability|
 
{{Availability/row| Retail | | disc | | | Windows }}
 
{{Availability/row| Retail | | disc | | | Windows }}
{{Availability/row| GOG.com | sanitarium | DRM-free | | | Windows }}
+
{{Availability/row| GOG.com | sanitarium | DRM-free | Prepackaged with [[ScummVM]]. | | Windows, Linux }}
 
{{Availability/row| Steam | 284050 | Steam | | | Windows }}
 
{{Availability/row| Steam | 284050 | Steam | | | Windows }}
 
}}
 
}}
Line 57: Line 60:
 
===Version differences===
 
===Version differences===
 
====GOG version====
 
====GOG version====
* Game version(press {{key|v}} while in game): '''Version 1.01 FINAL / Build 851'''
+
* Game version (press {{key|V}} while in game): '''Version 1.01 FINAL / Build 851'''
* Has Performance setting.
+
* Preconfigured with ScummVM.
* Fullscreen uses 640x480 resolution.
+
* The latest GOG version does not include {{file|sntrm.exe}}, so ScummVM must be used.<ref name="baron 2022-10-25">{{Refcheck|user=Baronsmoki|date=2022-10-25}}</ref> (It is possible to [[Store:GOG.com#Version rollback|revert to a previous version]] that includes it.)
* DDraw API.
+
* Has '''Performance''' setting.
* Settings are stored in registry, saves in the game's subfolder.
+
* Settings are stored in {{file|{{P|game}}\sanitarium.ini}}, saves in {{file|{{P|game}}\SAVES\}}.
 +
* It is possible to load non-ScummVM saves. See [[#Using classic saves with ScummVM|Using classic saves with ScummVM]] for details.
 +
 
 
====DotEmu/Steam version====
 
====DotEmu/Steam version====
 
* Game version: '''Version v1.00 NDEMO / Build 849'''
 
* Game version: '''Version v1.00 NDEMO / Build 849'''
Line 74: Line 79:
 
==Essential improvements==
 
==Essential improvements==
 
===[https://www.patreon.com/user?u=44312848 Peixoto's patch]===
 
===[https://www.patreon.com/user?u=44312848 Peixoto's patch]===
 +
{{ii}} Not compatible with GOG.com version. However, ScummVM seems to address all of the listed issues.<ref name="baron 2022-10-25"/>
 
{{++}} Fixes multiple issues:
 
{{++}} Fixes multiple issues:
* Allows nearest neighbor or [https://en.wikipedia.org/wiki/Pixel-art_scaling_algorithms#xBR_family xBRz scaling]  
+
* Allows {{term|nearest-neighbor}} or [https://en.wikipedia.org/wiki/Pixel-art_scaling_algorithms#xBR_family xBRz scaling].
* Deinterlaced {{term|FMV}}s
+
* Deinterlaced {{term|FMV}}s.
* Fixes jerky mouse movement in the menu
+
* Fixes jerky mouse movement in the menu.
* Fixes crashes on multicore processors
+
* Fixes crashes on multicore processors.
* Fixes flicker on the mouse cursor when you move it around
+
* Fixes flicker on the mouse cursor when moved.
  
 
==Game data==
 
==Game data==
 
===Configuration file(s) location===
 
===Configuration file(s) location===
 
{{Game data|
 
{{Game data|
{{Game data/config|Windows|{{p|hklm}}\Software\{{P|wow64}}\DreamForge\Sanitarium\|{{P|appdata}}\DotEmu\Sanitarium\|{{P|programdata}}\DotEmu\Sanitarium\}}
+
{{Game data/config|Windows|{{p|hklm}}\Software\{{P|wow64}}\DreamForge\Sanitarium\}}
 +
{{Game data/config|GOG.com|{{P|game}}\sanitarium.ini}}
 +
{{Game data/config|Steam|{{P|appdata}}\DotEmu\Sanitarium\|{{P|programdata}}\DotEmu\Sanitarium\}}
 +
{{Game data/config|Linux|}}
 
}}
 
}}
 +
{{XDG|unknown}}
  
 
===Save game data location===
 
===Save game data location===
 
{{Game data|
 
{{Game data|
{{Game data/saves|Windows|{{P|game}}\SAVES|{{P|appdata}}\DotEmu\Sanitarium\SAVES\{{LocalizedPath|EN}}\}}
+
{{Game data/saves|Windows|{{P|game}}\SAVES\}}
{{Game data/saves|Steam|{{P|steam}}\userdata\{{P|uid}}\284050\remote\{{LocalizedPath|EN}}\}}
+
{{Game data/saves|Steam|{{P|appdata}}\DotEmu\Sanitarium\SAVES\{{LocalizedPath|EN}}\|{{P|steam}}\userdata\{{P|uid}}\284050\remote\{{LocalizedPath|EN}}\}}
 +
{{Game data/saves|Linux|}}
 
}}
 
}}
  
Line 100: Line 111:
 
|epic games launcher      =  
 
|epic games launcher      =  
 
|epic games launcher notes =  
 
|epic games launcher notes =  
|gog galaxy                = false
+
|gog galaxy                = true
 
|gog galaxy notes          =  
 
|gog galaxy notes          =  
 
|origin                    =  
 
|origin                    =  
Line 113: Line 124:
  
 
==Video==
 
==Video==
{{Image|Sanitarium video.png|Video settings.}}
+
{{Image|Sanitarium video.png|Video settings}}
 
{{Video
 
{{Video
 
|wsgf link                  =  
 
|wsgf link                  =  
Line 121: Line 132:
 
|4k ultra hd wsgf award    =  
 
|4k ultra hd wsgf award    =  
 
|widescreen resolution      = false
 
|widescreen resolution      = false
|widescreen resolution notes= Resolution is locked to 640x480.
+
|widescreen resolution notes= Native resolution is 640x480.<ref name="scummvm"/>
 
|multimonitor              = false
 
|multimonitor              = false
 
|multimonitor notes        =  
 
|multimonitor notes        =  
Line 128: Line 139:
 
|4k ultra hd                = false
 
|4k ultra hd                = false
 
|4k ultra hd notes          =  
 
|4k ultra hd notes          =  
|fov                        = false
+
|fov                        = n/a
 
|fov notes                  =  
 
|fov notes                  =  
 
|windowed                  = hackable
 
|windowed                  = hackable
|windowed notes            = See [[#Windowed|Windowed]].
+
|windowed notes            = Press {{key|Alt|Enter}} with ScummVM, or see [[#Windowed|Windowed]].
 
|borderless windowed        = unknown
 
|borderless windowed        = unknown
 
|borderless windowed notes  =  
 
|borderless windowed notes  =  
Line 138: Line 149:
 
|antialiasing              = n/a
 
|antialiasing              = n/a
 
|antialiasing notes        =  
 
|antialiasing notes        =  
 +
|upscaling                  = unknown
 +
|upscaling tech            =
 +
|upscaling notes            =
 
|vsync                      = unknown
 
|vsync                      = unknown
 
|vsync notes                =  
 
|vsync notes                =  
Line 151: Line 165:
  
 
===[[Glossary:Windowed|Windowed]]===
 
===[[Glossary:Windowed|Windowed]]===
{{Fixbox|description=Create a shortcut|ref=<ref>[https://www.gog.com/forum/sanitarium/windowed_mode/post2 Windowed Mode, page 1 - Forum - GOG.com]</ref>|fix=
+
{{Fixbox|description=Use the {{code|-w}} or <code>-window</code> [[Glossary:Command line arguments|command line argument]]|ref=<ref>[https://www.gog.com/forum/sanitarium/windowed_mode/post2 Windowed Mode, page 1 - Forum - GOG.com]</ref>|fix=
# Create a shortcut for <code>{{P|game}}\sntrm.exe</code>
+
{{ii}} If the game becomes too slow after activating windowed mode, add the {{code|-e}} command line argument to activate DirectDraw's emulation mode.
# Add the following command line to the target: <code>-window</code> or <code>-w</code>
 
# Launch the game from the shortcut.
 
 
 
'''Notes'''
 
{{ii}} If the game becomes too slow after activating windowed mode add the following command line to the target: <code>-e</code>, which activates DirectDraw's emulation mode.
 
 
}}
 
}}
  
Line 163: Line 172:
 
{{Input
 
{{Input
 
|key remap                = limited
 
|key remap                = limited
|key remap notes          = Limited.
+
|key remap notes          = Limited native support. Use ScummVM for full remapping.
|acceleration option      = n/a
+
|acceleration option      = unknown
 
|acceleration option notes =  
 
|acceleration option notes =  
|mouse sensitivity        = unknown
+
|mouse sensitivity        = false
 
|mouse sensitivity notes  =  
 
|mouse sensitivity notes  =  
 
|mouse menu                = true
 
|mouse menu                = true
 
|mouse menu notes          =  
 
|mouse menu notes          =  
|invert mouse y-axis      = false
+
|invert mouse y-axis      = n/a
 
|invert mouse y-axis notes =  
 
|invert mouse y-axis notes =  
 
|touchscreen              = unknown
 
|touchscreen              = unknown
Line 225: Line 234:
  
 
==Audio==
 
==Audio==
{{Image|Sanitarium audio.png|Audio settings.}}
+
{{Image|Sanitarium audio.png|Audio settings}}
 
{{Audio
 
{{Audio
 
|separate volume          = true
 
|separate volume          = true
Line 238: Line 247:
 
|mute on focus lost notes =  
 
|mute on focus lost notes =  
 
|eax support              =  
 
|eax support              =  
|eax support notes        =  
+
|eax support notes         =
 +
|royalty free audio       = unknown
 +
|royalty free audio notes  =  
 
}}
 
}}
  
Line 263: Line 274:
 
  |audio    = true
 
  |audio    = true
 
  |subtitles = true
 
  |subtitles = true
  |notes    = Retail and Steam only; [https://www.compiware-forum.de/downloads/file/187-sanitarium-german-patch/ download for GOG.com release].
+
  |notes    =  
 
  |fan      =  
 
  |fan      =  
 
}}
 
}}
Line 316: Line 327:
 
}}
 
}}
 
{{Fixbox|description=Set the OS to use only 1 CPU|ref={{cn|date=October 2016}}|fix=
 
{{Fixbox|description=Set the OS to use only 1 CPU|ref={{cn|date=October 2016}}|fix=
# Press Windows Key+R, then type msconfig. Click on boot tab, then on advanced options.
+
# Press {{key|Win|R}}, then type {{code|msconfig}}. Click on boot tab, then on advanced options.
 
# Checkmark number of processors and put it to 1. Press ok. Restart computer. Play Game.  
 
# Checkmark number of processors and put it to 1. Press ok. Restart computer. Play Game.  
 
# You will have to run msconfig and uncheck number of processors and restart to change back to using all CPUs.
 
# You will have to run msconfig and uncheck number of processors and restart to change back to using all CPUs.
Line 328: Line 339:
 
|directdraw versions    = 5.0
 
|directdraw versions    = 5.0
 
|directdraw notes      =  
 
|directdraw notes      =  
|opengl versions        =  
+
|opengl versions        = true
|opengl notes          =  
+
|opengl notes          = Steam version only.
 
|glide versions        =  
 
|glide versions        =  
 
|glide notes            =  
 
|glide notes            =  
Line 344: Line 355:
 
|windows 32-bit exe    = true
 
|windows 32-bit exe    = true
 
|windows 64-bit exe    = false
 
|windows 64-bit exe    = false
 +
|windows arm app        = unknown
 
|windows exe notes      =  
 
|windows exe notes      =  
 
|macos intel 32-bit app =  
 
|macos intel 32-bit app =  
 
|macos intel 64-bit app =  
 
|macos intel 64-bit app =  
 +
|macos arm app          = unknown
 
|macos app notes        =  
 
|macos app notes        =  
|linux 32-bit executable=  
+
|linux 32-bit executable= unknown
|linux 64-bit executable=  
+
|linux 64-bit executable= unknown
 +
|linux arm app          = unknown
 
|linux executable notes =  
 
|linux executable notes =  
 
}}
 
}}
Line 358: Line 372:
 
|physics notes    =  
 
|physics notes    =  
 
|audio            = OpenAL
 
|audio            = OpenAL
|audio notes      =  
+
|audio notes      = Steam version only.
 
|interface        =  
 
|interface        =  
 
|interface notes  =  
 
|interface notes  =  
 
|input            = SDL
 
|input            = SDL
 +
|input notes      = Steam version only.
 
|cutscenes        = Smacker Video
 
|cutscenes        = Smacker Video
 
|cutscenes notes  =  
 
|cutscenes notes  =  
 
|multiplayer      =  
 
|multiplayer      =  
 
|multiplayer notes=  
 
|multiplayer notes=  
 +
}}
 +
 +
===Using classic saves with ScummVM===
 +
{{Fixbox|description=Rename save files|ref=<ref name="baron 2022-10-25"/>|fix=
 +
# Go to the [[#Save game data location|save game data location]].
 +
# Rename (or copy) all {{file|SAVE*.SAV}} files to {{file|asylum.0*}}:
 +
#* {{file|SAVE00.SAV}} → {{file|asylum.000}}
 +
#* {{file|SAVE01.SAV}} → {{file|asylum.001}}
 +
#* etc.
 +
# Ensure [https://docs.scummvm.org/en/latest/use_scummvm/save_load_games.html#location-of-saved-game-files ScummVM is configured] to use the [[#Save game data location|save game data location]] as its save directory. (The GOG version is preconfigured this way.)
 +
# Start the game normally via ScummVM.
 +
{{ii}} If GOG Galaxy undesirably restores the classic filenames from the cloud, see [https://support.gog.com/hc/en-us/articles/360003905358-How-can-I-remove-saves-from-the-cloud-?product=gog this guide] to remove them from the cloud.
 
}}
 
}}
  
Line 378: Line 405:
 
|minGPU  =  
 
|minGPU  =  
 
|minDX    = 5.0
 
|minDX    = 5.0
 +
 +
|recOS    =
 +
|recCPU  =
 +
|recRAM  =
 +
|recHD    =
 +
|recGPU  =
 +
}}
 +
 +
{{System requirements
 +
|OSfamily = Linux
 +
|minOS    = Ubuntu 18.04
 +
|minCPU  = 1.8 GHz
 +
|minRAM  = 512 MB
 +
|minHD    = 4 GB
 +
|minGPU  =
  
 
|recOS    =  
 
|recOS    =  

Revision as of 09:49, 28 October 2022

Sanitarium
Sanitarium cover
Developers
DreamForge Intertainment
Publishers
XS Games
ASC Games
Steam DotEmu
Engines
Asylum[1][2]
Release dates
Windows April 30, 1998
Windows (ScummVM) September 29, 2022[3]
Linux (ScummVM) September 29, 2022[3]
Taxonomy
Monetization One-time game purchase
Modes Singleplayer
Perspectives Isometric
Controls Point and select
Genres Adventure
Art styles Realistic
Themes Horror
Sanitarium on HowLongToBeat
Sanitarium on IGDB
Sanitarium on MobyGames
Sanitarium on Wikipedia

Sanitarium is a singleplayer isometric adventure game.

General information

GOG.com Community Discussions
GOG.com Support Page
Steam Community Discussions

Availability

Source DRM Notes Keys OS
Retail
Disc check (requires the CD/DVD in the drive to play)
Windows
GOG.com
DRM-free
Prepackaged with ScummVM.
Windows
Linux
Steam
Icon overlay.png
Windows

Version differences

GOG version

DotEmu/Steam version

  • Game version: Version v1.00 NDEMO / Build 849
  • Has Fullscreen on/off switch.
  • Fullscreen is pillarboxed 4:3, always uses desktop resolution.
  • OpenGL API.
  • Settings are stored in UserDefault.xml file, saves either in Steam Cloud folder or in %APPDATA%.

Demo

Demos are available from ScummVM.

Essential improvements

Peixoto's patch

Not compatible with GOG.com version. However, ScummVM seems to address all of the listed issues.[4]
Fixes multiple issues:
  • Allows nearest-neighbor or xBRz scaling.
  • Deinterlaced FMVs.
  • Fixes jerky mouse movement in the menu.
  • Fixes crashes on multicore processors.
  • Fixes flicker on the mouse cursor when moved.

Game data

Configuration file(s) location

System Location
Windows HKEY_LOCAL_MACHINE\Software\Wow6432Node\DreamForge\Sanitarium\[Note 1]
GOG.com <path-to-game>\sanitarium.ini
Steam %APPDATA%\DotEmu\Sanitarium\
%PROGRAMDATA%\DotEmu\Sanitarium\
Linux
Steam Play (Linux) <SteamLibrary-folder>/steamapps/compatdata/284050/pfx/[Note 2]
It's unknown whether this game follows the XDG Base Directory Specification on Linux. Please fill in this information.

Save game data location

System Location
Windows <path-to-game>\SAVES\[Note 3]
Steam %APPDATA%\DotEmu\Sanitarium\SAVES\<Localized EN>\
<Steam-folder>\userdata\<user-id>\284050\remote\<Localized EN>\
Linux
Steam Play (Linux) <SteamLibrary-folder>/steamapps/compatdata/284050/pfx/[Note 2]

Save game cloud syncing

System Native Notes
GOG Galaxy
Steam Cloud
ScummVM 2.1+ supports cloud saves on third-party cloud storage services. See the ScummVM documentation for details.

Video

Video settings
Video settings

Graphics feature State Notes
Widescreen resolution
Native resolution is 640x480.[1]
Multi-monitor
Ultra-widescreen
4K Ultra HD
Field of view (FOV)
Windowed
Press Alt+ Enter with ScummVM, or see Windowed.
Borderless fullscreen windowed
Anisotropic filtering (AF)
Anti-aliasing (AA)
Vertical sync (Vsync)
60 FPS and 120+ FPS
Frame rate is limited to 30 FPS.
High dynamic range display (HDR)
See the glossary page for potential alternatives.

Windowed

Use the -w or -window command line argument[5]
If the game becomes too slow after activating windowed mode, add the -e command line argument to activate DirectDraw's emulation mode.

Input

Keyboard and mouse State Notes
Remapping
Limited native support. Use ScummVM for full remapping.
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support
Controller types

Audio

Audio settings
Audio settings

Audio feature State Notes
Separate volume controls
Master, music, ambient, SFX, voice and cinematic.
Surround sound
Subtitles
Closed captions
Mute on focus lost
Royalty free audio

Localizations

Language UI Audio Sub Notes
English
French
German
Polish
Fan translation, download.
Brazilian Portuguese
Fan translation. Download and guide — ScummBR or Steam Community.
Russian
Retail Russian version only. Official localization by "Новый диск/Логрус" (ND/Logrus)
Russian
Unofficial translation by «Fargus Multimedia»
Spanish
Fan translation, download.

Issues fixed

Game crashes

Use CPUGrab[citation needed]
  1. Run CPUGrab.
  2. Run the game.
Set the OS to use only 1 CPU[citation needed]
  1. Press Win+R, then type msconfig. Click on boot tab, then on advanced options.
  2. Checkmark number of processors and put it to 1. Press ok. Restart computer. Play Game.
  3. You will have to run msconfig and uncheck number of processors and restart to change back to using all CPUs.

Other information

API

Technical specs Supported Notes
DirectDraw 5.0
OpenGL
Steam version only.
Executable 32-bit 64-bit Notes
Windows

Middleware

Middleware Notes
Audio OpenAL Steam version only.
Input SDL Steam version only.
Cutscenes Smacker Video Technology

Using classic saves with ScummVM

Rename save files[4]
  1. Go to the save game data location.
  2. Rename (or copy) all SAVE*.SAV files to asylum.0*:
    • SAVE00.SAVasylum.000
    • SAVE01.SAVasylum.001
    • etc.
  3. Ensure ScummVM is configured to use the save game data location as its save directory. (The GOG version is preconfigured this way.)
  4. Start the game normally via ScummVM.
If GOG Galaxy undesirably restores the classic filenames from the cloud, see this guide to remove them from the cloud.

System requirements

Windows
Minimum
Operating system (OS) 95
Processor (CPU) Intel Pentium 90 MHz
System memory (RAM) 16 MB
Hard disk drive (HDD) 30 MB
Video card (GPU) DirectX 5.0 compatible
Linux
Minimum
Operating system (OS) Ubuntu 18.04
Processor (CPU) 1.8 GHz
System memory (RAM) 512 MB
Hard disk drive (HDD) 4 GB


Notes

  1. Applications writing to HKEY_LOCAL_MACHINE\SOFTWARE will be redirected to other locations based on various criterias, see the glossary page for more details.
  2. 2.0 2.1 Notes regarding Steam Play (Linux) data:
  3. When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).

References