Difference between revisions of "Demon's Souls"

From RPCS3 Wiki
m (Text replacement - "|microphone type = <!-- Null, Standard, SingStar, Real SingStar, Rocksmith --> |microphone type notes = " to "|microphone type = <!-- Null, Standard, SingStar, Real SingStar, Roc...)
(Link to internal patch repo)
(9 intermediate revisions by 2 users not shown)
Line 21: Line 21:
 
|preferred spu threads              = <!-- Auto, Single digit between 1 to 6 (e.g. 3), Range between 1 to 6 (e.g. 1 - 3) -->
 
|preferred spu threads              = <!-- Auto, Single digit between 1 to 6 (e.g. 3), Range between 1 to 6 (e.g. 1 - 3) -->
 
|preferred spu threads notes        =  
 
|preferred spu threads notes        =  
|firmware settings                  = <!-- Automatically load required libraries, Manually load selected libraries, Load automatic and manual selection, Load liblv2.sprx only -->
+
|firmware settings                  = <!-- Manually load selected libraries, Load automatic and manual selection, Load liblv2.sprx only, Load liblv2.sprx and manual selection, Load liblv2.sprx and strict selection -->
|firmware settings notes            = <!-- Where Manually load selected libraries or Load automatic and manual selection options is selected, mention the list of libraries to be selected in this parameter -->
+
|firmware settings notes            = <!-- Where libraries are manually selected, mention the list of libraries to be selected here -->
 
|enable thread scheduler            = <!-- On, Off -->
 
|enable thread scheduler            = <!-- On, Off -->
 
|enable thread scheduler notes      =  
 
|enable thread scheduler notes      =  
Line 36: Line 36:
 
|spu block size notes                =  
 
|spu block size notes                =  
 
|tsx instructions                    = <!-- Enabled, Disabled, Forced -->
 
|tsx instructions                    = <!-- Enabled, Disabled, Forced -->
|tsx instructions notes              =
+
|tsx instructions notes              =  
 
<!-- GPU configuration -->
 
<!-- GPU configuration -->
 
|renderer                            = Vulkan <!-- OpenGL, Vulkan -->
 
|renderer                            = Vulkan <!-- OpenGL, Vulkan -->
|renderer notes                      =  
+
|renderer notes                      = Recommended to get the best performance.
 
|aspect ratio                        = <!-- Auto, 4:3, 16:9 -->
 
|aspect ratio                        = <!-- Auto, 4:3, 16:9 -->
 
|aspect ratio notes                  =  
 
|aspect ratio notes                  =  
Line 55: Line 55:
 
|resolution scale threshold notes    =  
 
|resolution scale threshold notes    =  
 
|write color buffers                = On <!-- On, Off -->
 
|write color buffers                = On <!-- On, Off -->
|write color buffers notes          =  
+
|write color buffers notes          = Fixes missing graphics ingame.
 
|strict rendering mode              = <!-- On, Off -->
 
|strict rendering mode              = <!-- On, Off -->
 
|strict rendering mode notes        =  
 
|strict rendering mode notes        =  
Line 65: Line 65:
 
|disable vertex cache notes          =  
 
|disable vertex cache notes          =  
 
|multithreaded rsx                  = <!-- On, Off -->
 
|multithreaded rsx                  = <!-- On, Off -->
|multithreaded rsx notes            =
+
|multithreaded rsx notes            =  
 
|disable async shader compiler      = <!-- On, Off -->
 
|disable async shader compiler      = <!-- On, Off -->
 
|disable async shader compiler notes =  
 
|disable async shader compiler notes =  
Line 91: Line 91:
 
|microphone type                    = <!-- Null, Standard, SingStar, Real SingStar, Rocksmith -->
 
|microphone type                    = <!-- Null, Standard, SingStar, Real SingStar, Rocksmith -->
 
|microphone type notes              =  
 
|microphone type notes              =  
 +
<!-- Advanced configuration -->
 +
|debug console mode                  = <!-- On, Off -->
 +
|debug console mode notes            =
 +
|sleep timers accuracy              = <!-- As Host, Usleep Only, All Timers -->
 +
|sleep timers accuracy notes        =
 +
|read depth buffers                  = <!-- On, Off -->
 +
|read depth buffers notes            =
 +
|write depth buffers                = <!-- On, Off -->
 +
|write depth buffers notes          =
 +
|read color buffers                  = <!-- On, Off -->
 +
|read color buffers notes            =
 +
|vblank rate                        = 120 (for 60FPS)<br>240 (for 120FPS) <!-- Range between 1 to 500 -->
 +
|vblank rate notes                  = To be enabled along with the [[#60/120 FPS patch|FPS patch]]
 +
|clocks scale                        = 200 (for 60FPS)<br>400 (for 120FPS) <!-- Range between 10 to 1000 -->
 +
|clocks scale notes                  = To be enabled along with the [[#60/120 FPS patch|FPS patch]]
 
<!-- Debug configuration -->
 
<!-- Debug configuration -->
 
|force cpu blit emulation            = <!-- On, Off -->
 
|force cpu blit emulation            = <!-- On, Off -->
Line 102: Line 117:
 
|hook static functions              = <!-- On, Off -->
 
|hook static functions              = <!-- On, Off -->
 
|hook static functions notes        =  
 
|hook static functions notes        =  
|debug console mode                  = <!-- On, Off -->
 
|debug console mode notes            =
 
<!-- Enhancements -->
 
|sleep timers accuracy              = <!-- As Host, Usleep Only, All Timers -->
 
|sleep timers accuracy notes        =
 
|clocks scale                        = 200 (for 60FPS)<br>400 (for 120FPS) <!-- Range between 10 to 1000 -->
 
|clocks scale notes                  = To be enabled along with the [[#60/120 FPS patch|FPS patch]]
 
|vblank rate                        = 120 (for 60FPS)<br>240 (for 120FPS) <!-- Range between 1 to 500 -->
 
|vblank rate notes                  = To be enabled along with the [[#60/120 FPS patch|FPS patch]]
 
 
}}
 
}}
  
Line 127: Line 133:
 
==Special Notes==
 
==Special Notes==
 
===60/120 FPS patch===
 
===60/120 FPS patch===
Thanks to Whatcookie, an [https://rpcs3.net/blog/wp-content/uploads/2019/08/progress/patch.yml FPS Patch] is available for this title. Be sure to set the appropriate Clocks scale and Vblank rate as mentioned above. Do note, that the following issues remain with the patch:
+
Thanks to Whatcookie, an [[Help:Game Patches#Demon's Souls|FPS Patch]] is available for this title. Be sure to set the appropriate Clocks scale and Vblank rate as mentioned above. Do note, that the following issues remain with the patch:
 
# Pre-rendered cutscenes will only display the very first frame of the video with the patch enabled. However, there are very few such cutscenes in the game (2 at the start of the game and 1 before the credits).
 
# Pre-rendered cutscenes will only display the very first frame of the video with the patch enabled. However, there are very few such cutscenes in the game (2 at the start of the game and 1 before the credits).
 
# At 120FPS, running into geometry will cause the player's movement to slow down. It is not recommended to use the 120FPS mode until the movement issue is fixed. Also, due to hardware limitations, many users will find it difficult to hit 120FPS at high resolutions like 4K.
 
# At 120FPS, running into geometry will cause the player's movement to slow down. It is not recommended to use the 120FPS mode until the movement issue is fixed. Also, due to hardware limitations, many users will find it difficult to hit 120FPS at high resolutions like 4K.
Line 135: Line 141:
  
 
If you wish to restrict logging, you must edit settings that are only present within the config file and cannot be modified from the emulator's GUI. For instructions on how to correctly modify the config file, [[Help:Frequently_Asked_Questions#Modifying_settings_through_config.yml|click here]]. Search for the <code><nowiki>Log:</nowiki></code> option and set it to <code><nowiki>Log: {sceNp: Fatal}</nowiki></code>.
 
If you wish to restrict logging, you must edit settings that are only present within the config file and cannot be modified from the emulator's GUI. For instructions on how to correctly modify the config file, [[Help:Frequently_Asked_Questions#Modifying_settings_through_config.yml|click here]]. Search for the <code><nowiki>Log:</nowiki></code> option and set it to <code><nowiki>Log: {sceNp: Fatal}</nowiki></code>.
 +
 +
===Incorrect FPS counter===
 +
Demon's Souls has an internal technique where it will output duplicate frames if the games performance is not at the FPS cap. This makes the FPS counters report that the game is running at 30FPS (or 60FPS) at all times while the actual performance could be 15FPS as the game is outputting duplicate frames if your performance is too low. This is not a bug, its just an unfortunate result of how Demon's Souls works. The reliable way to check true performance is to record gameplay footage and then use tools to analyze the frame-rate from the footage. However, users may also use the alternative method of setting the '''Clocks Scale''' setting, found in the Advanced tab, to half of what it should be. So, 50 if not using the FPS patch, 100 if using the 60 FPS patch and so on. This will break the game's internal frame duplication logic and cause it to output twice as many duplicate frames, as such it's only recommended for checking performance levels.

Revision as of 10:07, 22 October 2019

Demon's Souls
Developer(s) FromSoftware
Publisher(s) JP Sony Computer Entertainment
NA Atlus USA
AU/EU Bandai Namco Games
Series Souls
Release date(s) JP February 5, 2009
NA October 6, 2009
AU June 23, 2010
EU June 25, 2010
Release type PlayStation 3 exclusive
Genre(s) Action, Role-playing
Mode(s) Single-player, Multiplayer
GameID(s) BLES00932 (IRD), BLUS30443 (IRD), NPEB01202, NPUB30910, BCAS20071 (IRD)
See also... Check Compatibility
Open Issues
Search Google
Wikipedia Page

Demon's Souls is the first installment in the Souls series of games created by game director Hidetaka Miyazaki, and was produced under supervision by Sony's Japan Studio. Set in a dark fantasy world, players take control of a hero who has journeyed to the fictional kingdom of Boletaria, which is being ravaged by a cursed fog that brings forth demons who feast on the souls of mortals. The gameplay involves a character-creation system and emphasizes gathering loot through combat with enemies in a non-linear series of varied locations, with a heavy emphasis on challenging combat. It has a unique online multiplayer system integrated into the single-player where players can leave useful messages and warnings for other players' single-player game worlds, as well as joining other players in their world to assist and/or kill them.

Configuration

Only options that deviate from the default configuration to ensure best performance are listed below. The full list of default options is available here.

GPU configuration

Setting Option Notes
Renderer Vulkan Recommended to get the best performance.
Write color buffers On Fixes missing graphics ingame.

Advanced configuration

Setting Option Notes
Vblank rate 120 (for 60FPS)
240 (for 120FPS)
To be enabled along with the FPS patch
Clocks scale 200 (for 60FPS)
400 (for 120FPS)
To be enabled along with the FPS patch

Known Issues

PSN versions do not work

The PARAM.SFO file in the PSN versions are the same as the ones used in the Blu-ray version. Hence, the emulator identifies the games as Blu-rays and tries to install it as such. Due to this, the PSN versions only display a blackscreen.

Missing Geometry

Issue 4302 - There are certain situations when the game doesn't send geometry to be rendered (like the invisible soldier shield).

Crash after Altus logo - Fixed by PR 5475

There is a known regression affecting 4-core/4-thread CPUs where the game will crash right after the Atlus logo. This issue is being tracked as part of Issue 4861.
For people affected by this issue, use this older build 6718. If for some reason build 6718 does not work, try build 6697.

Special Notes

60/120 FPS patch

Thanks to Whatcookie, an FPS Patch is available for this title. Be sure to set the appropriate Clocks scale and Vblank rate as mentioned above. Do note, that the following issues remain with the patch:

  1. Pre-rendered cutscenes will only display the very first frame of the video with the patch enabled. However, there are very few such cutscenes in the game (2 at the start of the game and 1 before the credits).
  2. At 120FPS, running into geometry will cause the player's movement to slow down. It is not recommended to use the 120FPS mode until the movement issue is fixed. Also, due to hardware limitations, many users will find it difficult to hit 120FPS at high resolutions like 4K.

Reducing log spam

Due to the high amount of sceNp warnings spammed in the log, this title tends to crash during extended gameplay sessions. So it is recommended to restrict logging of this error to allow better performance while ingame. Please note that you cannot submit logs in the GitHub tracker or Discord server with this modification. If you wish to report bugs or seek help for this game, you MUST remove the below change before generating the log for this purpose.

If you wish to restrict logging, you must edit settings that are only present within the config file and cannot be modified from the emulator's GUI. For instructions on how to correctly modify the config file, click here. Search for the Log: option and set it to Log: {sceNp: Fatal}.

Incorrect FPS counter

Demon's Souls has an internal technique where it will output duplicate frames if the games performance is not at the FPS cap. This makes the FPS counters report that the game is running at 30FPS (or 60FPS) at all times while the actual performance could be 15FPS as the game is outputting duplicate frames if your performance is too low. This is not a bug, its just an unfortunate result of how Demon's Souls works. The reliable way to check true performance is to record gameplay footage and then use tools to analyze the frame-rate from the footage. However, users may also use the alternative method of setting the Clocks Scale setting, found in the Advanced tab, to half of what it should be. So, 50 if not using the FPS patch, 100 if using the 60 FPS patch and so on. This will break the game's internal frame duplication logic and cause it to output twice as many duplicate frames, as such it's only recommended for checking performance levels.