Shadowth117 / PSO2-Aqua-Library

A library for handling PSO2 Aqua formats, with a focus on models. Now functional in grabbing model data from the game's format. Aqua Model Tool provides a basic GUI for doing minor changes to certain model structs.
GNU General Public License v3.0
41 stars 14 forks source link

DarkSouls III: certain geo meshes are converted without textures and vertex colors #10

Closed isshininu closed 11 months ago

isshininu commented 11 months ago

First, thank you for making this tool! Super cool thing :) I'd would like to report a single issue I currently found, some meshes for DS3 are converted without textures and vertex colors, they are all look like this piece of terrain:

Снимок экрана (1211)

this is m47_00_00_00_003000 mesh, base terrain for m47 map. M41 terrain (SoC boss arena) also uses same textures for blending (ash_101_a and floor_03_white_a), and both lack vertex colors and material definitions.

Shadowth117 commented 11 months ago

So first of all, it absolutely does have vertex colors. But this breakpoint never hits which means every single one of them is the default, pure white and opaque. chrome_HOSSompF1V

The texture names are surprisingly long and while they are actually written, they are written with the end curtailed due to system limitations. I might fix that at some point, but it is what it is for now.

Unsure what you mean by 'material definitions', but this mostly works as expected.

Shadowth117 commented 11 months ago

Commit https://github.com/Shadowth117/PSO2-Aqua-Library/commit/3d7a42e7c360466052a11163bed8ff423f8d46fc resolves the cutoff issue.

Shadowth117 commented 11 months ago

The current build of Aqua Toolset now has this fix. https://github.com/Shadowth117/Aqua-Toolset/releases

isshininu commented 11 months ago

Thank you that was fast! I downloaded current build, and it seems that only texture referenced in fbx is 47000000_m003000_gi_0000_00_dol_00.dds, but not actual ones, so multimaterial in 3ds max is empty... Not sure if I am doing something wrong, I convert dcx file using SoulsModelTool.exe

Shadowth117 commented 11 months ago

Thank you that was fast! I downloaded current build, and it seems that only texture referenced in fbx is 47000000_m003000_gi_0000_00_dol_00.dds, but not actual ones, so multimaterial in 3ds max is empty... Not sure if I am doing something wrong, I convert dcx file using SoulsModelTool.exe

That texture is the 'actual one' you were looking for. As far as others, you'll find them in the material json. You're not realistically getting a fully formed material out of an .fbx so you'll have to set that up yourself. But you have all the tools you need there.