-
Notifications
You must be signed in to change notification settings - Fork 34
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
Misleading error message when JSBOOT.ZIP is write-protected #28
Comments
The message seems to come from here: Line 888 in edeb867
Since the
Line 780 in ee98b9e
..which in turn uses Line 812 in ee98b9e
Could be that one of these fails if the ZIP file is write-protected?
|
I was able to reproduce the issue with DOSBox by making the files read-only (e.g. DOSBox says:
So something is definitely trying to open the file in write mode and that fails. Edit: Only making |
Further digging shows: Line 800 in ee98b9e
..which calls Line 5983 in ee98b9e
..and that calls
The |
updated to kuba/zip 0.2.5. |
I tested "SpaceButton" recently, and due to the way I transferred the game to my retro PC (using a CD-R), the game files were read-only, which resulted in an error message "Script name missing". Once the write-protection has been removed on the game data files, the game started working normally.
Steps to reproduce:
run.bat
(from within Windows, again not sure if relevant)Expected result:
Actual result:
The text was updated successfully, but these errors were encountered: