View Full Version : GFF<->XML Conversion utilities
07-30-2005, 04:39 PM
At the request of Andargor in this (http://www.lucasforums.com/showthread.php?t=150162) thread:
GFF2XML and XML2GFF command line utilities v0.5 (Available at SWK.com (http://www.starwarsknights.com/tools.php))
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.
07-30-2005, 04:45 PM
Another practical tool to make modder's life easier! That was more than quick! thanks tk, and as promised, here are some cookies (http://www.myhomecooking.net/chocolate-chip-cookies/images/chocolate-chip-cookies.jpg) as you like them :burg1:
07-30-2005, 04:57 PM
Looks Great Man! :thumbsup:
I edited the Weekly Mods Report (http://www.starwarsknights.com/) to include this gem of a program as well :D
Wow.. you're just a machine pumping out all of these great toys! I'll give ya' a cookie (http://www.jumpstationz.com/gallery/emotes/cookie.jpg) too! :burg1: 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) ;)
Thanks tk! :) Keep up the good work.
07-30-2005, 10:32 PM
Sweet! More toys! :thumbsup: Nice work tk! :)
07-30-2005, 10:44 PM
Great work as usual tk :D :thumbsup:
Keep it up.
07-31-2005, 12:59 AM
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.
02-28-2007, 05:25 PM
This latest version makes use of MIME Base64 encoding/decoding for Binary fields. Thanks to pasha_sevez for suggesting this.
06-07-2007, 07:03 PM
(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!
12-29-2007, 05:05 AM
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 ..
12-29-2007, 01:23 PM
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.
12-30-2007, 04:15 AM
mhh baddd lol
are you know where find tool gff<->xml for never2 ???
vBulletin®, Copyright ©2000-2014, Jelsoft Enterprises Ltd.