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

[ CORE ] FFNX can't read from paths with unusual characters in them. #765

Open
zaphod77 opened this issue Dec 17, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@zaphod77
Copy link
Contributor

zaphod77 commented Dec 17, 2024

Describe the bug

Steam versions use the Documents directory to store saves and other configuration information. This directory cannot be moved or renamed. If the username has a character that's more than 8 bits, FFNX can't read anything from a path containing it.

To Reproduce
Steps to reproduce the behavior:

  1. Have a local username with a >8 bit character in it that is in the user's home directory in c:\users\ .
  2. Install Steam FF7 or FF8.
  3. Run it once.
  4. extract FFNX to installation
  5. Run the game exe
  6. FF7_en.exe immediately crashes with an unhandled exception because it can't read metadata.xml and doesn't even check for this case, just as if you've never ran it on steam. Because there is no exception handler, nothing even gets logged past [TRACE]Metadata: Initializing manager.

Expected behavior
The game starting.

Screenshots

image

from a foreign person with this issue on his desktop.

GPU

Irrelevant, the crash has nothing to do with graphics.

Additional context
This was a real pain to track down, because there is no exception handler for this particular case. And users can't simply rename their home directory to work around it, so at the very least an exception handler should be placed it to reveal this happening, so the user can create a symlink to what FFNX thinks the path is.

@zaphod77 zaphod77 added the bug Something isn't working label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant