Piñata Vision barcode/Name bits

From PinataIsland.info, the Viva Piñata wiki
Revision as of 09:58, 10 November 2010 by FeralKitty (talk | contribs) (Added 4 more sets of matching names, and 1 more set of same-length names; added variant data.)
Jump to: navigation, search
To do: Determine if there is a name length byte, and if so, which row contains the data. Work on correctly decoding GoodVariants names.

Matching names

The following cards share pinata names, and belong to the same (row 2) obfuscation set.

Cards that also share matching variant data have nearly identical row 2 barcodes, differing in only a few bits.

Ava

9FBEF59DCF5DD656 8683F11D287FC206	Bunnycomb-TroubleInParadise-BrightPink-(Ava-)PV.jpg (Variant 8)
A2F8D48C480E9EFA 8683F11D2DED9606	Buzzenge-TroubleInParadise-Black-Ava-PV.jpg (Variant 15)

Harley

97B6A3855B66CF88 5168F4494A171D81	Elephanilla-TroubleInParadise-PaleBlue-(Harley-)PV.jpg (Variant 5)
D37649004D560805 5168F44A4A161D91	Dragumfly-TroubleInParadise-PaleBlueRed-(Harley-)PV.jpg (Variant 5)
D1EBE85E5810F7AE 5168F4594AA61BF1	Mothdrop-TroubleInParadise-Black-(Harley-)PV.jpg (Variant 15)

Note that the first two cards share the same variant data, and that their row 2 barcodes are nearly identical.

Aimee

9A586E134C0BCD3C D26B28D7670ED64E	Roario-TroubleInParadise-Pink-(Aimee-)PV.jpg (Variant 6)
E17EC6B36C459649 D26B68C6F50ED64E	Tartridge-TroubleInParadise-Black-Aimee-)PV.jpg (Variant 15)

Mia

836195952A2BC52B E6769697BF19E6FC	DesertRaisant-TroubleInParadise-Black-Mia-PV.jpg (Variant 15)
E4653B3B3F14538F E676CF169F09E6FC	Sherbat-TroubleInParadise-Blue-(Mia-)PV.jpg (Variant 2)

James

DEE66A946C1BE2B4 9A9C55CDE256C006	Cocoadile-TroubleInParadise-Pink-James-PV.jpg (Variant 5)
D37248104F172B35 9A9C55CDE356E216	Juicygoose-TroubleInParadise-Purple-James-PV.jpg (Variant 5)

D37248104F172B35 9B636492E839E419	Juicygoose-TroubleInParadise-PaleBlue-(James-)PV.jpg (Variant 6)

Again, the first two cards share the same variant data, and their row 2 barcodes are nearly identical.

The third card happens to share a matching pinata name, but its row 2 barcode is obfuscated differently. Although name length does seem to be one factor in row 2 obfuscation set selection, another factor (such as variant bits or GoodVariants ID) may jointly determine how row 2 is obfuscated.

Also notable (but unrelated) is that the row 1 barcodes for the two Juicygoose cards are identical. The cards do share the same species ID (and use cost). It's unknown at this point if the matching names have any influence on the row 1 barcode, but the differing variant data appears to be completely unrelated to row 1.

Harrison

F94FD444267E40A1 52AD208D61C7E499	ArcticPretztail-TroubleInParadise-Black-Harrison-PV.jpg (Variant 15)
99AD6E134E553CFC 52AD208DE12FC019	Kittyfloss-TroubleInParadise-Orange-Harrison-PV.jpg (Variant 2)

Dominic

869287B06F67CF08 DE2A7444D91B7EED	Polollybear-TroubleInParadise-Black-(Dominic-)PV.jpg (Variant 15)
EE89F0A4D3E03D27 DC1AE444D95B2EED	Salamango-TroubleInParadise-Pink-(Dominic-)PV.jpg (Variant 5)

Jake

