nesrak1 / UABEA

c# uabe for newer versions of unity
MIT License
1.1k stars 143 forks source link

AssetPPtrs + Dark Mode Update #228

Closed ZeppelinGames closed 1 year ago

ZeppelinGames commented 1 year ago

Also trying to work out offsets (for IDA) for loaded files. Any help would be appreciated

nesrak1 commented 1 year ago

I probably won't be merging this. You have like four changes in one PR and I'd rather them be separate so I can merge some and close others.

Updated darkmode switch to automatically apply without restart.

This existed because certain controls break or fully crash Avalonia when the theme is switched during runtime (especially when there are other windows already open!) This got fixed in 11.0.0-p5 where they made theme switching a lot easier. Once I fix the theme issues with the DataGrid in that version, I am going to push the update with Avalonia on preview 5.

Removed darkmode popup on toggle.

That goes with the previous part.

Also trying to work out offsets (for IDA) for loaded files. Any help would be appreciated

I don't know what you're trying to do here. Why do you need IDA offsets? Why are there offset outputs in the "GetName" function?

On top of that, you have git conflict markers in the code for some reason... so this probably wouldn't compile right now. Also, you don't need to comment things out in a commit. Just delete them. The history is still there.