Skip to content

Error openning the ROM if the path have special characters. #126

@impeeza

Description

@impeeza
  • I have checked the known issues and searched Github to ensure this issue has not already been reported.
  • This is not a feature request, I know those belong on Discord/Github Discussions.

Description of the bug:

Once you extract Windows version and run for the first time if you select the ROM from a path containing special characters, the ROM can not be open and a error is displayed

Can you reproduce? If so please list the steps:

  • No, I cannot reproduce this bug
  • Yes, here are the steps to reproduce the bug:
  1. Download latest Windows version
  2. Extract it to a folder
  3. Run Ghostship.exe, a dialog asking for the original ROM is displayed and a dialog for select the file is shown.
  4. Navigate to the path of ROM in this case t:\ROMs N64 Mías\baserom.us.z64 not the í character on the path.

Should be noted what the program is trying to open T:\ROMs N64 Mías\baserom.us.z64 may be a Unicode-ASCII path translation error. See the screenshot at end.

Expected behavior:

The ROM should be open and the OTR file should be generated.

Screenshots or videos:

This is the error:
Image

System Information:

  • OS: Windows 11
  • GFX Backend: OpenGL
  • Game Version: SM64
  • Rom Version: US

Additional Information:

Also failed if the path had a ó character on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions