Giter VIP home page Giter VIP logo

cimtools's Introduction

cimtools

Release

Convert to and from LR2 CIM skin image files.

A CIM file is just a LibGDX pixmap, dumped to a file. This tool simply opens the given file, loads it with LibGDX, and writes the data of that image to the appropriate file format.

The JAR for this application, along with a Windows executable is available in on the Releases page. Note that a JRE ≥ 1.8 is required to run the program through either of these methods.

Usage

cimtools [<file> ...] where <file> is a file of type CIM or PNG.

The --to-cim and --from-cim flags can be given if the files do not have extensions for cimtools to use to detect filetype.

The --preview flag can be given to show the converted image in a window. Press Space to iterate through each converted image.

Known issues

Converting these images requires creating an OpenGL context, and in order to do that with LibGDX, a window has to be spawned. Thus, even when --preview is not specified, a blank window will pop up very briefly while conversion takes place. The LibGDX headless backend does not fix this issue, since running headless avoids creating the OGL context entirely.

cimtools's People

Contributors

zacharied avatar

Stargazers

Nikolai Ponomarev avatar Zhaoyang-Wang avatar Aula Nur Rizal Ardiyantoro avatar  avatar

Watchers

James Cloos avatar  avatar

cimtools's Issues

Support headless operation

Due to the default behavior of LibGDX, we currently create a window upon startup. This is probably undesirable behavior since all the program is doing is file conversion. LibGDX offers a "headless" context, but with that we also lose our OpenGL context, so it probably won't work.

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.