Coder Social home page Coder Social logo

Errors building on Arch Linux about ta3d HOT 2 OPEN

zuzuf avatar zuzuf commented on September 4, 2024 1
Errors building on Arch Linux

from ta3d.

Comments (2)

silverhammermba avatar silverhammermba commented on September 4, 2024

Did some more investigating. All of the TGA files used for the GUI and such are compressed with RLE, which Qt5 does not support. However even if I re-encode them uncompressed, they still won't load.

If I instead convert them to PNG they do load, but the colors look all messed up in-game. I suspect that these TGA images use some weird color map that Qt5 can't handle. In support of this theory, converting them to 8-bit RGBA PNG images makes them appear correctly in-game.

from ta3d.

silverhammermba avatar silverhammermba commented on September 4, 2024

I managed to get the TGA files loaded using SOIL since it natively supports RLE compressed TGA, but now I'm also running into the same issue with all of the PCX files in the mods directory.

I've been trying to replace SOIL with ImageMagick since that can load pretty much everything but I'm having some serious issues. After wasting most of the day on this, I'm wondering: why not just convert everything to PNG? PCX is an ancient format and even TGA is not so popular these days. If you're migrating everything to Qt5, it's probably better just to do the conversion once rather than keep all of these outdated image formats around.

from ta3d.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.