Manual for UFObintxt

UFObintxt is a utility for converting the ufo files (models, UFOblocks, stage sets, ext_stagesets) into text (resp. binary) format. The binary format is smaller and faster for loading than the text format which is better for reading and editting.

PLEASE NOTE:
To convert the files UFObintxt needs to load the file into memory, therefore all the files the converted file depends on must exist. All the paths in the UFO files are relative so you have to run the UFObintxt in the path the files can be loaded from.

Usage of UFObintxt

ufobintxt action in_file_name out_file_name

Actions:

t - convert to text format
b - convert to binary format

Exit codes:

0 - no problems
-1 - there were some problems

Example: ufobintxt b tactical\models\effects\gun_fire02.txt gf.txt

ufobintxt t tactical\ublocks\tutorial\tutorial1.ublck tactical\ublocks\tutorial\tutorial1.ublck

File types

Models

Files with suffix '.txt. in the following directories of the gamedata:

PLEASE NOTE: Don't convert models of units ('tactical/models/units') and models of weapons ('tactical/models/weapons') into binary mode.

UFOblocks

Files with suffix '.ublck' in the following directory of the gamedata:

Stagesets

Files with suffix '.kulisa' in the following directory of the gamedata (language note: 'kulisa' is Czech for stage set, the plural is 'kulisy', hence the difference):

Ext. stagesets

Files with suffix '.extkul' in the following directory of the gamedata:


Prev: UFOvfs Next: Viewer Up: Home