darkxex / Rune-Factory-4-Special-Texture-Extractor

drag and drop your .texture file
6 stars 0 forks source link

Problem extract minimap #2

Open a-johanes opened 2 years ago

a-johanes commented 2 years ago

The program works for extracting the minimap texture. But the image result is wrong.

> RF4STextureExtractor.exe mini_map_00_city.texture
Textures: 1
PIXL: 220
Name: mini_map_00_city_0
Size: 1048576 bytes 100000
Width: 512 Width: 200
Heigth: 512 Height: 200
------------------------------------------------------------
mini_map_00_city_0.dds
Extraction completed.

image image

a-johanes commented 1 month ago

I found the issue: all the minimaps are not compressed. The default DDS file header (bc7.bin) is not compatible with this. I haven't tried to fix all of the images, but this header is working for mini_map_00_city_0.dds.

The DDS pixel format is a simple RGBA.

minimap.zip

a-johanes commented 1 month ago

After I tried manually fixing all of the minimaps, I found that the last 16 minimaps were also incompatible with this header. I need to change the width and height to 32.

Screenshot 2024-10-20 004133