-
Notifications
You must be signed in to change notification settings - Fork 15
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
Some missing definition for tags. #5
Comments
Updated the readme with these! Gonna dive in IDA Pro and get more info on some of these unknowns and behaviors, such as |
Ok, made some testfiles here... so, Texture Scale is the scaling of the texture going from 50% to 500%(the files will write down the integer, no conversion needed), Texture Intensity/Opacity is how strong the effect is going from 0 to 100. They're both integers. The texture name itself is in
I am attaching a zip of my |
I am about 99% sure that the The topmost toggle is whether the mask is active. When I print it's std::uint32_t as an int I get the following:
My test file for this is right now a bit too heavy to upload(as I was also trying to figure out whether large file size is indeed the cause of my last bit of pixelreading woes... it is) I'll try to make some new ones tomorrow. :) |
Ok, the lorg tag is a bit of a boring one: it's related to the layer bounds, in specific it seems to be related to how much of the layer is visible. So a layer of [-12, -31, 832, 608] the lorg will be [276, 33] . Which means if you do 832-276-12, you get 544, 608-33-31, also 544, And in the case of this particular canvas, the size of a fully filled layer without translation is 544x544. To put it simply, it's the coordinate of the bottomright of the layer bounds relative to the bottomright of the canvas. |
Ok, the crashing file of yesterday was actually my mask options testing file, and it confirms that lmfl actually controls the mask visibility and whether it's linked to the layertransforms.
At the least, that is how Sai stores these toggles inside the file. |
Ok, playing a bit now...
masks: these have
plid
instead ofpfid
(parent layers instead of folders). Functioning is the same though.texn
: Name of the texture overlay on a layer, the simplest setting gave me 'Watercolor A'. I guess sai is pointing at the resources it has here.peff
: when a layer has a watercolor fringe enabled(the only layer effect), and you interpret the data as ints, this outputs 1, 100, 1, when a layer doesn't have it enabled, it outputs 0, 100, 1. No idea yet what the latter two values are...wsrc
in the canvas entry is the layer marked as selection source.layid
seems to be the selected layer just likelayr
. weird duplication.The text was updated successfully, but these errors were encountered: