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

Dæmon fails to load some .crn (small, flat) files #220

Open
illwieckz opened this issue Aug 4, 2019 · 1 comment

Comments

@illwieckz
Copy link
Member

commented Aug 4, 2019

Dæmon is known to fail on some .crn files. Those files follow a common pattern: a few colors (sometime only one flat color), and a small definition (small amount of pixels).

It may be a crunch bug. I mean, a crnlib bug. Crunch is able to convert those files back to tga properly, it may be a bug in the crnlib standalone file, or a bug in the engine, one of them is probably lacking support for some edgy use case.

@illwieckz

This comment has been minimized.

Copy link
Member Author

commented Aug 4, 2019

Those are known to fail:

m77-blanc
m77-blanc.jpg
m77-blanc.crn

rust06e
rust06e.png
rust06e.crn

When they are loaded, Dæmon prints this:

Warn: Invalid CRN image: models/mapobjects/kosad/conteneur/rust06e.crn 
Warn: Couldn't find image file for shader models/mapobjects/kosad/conteneur/rust06e
Warn: Invalid CRN image: textures/metro/m77-blanc.crn 
Warn: Couldn't find image file for shader textures/metro/m77-blanc 

Those textures comes from the metro map by KOsAD¹, you can find a prebuild (reproducing the issue) there: map-metro_0+20190804-154825+39a8bc3.dpk

¹ beware: broken google site that downloads .html pages instead of displaying them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.