Closed wmedlar closed 4 years ago
private void LoadEditors()
{
var data = GameInfo.Strings.ItemDataSource.ToList();
var field = FieldItemList.Items.Select(z => z.Value).ToList();
data.Add(field, GameInfo.Strings.InternalNameTranslation);
ItemEdit.Initialize(data, true);
PG_TerrainTile.SelectedObject = new TerrainTile();
}
Since the stacktrace is at LoadEditors
and deals with a set_SelectedObject
, I'd think it's implying the last line is what it's having trouble with.
Do other editor windows have issue with the PropertyGrid control? The only thing 'custom' is that the PropertySort property is Categorized
.
The Turnip prices editor should be a simple PropertyGrid with Categorized
as well. Does that editor work fine?
Afraid I didn't get a chance to test, I was able to resolve the issue by installing dotnet4 with winetricks.
$ brew install wine-stable winetricks
[...]
$ winetricks dotnet48
<two installation window popups and about 30 minutes of the following error logs ... >
Error: Unknown compression scheme encountered for file '/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist'
[...]
Despite the error logs winetricks was successful. So far everything is working in NHSE. I chose dotnet48 simply because it's the most recent version.
note: if winetricks fails with the following error
$ winetricks dotnet48
[...]
dyld: Library not loaded: [...]
Reason: image not found
Trace/BPT trap:5
try simply upgrading your brew packages
$ brew update && brew upgrade
This worked for me. I believe the deeper issue was around setting the right path to a shared openssl lib for dyld, but if the easy thing does the trick there's no point in investigating the hard thing!
I'll give it a try with a fresh wine install on a new mac — whenever I get one — and report back!
Glad to hear you were able to resolve the issue :)
Running build from 9872d82, just
wine NHSE.exe
.Dialog box pops up immediately after clicking Edit Field Items ... with the following error:
Console logs for wine show:
and, not extraordinarily helpful:
and finally system information: