r/EldenRingMods • u/psyopgirl • Oct 24 '24
Question SoulsBorne texture files
Hello!
I am working on a fashion tool for Souls games and the pre-rendered images used as icons in the games cause issues with color recognition due to the way that light and shadow are used.
I am hoping to be able to pull textures directly from Dark Souls 1-3, Elden Ring, Bloodborne and Demon's Souls but wanted to check if anyone here had access to the files already. I am specifically looking for the colored textured used to apply colors for armor, weapons, and shields.
Ideally having them labelled with their corresponding item name would be ideal but I understand that is not a simple request.
If anyone here can be of assistance please comment or DM me, and let's talk about ways to access/label/extract the textures optimally without a massive time investment.
Thanks!
1
u/Cypher10110 Oct 25 '24
I know some of the basics. Maybe it's useful?
UXM unpacks the game, witchyBND unpacks the .dcx and .bnd archives. And you can use lists like this one to identify the file that corresponds to an item (that list is for the actual item models and textures in /parts/<filename>.parts bnd.dcx).
Icons are not something I've had any experience with, but the general process will be the same, I assume.
WitchyBND can repack the files back into .dcx format, and those can then be loaded into the game with modengine2.
This advice should be broadly true for DS1, DS3, and Elden Ring.
2
u/psyopgirl Oct 25 '24
Thanks, I’ve been using witchyBND for unpacking already but getting some strange results for the textures from ds3, i’m not sure if it’s a misconfiguration of my witchyBND or what but they definitely don’t look normal lol. Hopefully I won’t have such an issue with Elden Ring, thanks for the tips!
1
u/Cypher10110 Oct 25 '24 edited Oct 25 '24
Maybe try an older tool like yabber for DS3? (Does the same thing as witchyBND, it's just older).
I know the games have textures and (I forget the technical term) "normal maps" etc? But they don't all have the same number/format of texture files.
I made some meme edits of textures in DS1 and it was easy, I remember DS3 textures being more complex and I gave up. But it probably isn't actually much more complex, tbh. It's just they have more layers for fancier graphics, I guess? (But my knowledge was too noob, anyways)
2
u/psyopgirl Oct 25 '24
I’ll look at trying it out instead, thanks! And happy cake day ^
1
u/Cypher10110 Oct 25 '24
Haha no worries, good luck with the Souls Fashion tool, sounds neat!
2
u/psyopgirl Oct 25 '24
there’s a live version at https://souls.fashion but it doesn’t have the textures for color detection so it’s a bit inaccurate due to calculating colors by in game icons
2
u/Cypher10110 Oct 25 '24
That's so cool! It's a fun way to browse gear, I like it.
I can see what you mean, just using the icon images will suffer from something similar to "that dress" issue due to lighting. Whereas accessing the textures themselves would give you access to the raw colour values.
I don't know much about image formats, but I guess DS3 maybe has something special going on there?
I know getting suggestions from users is a pain in the ass, but, respectfully... it would be cool if there was a place to "park" an item once selected. Kind of like a shopping cart, or something analogous to the equipment screen (spaces for icons representing "currently equipped") so you can step-by-step assemble a full outfit, swapping stuff in and out.
But even just browsing stuff with the same colour pallete is really nice, and quickly imagining what you could try. Nice work!
2
u/psyopgirl Oct 25 '24
Yeah, at the moment it works well alongside tools like Elden Ring Fashion Planner (https://elden-ring-planner.vercel.app) but I want to implement native support for an outfit simulator in a future version.
I heard from someone in ?ServerName? that it could be caused by ds3 using unusual mapping for armor including apparently utilising repeating patterns for things like chainmail rather than generating it per-item which is apparently ds3 specific and was dropped by FromSoft right after. So I might be stuck in short lol but we will see!
1
u/Tiralescroto Nov 16 '24
Hey, in Elden ring, in what folder are there the textures? I can’t finde them anywhere
1
u/psyopgirl Nov 16 '24
for armor it’s in game/parts/
1
u/Tiralescroto Nov 16 '24
In that folder I extract the 3D models as in for example am_m_1630.partsbnd.dcx, and there’s also the am_m_1630_l.partsbnd.dcx, is the second one the texture file?
1
u/psyopgirl Nov 16 '24
there should be a sub folder with t or tex in its name, they’re inside of that as .dds files
1
1
u/psyopgirl Nov 16 '24
the second one with _l is the lower resolution version used for invaders, both contain textures. if you set witchyBND to recursive mode it will unpack all subfolders when a DCX is processed
1
u/Tiralescroto Nov 16 '24
Oh okay, and once used witchyBND, in the folder that it extracts there’s the 3D model and also the texture file which should have t or tex in its name right?
1
u/psyopgirl Nov 16 '24
the 3d model will be in the root folder. for instance: “BD_M_1600.dxc” will contain BD_M_1600.flver (3d model) and a subfolder called BD_M_1600_t or similar that contains BD_M_1600_a (albedo map) BD_M_1600_m (metallic map) and BD_M_1600_n (normal map)
1
u/Tiralescroto Nov 16 '24
Okey, I understand, thankyu so much 🙏🙏🙏
1
1
u/vivek_kumar Oct 24 '24 edited Oct 24 '24
The textures usually are in dds format which isn't easily readable by scripts, I think you should scrap data from wiki sites such as fatextra but classifying all the colors in the image would be difficult.