Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Card Vault Forums > Card Vault

Notices

Reply
 
Thread Tools Display Modes
Ralphey at mtgmelb.com
Guest
 
Posts: n/a

Old February 17th, 2004, 09:21 PM
I'm trying to create so nice "automagic" Perl scripts to convert Card Vault
files (.def and associated .dat) into a tab delimited text files, and
vice-versa.

At the moment there's a minor problem processing the info...I'm unable to
work out why something like traits and keywords sometimes have tags, and
sometimes have tags and names, eg.

<tag group="traits" tag="Unique"/>
<tag group="traits" tag="Ally"/>
<tag group="traits" tag="traits006" name="Brotherhood Without Banners"/>
<tag group="keywords" tag="Stealth"/>

Does "Brotherhood" need a numbered tag due to the spaces in its name? I
suspect not, because I've just found :
<tag group="traits" tag="traits002" name="Dragonstone"/>

Thanks for any help/advice,

R.



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3ex...sNAA/WuQolB/TM
---------------------------------------------------------------------~->


Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/cardvault/

<*> To unsubscribe from this group, send an email to:
cardvault-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
  #1 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,718

Old February 17th, 2004, 09:41 PM
At 09:20 PM 2/17/2004, you wrote:
>I'm trying to create so nice "automagic" Perl scripts to convert Card Vault
>files (.def and associated .dat) into a tab delimited text files, and
>vice-versa.
>
>At the moment there's a minor problem processing the info...I'm unable to
>work out why something like traits and keywords sometimes have tags, and
>sometimes have tags and names, eg.
>
> <tag group="traits" tag="Unique"/>
> <tag group="traits" tag="Ally"/>
> <tag group="traits" tag="traits006" name="Brotherhood Without Banners"/>
> <tag group="keywords" tag="Stealth"/>
>
>Does "Brotherhood" need a numbered tag due to the spaces in its name? I
>suspect not, because I've just found :
> <tag group="traits" tag="traits002" name="Dragonstone"/>

If a trait has a name that's a legal unique id (10 or less characters, all
of which have to be alphanumeric or the _ character), then the name of the
trait is used as the tag name. If it's not a legal unique id - for example,
if it's got a space in it ("Brotherhood Without Banners") or more than 10
characters ("Dragonstone"), an arbitrary identifier ("traits007") was used
for the id by the program I was using to put together the data files.

I've sent you an email off-list about the specifics of the Game of Thrones
files.

Hope this helps,


--
Colen McAlister (colen@wolflair.com)
Lone Wolf Development www.wolflair.com




Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/cardvault/

<*> To unsubscribe from this group, send an email to:
cardvault-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
Colen is offline   #2 Reply With Quote
Reply

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Game of Thrones Ralphey at mtgmelb.com Card Vault 0 September 15th, 2004 10:45 PM
Game of Thrones gryndehl at insightbb.com Card Vault 0 July 16th, 2004 08:55 AM
A Game of Thrones gryndehl at insightbb.com Card Vault 0 June 15th, 2004 07:37 PM
Game of Thrones Ralphey at mtgmelb.com Card Vault 1 June 11th, 2004 09:00 PM
A Game of Thrones gryndehl at insightbb.com Card Vault 0 January 14th, 2004 10:29 AM


All times are GMT -8. The time now is 02:43 PM.


Powered by vBulletin® - Copyright ©2000 - 2021, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.