-
Notifications
You must be signed in to change notification settings - Fork 33
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
Exported UI images don't match width and height #15
Comments
Artifacts only occur on the outside of the asset which can be removed in post production. |
@PixieCore That's not true! The artefacts are about 27 pixels long but the image size is 4256x4256 which leads to 4256 - 27 = 4229 which is still not 4096 ! Please reopen and have a look again. |
i'll reopen this but i don't expect it to be fixed any time soon. |
How about handling them like normal images? |
unfortunately it's not possible to treat it like that anymore: tldr; respawn changed how ui images work in season 11 in season 11, respawn made a pretty major change to how UI images are stored/handled by the game, introducing the "uiia" asset type (which is "UI Image" in LegionPlus) this is totally different to how ui images used to be handled, where there was a "txtr" asset ("Image" in LegionPlus, the asset that you would have exported previously) referenced by a "uimg" asset (currently unused by the game) with this new asset type, the image data is split into chunks of different formats (BC7U and BC1U), which are defined by some kind of table at the start of the asset's raw data the image data is also "swizzled", and sometimes even compressed, requiring a whole lot of extra processing all of this was reversed by Porter before we started working on LegionPlus, and consequently no one else really knows how it works |
When extracting the map from Apex Legends, then the info column in the Legion+ application is showing "Width: 4096 Height 4096" but after the export the file size is 4256x4256 and the bottom and right sides have weird artefacts. I've tried with all different image formats but always got the same wrong file size. Tested with version 1.3.4.
How to reproduce:
Legion+ View
Windows Details
The text was updated successfully, but these errors were encountered: