Mass texture importing/exporting from UTF files
-
had a request to code this earlier today so…
Mass exporting (and importing) of .tga and .dds files from Freelancer UTF files (.cmp, .3db, .mat and .txm).
Exporting takes all UTF files in a folder, and exports the images into a seperate output folder as: utf_filename.cmp\image.tga
Importing takes the same directory structure (utf_filename.cmp\image.tga) and sticks them back in the files in the UTF folder.only imports images if they already exist in the UTF. Doesnt create new entries in the Texture Library
(was made for updating textures) -
Wot, from only this morning?!!!
Yet another hit, Fenris.
Keep ‘em comin’, we’re lovin’ it!!
-
Now that will come in handy… I’ve been doing this by hand…
Thanks Fenris!
-
had a request to code this earlier today so…
mhmm… have to think about who did that ???
Na, seriously Fen, saves me a lot of work. Thx a lot for this tool m8
cheers
CURSOR -
why could you not have made this when i made my HUD editing tutorial like years ago xD
nice tool dude, save a HECK of alot o time ^^
-
You made the entire community happy man 8-)
-
heh figured this one was probably worth more then the time i spent on it so heres (hopefully) a more final version
added .dfm file support
added multiple MIP# per filename.tga (MIP0 MIP1, etc)
added recursive UTF file paths
saves results to a log fileThe recursive paths should be handy…results from my overworked
1.2ghz exporting all textures from a vanilla install took about 10 anda a half minutes at 50%-60% cpu usage:Export Mode - Sat Jan 2 17:05:28 2010
UTF Folder: C:/Games/Freelancer/Data
Image Folder: E:/PROJECTS/UTFImageExporter/img_temp
–----------------------------------------------
Total UTF Files Read: 2267
Total UTF Texture Libraries: 1412
Total UTF Files Modified: 0
Total Images Exported: 18317
Total Time: 636 secondslink to update is in the original post
-
Does anyone still have a copy of this laying around? I lost my download of it.
-
Yeah i’ll just find it…
Damn too big to upload here…
Ok i’ve uploaded it to Rapid share at http://rapidshare.com/files/408891611/UTFImageExporter-v0-0-2.zip
It’s a great tool isn’t it
Ozed
-
-
-
May i ask where is the difference to the XML2UTF and UTF2XML tools? Besides the fact that for those two tools mentioned additional the XML files are generated? Just asking because i was working with them and just by reading the features those tools seems to work similar…
-
XML2UTF… XML -> UTF
UTF2XML… UTF -> XMLOne goes from A to B, other from B to A
-
sorry i been kinda out of the loop a while now and website down (working on it atm)…i should have uploaded the files here ages ago >.<
ty w0dk4 for submitting that to the downloads -
basically, yes. basically you can work with the utf editor just fine. because what the xml project does is translating the structure to one that might be more practical for people who are used to e.g. markup languages. the image extractor does read the image headings within the utf and copy the blocks to standalone files with a tga/dds extension. it is only useful if you need to edit them in a large amount within one utf and don’t want to bother to export them with the utf editor or copy them from a xml made of the utf.
a matter of efficient time usage, actually, nothing else
probably something like this one will be coded once we start working on or replacing voices more frequently.