Paperdoll project - anyone to pick up the torch/contribute?

Talk about the mods you'd like to see in Daggerfall Unity. Give mod creators some ideas!
Post Reply
User avatar
King of Worms
Posts: 4752
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Paperdoll project - anyone to pick up the torch/contribute?

Post by King of Worms »

BadLuckBurt wrote: Wed Mar 04, 2020 10:52 am That's definitely not something I can figure out but at least there's now a clue where the problem lies.
OK at least this one has a know reason, I will look into that and if I cant find any reason for this behavior on my side, I will make a report

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

Re: Paperdoll project - anyone to pick up the torch/contribute?

Post by King of Worms »

And here comes the thing which makes the heads crack :roll:

Ive opened unmodded DFU, female/male characters, spawned all clothing... and I compared what I saw in the inventory to what I see in the loose files in my mod (those loose files were exported from daggerfall)

There is a really really huge number of missing clohes being spawned in the game.

Ive spend some hours writing it down, I will copy paste it here.

I dont know if this is:
A) problem in a console command for clothing spawning not working correctly (add_all_equip clothing)
B) all these clothes are intended to not be shown in the game (if so we should change that)
C) its a bug in DFU and they work correctly in base Daggerfall (not sure how to test it, how to run 1996 daggerfall? Dosbox? :X)
D) its something completely different

Here it is

Missing from the 235 - 236 - 237 - 238 female archives:


235_15 - sandals
235_33 - body suit
235_35 - golden body suit variant 1
235_36 - golden body suit variant 2
235_41 - robe
235_49 - scholar cloak
235_59 - shirt with red belt all 4 variants (59, 60, 61, 62)
235_72 - shirt with red belt all 4 variants (72, 73, 74, 75)
235_84 - shirt with red belt all 4 variants (84, 85, 86, 87)
235_96 - shirt with red belt all 4 variants (96, 97, 98, 99)
235_100 - skirt
235_101 - skirt
-----------------
TOTAL 24 clothes missing

Missing from the 239 - 240 - 241 - 242 male archives:


239_4 - wrist ring
239_5 - hide shirt
239_6 - wrist rings
239_9 - wrist ring
239_10 - shoes
239_11 - shoes
239_15 - sandals
239_20 - male skirt
239_33 - body suit
239_34 - fancy shirt

239_35 & 36 - all variants but basic 35 and 36 are missing ( missing 37, 38) - (!! 35 & 36 should be variants of ONE shirt which change when u press USE, but here its presented like two different separate garments without working variants)

239_41 - male tunic

239_42 - fancy jacket - its not "missing" but its hidden as a variant of shirt 43! Those should be 2 separate pieces of clothing? But its called "reversible tunic" so it seems its working as intended, just it doesnt make ANY sense. Try it...

239_49 - scholar cloak
239_59 - shirt with red belt all variants (59, 60, 61, 62)
239_72 - shirt with red belt all variants (72, 73, 74, 75)
239_84 - shirt with red belt all variants (84, 85, 86, 87)
239_100 - fancy shirt
239_101 - male skirt
239_105 - belt with straight suspenders
239_109 - fancy black/gold shirt
239_110 - belt with crossed suspenders
-----------------------------------
TOTAL: 30 clothing missing

User avatar
BadLuckBurt
Posts: 948
Joined: Sun Nov 05, 2017 8:30 pm

Re: Paperdoll project - anyone to pick up the torch/contribute?

Post by BadLuckBurt »

For some reason the forum ate my post. I suggested testing the upscaled portraits and armor with vanilla UI to see if those pixels appear. edit: I see you already tested that.

Cant say much about the new issue yet, only that add_all_equip has two modes for clothing. I dont know how the originals were dumped, maybe with clothingDyes as parameter? Depending on the parameter, DFU loads the dye as white or the full list which may have omitted some clothes.

I can check that later by logging the clothes generated by the clothingDyes parameter and checking that against the list I made
DFU on UESP: https://en.uesp.net/w/index.php?title=T ... fall_Unity
DFU Nexus Mods: https://www.nexusmods.com/daggerfallunity
My github repositories with mostly DFU related stuff: https://github.com/BadLuckBurt

.

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

Re: Paperdoll project - anyone to pick up the torch/contribute?

Post by King of Worms »

Yup, great job on determining it may be caused by the HUD - that would not come to my mind :)

Yes the command has two modes:
(A) add_all_equip clothes - thats puts only the basic color of clothes to your inv
(B) add_all_equip clothesAllDyes - thats puts all the color variants to your inv

Both commands yield the same results, same missing pieces of clothing (just the (B) gves you all the color variants)

Thanks for the time you spend with this, much appreciated!

User avatar
BadLuckBurt
Posts: 948
Joined: Sun Nov 05, 2017 8:30 pm

Re: Paperdoll project - anyone to pick up the torch/contribute?

Post by BadLuckBurt »

Who made the original dump? That person may be able to tell us more about why some clothes turn up missing.

And you're welcome, I dont mind a little troubleshooting :)
DFU on UESP: https://en.uesp.net/w/index.php?title=T ... fall_Unity
DFU Nexus Mods: https://www.nexusmods.com/daggerfallunity
My github repositories with mostly DFU related stuff: https://github.com/BadLuckBurt

.

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

Re: Paperdoll project - anyone to pick up the torch/contribute?

Post by King of Worms »

Good idea, that script was written by The Lacus.. no idea how it worked. I have directed him to this thread, he might be able to tell us more hopefully :)

PS: I hope we can get it ingame, so much clothing... it would really expand the options ppl have when customizing their avatars.

