Demon's Souls: Difference between revisions

From RPCS3 Wiki
(Updating issues list)
(Link to internal patch repo)
(25 intermediate revisions by 2 users not shown)
Line 13: Line 13:


==Configuration==
==Configuration==
{{config
<!-- Only enter mandatory non-default settings to be used. Delete parameters which are not applicable -->{{config
<!-- CPU configuration -->
<!-- CPU configuration -->
|preferred spu threads                    = 3 - 4
|ppu decoder                        = <!-- Interpreter (precise), Interpreter (fast), LLVM Recompiler -->
|ppu decoder notes                  =
|spu decoder                        = <!-- Interpreter (precise), Interpreter (fast), ASMJIT Recompiler, LLVM Recompiler -->
|spu decoder notes                  =
|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        =
|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 libraries are manually selected, mention the list of libraries to be selected here -->
|enable thread scheduler            = <!-- On, Off -->
|enable thread scheduler notes      =
|lower spu thread priority          = <!-- On, Off -->
|lower spu thread priority notes    =
|enable spu loop detection          = <!-- On, Off -->
|enable spu loop detection notes    =
|spu cache                          = <!-- On, Off -->
|spu cache notes                     =  
|accurate xfloat                    = <!-- On, Off -->
|accurate xfloat notes              =
|spu block size                      = <!-- Safe, Mega, Giga -->
|spu block size notes                =
|tsx instructions                    = <!-- Enabled, Disabled, Forced -->
|tsx instructions notes              =
<!-- GPU configuration -->
<!-- GPU configuration -->
|write color buffer                        = On
|renderer                            = Vulkan <!-- OpenGL, Vulkan -->
|renderer notes                      = Recommended to get the best performance.
|aspect ratio                        = <!-- Auto, 4:3, 16:9 -->
|aspect ratio notes                  =
|framelimit                          = <!-- Off, 59.94, 50, 60, 30, Auto -->
|framelimit notes                    =
|anisotropic filter                  = <!-- Automatic, Disabled, 2x, 4x, 8x, 16x -->
|anisotropic filter notes            =
|anti-aliasing                      = <!-- Auto, Disabled -->
|anti-aliasing notes                =
|default resolution                  = <!-- 1920x1080, 1280x720, 720x480, 720x576, 1600x1080, 1440x1080, 1280x1080, 960x1080 -->
|default resolution notes            =
|resolution scale                    = <!-- Range between 50% to 800% -->
|resolution scale notes              =
|resolution scale threshold          = <!-- Range between 1 to 1024 in the format 16 x 16 -->
|resolution scale threshold notes    =
|write color buffers                = On <!-- On, Off -->
|write color buffers notes          = Fixes missing graphics ingame.
|strict rendering mode              = <!-- On, Off -->
|strict rendering mode notes        =
|vsync                              = <!-- On, Off -->
|vsync notes                        =
|stretch to display area            = <!-- On, Off -->
|stretch to display area notes      =
|disable vertex cache                = <!-- On, Off -->
|disable vertex cache notes          =
|multithreaded rsx                  = <!-- On, Off -->
|multithreaded rsx notes            =
|disable async shader compiler      = <!-- On, Off -->
|disable async shader compiler notes =
<!-- Audio configuration -->
|audio out windows                  = <!-- XAudio2, OpenAL -->
|audio out windows notes            =
|audio out linux                    = <!-- OpenAL, PulseAudio, ALSA -->
|audio out linux notes              =
|dump to file                        = <!-- On, Off -->
|dump to file notes                  =
|convert to 16-bit                  = <!-- On, Off -->
|convert to 16-bit notes            =
|downmix to stereo                  = <!-- On, Off -->
|downmix to stereo notes            =
|volume                              = <!-- Range between 0% to 200% -->
|volume notes                        =
|enable buffering                    = <!-- On, Off -->
|enable buffering notes              =
|audio buffer duration              = <!-- Range between 20ms to 250ms -->
|audio buffer duration notes        =
|enable time stretching              = <!-- On, Off -->
|enable time stretching notes        =
|time stretching threshold          = <!-- Range between 0% to 100% -->
|time stretching threshold notes    =
|microphone type                    = <!-- Null, Standard, SingStar, Real SingStar, Rocksmith -->
|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 -->
|force cpu blit emulation            = <!-- On, Off -->
|force cpu blit emulation notes      =
|use gpu texture scaling            = <!-- On, Off -->
|use gpu texture scaling notes      =
|accurate getllar                    = <!-- On, Off -->
|accurate getllar notes              =
|accurate putlluc                    = <!-- On, Off -->
|accurate putlluc notes              =
|hook static functions              = <!-- On, Off -->
|hook static functions notes        =
}}
}}


Line 28: Line 127:
<!-- There are no reported issues with this title. -->
<!-- There are no reported issues with this title. -->


===Crash after Altus logo - <i>Fixed by {{pr|5475}}===
===Crash after Altus logo - <i>Fixed by {{pr|5475}}</i>===
<s>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}}.<br />
<s>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}}.<br />
For people affected by this issue, use this older [https://obk.ee/rpcs3/archive/rpcs3-v0.0.5-6718-737db900_win64.7z build 6718]. If for some reason build 6718 does not work, try [https://obk.ee/rpcs3/archive/rpcs3-v0.0.5-6697-753d8170_win64.7z build 6697].</s>
For people affected by this issue, use this older [https://obk.ee/rpcs3/archive/rpcs3-v0.0.5-6718-737db900_win64.7z build 6718]. If for some reason build 6718 does not work, try [https://obk.ee/rpcs3/archive/rpcs3-v0.0.5-6697-753d8170_win64.7z build 6697].</s>


==Special Notes==
==Special Notes==
[https://github.com/RPCS3/rpcs3/wiki/Game-Patches 60 FPS Patch] exists for the title. Note that the patch accelerates game by 2x.
===60/120 FPS 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).
# 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, [[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)
Quick links 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

Options that deviate from RPCS3's default settings and provide the best experience with this title are listed below.

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 To be enabled along with the FPS patch
Clocks scale 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.