Skip to content

fredlllll/ArxLibertatisFTLConverter

Repository files navigation

ArxLibertatisFTLConverter

converts FTL files into wavefront object files, and vice versa

Compilation instructions:

There is a .sln file present, confirmed to work with VS2019 with one minor caveat. The nuget packages do not initialize automatically, if you do not have nuget configured.

You will want to do the following (if it doesn't work automatically for you) image

Set the package source in the nuget configuration to nuget rather than "Microsoft visual studio offline packages" image

If Nuget is not visible in the drop down you will have to add it manually which is trivial to do. Simply click the cogwheel next to the drop down, This will open the options for the package sources. Click the plus button and add in the pertinent nuget package source information image

https://api.nuget.org/v3/index.json

You should be able to build at this point.

Usage Instructions:

Before use you will have to supply the arx IO dll found in the bin directory of the game. "ArxIO.dll" Copy this to the build directory image

The converter is invoked from the command prompt, simply pass in a path for conversion. Note: For ftl to object conversion, the files must be presented in situ, in the game directory for the converter to find the root game directory image

When working from obj => ftl conversion, one must ensure the path to the correct texture is set in .mtl file.

For instance, if you are aiming to use the textures of the leather leggings, set the path accordingly: GRAPH\OBJ3D\TEXTURES\NPC_HUMAN_LEATHERBROWN_BODY.bmp

image

Notes: For obj to ftl conversion, the game directory does not appear to be required

Your obj mesh must be triangulated

Consider using arxunpak.exe (located in the root directory of your liberatis install), for more model references

.ftl files can be 'hotloaded' by quicksaving and quickloading, this does not appear to work for textures

About

converts FTL files into common 3d files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages