tk102 Posted July 30, 2005 Posted July 30, 2005 At the request of Andargor in this thread: GFF2XML and XML2GFF command line utilities v0.5 (Available at SWK.com) gff2xml converts GFF formatted files to .xml files. xml2gff converts them back. Usage: gff2xml gff-filepath output-directory Usage: xml2gff xml-filepath output-directory You can use wildcards in the filepath specifications to handle bulk conversions.
Darth333 Posted July 30, 2005 Posted July 30, 2005 Another practical tool to make modder's life easier! That was more than quick! thanks tk, and as promised, here are some cookies as you like them
ChAiNz.2da Posted July 30, 2005 Posted July 30, 2005 Looks Great Man! I edited the Weekly Mods Report to include this gem of a program as well Wow.. you're just a machine pumping out all of these great toys! I'll give ya' a cookie too! it's only one, but it's a BIG cookie.. hehehe Thanks so much for all of your hard work tk, it's greatly appreciated by us who don't have them proggin' skillz (like me)
tk102 Posted July 31, 2005 Author Posted July 31, 2005 v0.2 gff2xml will now append .xml to the original filename rather than overwriting the original extension. This will help prevent file duplication. Thanks andargor for this suggestion.
tk102 Posted February 28, 2007 Author Posted February 28, 2007 v0.3 released This latest version makes use of MIME Base64 encoding/decoding for Binary fields. Thanks to pasha_sevez for suggesting this.
tk102 Posted June 7, 2007 Author Posted June 7, 2007 v0.5 released (I skipped version 0.4 since that was a development version that went nowhere.) - Fixed handling of empty structs where a phantom BYTE field was being added. Thanks to bananajoe for pointing this out!
martel Posted December 29, 2007 Posted December 29, 2007 Hello.. I want use your tools GFF<->XML for the game Neverwinternights2, because it is file format equals. but when i run in first : gff2xml.exe ......... i have a good xml file; after run xml2gff.exe ..... but i have error message "Wide character in syswrite at /PerlApp/Bioware/NWN2/GFF.pm line 537, <DATA> line 164" ? can tell me why ? thanks ..
tk102 Posted December 29, 2007 Author Posted December 29, 2007 Sounds like it would be due to an accented (Unicode) character in a CExoLocString. I wouldn't expect the output of gff2xml to be perfect either in that case... are some text strings garbled? Also, FYI NWN2's format is not identical to KotOR's. The big difference is that CResRef strings in NWN2 can be 32 characters whereas in KotOR they can only be 16 characters. The gff2xml utility will truncate your CResRefs to 16 characters.
martel Posted December 30, 2007 Posted December 30, 2007 mhh baddd lol are you know where find tool gff<->xml for never2 ??? please.. thanks
Recommended Posts
Archived
This topic is now archived and is closed to further replies.