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

Incorrect long to short filename conversions #15

Open
DrDos0016 opened this issue Jun 1, 2022 · 0 comments
Open

Incorrect long to short filename conversions #15

DrDos0016 opened this issue Jun 1, 2022 · 0 comments

Comments

@DrDos0016
Copy link

The web version of Zeta handles converting long filenames to the 8.3 format used by DOS, but the method it uses is not always correct.

Currently, the code uses the first 6 (or fewer) characters and appends the ~# suffix, however the first six characters should be the first six characters without spaces.

https://museumofzzt.com/file/play/the%20search%20for%20the%20lost%20brother%20series/ is an example in the wild.

"Lost Brother DEMO.zzt" is the full filename.
Zeta converts it to "LOST B1", which is what is shown in the world menu and fails to load.
DOSBox converts it to "LOSTBR
1" which matches the ZZT file's internal world name and loads correctly.

asiekierka added a commit that referenced this issue Jun 2, 2022
asiekierka added a commit that referenced this issue Jun 2, 2022
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

1 participant