Skip to content

Changes from Unofficial Mator Smash Updated#252

Open
chuckseven1 wants to merge 76 commits intomatortheeternal:masterfrom
chuckseven1:master
Open

Changes from Unofficial Mator Smash Updated#252
chuckseven1 wants to merge 76 commits intomatortheeternal:masterfrom
chuckseven1:master

Conversation

@chuckseven1
Copy link

Please tell me if any of these changes look insane. I made a few... educated guesses when changing from the xEdit 3 API to 4.

@matortheeternal
Copy link
Owner

Alright, I'll review this over the next few days. 👍

@matortheeternal matortheeternal marked this pull request as ready for review August 17, 2020 01:12
Should help to smash more plugins without reaching 253 master limit.
Copy link
Owner

@matortheeternal matortheeternal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few things that need to be fixed.

@matortheeternal
Copy link
Owner

Also it seems like string file loading may be broken based on the comments on Nexus Mods. You should look into that.

@chuckseven1
Copy link
Author

Also it seems like string file loading may be broken based on the comments on Nexus Mods. You should look into that.

Yes I saw the comments on nexus. I have started looking into it. Not sure why it only seems to affect some localized strings, but I am clearly doing something wrong with them.

Copy link
Owner

@matortheeternal matortheeternal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

two minor issues

@matortheeternal
Copy link
Owner

Yes I saw the comments on nexus. I have started looking into it. Not sure why it only seems to affect some localized strings, but I am clearly doing something wrong with them.

I think something in how localization is handled got changed from xEdit 3.x to 4.x, look into how they're doing localization shenanigans in the xEdit codebase and see if you can update things here appropriately.

If you can't see an issue you might have to get someone to send you their strings file(s). It could be a lot of different things, might be difficult to debug. You're certain it's only happening with some localized strings and not all?

@chuckseven1
Copy link
Author

Yes I saw the comments on nexus. I have started looking into it. Not sure why it only seems to affect some localized strings, but I am clearly doing something wrong with them.

I think something in how localization is handled got changed from xEdit 3.x to 4.x, look into how they're doing localization shenanigans in the xEdit codebase and see if you can update things here appropriately.

If you can't see an issue you might have to get someone to send you their strings file(s). It could be a lot of different things, might be difficult to debug. You're certain it's only happening with some localized strings and not all?

I had a string result in that error one time I smashed, then after changing my LO the same record was still in my smashed patch but that time it had the right value...

Yes I will look at xEdit to try to figure it out when I get the chance.

@matortheeternal
Copy link
Owner

I had a string result in that error one time I smashed, then after changing my LO the same record was still in my smashed patch but that time it had the right value...

Yes I will look at xEdit to try to figure it out when I get the chance.

OK, will merge and publish as soon as this is resolved.

chuck added 2 commits August 24, 2020 16:18
No need to translate them since we don't show them in the smash UI.
This seems to resolve the "No strings file for lstring" error.
Now that masters get added dynamically, it made the tracker not useful.
chuck added 2 commits August 27, 2020 00:41
Seems to fixed localized strings
Must be configuring xEdit wrong if it is not loading them?
@chuckseven1
Copy link
Author

The localized strings issue is because the BSAs corresponding to plugins in the LO are not being loaded. I added code to load them myself and the strings all come out correct for me. I must still be configuring xEdit wrong? I imagine it supports loading the BSAs automagically for the plugins.

chuck added 29 commits July 31, 2021 21:38
It exists even if the array is not sorted.
Fixes error from confusion when mods change EditorID of elements.
Need to figure out what I do wrong to make that happen.
Especially seems to happen with USMP?
This workaround is not perfect, but less broken than before...
Now the smashing thread does not get held up by logs.
Mostly helps with speed when debugging is on,
but seems slightly faster normally as well.
TODO: Unify the tracker logs and the mte logs?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants