emoose / DQXIS-SDK

Wrapper DLL & SDK for Dragon Quest XI S

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2D movement speed changes when an action (talking to NPC etc) is performed under borderless fullscreen

emoose opened this issue · comments

See https://steamcommunity.com/app/1295510/discussions/0/3084376689326469352/ - there Ponii-chan explains

Basically when I enter Tickington, my character runs (or dashes) but the moment I do anything else than running around (i.e. talking to someone, interacting with anything or even opening the menu), my character starts to walk slowly and I did not find any way to get him to run again.

I noticed this happening once too, not sure if that user is using DQXIS-SDK or not though, if they don't use DQXIS-SDK then I guess it might be a game bug, maybe can look into fixing it somehow.

If they are using DQXIS-SDK then it's probably a bug inside Triple_CharWalk_Hook, maybe the tripleRunRate_IsSet flag it checks for before changing run speed is defaulted to true when 2D mode inits, and only gets set to be false after an action is performed - I guess we could fix this by forcing the default tripleRunRate to 1 too.

E: ah phew, looks like it's not caused by us, but a problem caused by the borderless fullscreen option instead: https://steamcommunity.com/app/1295510/discussions/0/3084376689326469352/?tscn=1617017765

I did notice (second edit here) when making the TripleRunRate hook that some speed value only updated when talking to people, I'd guess the problem could be in the code that handles that stuff.

(one workaround could maybe be hooking the 2D entry/exit and forcing the game into exclusive fullscreen when needed, hm)