-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2024.11 compatibility hacks #2013
base: underanalyzer
Are you sure you want to change the base?
2024.11 compatibility hacks #2013
Conversation
Download the artifacts for this pull request here: GUI:
CLI: |
Note that there's currently a bug, where if you leave null entries exposed on the asset tree for too long and move around too much, maybe click into one of the nulls (the true conditions are uncertain), it could cause a hang or even crash. I'm consistently getting the crash as descripted by the incomplete stacktrace below:
Might be a WPF bug, if inquired I will try to grab a full crash dump. |
Ok now I see, you have to very specifically click into the null entries first What's even funnier is, if I run ModTool through VSCode, it hangs instead of crashing |
Sorry to bother you, but it appears there are two issues:
|
oh thank goodness |
Code does not work for me, Decompiling just gives me this. /* EXCEPTION! |
@MichaelEpicA Unsure if this is fixed in upstream Underanalyzer (this PR may need to be updated), but does this happen on ALL code entries, or just some? If it's just some, if you could send a small code entry's disassembly, that would be helpful for debugging (but report it over here: https://github.com/UnderminersTeam/Underanalyzer/issues). Also, you may be able to turn that specific error into a warning in the UTMT settings. |
Can confirm this can be turned into a warning in the UTMT settings, and saving appears to work, however I'm doubtful it will load correctly due to UMT reporting a object miscount. It is every single code entry. |
@MichaelEpicA Hmm... if there's a small code entry sample, I guess I'm still curious to look at its disassembly to see if it has to do with actual decompilation, or if there's some other problem at play here. |
If so, should I just move this over to https://github.com/UnderminersTeam/Underanalyzer/issues then? |
Sure, I'll probably just close it if it ends up being irrelevant. |
e8ad45f
to
640d7ae
Compare
Note: the editor (on Mindwave's Demo) shows shaders now |
I'm not going to guess 2024.11 in AlignUpdatedListChunk because it's more likely to be bogus there
Because: - It's not too useful by default - The nasty bug can make the tool nearly unusable Will add UI later
f217002
to
b1544dd
Compare
Description
This horribly hacks around ModLib code not written with the null entires in mind to carry on if it ever hits them, and the ModTool is touched up to represent/hide the null entries. The unknown property in UTFont is now also accounted for. It should now be possible to load and save unless there are edge cases.
Depends on #1937.
Fixes #1996, fixes #2006, fixes #2011
Caveats
---
Notes