Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ETC.DDS messes up color info? #144

Closed
umustbeloggedintododat opened this issue Oct 10, 2020 · 4 comments
Closed

ETC.DDS messes up color info? #144

umustbeloggedintododat opened this issue Oct 10, 2020 · 4 comments
Assignees
Labels

Comments

@umustbeloggedintododat
Copy link

So I am trying to convert the ETC.DDS for Real Racing 3, except I don't think it is supposed to be in these colors:
2019_porsche_935_ext_3 etc_dds_ARGB_8888
I think this is what it's supposed to look like:
https://vignette.wikia.nocookie.net/rr3/images/5/5e/Porsche_935_2019_3.jpg/revision/latest?cb=20201006023720
So how do I fix this odd texture error?

@umustbeloggedintododat
Copy link
Author

Help, I tried adding -doswizzle to my command and the folder is empty now, no converted texture.
compressonatorcli.exe -doswizzle -fx PNG -fd ARGB_8888 .\ddssrc .\pngdst

@umustbeloggedintododat
Copy link
Author

ACTUALLY I found out the problem. The R and B channels are swapped. They're RGB instead of BGR, a Paint.net plugin fixed this!
But how do I do this included with my compressonator command?
compressonatorcli -fx PNG -fd ARGB_8888 .\ddssrc .\pngdst

@NPCompress
Copy link
Contributor

@umustbeloggedintododat The command line you used is the correct way to transcode sources to RGB format.

compressonatorcli -fx PNG -fd ARGB_8888 .\ddssrc .\pngdst

Must be a bug in specifying the -fx format properly to the save target image code (which is a Qt image save API for PNG file formats).

@NavNTCMP
Copy link
Contributor

@umustbeloggedintododat Issue addressed in v4.5 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants