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

Support for TEXCOMP_8BIT and TEXCOMP_8BIT16 codec? #27

Open
jaigitrep159 opened this issue Jul 25, 2024 · 1 comment
Open

Support for TEXCOMP_8BIT and TEXCOMP_8BIT16 codec? #27

jaigitrep159 opened this issue Jul 25, 2024 · 1 comment
Labels
wontfix This will not be worked on

Comments

@jaigitrep159
Copy link

Hi there. I'm trying to import the BMW M3 GTR Vinyl Texture from NFS Most Wanted (2005) to Blender using your DDS addon, it gives me result:

(Left: Original, Right: DDS imported using Blender DDS Addon)

image

It's in the wrong colors. It caused by the codec (the codec thinks it's "B8G8R8A8_UNORM"). Do you think you can support TEXCOMP_8BIT according to MaxHwoy's NFS Binary (that i use for extraction and replace textures)?

image

Thanks. Also using the latest version.

Files.zip here are the files provided from Binary's extraction

@matyalatte
Copy link
Owner

matyalatte commented Jul 26, 2024

It's in the wrong colors.

Because your format does not specify whether it uses RGBA or BGRA. It depends on the game. You can get the original texture if you swap the red and blue channels.

Do you think you can support TEXCOMP_8BIT according to MaxHwoy's NFS Binary (that i use for extraction and replace textures)?

Unfortunately not. It's too old of a format. My DDS addon uses texconv to export DDS files, but it mainly supports newer formats than DirectX9. You could ask the developer of texconv to add support for the 8-bit palette, but I'm not sure if they would work on it.

@matyalatte matyalatte added the wontfix This will not be worked on label Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants