Open amcgregor opened 3 months ago
Cool to see you got it mostly working on Mac!
Yeah it's looking for C:/Users/USERNAME/AppData/Local/Hinterland/TheLongDark/Survival
for most users. I'm not really sure what that GetKnownFolderPath
stuff would return on Mac. I also don't know where the actualy save files are on mac.
Once this is worked out, I can provide instructions for constructing macOS-capable releases using tools like WineBottler, which create independent redistributable .app bundles which include a Wine redistributable in addition to the app being wrapped.
I'm not really developing this project anymore, latest update #83 was also not done by me. Even though it's very cool that this could work on Mac, I don't think I'll spend time on that. Especially since I don't own any Mac computers so I'd have no way to test that the builds actually work.
Howdy!
On macOS (and even Linux, but I'm focusing on Mac) you can use Wine (or the "Game Porting Toolkit" on ARM) to run this application, which is great!
There are a few notes on the console during start-up, but as can be seen in the above screenshot things look relatively okay.
Only problem, there are no characters / saves to select from. That's what I'm hoping the registry key errors are pointing out; it can't look up the actual installation location for the game as the game was actually installed on the host system, accessible below the
Z:
"drive". The question becomes: where is the save editor expecting the files to be located, and where on a macOS system would those files be likewise located?I could just symlink the save location into the appropriate location below the virtual
C:
drive, or set the registry key to point at the host. Once this is worked out, I can provide instructions for constructing macOS-capable releases using tools like WineBottler, which create independent redistributable.app
bundles which include a Wine redistributable in addition to the app being wrapped.Thanks and have a great day!
Edit: Ah… oh.
https://github.com/FINDarkside/TLD-Save-Editor/blob/ad3378a7c6f4bdf3a2a83a8f6f7fc331ba13c57c/The%20Long%20Dark%20Save%20Editor%202/MainWindow.xaml.cs#L142
https://github.com/FINDarkside/TLD-Save-Editor/blob/38cf906255fcd15b0ac34f2fa1d4b0bec07fb208/The%20Long%20Dark%20Save%20Editor%202/Helpers/Util.cs#L86-L90