GPUOpen-Tools / compressonator

Tool suite for Texture and 3D Model Compression, Optimization and Analysis using CPUs, GPUs and APUs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RXGB dtx5 with a quality of 1 it don't load

y2keeth opened this issue · comments

commented

RXGB dtx5 with a quality of 1 it don't load in quake 4 but the one I did in gimp does

commented

quality 1

@y2keeth Does it work when you choose a quality setting that isn't 1.0? What is the format of the source file used for compression?

commented

have not tried a lower setting, trying to get the highest quality the source file is a tga
I just get a black texture in quake 4 but the same format in gimp loads fine

I hoped the 1 would give me a better quality one than the gimp did

commented

tried the stock setting and no it does not load either

@y2keeth Since all of your issues are related, can we please keep the discussion to only this issue and close the others? Having to juggle all the different issues and where to reply to your comments makes things harder to follow.

In your comment on issue #250 you seem to misunderstand what I meant when I said RGBA_8888. It is not a compression format, it is a uncompressed format that contains raw pixel data. Think something like a BMP file. So it is not possible to have something "compressed" into RGBA_8888.

I don't know much about the idTech engine used for games like Quake 4, but from doing a bit of research it looks like they might use a very specific type of DXT5 compression for their normal maps that might have been removed from Compressonator many years ago. So that might be why you are getting a black texture in the game. Though it could also be that you are compressing a texture that isn't a normal map using DXT5 and trying to load that, which isn't what the game expects.

This page has some information that might be useful: https://modwiki.dhewm3.org/Texturing#compressed-and-uncompressed

commented

my normals are still tga so no
RXGB (DXT5) uncompressed is what I am looking for so. the RXGB (DXT5) from gimp loaded just fine so. RXGB from compressonator nope on 1 or 0.5

i thought maybe RGBA_8888 could be a way to get there

commented

this one is truely a bug since RXGB (DXT5) from compressonator dont load
I closed the other one

commented

@y2keeth Does it work when you choose a quality setting that isn't 1.0? What is the format of the source file used for compression?

nope and tga

commented

what I did on the other post that was pretty good was added the dds from gimp into compressonator an then used
RGBA_8888 on that which worked in game also. the resulting dds was bigger than the tga but zipped up it was smaller so good for a pk4
may do this if I can get RXGB with a 1 quality

commented

RXGB dont work at all from compressonator any of them tried some special old versions also

commented

uploaded a working one here so maybe you can see whats wrong with yours
https://drive.google.com/file/d/1Mt2jUYFhglcg1K1cIJ8xnT8LG63bd9HE/view?usp=sharing

commented

forget all my uncompressed nonsense

stick with the fact rxgb dtx5 does not work at all and would like it to work with the quality of 1

commented

downloaded the new version and i don't even see it in there no more

@y2keeth We will be looking into this.

commented

great thanks