dethrace-labs / dethrace

Reverse engineering the 1997 game "Carmageddon"
https://twitter.com/dethrace_labs
GNU General Public License v3.0
667 stars 38 forks source link

Unable to save/load game #367

Closed Beobachten closed 2 months ago

Beobachten commented 2 months ago

As of the current PR version 0.7.1, both windows builds for win32 and x64 do not currently allow the player to save progress of the game and consequently, they are unable to load any saved games. I tested both builds to double check the issue.

I recorded a quick video to demonstrate the issue here https://drive.google.com/file/d/1lqQaq9qgTkl-sbP4BGbepnsiBQJNrba-/view?usp=sharing

This doesn't seem to be an issue with the macos build from what I saw in the discord discussion and I am unaware if the same issue affects the linux builds as well.

madebr commented 2 months ago

https://github.com/dethrace-labs/dethrace/pull/372 will fix this

The msdn documentation mentions fopen_s and _wfopen_s functions can't open a file for sharing,