v08.2 (Win7 x64) - Paperdoll replacement has 320x200 outline

Discuss modding questions and implementation details.
User avatar
King of Worms
Posts: 2044
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

v08.2 (Win7 x64) - Paperdoll replacement has 320x200 outline

Post by King of Worms » Tue Jul 02, 2019 5:05 pm

The upscaled sprite replacement works, but the outline is still in 320x200 resolution, resulting on jagged edges.
Its mostly visible at the legs in the screenshot. Its great we can finally mod this!

Can this be somehow improved please?
EDIT: Or am I missing the mask file?
01bug.jpg
01bug.jpg (714.98 KiB) Viewed 683 times

User avatar
Interkarma
Posts: 4712
Joined: Sun Mar 22, 2015 1:51 am

Re: v08.2 (Win7 x64) - Paperdoll replacement has 320x200 outline

Post by Interkarma » Tue Jul 02, 2019 9:10 pm

Could you provide the source images in a zip and I'll see what I can do? I think I know what the problem is, I just don't have any good test images to play with. Cheers. :)

User avatar
King of Worms
Posts: 2044
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: v08.2 (Win7 x64) - Paperdoll replacement has 320x200 outline

Post by King of Worms » Wed Jul 03, 2019 4:33 pm

Interkarma wrote:
Tue Jul 02, 2019 9:10 pm
Could you provide the source images in a zip and I'll see what I can do? I think I know what the problem is, I just don't have any good test images to play with. Cheers. :)
Hi, Ive created just this one paperdoll as a proof of concept. Its a Wood Elf character, male.
Is this image enough? Or shall I send the background and inventory as well?
BODY05I1.IMG.png
BODY05I1.IMG.png (217.81 KiB) Viewed 629 times

User avatar
Interkarma
Posts: 4712
Joined: Sun Mar 22, 2015 1:51 am

Re: v08.2 (Win7 x64) - Paperdoll replacement has 320x200 outline

Post by Interkarma » Thu Jul 04, 2019 12:02 am

Thanks for sample image! I'll move this one to Modder Discussion as it's related to mod implementation rather than a bug.

The core issue is how the bodies are composited. As its possible for paper doll to be clothed or unclothed, and player can have paper doll nudity enabled or disabled, and textures can be modded or unmodded, and then either upper or lower half can have clothes on or not, there's a few layers of compositing required based on settings, mods, and current equipment state.

The short answer is you'll need to provide both a nude and clothed version of this image for it to composite correctly in all possible states. This means replacing both BODY05I0/BODY05I1 as a pair. One can't exist without the other.

You'll also need to ensure that both nude and clothed bodies perfectly overlay, as the body variant with welded-on undies is like a paper doll layer over the nude body. That's why you're seeing the chunky outline - it's actually the unmodded nude body underneath the modded clothed body.

Hope that helps! :)

User avatar
King of Worms
Posts: 2044
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: v08.2 (Win7 x64) - Paperdoll replacement has 320x200 outline

Post by King of Worms » Thu Jul 04, 2019 8:21 am

Got it, he needs to be at quantum superposition, clothed and naked at the same time, something like a Schrödingers cat :geek:
https://en.wikipedia.org/wiki/Schr%C3%B6dinger%27s_cat

Agree about moving it out of Bugs.
I will create the naked version, and come back with the results!
Thank you, be well!

User avatar
Interkarma
Posts: 4712
Joined: Sun Mar 22, 2015 1:51 am

Re: v08.2 (Win7 x64) - Paperdoll replacement has 320x200 outline

Post by Interkarma » Thu Jul 04, 2019 8:28 am

King of Worms wrote:
Thu Jul 04, 2019 8:21 am
Got it, he needs to be at quantum superposition, clothed and naked at the same time, something like a Schrödingers cat :geek:
Nice one! :lol:

User avatar
King of Worms
Posts: 2044
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: v08.2 (Win7 x64) - Paperdoll replacement has 320x200 outline

Post by King of Worms » Thu Jul 04, 2019 11:17 am

:) the problem was solved with the suggested approach

There is a thin black outline, but Im quite sure its because of feathering I applied, and I can get rid of it.
But it looks ok even with the outline. Will decide on this laters.

It looks great!!!
I used AI upscaling here...
01.jpg
01.jpg (313.89 KiB) Viewed 562 times

User avatar
Interkarma
Posts: 4712
Joined: Sun Mar 22, 2015 1:51 am

Re: v08.2 (Win7 x64) - Paperdoll replacement has 320x200 outline

Post by Interkarma » Thu Jul 04, 2019 11:22 am

Looks great! And OMG wood elf faces are just the hardest to look at. :D

User avatar
King of Worms
Posts: 2044
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: v08.2 (Win7 x64) - Paperdoll replacement has 320x200 outline

Post by King of Worms » Thu Jul 04, 2019 11:36 am

IS this the correct naming format for the head pls?
I placed it in the textures/CifRci folder but it does not translate to the game...

Edit: thank IK, it looks awesome, finally! His face is rough indeed :D Now to get the upscaled head in as well. Ive PMed Lacus about this thread ;)
FACE05I0_4-0.CIF.png
FACE05I0_4-0.CIF.png (42.11 KiB) Viewed 556 times

User avatar
TheLacus
Posts: 883
Joined: Wed Sep 14, 2016 6:22 pm
Contact:

Re: v08.2 (Win7 x64) - Paperdoll replacement has 320x200 outline

Post by TheLacus » Mon Jul 08, 2019 5:23 pm

King of Worms wrote:
Thu Jul 04, 2019 11:36 am
IS this the correct naming format for the head pls?
No, always been FACE05I0.CIF_4-0. ;)
If you are interested in creating mods for Daggerfall Unity you can find the documentation here.

Post Reply