alinebee / Boxer

The DOS game emulator that's fit for your Mac.
http://boxerapp.com/
774 stars 139 forks source link

save games not work since 64bit update ?! #105

Open SATAN-ZACK opened 4 years ago

SATAN-ZACK commented 4 years ago

Hy all Folks, I have a problem with the Boxer.app

I installed the 64bit version after switching to Catalina. All games can be started and work without any problems. However, no new saves can be saved. The problem is with all games. System Preferences Full disk access is active. Does anyone have any idea where it could be?

SATAN-ZACK commented 4 years ago

I have found that the scores are actually saved in the "Library / Application Support / Boxer / Gamebox States" folder. But if I want to load a savegame in the game, it will not be shown. If I copy the saved game from "Library / Application Support / Boxer / Gamebox States" into the game folder, the saved game is displayed.

almeath commented 4 years ago

The code can be modified pre-build to ensure that save files are stored by default inside your game boxes (rather than in the Application Support folder). That way, if you move your game boxes to a different computer your saves will come with them. Let me know if you want me to post a link to such a build here and I will do so.

newtrashcan commented 3 years ago

Please post the link.

almeath commented 3 years ago

https://www.dropbox.com/s/ij4be2bnz0i8o3f/Boxer%202.zip?dl=0

newtrashcan commented 3 years ago

Thank you.

neuedeutsche commented 1 year ago

The code can be modified pre-build to ensure that save files are stored by default inside your game boxes (rather than in the Application Support folder). That way, if you move your game boxes to a different computer your saves will come with them. Let me know if you want me to post a link to such a build here and I will do so.

Is there a built of this available somewhere still? … the DB link isn't accessible anymore.

almeath commented 1 year ago

The code can be modified pre-build to ensure that save files are stored by default inside your game boxes (rather than in the Application Support folder). That way, if you move your game boxes to a different computer your saves will come with them. Let me know if you want me to post a link to such a build here and I will do so.

Is there a built of this available somewhere still? … the DB link isn't accessible anymore.

It has been a long time since I have used Boxer. I have long since been compiling my own custom builds of DOSBox SVN, inclusive of a self-contained package to wrap games into app bundles, in a similar fashion to Boxer. It is a much more manual and complex process than the simple drag and drop provided by Boxer. However, it can include many customizations that have never made their way into Boxer. I continually keep it up-to-date against the SVN repository.

To answer your question, I did find a patched version of Boxer that I had compiled in 2019, which includes the modification for saving games within the bundle/gamebox. It is available here.

Bear in mind that version is three years old, so it will be missing all of the improvements from the latest unofficial Boxer branches. It is for Intel Macs only.

If you are experienced enough to compile your own build of Boxer, the way you get the save game modification is to modify _shouldShadowDrive: in BXSession+BXFileManagement.m to always return NO.

This will cause all Boxer builds from that source (regular + standalone) to write directly to the bundle/gamebox.