Lyall / IshinFix

An ultrawide fix for Like a Dragon: Ishin! that removes pillarboxing and uncaps 30fps cutscenes.
MIT License
57 stars 0 forks source link

Lock prompts to controller or KB/M #9

Open LAN021 opened 1 year ago

LAN021 commented 1 year ago

Hello, I was wondering if it's possible to lock the prompts to either controller or KB/M, regardless of input type (i.e. no auto-switching). If it can be done in this game, would it be possible in other games as well, such as games that also use Unreal Engine 4? Being able to change the controller prompts and lock prompts to one type would be very useful in games, see this thread on Reddit, for instance.

Lyall commented 1 year ago

Hey, sorry for the late reply to this. It is possible but looking at it further just now it appears to break certain functionality like the display of icons in the controls menu.

I don't know of any universal way to force controller prompts since it depends on the game and the input library being used. For Ishin! I am just hooking in to the code that dictates what controller glyph is used. By forcing 0/1/2 for example, you get DS4/DS5/Xbox controller glyphs.

LAN021 commented 1 year ago

Your reply was quick enough (one week), nothing to worry about.

Thank you for looking into it, it might not even be necessary in Ishin, since it has full controller remapping. I was curious since you achieved the changing of controller prompts with a dll file and not texture mods, which is why I thought it could also work for locking the prompts to one type. There are mods for a few games, like Metal Gear Rising (which the kindly modder actually made at my request) and Kingdom Hearts, that accomplish this and it's extremely useful for me, mostly for controller remapping reasons (I have unusual preferences). I've been able to play a few games I otherwise couldn't (e.g. Bayonetta, Dark Souls 2) because of this very feature, whether it's done with mods, setting a button to always on in Steam Input or the game simply lacking KB/M prompts.

If you have the time to test it for some other game sometime, maybe you could let me know here (I'm subbed).

It's also odd that Ishin is not using the Steam Input controller type detection and button prompt display feature, which almost all Sega-published games have done in the past few years (as far as I know). It might be a bug so I posted about it in the bug thread here.