Postltb-to-obj :: Simple braindead model ripping tool for CrossFire/Combat Arms/Lithtech

Posts 19 of 9 · Page 1 of 1
ltb-to-obj :: Simple braindead model ripping tool for CrossFire/Combat Arms/Lithtech
ltb-to-obj
Convert Lithtech .LTB model files into Wavefront .OBJ files.

Got an old Lithtech game? Maybe something more recent? Some nerd from MPGH who wants Combat Arms/Crossfire models?
Use ltb-to-obj.exe!

This tool allows you to convert Lithtech models in .LTB or .LTA formats into .OBJ files which can be used with almost any 3D modeling software on Earth.
It currently supports:
  • Exporting vertices
  • Keeping normals intact
  • Exporting UV coordinates
  • Exporting files on a shape-by-shape basis (no splitting up models manually)
  • Support for both .LTA and .LTB through Model_Unpacker.exe

Bone/animation support is in progress and you can export bone/animation data with the --json-bones switch.

Massive thanks to @y41161882 who made the fantastic Model_Unpacker.exe converter! It is bundled in with ltb-to-obj.exe and powers its internal LTB-reading code.

Usage
Code:
Usage:
    ltb-to-obj.exe [<options>] <file>

Options:
    --help              Show this help message
    --version           Show version information

    --input <file>      Specify the Lithtech .LTB input file
    --input-lta <file>  Specify the Lithtech .LTA input file

    --output <file>     Specify the Wavefront Object .OBJ output file location
    --output-shapes     Output a different .OBJ file for each shape in the model

    --json-model <file> Output the raw lta-parser model object to a .JSON file
    --json-data <file>  Output the raw lta-parser model data to a .JSON file
    --json-bones <file> Output the bone data from lta-parser to a .JSON file

    --silent            Disable logging

Version:
    ltb-to-obj v1.0.0 build 20200329-03954fd049d2
Blender shapes importing example


Example of normal usage


Example of outputting a new .OBJ for each shape


Virus Scans
https://www.virustotal.com/gui/file/...94c8/detection
ltb-to-obj_mpgh.net (1)_mpgh.net.zip5.4 MB · 546 downloads 1/65 malicious
I tried, it is good.
@luawtf sorry to bother, but would you know where I could find crossfire .rez extraction tools that work?
It seems that my old extraction tools and Rez explorer 1.1 no longer work and damage files while extracting them.
Hello everyone. How to use ltb-to-obj? It seems to have created an OBJ file, but for some reason the file is empty.
Hi folks. I'm using Windows 10 and whenever I try to open the program, it immediately closes. Any tips?
Quote Originally Posted by Spam1985 View Post
Hi folks. I'm using Windows 10 and whenever I try to open the program, it immediately closes. Any tips?
same issue here
Posts 19 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?