matyalatte / UE4-DDS-Tools

Texture modding tools for UE games
MIT License
52 stars 11 forks source link

Virtual textures are not supported #30

Open MARK2580 opened 3 months ago

MARK2580 commented 3 months ago

Hello. Here are some textures from the game The day before. Engine version UE5 5.2.1.0 I was never able to get anything adequate from these files, even through rawtex / texconv thedaybefore_assets.zip

matyalatte commented 3 months ago

Hi, thanks for the report. Do you have more infomation about your assets?

T_drum_kit_01_d.uasset says it's a 2d texture. and T_drum_kit_01_d.uexp says it's a 1024x1024 texture that have DXT1 format. Its DDS data should be 683KB at most but T_drum_kit_01_d.ubulk is 830KB. (Usually, the texture ubulk has only pixel data for DDS.) Also, I can see PF_DXT1 twice in T_drum_kit_01_d.uexp. I've never seen like this before. I assume that the day before uses a custom version of UE or a less well-known option.

MARK2580 commented 3 months ago

no, unfortunately these files, the version of the game and what kind of game this is is the only thing I can give you, I’m very far from all this stuff with coding) if you need more examples... by the way, the game also contains ordinary textures that umodel was able to immediately convert to a readable format.

matyalatte commented 3 months ago

I confirmed that they are streaming virtual textures. I got similar structures when I enabled the Virtual Texture Streaming option in Unreal Engine. Presumably, their pixel data is subdivided into small pieces and stored in specific data structures. But unfortunately, it's beyond my understanding. Idk how to convert them to the standard image formats. So, I added an error message for virtual textures at 3d6ac1c2708fd9680d809740c628409dd904c717, and gave up to support your assets.

MARK2580 commented 3 months ago

It’s a pity, I’m increasingly encountering these virtual textures, even though they were originally just an ordinary picture =(

MARK2580 commented 6 days ago

Quite by accident I discovered that Fmodel is now partially able to load virtual textures and that it uses this library, it may be useful... https://github.com/FabianFG/CUE4Parse

These are the same drums whose texture I sent in the very first message. scr_16_07_2024_14_18_45