User avatar
BadLuckBurt
Posts: 948
Joined: Sun Nov 05, 2017 8:30 pm

Re: Paperdoll project - anyone to pick up the torch/contribute?

Post by BadLuckBurt »

King of Worms wrote: Wed Mar 04, 2020 4:26 pm Good idea, that script was written by The Lacus.. no idea how it worked. I have directed him to this thread, he might be able to tell us more hopefully :)

PS: I hope we can get it ingame, so much clothing... it would really expand the options ppl have when customizing their avatars.
I know I've bought the 235_15 sandals in classic Daggerfall multiple times, I'll see if I can find it in DFU stores, been a while since I've went shopping.

And to answer your question on how to run classic Daggerfall: if you bought anything on GOG recently, you should have Daggerfall in your games library, GOG adds it automatically when you make a purchase. I'm not sure if it has all the patches but it comes complete with a DOSBOX setup. Otherwise it's just a matter of installing DOSBOX and mounting your Daggerfall folder after starting it, I have a whole folder of DOS games that gets mounted automatically.
DFU on UESP: https://en.uesp.net/w/index.php?title=T ... fall_Unity
DFU Nexus Mods: https://www.nexusmods.com/daggerfallunity
My github repositories with mostly DFU related stuff: https://github.com/BadLuckBurt

.

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

Re: Paperdoll project - anyone to pick up the torch/contribute?

Post by King of Worms »

Thank you, maybe they can be bought - that would mean that the console command is working only partially.

I will try "daggerfall setup" that might be it. Its good idea to have a base Daggerfall on my system anyway.

Here is the very recent progress Ive made on paperdoll so far:
Spoiler!
Tweaked all of the dwarven weapons blade colors towards darker shade
Corrected faulty outlines on the character faces
Corrected all cloaks interior parts which were causing transparency issues
Darkened the cloak interior parts to look more natural
Created 40 missing masks for the AI cloaks sets 239, 240, 241, 242

Corrected a bug on all rapiers which was causing a discoloration around the arm
Corrected some shields Ive missed in a 1st pass

Change palete on the aquamarine colors female (sitrus) to better match the vanila colors
Reduced saturation by -20 on red and purple female colors (sitrus) to better match vanila
Reduced saturation -20 added lightness +5 to green female colors
Corrected the Sitrus bodies dimensions and placement in the canvas
Created the clothed variants for Sitrus bodies (underwear)

Removed masks I found redundand:
233_15-0_mask
233_16-0_mask
233_17-0_mask
233_22-0_mask

Improved masking on all helmets, getting rid of the white outlines
Last entry made me happy:
Ive finally found a way to correct the outlines I was getting on the helmets.
1st step I adjusted the "treshold" on the masks, so only pure white and alpha remained. That helped a lot.
2nd step I took the new mask, made 5 copies and layered en upon each other, that expanded the mask by few pixels.
Now they are 99% clean. Thanks god for automatization... just the helmet masks are 480 files..

1st image is how it looked yesterday, than two steps afterwards
Untitled-1.jpg
Untitled-1.jpg (127.25 KiB) Viewed 1929 times

User avatar
BadLuckBurt
Posts: 948
Joined: Sun Nov 05, 2017 8:30 pm

Re: Paperdoll project - anyone to pick up the torch/contribute?

Post by BadLuckBurt »

I've at least found the sandals so far, this is how they're saved:
Spoiler!

Code: Select all

{
                    "uid": 33583460,
                    "shortName": "Sandals",
                    "nativeMaterialValue": 0,
                    "dyeColor": "DarkBrown",
                    "weightInKg": 0.25,
                    "drawOrder": 20,
                    "value1": 1,
                    "value2": 0,
                    "hits1": 120,
                    "hits2": 120,
                    "hits3": 0,
                    "stackCount": 1,
                    "enchantmentPoints": 30,
                    "message": 0,
                    "legacyMagic": null,
                    "customMagic": null,
                    "playerTextureArchive": 236,
                    "playerTextureRecord": 15,
                    "worldTextureArchive": 204,
                    "worldTextureRecord": 0,
                    "itemGroup": "WomensClothing",
                    "groupIndex": 7,
                    "currentVariant": 0,
                    "isQuestItem": false,
                    "questUID": 0,
                    "questItemSymbol": null,
                    "trappedSoulType": "None",
                    "className": null,
                    "poisonType": "None",
                    "potionRecipe": 0,
                    "repairData": null,
                    "timeForItemToDisappear": 0,
                    "timeHealthLeechLastUsed": 0,
                    "$version": "v1"
                }
Depending on what TheLacus says about the missing items, I may just write a script to go through all the stores to find them because there's way too many (17K at least judging by your file count :lol:)

And that's looking good! I couldn't do colour adjustment even if I wanted to. Adjusting the threshold was a good call, vanilla has 1 bit transparency and having pure white + alpha only mimics that perfectly. I'm glad I'm able to give this project a little boost with my input, I know it must've been hell to create this stuff (even when automated) and I personally wouldn't have been able to stick it out but please keep going :D I'll keep doing what I can to help
DFU on UESP: https://en.uesp.net/w/index.php?title=T ... fall_Unity
DFU Nexus Mods: https://www.nexusmods.com/daggerfallunity
My github repositories with mostly DFU related stuff: https://github.com/BadLuckBurt

.

User avatar
Hazelnut
Posts: 3016
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Paperdoll project - anyone to pick up the torch/contribute?

Post by Hazelnut »

KoW, could you please clarify what you mean by missing clothes? I'm confused whether you're saying that the command is missing some or the image files you have are missing some.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

Post Reply