Code Monkey home page Code Monkey logo

Comments (4)

ScanMountGoat avatar ScanMountGoat commented on June 25, 2024

This would be a neat feature. The reason I don't have wilay support in xc3_tex yet is because wilay contain multiple images and a lot of additional data. I'll need to implement something slightly more complicated than dragging and dropping a DDS to convert to wilay.

from xc3_lib.

ScanMountGoat avatar ScanMountGoat commented on June 25, 2024

This is implemented now as part of xc3_tex and will be part of the upcoming 0.3.0 release. xc3_tex will support exporting and updating images in existing wilay files.

from xc3_lib.

KenNZ23 avatar KenNZ23 commented on June 25, 2024

Awesome! Thanks so much for implementing this. I look forward to testing this in the future.
If you feel like it, would you mind commenting on the wilay format some more? I've only used XbTool which only works on images in the 'menu/image' directory, outputting PNG's, presumably due to transparency and being lossless. I'm picking you're using DDS to handle transparency etc, but I note your code mentions them containing jpeg files as well. It also looks like you may have updated your code (at least in xc3_tex) to handle the lagp variant of the wilay format?
I'm curious to learn more if you don't mind sharing some of your knowledge.

from xc3_lib.

ScanMountGoat avatar ScanMountGoat commented on June 25, 2024

The wilay files use compressed Mibl (LIBM magic) images just like models and maps. I use DDS since it can preserve all the compressed texture data. Some of the wilay files also have embedded JPEG files. The LAGP magic files have an almost identical structure to the LAHD magic files. You can find the code linked on the readme. My focus right now is just on rebuilding the files rather than figuring out what the other fields do, so I can't really explain any more than that.

from xc3_lib.

Related Issues (20)

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.