I carefully looked into this issue and now I remember something I knew long ago.
The root cause issue is with the Metakit database library file handling. It appears to only support opening files with ASCII chars in the filepath.
See
CDbBase::CreateDatabase().
I tried with extended ASCII characters and Metakit won't open a file with an extended character, e.g., "
Ö"
in the filepath. See the
c4_Storage constructors.
Not sure how we can work around this. Feel free to share ideas.
Edit: one idea I have is to allow Steam users to run the game with a special command line option that would
change the expectation of where the player's Data dir is stored.
That would try to place the player's data in the common non-user specific path, e.g., "
C:\Program Data\Caravel\..."
.
That is:
drod.exe commondatadir=1
Also document this issue and option in the game FAQ.
That's my best idea so far. I'll put up a PR for this.
____________________________
Gandalf? Yes... That's what they used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the turn of the tide.
[Last edited by mrimer at 10-30-2020 04:07 PM]