-
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
Please can you preserve the original file date and timestamps #5476
Comments
Here is also a discussion on the vogonsorg forum: Like I said: The initial file date shall be preserved. DosBox should not destroy or overwrite the initial date of any file. Although the problem seems to be fixed in the current version it will apear in some cases that DosBox destroys and overwrite the initial date of the files as you can see in the screenshot of the game Spear of destiny. |
Spear of destiny uses Try the same in a booted DOS. Edit: Sorry, I thought I tried and got the result, but real dos (PC-DOS 7.0) preserved the timestamp. |
Here is what I exacly did Started Dosbox-X by clicking Dosbox-X.exe After the instalation programm has finished, you will see the files with an altered timestamp/file date which is modified from the original/initial date. Is this being caused by Dosbox-X? |
It seems that the disk images were not original. I found another set of images with the same installer, and installed it on a genuine PC-DOS. |
So you did use a real DOS Operating System to try this? Not an emulator? |
Please look at the screenshot carefully. If you really suspect this, try it on a real DOS on a real machine. |
If files are copied by the installer, of course the timestamps are going to be updated. It is after all the last-modified timestamp. DOS filesystems only had a single timestamp, other filesystems such as those used for Unix/Linux operating systems typically have multiple (birth, last accessed, last modified, ...) So there is nothing wrong. |
Ask H.Yoshizaki, the author of LHA why he decided to keep the timestamp. |
If the DOS game takes the effort to change the timestamp after writing the file, then it will reflect that timestamp. Otherwise, the timestamp is set to the current time and date. |
Is this exactly the same behavior like on a real PC under real DOS? |
Yes, this is how real DOS behaves. |
Describe the bug
Please can you enable a feature to preserve the original file creation date. When installing a game by using DOSBox-X the original file date/timestamps will be destroyed in some cases.
Is there any way that you can fix this problem, so that the original file date will be preserved when installing a programm by using DOSBox-X.
Steps to reproduce the behaviour
4
Expected behavior
No response
What operating system(s) this bug have occurred on?
Windows 11
What version(s) of DOSBox-X have this bug?
DOSBox-X 2025.02.01
Used configuration
Output log
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: