GithubHelp home page GithubHelp logo

Comments (5)

IcePixelx avatar IcePixelx commented on September 14, 2024 2

Artifacts only occur on the outside of the asset which can be removed in post production.
Not a priority and will get a no fix for now.

from legionplus.

drlocke avatar drlocke commented on September 14, 2024

@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 !
I've also checked the relative positions from an origin like top left and the positions are NOT correct. Some maps seems to be shifted from one side to another and the arena maps are looking like they are shifted to the top left corner which results in transparent artefacts on the right and bottom side.

Please reopen and have a look again.

from legionplus.

r-ex avatar r-ex commented on September 14, 2024

i'll reopen this but i don't expect it to be fixed any time soon.
we don't really understand how ui image data is supposed to be interpreted by the game, so it's kinda difficult to tell where the extraction "goes wrong" (or where it deviates from a "accurate" image)

from legionplus.

drlocke avatar drlocke commented on September 14, 2024

How about handling them like normal images?
As far as I remember the old Legion tool were extracting them like that. Of course, it's way more nice to have them sorted as uiimages, but I prefere perfectly extracted images and sort it later on.

from legionplus.

r-ex avatar r-ex commented on September 14, 2024

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

from legionplus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.