Jump to content

Home

GFF<->XML Conversion utilities


Recommended Posts

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.

Link to comment
Share on other sites

Looks Great Man! :thumbsup:

 

I edited the Weekly Mods Report 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 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) ;)

Link to comment
Share on other sites

  • 1 year later...
  • 3 months later...

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!

Link to comment
Share on other sites

  • 6 months later...

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 ..

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...