-
Notifications
You must be signed in to change notification settings - Fork 30
Description
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.
> wine64 The\ Long\ Dark\ Save\ Editor\ 2.exe
01e8:err:environ:init_peb starting L"Z:\\…\\The Long Dark Save Editor 2.exe" in experimental wow64 mode
01e8:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.8" not implemented
01e8:fixme:mscoree:parse_supported_runtime sku=L".NETFramework,Version=v4.8" not implemented
01e8:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
01e8:err:mscoree:LoadLibraryShim error reading registry key for installroot
… above line repeated a few dozen times …
… some graphics set-up and a few more of that line …
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.
| var path = Path.Combine(Util.GetLocalPath(), testBranch ? "HinterlandTest2" : "Hinterland", "TheLongDark", "Survival"); |
TLD-Save-Editor/The Long Dark Save Editor 2/Helpers/Util.cs
Lines 86 to 90 in 38cf906
| public static string GetLocalPath() | |
| { | |
| Guid localLowId = new Guid("A520A1A4-1780-4FF6-BD18-167343C5AF16"); | |
| return GetKnownFolderPath(localLowId).Replace("LocalLow", "Local"); | |
| } |