Dark Souls 2
0 of 0

File information

Last updated

Original upload

Created by

emoose

Uploaded by

emoose

Virus scan

Safe to use

About this mod

Allows SotFS to run at higher FPS (120/144/300+?!) without speedups (beta/proof-of-concept)

Permissions and credits
Changelogs
Donations
NOTE: this mod currently forces game into offline mode, since I'm not sure how higher FPS could impact multiplayer yet, maybe in future this can be removed once I know it's not going to ruin online for anyone.

# DS2FrameUnlimiter (beta)
Mod that disables the games default framelimiter, and fixes the speedup issue that would normally happen when framelimit is disabled.

Health/stamina drain & regen should match with 60FPS, and damage appears to match up too - AFAIK framerate doesn't affect weapon degradation anymore since an update in 2015 or so too, but not completely sure about it.

E: unfortunately seems this can have an effect on weapon degradation - doesn't seem to be constant though, looks like hits have a small chance of being processed twice (even in unmodded game), but as FPS increases the chance of it happening does too... trying to look into it, hopefully might find some workaround for it eventually.
For now if you want to try this out, it may be worth using a trainer to disable weapon degradation.

While the main game speed is fixed by this there could still be other things in the game with their speed tied to framerate - haven't found anything too broken yet from what I tried so far, but wasn't really able to test that much by myself yet.

Treat this as a proof of concept / very-beta-quality fix for now, if you're willing to brave it I'm happy to try looking into any problems you find though, if you do notice any issues with it please post them here.

# Issues fixed

  • Game speed should now be consistent across framerates
  • Jump height & distance should match across framerates (mostly, may have some issues with rolling after jump...)
  • Animated textures such as water textures will now animate fine when using non-fixed deltatimes
  • Cloth physics speed should match across framerates (though cloth may still act different depending on FPS)
# Setup

  • Backup your save games (WinKey+R, %APPDATA%\DarkSoulsII\ ...)
  • Extract the xinput1_3.dll & DS2FrameUnlimiter.ini files from the ZIP next to your DarkSoulsII.exe
  • Edit the DS2FrameUnlimiter.ini as desired
  • Recommended: setup a framelimit on the game, if using DS2LightingEngine you can edit ds2le_user_settings.ini and change framerate to your desired limit, and set frame_limiter_policy to 1 or 2. (if not using DS2LightingEngine, you can set a frame limit through NVIDIA Control Panel, or by using RTSS)
  • Launch the game
  • If you run into any issues, please report them on this page!
Steam Deck/Linux users may need to add WINEDLLOVERRIDES="xinput1_3=n,b" %command% to your launch options for it to load in the mod.

# Troubleshooting

If you don't notice any framerate difference with this active, try the following:

Spoiler:  
Show

  • Check whether DS2FrameUnlimiter.log file was created next to game, and that it mentions "apply successful" inside it.
  • If log mentions "EXE timestamp doesn't match target EXE", you're probably on an older version of the game, this only supports the 2022 update (v1.03) atm.
  • Open your GPU control panel & browse for your DarkSoulsII.exe manually (don't use the Dark Souls 2 option already there, browse to your install path instead)
  • In the control panel, make sure no frame limits are active, and maybe try forcing VSync to be disabled
  • Check whether tools like RTSS or Special K are active, they might have a frame limit set up on them
  • Try using DS2LightingEngine or another method of running the game borderless, better chance of game using correct graphics mode.
  • If using DS2LightingEngine, open ds2le_user_settings.ini and make sure framelimit/frame_limiter_policy are setup as mentioned in Setup section above.
  • If you can't find ds2le_user_settings.ini with DS2LightingEngine, run the game and open the lighting engine UI with F1, and click the Save button once, the INI should then be created.
If you still can't get it working after these please feel free to make a post about it!

# Known issues
Spoiler:  
Show

  • (semi-fixed) Jump height reduces with higher FPS, seems some Havok function is called during the jump, and the result then affects how gravity gets applied to it? Sadly at 120FPS this pretty much causes jumps to immediately cancel themselves...
    The JumpHeightFix option in the INI just removes this Havok check, game appears to still work fine without it, maybe this check is some kind of backup/redundancy for something (if you do notice anything physics/gravity related acting strange please try disabling JumpHeightFix & report your results)
  • Rolls after jumps might fail to trigger properly for some reason, maybe same bug that caused jump height issue - normal rolls appear to work fine though.
  • Cloth physics can be affected by framerate, a fix is included to prevent cloth speedup, but cloth still acts slightly different to 60FPS
  • Camera mouse control might become stiffer/less floaty than at 60FPS (maybe preferable to some?), if framerate isn't capped then mouse control may act "sticky" when framerate fluctuates.
  • Online is currently force disabled by the mod, as mentioned above.

# Other mods

For KB+M players, check out DS2DoubleClickFix to disable the broken double-clicking setting for you too, can help with reducing input lag with the game a lot, should work fine paired with this mod.

If you use DLSS with other games give DLSSTweaks a try too, can set custom DLSS resolutions & presets, or override the DLSS DLL without needing to replace files.