lfnetwork.com mark read register faq members calendar

Thread: GFF<->XML Conversion utilities
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 07-30-2005, 03:39 PM   #1
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,766
Current Game: Dragon Age: Origins
Forum Veteran Helpful! Notable contributor 
GFF<->XML Conversion utilities

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.

Last edited by tk102; 06-07-2007 at 06:00 PM.
tk102 is offline   you may: quote & reply,
Old 07-30-2005, 03:45 PM   #2
Darth333
Administraterror
 
Darth333's Avatar
 
Status: Administrator
Join Date: Feb 2004
Location: In my secret dungeon...
Posts: 8,292
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
Darth333 is offline   you may: quote & reply,
Old 07-30-2005, 03:57 PM   #3
ChAiNz.2da
Brony 4 Life. Yo.
 
ChAiNz.2da's Avatar
 
Join Date: Oct 2004
Location: Tennessee (USA)
Posts: 6,847
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)


"Eagles May Soar, But Weasels Don't Get Sucked Into Jet Engines"


| Mods (FF) (DS) | Folding | SWK.com | FB: (LF) (Me) | Steam | The Herd |
ChAiNz.2da is offline   you may: quote & reply,
Old 07-30-2005, 04:03 PM   #4
Jeff
Rating: Awesome
 
Jeff's Avatar
 
Status: Administrator
Join Date: Jan 2005
Location: Chicago, IL, USA
Posts: 8,431
Current Game: SWTOR
Imperialist Meatbags Guild Officer The Walking Carpets Guild Officer Notable contributor LFN Staff Member 
Thanks tk! Keep up the good work.


Follow me on Twitter
Follow StarWarsMMO.net on Twitter | Like us on Facebook
Jeff is offline   you may: quote & reply,
Old 07-30-2005, 09:32 PM   #5
RedHawke
Shadow Lord Of The Sith™
 
RedHawke's Avatar
 
Status: Moderator
Join Date: Mar 2004
Location: Stormreach CA.
Posts: 9,184
Current Game: DDO, Stormreach
Sweet! More toys! Nice work tk!


"Beware the form-fitting black armor-clad Drow hottie with twin Mineral II Greensteel Khopeshes!"
"Liella d'Orien says, '"You're the fool, Devil. -- Witness the power of this fully ARMED and OPERATIONAL Titan!"'"
----------------------------------------------------------------------
RedHawke is offline   you may: quote & reply,
Old 07-30-2005, 09:44 PM   #6
Lorden Darkblade
Computer Crazy
 
Lorden Darkblade's Avatar
 
Join Date: May 2004
Location: Brazil
Posts: 1,474
Great work as usual tk
Keep it up.



Lorden Darkblade is offline   you may: quote & reply,
Old 07-30-2005, 11:59 PM   #7
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,766
Current Game: Dragon Age: Origins
Forum Veteran Helpful! Notable contributor 
v0.2 released

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 is offline   you may: quote & reply,
Old 02-28-2007, 04:25 PM   #8
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,766
Current Game: Dragon Age: Origins
Forum Veteran Helpful! Notable contributor 
v0.3 released

v0.3 released

This latest version makes use of MIME Base64 encoding/decoding for Binary fields. Thanks to pasha_sevez for suggesting this.
tk102 is offline   you may: quote & reply,
Old 06-07-2007, 06:03 PM   #9
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,766
Current Game: Dragon Age: Origins
Forum Veteran Helpful! Notable contributor 
v0.5 released

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!
tk102 is offline   you may: quote & reply,
Old 12-29-2007, 04:05 AM   #10
martel
Lurker
 
Join Date: Dec 2007
Posts: 2
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 ..
martel is offline   you may: quote & reply,
Old 12-29-2007, 12:23 PM   #11
tk102
Well past expiration date
 
tk102's Avatar
 
Join Date: Jan 2004
Posts: 5,766
Current Game: Dragon Age: Origins
Forum Veteran Helpful! Notable contributor 
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.


tk102 is offline   you may: quote & reply,
Old 12-30-2007, 03:15 AM   #12
martel
Lurker
 
Join Date: Dec 2007
Posts: 2
mhh baddd lol

are you know where find tool gff<->xml for never2 ???

please..

thanks
martel is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > T3-M4's Astromech Droid Center > GFF<->XML Conversion utilities

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:44 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.