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

Preserve an A-Z => a-z filename tolerance for case-sensitive filesystems #6

Open
dwatteau opened this issue Nov 14, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@dwatteau
Copy link
Owner

dwatteau commented Nov 14, 2020

ScummRp::_gameDef contains a list of expected filenames, in order to use the right data to translate each game.

They were mostly DOS games, so the filenames in the table are all in uppercase. That's still fine today for (nearly) all Windows and macOS setups, because they still use a case-insensitive filesystem today.

But it's still possible to have a case-sensitive filesystem on them, and that's the default on most other systems (e.g. Linux, BSDs…).

The current workaround is just to have your local files named in DOS mode, that is all in uppercase. Maybe it would just be simpler if it remains this way.

But it might be convenient if our tools tolerated an A-Z => a-z substitution (only for game data filenames, and only for ASCII letters). ScummVM does this, too.

It should remain simple, though. We don't want the tools to do dozens and dozens of checks just for this.

@dwatteau dwatteau added the enhancement New feature or request label Nov 14, 2020
@dwatteau dwatteau changed the title Preserve a A-Z => a-z filename tolerance for case-sensitive filesystems Preserve an A-Z => a-z filename tolerance for case-sensitive filesystems Nov 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant