Penumbra icon indicating copy to clipboard operation
Penumbra copied to clipboard

Penumbra fails to import mods with non-ASCII characters in the name

Open Fleimi opened this issue 1 year ago • 4 comments

Playing on linux.

As the title says, penumbra completely fails to import mods that have non-ASCII characters in the name, such as chinese symbols, umlauts or the like. A workaround currently is to edit the .mpl file in the .ttmp2 archive before importing and removing any symbols that would result in a filepath with non-ASCII characters.

This works until you want to install something with Heliosphere; due to the automated nature of this plugin it's not possible to edit the .mpl beforehand, resulting in many mods simply being uninstallable.

Think a solution that doesn't cause problems down the line is to add a toggle into Penumbra settings called "Sanitize filenames to ASCII only" or similar. Easy way to handle the symbols would be simply to replace them with a ~ or - or some other simple symbol, or simply delete them from the filename.

Fleimi avatar Oct 10 '23 09:10 Fleimi

It's an issue with XLCore's Wine, that could at most be worked around in Penumbra (for example in the way you mention).

Using another Wine version, or Proton, can fix it for good. (Caveat: it may bring other issues instead, so it's a "pick your poison" situation.)

Exter-N avatar Oct 10 '23 11:10 Exter-N

Thanks for letting me know, however I don't know how to go about changing the wine versions - will leave this issue up as unresolved. Does it make sense to report this also in https://github.com/goatcorp/wine-xiv-git ?

Fleimi avatar Oct 10 '23 12:10 Fleimi

Run your game with LC_ALL=C.UTF-8 (or another .UTF-8 locale, if you have any installed – note that the only one a Steam Deck has by default is C.UTF-8) or LC_CTYPE=C.UTF-8

Exter-N avatar Dec 12 '23 19:12 Exter-N

Run your game with LC_ALL=C.UTF-8 (or another .UTF-8 locale, if you have any installed – note that the only one a Steam Deck has by default is C.UTF-8) or LC_CTYPE=C.UTF-8

This helped me. Thanks!

AetherCollective avatar Dec 21 '23 21:12 AetherCollective