-
Notifications
You must be signed in to change notification settings - Fork 405
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
Wordperfect 5.0 fails to save documents when inside .zip, works with -ro mounts. PHYSFS truncate issue #3784
Comments
On Linux |
Commenting or removing this line in the src/dos/drive_physfs.cpp file This does not eliminate the problem of saving the document. edit: This minor fix fixes an identical crash when trying to run BarneySplat. |
WP performs some more non-standard operations when saving the document. This information can be found when running dosbox-x with debug: |
I think it's looking like we are really finding the current limits of the PHYSFS implementation, maybe it really needs for PHYSFS 4.0 to be released and then reimplemented from scratch, given the recent 3.2.0 release has fixes dating back years it may come to pass that starting again would be easier than the current 'patch and see what break' fixes. |
You are a bit confusing some things. drive_physfs.cpp is not part of PhysicsFS. Don't blame physfs that file truncation doesn't work in dosbox-x. This has to be implemented on the dosbox-x side. |
My bad, so anything that crops up in the drive_physfs.cpp is to do with DosBox-x's interfacing with the PhysicsFS library. I shall remember this going forward. |
Describe the bug
If you try to run Wordperfect 5.0 inside a .zip it will appear to work, however trying to save a file will fail. When WP opens it creates the following temp files:
Depending on your build (it varies depending on PHYFS commits) you will get either:
If you mount a folder as read only with an overlay it will run as expected. I've attached a working install to help diagnosis.
This could be the same or similar issue to my other bug #3780 but keeping separate in case they are not.
Steps to reproduce the behaviour
mount c wp50.zip
andmount c overlaydir -t overlay
and try to runmount c wp50 -ro
andmount c overlaydir -t overlay
and run againQuick helpful keys:
F7 = Quit
F10 = Save file
Shift+F10 = Load file
Expected behavior
Mounted .zip & overlay should behave the same as mounted read only folder & overlay.
What operating system(s) this bug have occurred on?
Windows 10
What version(s) of DOSBox-X have this bug?
Various builds especially those with recent PHYFS commits
Used configuration
No response
Output log
No response
Additional information
No response
Have you checked that no similar bug report(s) exist?
Code of Conduct & Contributing Guidelines
The text was updated successfully, but these errors were encountered: