Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Fleimi opened this issue Oct 16, 2023 · 1 comment
Open

Comments

@Fleimi
Copy link

Fleimi commented Oct 16, 2023

Originally reported to the Penumbra repo, but was directed here.

pasting original report from xivdev/Penumbra#350:

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.

Could this also be related to #15 ?

@Exter-N
Copy link

Exter-N commented Dec 12, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants