User:Dinoguy1000/.YGC, .YGL, and .YGR files
.YGC, .YGL, and .YGR are file extensions used for the Tag Force games for (downloadable only?) cards, status lists, and Deck recipes, respectively. These files seem to always be named YGTF###.YG_
, where ###
is a three-digit number counting up from 000 and _
is one of C
, L
, or R
as appropriate for the type of file.
Contents
.YGC[edit]
.YGL[edit]
Cards seem to be sorted such that Forbidden cards are listed first, followed by Limited, and then Semi-Limited (but not always).
- string(4) - header
YGTF
- byte(4) - unknown 1
- int32(4) - Offset to card count (
count_offset
- this is a decimal offset, not a hexadecimal one!) - List names/descriptions (one name? plus one description for each of English, German, French, Italian, and Spanish, in that order)
- int16(2) - Length of name (
name_length
) - string(
name_length
) - Name (stored as UTF-16 or some other two-byte Unicode encoding; this means the length in bytes is equal toname_length
* 2)
- int16(2) - Length of name (
- byte(2) - unknown 2
- int8(1) - Card count
- For each card
- byte(1) - unknown 3 (usually
0x00
) - int16(2) - Card ID
- int8(1) - Allowed number of copies (0x00 = Forbidden, 0x01 = Limited, 0x02 = Semi-Limited; sometimes other values)
- byte(1) - unknown 3 (usually
- byte(1) - null (always?)
- byte(n) - unknown 4 (to end of file, normally 4 bytes?)
unknown 1[edit]
Observed values:
- TF01
0x98 0x49 0x02 0x00
(YGTF000.YGL)
- TF04
0xF7 0x7B 0x02 0x00
(YGTF000.YGL)0x9A 0x44 0x02 0x00
(YGTF001.YGL)
unknown 2[edit]
Observed values:
- TF01
0xF0 0x94
(YGTF000.YGL)
- TF04
0xFE 0x51
(YGTF000.YGL)0x16 0x51
(YGTF001.YGL)
unknown 3[edit]
Observed non-null values:
- TF04
- YGTF001.YGL
0x01
(ID 5860, 7951)0x09
(ID 6603)0x0A
(ID 4054)0x13
(ID 4887)0x14
(ID 5868)0x18
(ID 6444)0x1D
(ID 4434)0x90
(ID 4975)0x92
(ID 4803)
- YGTF001.YGL
Allowed number of copies[edit]
Observed nonstandard values:
- TF04
- YGTF000.YGL
0x12
(ID 5561)0x17
(ID 7599)0xB8
(ID 5124)
- YGTF001.YGL
0x13
(ID 23552 (yes seriously))0x14
(ID 5375)0x16
(ID 5189)0x1F
(ID 6400)0x4A
(ID 4885)0x60
(ID 6078)0x6B
(ID 4025)
- YGTF000.YGL
unknown 4[edit]
Observed values:
- TF01
0x75 0x34 0xE6 0x65 0x23 0x6F
(YGTF000.YGL)
- TF04
0x2F 0x6A 0x9C 0xB3
(YGTF000.YGL)0x40 0x01 0xD3 0xAD
(YGTF001.YGL)