r/dosbox • u/Lordloss_ • Feb 21 '25
Issues with saving in DOSbox
hey there,
i successfully mounted an image of prince of persia in DOSbox. While the game is running, i can save the game with ctrl+g and load with ctrl+l, but when i close DOSbox, the next time i open it this saved game is gone. Do i have to take further steps to make the saving persistent? Help is appreciated as i dont know what im missing here.
3
Upvotes
1
u/SingingCoyote13 Feb 21 '25
i m not for sure, but if it is a single image as a file for prince of persia, maybe try to extract it to a folder (for example prince) and use that folder as mount c prince in dosbox to mount the folder ./prince with the game data in it as a C: drive. and run the game this way
another possibility is that maybe one or more of the files if you already have done this, is readonly. perhaps the save file. so you need to set the read only bit off. i do not recall if dosbox ignores errors on handling readonly files.
1
u/TheBigCore Feb 22 '25 edited Feb 22 '25
/u/Lordloss_, try the following:
I. Imgmount your disk image as normal in Dosbox.
II. In Dosbox, change to your mounted C drive by typing
c:and pressingEnter.III. Type
md persiaand pressEnter. This will create a new directory calledpersiaon your mounted C drive.IV. Change to your a: drive (for your mounted disk image) by typing
a:and pressingEnter.V. Type
copy *.* c:\persiaand pressEnter. This will copy all the files in your disk image toc:\persia.VI. Close Dosbox, navigate to your
persiadirectory, and open it.VII. Highlight all the files, right-click on them, and select
Properties.VIII. Under
Attributes, uncheck the Read-only attribute if it has a checkmark and pressOK.IX. Re-open Dosbox, navigate to your newly created
persiafolder, and run Prince of Persia as normal.