mosamadeeb / YakuzaParless

ASI hook that redirects file paths in Yakuza series PC games to allow loading loose files outside of game archives.
MIT License
6 stars 2 forks source link

MLO Path Read Bug #7

Open Fronkln opened 2 years ago

Fronkln commented 2 years ago

YakuzaParless will not read MLO if the path is: G:\Program Dosyaları (x86)\SteamLibrary\steamapps\common\Yakuza Like A Dragon

But will read MLO if its path: G:\Yakuza Like a Dragon

It seems to have some issue parsing the current path, and probably the Program Dosyaları (x86) section is what's causing it to fail.

mosamadeeb commented 2 years ago

I am not sure how the game treats unicode strings. All the function signatures in Parless use char instead of wchar_t, so it's expected to not work.

It might be possible to check by dumping file paths while the game is running, from a path containing unicode characters.

Will try looking into it later.