ltb-to-obj :: Simple braindead model ripping tool for CrossFire/Combat Arms/Lithtech
Posts 1–9 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
[IMG]https://raw.******userconten*****m/luawtf/ltb-to-obj/master/screenshots/blender.gif[/IMG]
Example of normal usage
[IMG]https://raw.******userconten*****m/luawtf/ltb-to-obj/master/screenshots/default.gif[/IMG]
Example of outputting a new .OBJ for each shape
[IMG]https://raw.******userconten*****m/luawtf/ltb-to-obj/master/screenshots/shapes.gif[/IMG]
@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.
Originally Posted by ImMasterDisaster
@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.