A2FF7406100E5A12 BD69A638992FD482	Cinnamonkey-TroubleInParadise-OrangePink-Jake-PV.jpg (Variant 6)
A2F8D58F59901FDA BD68A6388136D502	Fourheads-TroubleInParadise-Black-Jake-PV.jpg (Variant 15)

Non-matching names

The following cards belong to the same (row 2) obfuscation set, but have differing pinata names. However, their names are all the same length, raising the possibility that a) there is a length "byte" for the name field, and b) the row 2 obfuscation set selection involves bits from that field.

Obfuscation set 2, 3-character name

E7BCB0A0D0C52D37 F283E298458F17B2	ArcticBunnycomb-TroubleInParadise-Black-(Leo-)PV.jpg (Variant 15)
C02EFAB3FC45C649 F29EE298258F17B2	Horstachio-TroubleInParadise-Black-(Kai-)PV.jpg (Variant 15)
EE89E1A8D8E56D27 F2D5E29D458F37B2	DesertSyrupent-TroubleInParadise-Black-Ben-PV.jpg (Variant 15)

Obfuscation set 2, 4-character name

E4647B3B3B61538F BD60A638592FD482	Chocstrich-TroubleInParadise-Orange-(Liam-)PV.jpg (Variant 6)
CEEE69162D3BB0A4 BD6456385936DB82	DesertBuzzenge-TroubleInParadise-Black-Kyle-PV.jpg (Variant 15)
D761959578F6492B BD6556381936D202	SourLemmoning-TroubleInParadise-Black-(Luke-)PV.jpg (Variant 15)

Obfuscation set C, 4-character name

D4FBCA4E0F98F7AE 945FD18B2F50D4AC	Pretztail-TroubleInParadise-Black-Rhys-PV.jpg (Variant 15)
D772B9106F1F0425 945FD4B86C41E59C	Fizzlybear-TroubleInParadise-Black-Maya-PV.jpg (Variant 15)
9A586E134D21E62C 945FD5B17C41D49C	Vulchurro-TroubleInParadise-Green-Evie-PV.jpg (Variant 7)

Decoded names

Drop row 1 from the barcode to focus on row 2. Change IDs to match the ASCII value of the name's 2nd character (e.g., Kieran, i = 105 decimal).

% grep Blackariants barcodes.txt | cut -d" " -f2 | egrep '^[0-9A-F]{15}C' | sort | ./barcodetxt2bitdiff.pl --short
Black_unicorn           114     1098FCBC0C65C0AC        Francesca
Black_snailpest         105     144263E69C8B58AC        Kieran
Black_bluebottle        101     2754CB15FAFBD6AC        Henry
Black_chameleon         105     30B040B6BFBB599C        Finlay
Black_pony              101     35542B15FBEBC7AC        Keira
Black_orangebutterfl    101     71B6E394DCDEE3BC        Benjamin
Black_whitebutterfly    117     909008F68F9B18BC        Summer
Black_fox               104     945FD18B2F50D4AC        Rhys
Black_bear              97      945FD4B86C41E59C        Maya
Black_penguin           97      94826266BE9B188C        Daniel
Black_snowtiger         121     95B02B15FBF9F3AC        Lydia
Black_cow               108     C1802815F8CAC3AC        Ellie
Black_sandant           105     E6769697BF19E6FC        Mia

The reader script decodes the columns holding character 2 of the name, and the decoded values are a match.

% ./reader.pl  black_variant_names_c.txt 
Black_unicorn       	114	1098FCBC0C65C0AC	 ID = 01110010  114
Black_snailpest     	105	144263E69C8B58AC	 ID = 01101001  105
Black_bluebottle    	101	2754CB15FAFBD6AC	 ID = 01100101  101
Black_chameleon     	105	30B040B6BFBB599C	 ID = 01101001  105
Black_pony          	101	35542B15FBEBC7AC	 ID = 01100101  101
Black_orangebutterfl	101	71B6E394DCDEE3BC	 ID = 01100101  101
Black_whitebutterfly	117	909008F68F9B18BC	 ID = 01110101  117
Black_fox           	104	945FD18B2F50D4AC	 ID = 01101000  104
Black_bear          	97	945FD4B86C41E59C	 ID = 01100001   97
Black_penguin       	97	94826266BE9B188C	 ID = 01100001   97
Black_snowtiger     	121	95B02B15FBF9F3AC	 ID = 01111001  121
Black_cow           	108	C1802815F8CAC3AC	 ID = 01101100  108
Black_sandant       	105	E6769697BF19E6FC	 ID = 01101001  105

Repeating the same process to look for columns matching ASCII values for the following 3 characters, we can read name data from the barcode. It looks like the name field has an (undiscovered) length "byte," since the name data does not appear to be zero-terminated.

 % ./reader.pl --names black_variant_names_character5_c.txt
Black_unicorn       	99	1098FCBC0C65C0AC	Francesca	Name = ranc
Black_snailpest     	97	144263E69C8B58AC	Kieran  	Name = iera
Black_bluebottle    	121	2754CB15FAFBD6AC	Henry   	Name = enry
Black_chameleon     	97	30B040B6BFBB599C	Finlay  	Name = inla
Black_pony          	97	35542B15FBEBC7AC	Keira   	Name = eira
Black_orangebutterfl	97	71B6E394DCDEE3BC	Benjamin 	Name = enja
Black_whitebutterfly	101	909008F68F9B18BC	Summer  	Name = umme
Black_fox           	0	945FD18B2F50D4AC	Rhys     	Name = hysb
Black_bear          	0	945FD4B86C41E59C	Maya    	Name = ayaf
Black_penguin       	101	94826266BE9B188C	Daniel  	Name = anie
Black_snowtiger     	97	95B02B15FBF9F3AC	Lydia   	Name = ydia
Black_cow           	101	C1802815F8CAC3AC	Ellie    	Name = llie
Black_sandant       	0	E6769697BF19E6FC	Mia     	Name = iag}

Unfortunately, the good (other) variants don't appear to keep their name data in the same location. One possibility is that the GoodVariant cards have additional data located before the name data, which shifts the underlying name data in the structure.

./reader.pl --names names_c.txt 
Black_unicorn       	114	1098FCBC0C65C0AC	Francesca	Name = ranc
Black_snailpest     	105	144263E69C8B58AC	Kieran  	Name = iera
Black_bluebottle    	101	2754CB15FAFBD6AC	Henry   	Name = enry
Good_hydra          	97	308023D28DBA80AC	Jayden  	Name = tll`
Black_chameleon     	105	30B040B6BFBB599C	Finlay  	Name = inla
Black_pony          	101	35542B15FBEBC7AC	Keira   	Name = eira
Good_chameleon      	109	36B268A68FBBB0BC	Amelia  	Name = ilhy
Black_orangebutterfl	101	71B6E394DCDEE3BC	Benjamin 	Name = enja
Black_whitebutterfly	117	909008F68F9B18BC	Summer  	Name = umme
Black_fox           	104	945FD18B2F50D4AC	Rhys    	Name = hysb
Black_bear          	97	945FD4B86C41E59C	Maya    	Name = ayaf
Good_vulture        	118	945FD5B17C41D49C	Evie    	Name = a}ab
Black_penguin       	97	94826266BE9B188C	Daniel  	Name = anie
Black_snowtiger     	121	95B02B15FBF9F3AC	Lydia   	Name = ydia
Good_armadillo      	116	97913855FD31E78C	Ethan   	Name = yriy
Black_cow           	108	C1802815F8CAC3AC	Ellie   	Name = llie
Good_snail          	108	C1926815FC94F7AC	Alice   	Name = u`ie
Black_sandant       	105	E6769697BF19E6FC	Mia     	Name = iag}
Good_bat            	105	E676CF169F09E6FC	Mia     	Name = icgy