Page 1 of 1

Windows: Female short shirt variant disappears [resolved]

Posted: Thu Oct 13, 2016 6:40 am
by R.D.
Load the attached save with the newest Daggerfall Unity and click "use" to cycle through the equipped short shirt variants. After two clicks it will disappear and become inaccessible. This happens in original Daggerfall (at least on my computer, and when running through DOSBox) so it is probably an issue with the game data rather than Daggerfall Unity, but I mention it in case there is to be correction of original game assets within Daggerfall Unity. In original Daggerfall the variant looks fine as long as it is in the inventory, not equipped. Currently Daggerfall Unity is not displaying inventory for this character (viewtopic.php?f=24&t=371) so I don't know whether it shows correctly in Daggerfall Unity when not equipped.

This was seen on the latest commit (355ebfa). As I'm writing this the latest live build doesn't have the changes for cycling through the short shirt yet.

Re: Windows: Female short shirt variant disappears

Posted: Thu Oct 13, 2016 6:57 am
by Interkarma
Hey mate, thanks for posting bugs and including saves for me to reproduce. :)

I'll work through and fix root cause as soon as I'm able.

Re: Windows: Female short shirt variant disappears

Posted: Fri Oct 14, 2016 11:50 pm
by Interkarma
Have investigated this one and you're correct it's a problem with game data.

The paper doll offset settings for TEXTURE.237 record 52 are [-23, 238]. This means the art for this variant is being drawn offset outside of the paper doll area. The correct offset should be [237, 43]. There also an error in variant 5 for this shirt, it's 1 pixel off the others, which isn't so bad.

As users are providing their own game data, the best universal fix right now is to manually correct offsets during the GetItemImage() process for this specific record.

Edit: Fixed in commit cfb7383.

Re: Windows: Female short shirt variant disappears

Posted: Tue May 16, 2017 8:25 am
by R.D.
This can be marked resolved, right?

Although, it kind of seems to me like the best way to fix this and other problems with game data might be to have a "fixed" set of game data for download. But I guess you have your reasons for not wanting to do that, Interkarma?

Re: Windows: Female short shirt variant disappears

Posted: Sun Oct 08, 2017 8:35 am
by R.D.
Marking this as resolved