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

after adding Elves faction, "missing texture" messages #7

Closed
andy5995 opened this Issue Jan 15, 2018 · 5 comments

Comments

Projects
None yet
2 participants
@andy5995
Contributor

andy5995 commented Jan 15, 2018

After adding the Elves faction (#6), I get some extra messages in the console (but the game still plays):

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
*ERROR* [2018-01-14 21:27:13] In [model.cpp::loadMeshTexture Line: 750] Error v4 model is missing texture [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/grey_elf_archer/models/elf_access.tga] textureFlags = 1 meshIndex = 3 textureIndex = 0 modelFile [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/grey_elf_archer/models/ge_archer_dying2.g3d]
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
*ERROR* [2018-01-14 21:27:13] In [model.cpp::loadMeshTexture Line: 750] Error v4 model is missing texture [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/grey_elf_archer/models/elf_access.tga] textureFlags = 1 meshIndex = 3 textureIndex = 0 modelFile [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/grey_elf_archer/models/ge_archer_melee.g3d]
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
*ERROR* [2018-01-14 21:27:14] In [model.cpp::loadMeshTexture Line: 750] Error v4 model is missing texture [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/tree_of_life/models/tol.tga] textureFlags = 1 meshIndex = 0 textureIndex = 0 modelFile [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/tree_of_life/models/tree_of_life_born.g3d]
*ERROR* [2018-01-14 21:27:14] In [model.cpp::loadMeshTexture Line: 750] Error v4 model is missing texture [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/tree_of_life/models/tc_foilage.tga] textureFlags = 1 meshIndex = 1 textureIndex = 0 modelFile [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/tree_of_life/models/tree_of_life_born.g3d]
*ERROR* [2018-01-14 21:27:14] In [model.cpp::loadMeshTexture Line: 750] Error v4 model is missing texture [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/tree_of_life/models/tol.tga] textureFlags = 1 meshIndex = 2 textureIndex = 0 modelFile [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/tree_of_life/models/tree_of_life_born.g3d]
*ERROR* [2018-01-14 21:27:14] In [model.cpp::loadMeshTexture Line: 750] Error v4 model is missing texture [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/wise_elf/models/wise_elf_book.tga] textureFlags = 1 meshIndex = 0 textureIndex = 0 modelFile [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/wise_elf/models/wise_elf_idle.g3d]
*ERROR* [2018-01-14 21:27:14] In [model.cpp::loadMeshTexture Line: 750] Error v4 model is missing texture [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/wise_elf/models/wise_elf_book.tga] textureFlags = 1 meshIndex = 0 textureIndex = 0 modelFile [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/wise_elf/models/wise_elf_walking.g3d]
*ERROR* [2018-01-14 21:27:14] In [model.cpp::loadMeshTexture Line: 750] Error v4 model is missing texture [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/wise_elf/models/wise_elf_book.tga] textureFlags = 1 meshIndex = 0 textureIndex = 0 modelFile [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/wise_elf/models/wise_elf_planting.g3d]
*ERROR* [2018-01-14 21:27:14] In [model.cpp::loadMeshTexture Line: 750] Error v4 model is missing texture [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/wise_elf/models/wise_elf_book.tga] textureFlags = 1 meshIndex = 0 textureIndex = 0 modelFile [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/wise_elf/models/wise_elf_attacking.g3d]
*ERROR* [2018-01-14 21:27:14] In [model.cpp::loadMeshTexture Line: 750] Error v4 model is missing texture [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/wise_elf/models/wise_elf_book.tga] textureFlags = 1 meshIndex = 0 textureIndex = 0 modelFile [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/wise_elf/models/wise_elf_dying.g3d]

@andy5995 andy5995 added the graphics label Jan 15, 2018

@andy5995 andy5995 assigned andy5995 and unassigned andy5995 Jan 15, 2018

andy5995 added a commit that referenced this issue Jan 15, 2018

@andy5995

This comment has been minimized.

Contributor

andy5995 commented Jan 15, 2018

I found some missing textures in the Elves source archive, but still missing elf_access.tga

ERROR [2018-01-14 21:27:13] In [model.cpp::loadMeshTexture Line: 750] Error v4 model is missing texture [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/grey_elf_archer/models/elf_access.tga] textureFlags = 1 meshIndex = 3 textureIndex = 0 modelFile [/home/andy/src/ZetaGlest/zetaglest-data/techs/zetapack/factions/elves/units/grey_elf_archer/models/ge_archer_melee.g3d]

andy5995 added a commit that referenced this issue Jan 17, 2018

@Jammyjamjamman

This comment has been minimized.

Collaborator

Jammyjamjamman commented Feb 12, 2018

There's actually a few problems here, some of which the zetaglest engine can't pick up.
The sword is linked to a texture called elf_access.tga. The main model and bow is linked to a texture called texture_grey_archer.tga and not the .png. Also, the melee attack and dying2 meshes are different from the main meshes (e.g. the bow doesn't have a string and the quiver contains a different number of arrows).

Jammyjamjamman added a commit that referenced this issue Feb 12, 2018

Fixed the `missing texture` errors in elves.
Removed `ge_archer_dying2.g3d` because it's an old mesh with texture errors.
TODO: `ge_archer_melee.g3d` is an old mesh which doesn't match the new models. This needs re-animating with the new mesh.
This push fixes bug #7.
@Jammyjamjamman

This comment has been minimized.

Collaborator

Jammyjamjamman commented Feb 12, 2018

This bug was fixed in c9a099a

@Jammyjamjamman

This comment has been minimized.

Collaborator

Jammyjamjamman commented Feb 12, 2018

The bug is still not fixed. ZetaGlest no longer throws errors when loading elves, but there are many more models which are looking for .tga textures which have probably been converted to .png's at some point.

One question is: how should this be fixed? The models could be re-linked to the .png's (I know a slow, ad-hoc way of doing this), or we could convert the textures back to .tga's.

@andy5995

This comment has been minimized.

Contributor

andy5995 commented Sep 18, 2018

The elves were put in a different repo and are now available from the mod center (in-game download).

@andy5995 andy5995 closed this Sep 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment