Difference between revisions of "Piñata Vision barcode/Variant bits"

From PinataIsland.info, the Viva Piñata wiki
Jump to: navigation, search
(Add row 2 similarities for PlaceTag species)
(Improved decoding, assuming non-variant wildcards are encoded as 0 in a common variant field.)
Line 40: Line 40:
  
 
{| class="collapsible collapsed"
 
{| class="collapsible collapsed"
!Reading variant data from obfuscation set 9 cards
+
!Reading variant data from obfuscation set 6 cards
 
|-
 
|-
 
|
 
|
 
<pre>
 
<pre>
egrep "^[0-9A-F]{16} [0-9A-F]{15}9" barcodes.txt | egrep -v "(Learn|Perform|Music)" | ./barcodetxt2bitdiff.pl --short --variants |  ./reader.pl --variants | sort --key=6
+
egrep "^[0-9A-F]{16} [0-9A-F]{15}6" barcodes.txt | egrep -v "(Learn|Perform|Music)" | ./barcodetxt2bitdiff.pl --short --variants |  ./reader.pl --variants | sort --key=6
Dandelion-TroubleInP 0 E07A6EA2033397B0940122FF5A3FA269                               VARIANT = 0001     1 o  -1
+
9663C3C21408B271A5E0 0 FE4CE159F2C60907E78E698359BBDF86                               VARIANT = 0000     0
Good_cat            2 99AD6E134E553CFC52AD208DE12FC019                               VARIANT = 0010     2
+
B5B3FEAA1408B272D0AB 0 FE4CE159FDE60947F78E69835AFBDF86                               VARIANT = 0000     0
7A2947D81408B3CEA0F9 0 F6BC837488F06C27B0B9640655AB3F49                               VARIANT = 0010     2 o  -2
+
BadgesicleWildcard1 0 D96FE940FFA50445E70E6983AAFFC646                               VARIANT = 0000     0
Good_moth          3 B7D1E4A0FDF8065394693410AC999E49                               VARIANT = 0011     3
+
BuzzlegumWildcard2  0 FE4CE15BDDF20947E70E6983AAFADF06                               VARIANT = 0000     0
WhirlmPV            0 B591E8AA8CF4139302ACA154180B26A9                               VARIANT = 0011     3 o  -3
+
ChippopotamusWildcar 0 FE4CA154D0D20A47A70E6983A98ACF46                               VARIANT = 0000     0
Good_wolf          4 D76195957D66B12B94693A14A8C59E49                               VARIANT = 0100     4
+
DG-asian-JadeGalasus 0 FC71A1A17A24F4DBE6875482BC4AD2E6                                VARIANT = 0000    0
Good_swan          5 E465383A3AD4A38FE7BB3AD05965EAE9                               VARIANT = 0101     5
+
HorstachioWildcard1 0 A2CAE4BF1894ACFAB70E6983A9BED646                               VARIANT = 0000     0
903CDEB21408B1733502 0 A661342FBA0A4542940362FFAA2BAC69                               VARIANT = 0101     5 o  -5
+
KittyflossWildcard1 0 A2CAE4AE181BACFAF70E6983AABFC646                               VARIANT = 0000     0
CamelloEgypt        0 EBF86C520C112B3C98FA2AD48C2F1589                               VARIANT = 0101     5 o  -5
+
ParryboWildcard2-DG 0 FBF66DE4094B321D06A308DC1484A546                               VARIANT = 0000     0
Good_flyingpig      6 DAF270A4DC1868ED85626492E820A819                               VARIANT = 0110     6
+
ParryboWildcard3    0 DA2FE050FEAA0B45F70E698355BBC6B6                               VARIANT = 0000     0
Good_goose          6 D37248104F172B359B636492E839E419                               VARIANT = 0110     6
+
PigxieWildcard1    0 E1EBC90F5C9DF72EB70E6983A9DACF06                               VARIANT = 0000     0
Good_poisonfrog    6 F5F238E03958636D14BA5B8AB065C2A9                               VARIANT = 0110     6
+
PretztailWildcard1  0 FE4EE0ABD2E20B47E78E69D3A1FEDF06                               VARIANT = 0000     0
ChewnicornWildcard1 0 E07B63920349FF80964E275DF456F169                               VARIANT = 0110     6 o  -6
+
RashberryWildcard1  0 FE4CE0A5F8D20A07B70E69835ABECF86                               VARIANT = 0000     0
FizzlybearVariant2  0 A20E6437B40E19528572C7188A27DB19                               VARIANT = 0110     6 o  -6
+
Syrupent-Trouble_In_ 0 DA6FE940FF572445F70E69D3AADFC6B6                               VARIANT = 0000     0
MooJooWildcard2     0 E07B6E920323FF40924C275CB444F329                               VARIANT = 0110     6 o  -6
+
TafflyWildcard1    0 FE4CA1ABDDF20B47E70E69D3AADADF06                               VARIANT = 0000     0
NewtgatWildcard1    0 80F071E0DEBA265D924ED75CF0B4F369                               VARIANT = 0110     6 o  -6
+
ZumbugWildcard1     0 C94D2F460F2594DCB78E69D3AADEDF86                               VARIANT = 0000     0
ParmadilloWildcard1 0 88F071E0DEBA2E1DA64ED753F0A4F369                               VARIANT = 0110     6 o  -6
+
RoarioVariant1      1 FF4EC2A588E578479D4ED6512B26E6F6                               VARIANT = 0000     0 x    1
SalamangoWildcard1  0 A2F0642FE30B44B2A24CD752B4B6F369                               VARIANT = 0110     6 o  -6
+
SparrowmintVariant1 1 8760B0A5298F583BCBDC69C14E5ADDD6                                VARIANT = 0000    0 x    1
SyrupentWildcard3  0 E07B71920320BF00924ED712F046F329                               VARIANT = 0110     6 o  -6
+
Good_duck          2 CE7E6AA41C1BF0A473A1F5CBAE78A646                               VARIANT = 0010     2
Valentine's_Day-02.1 0 81E46CA4C90A3CFDFCA37536A9ECE3C9C4137F7FA31CDF8D563F74F11A681742 VARIANT = 0110     6 o  -6
+
Good_spider        2 BED172A8BD670F63121D452FC0FD9566                               VARIANT = 0010     2
Good_camel          7 DEEF29C45D1BF284055F70C9C069C649                               VARIANT = 0111     7
+
HoghurtVariant3    3 F6BC83748DF46C2796BED760893AEC36                               VARIANT = 0010     2 x    1
Good_gecko          7 D76195943815812BBA4E9B369924EBA9                               VARIANT = 0111     7
+
GeckieVariant3      3 84F4F5D00F26CF18D6BE71F29E2B86B6                                VARIANT = 0011     3
Good_ostrich        7 E474783A7871538FA776E4228C65E579                               VARIANT = 0111     7
+
GoobaaVariant3      3 9A4D2F460D5F9DDC86BF79E21C0B96B6                               VARIANT = 0011     3
C6C3EDB41408B0ECFBD1 0 88F271E0DEBA2EEDA24ED713B4A4F369                               VARIANT = 0111     7 o  -7
+
Good_deer          3 F966D46B26AE598186B3F51D787C9D66                               VARIANT = 0011     3
CamelloWildcard1   0 84F1C1D41B669F98964CD753F054F329                               VARIANT = 0111     7 o  -7
+
Good_turtle        3 D53658126D1A08358EC25230EC16E456                               VARIANT = 0011     3
Cluckles-wildcard1-p 0 E07B79920300FF80924ED753F056F369                               VARIANT = 0111     7 o  -7
+
JuicygooseVariant3  3 9A582F460C123DDCD6BA7AE21C2B9F06                               VARIANT = 0011     3
JameleonWildcard2  0 E07B79520300FF40924ED753F056F369                               VARIANT = 0111     7 o  -7
+
MothdropVariant3   3 A2624406F90E44A2D68A79F29E0A86B6                                VARIANT = 0011    3
JuicygooseWildcard1 0 E07B71120300FF80924ED752F046F369                               VARIANT = 0111     7 o  -7
+
PieenaVariant3      3 D1712B3A3FD9A3CFD64B7AF21C2B9F46                               VARIANT = 0011     3
KittyflossWildcard2 0 E07B79120300FF00924ED753F056F369                               VARIANT = 0111     7 o  -7
+
SparrowmintVariant3 3 BD0164A91D7F0EC3C6BB79F29E0B9F86                               VARIANT = 0011     3
LackatoadWildcard2  0 E07B6C120318FF00A64ED75CF456F369                               VARIANT = 0111     7 o  -7
+
TafflyVariant3      3 8BE071A4DABA2EEDC68A75E29E2A96B6                               VARIANT = 0011     3
LickatoadWildcard1  0 E07B77120331BF80A24E2712B446F329                               VARIANT = 0111     7 o  -7
+
BuzzengePV          0 A2FBE49F4A5F9A9AC34366A14ABF8FB6                               VARIANT = 0011     3 o  -3
PolollybearWildcard2 0 D5F071E02EBA236DA20C275CF4A6F329                               VARIANT = 0111     7 o   -7
+
DG-asian-HaikuLing  0 FC6180A07AD5C0CB9EAF7131D905E456                               VARIANT = 0011     3 o  -3
ReddhottWildcard3  0 E07B75A2032FFF00960CD752B044F329                               VARIANT = 0111     7 o   -7
+
PretztailVariant6  0 BBF271A4DE8A2ADD860A71F21C2B96B6                               VARIANT = 0011     3 o  -3
SmelbaWildCard2    0 D4F071E03EBA2D0D960C2753F0A6F329                               VARIANT = 0111     7 o   -7
+
SmelbaUSA          0 87B380F33BD5AF989FAE03E2ECF36A06                               VARIANT = 0011     3 o  -3
SparrowmintWildcard2 0 A3F2741FB30B4462924ED71DF0A4F329                               VARIANT = 0111     7 o   -7
+
ArocknidVariant2    2 FE49F1AAD2D60847C6BA79E21C0B9F06                               VARIANT = 0011     3 x   -1
SwananaWildcard1   0 84D5C1D43F269F98A24CD75DF054F369                               VARIANT = 0111     7 o   -7
+
BuzzengeVariant2    2 FE49F0A08CC6080796BA75F21C2A9F86                               VARIANT = 0011     3 x   -1
TigermisuWildcard1  0 84F071E0DEBA353DA64E275DF4B4F169                               VARIANT = 0111     7 o   -7
+
ChippopotamusVariant 2 A3624426B10B4642968A79E21C2B8F46                               VARIANT = 0011     3 x   -1
WhirlmWildcard1    0 80F1E1D43B279F88924ED753B054F369                               VARIANT = 0111     7 o   -7
+
CrowlaVariant2      2 DC6DE842FD1A0B65C68A79F21C2A9F46                               VARIANT = 0011     3 x   -1
MousemallowPV      0 BC6184B06BFD4AEB1D4C4346420B9689                               VARIANT = 1011    11 o  -11
+
MothdropVariant2   2 A2624406E80E45B2D68E75E29E0A86B6                               VARIANT = 0011     3 x   -1
ParryboPeru        0 E07B69B41CD966D0C66D00C6E60B9E19                               VARIANT = 1011    11 o  -11
+
PieenaVariant2      2 FE49F1ABD1C24847D6BE71F21C2B9F46                               VARIANT = 0011     3 x   -1
BadgesicleVariant1  0 A2F04436B10E4452C44E3798BA523329                               VARIANT = 1110    14 o  -14
+
PudgeonVariant2-VP  2 F64ED355BDD02E679DAE81E0CD3C7A06                               VARIANT = 0011     3 x   -1
ChewnicornVariant2  0 DCE428C4EC4F90B4C04E2798F9B27C09                               VARIANT = 1110    14 o  -14
+
QuackberryVariant2  2 9AAD2F460C03C0DCC64A71E21C2B9606                               VARIANT = 0011    3 x  -1
CustaceanTGS08      0 D77DF0C2891114857446C592291A36592176C09FDEB16681                VARIANT = 1110    14 o  -14
+
SarsgorillaVariant2 2 BF2164A99DE61EF3D6BA79E21C2B8F06                               VARIANT = 0011    3 x  -1
CustaceanVariant3  0 84F271A4DEBA2E2DC40CC598BAB03309                               VARIANT = 1110    14 o  -14
+
SherbatVariant2    2 DC62F940DE9E2B45868F71F29E2E8606                               VARIANT = 0011    3 x  -1
ElephanillaVariant3 0 F95F9E68265F8581C04E3798B9527209                               VARIANT = 1110    14 o  -14
+
ZumbugVariant2      2 EFBAD374FCA03A27CBB33EE6786CB376                               VARIANT = 0011    3 x  -1
FudgehogVariant1    0 931E3AB7FC45CE69C40CC598B9B07229                               VARIANT = 1110    14 o  -14
+
BispottiVariant1    1 B641F4A9BD7E0E23964B75E29E0A8686                                VARIANT = 0011    3 x  -2
NewtgatVariant2    0 DC22F850BD150B65C44E2598FAA03D29                               VARIANT = 1110    14 o  -14
+
BuzzengeVariant1    1 9A582F460D5432DC96BE7AE21C2A9F86                               VARIANT = 0011    3 x  -2
Sgt._Johnson-Halo  0 BF6194A46E237E1BA31B39254850B35941E178509C647D47               VARIANT = 1110    14 o -14
+
CinnamonkeyVariant1 1 A2F05406E00E4452D6BF7AF21C0A96B6                               VARIANT = 0011    3 x  -2
Black_hedgehog      15 D76195943B0B6A2BAB6364927878B019                               VARIANT = 1111    15
+
Good_duck          4 E475292B3F96538F8F83F11D38FFCD06                               VARIANT = 0100    4
Black_monkey        15 B7E1E3A06DF60FF3A5E204C27D2CBA09                               VARIANT = 1111    15
+
Good_monkey        4 F47EDEF3FC4B96B9979C10C8A354E676                               VARIANT = 0100    4
Black_purplebutterfl 15 876195902ADBD02BA5F204C2ED2CFA19                               VARIANT = 1111    15
+
PengumTeamMember-14 0 BE6184816BF914DBE1F3EAD12BB4FC466AB1D1C4CF375E28               VARIANT = 0100    4 o   -4
Black_scorpionpest  15 8786B7854F269F88B4FC4B92ED638119                               VARIANT = 1111    15
+
Good_chicken        5 F97FD3E026AE4CB13089F1DFC3ED5566                               VARIANT = 0101    5
Black_snowfox      15 F94FD444267E40A152AD208D61C7E499                               VARIANT = 1111    15
+
Good_crocodile      5 DEE66A946C1BE2B49A9C55CDE256C006                               VARIANT = 0101    5
Black_warthog      15 D1CBC81E1246F7AE964C3B34A0919E49                               VARIANT = 1111    15
+
Good_goose          5 D37248104F172B359A9C55CDE356E216                               VARIANT = 0101    5
Black_worm         15 D4C8CA1E1240F7AE05B451ECE84132B9                               VARIANT = 1111    15
+
Good_peacock        5 A2F8D4BC4D1A1FDA9EB9E1DDCCEB5B36                               VARIANT = 0101    5
BarkbarkPV          0 DB72DD146C7B93B45BBE0114016AD6C9                               VARIANT = 1111   15 o  -15
+
Good_rabbit        8 9FBEF59DCF5DD6568683F11D287FC206                               VARIANT = 1000    8
HoghurtVariant1    0 D161783A360553CFC04E2599BA523209                               VARIANT = 1111   15 o  -15
+
Good_lion          9 B7E1EDA86DFF0F73AF8971C298E4AB16                               VARIANT = 1001    9
JeliPV              0 F56579283200164F96430592B964C249                               VARIANT = 1111   15 o  -15
+
EaglairUSA         0 FF4C82A0F1F479273C6514808D2460E6                               VARIANT = 1001    9 o  -9
LackatoadVariant2   0 DC2DE842FF152B65C44E3798FAB23C29                                VARIANT = 1111   15 o  -15
+
Bluebell-TroubleInPa 0 F9569D1B229F8281AF8C4A8D4D7194F6                               VARIANT = 1011   11 o  -11
SquazzilVariant3    0 8360B0A0388F7A3BC44E3598F9A07C09                               VARIANT = 1111    15 o  -15
+
Bullrush-TroubleInPa 0 F97F9C5B233F8B81AF8DBC9D486110B6                               VARIANT = 1011   11 o  -11
ZumbugVariant1      0 A2CAE59F51371FFAC04C2599BA407209                               VARIANT = 1111    15 o  -15
+
PricklyPear-TroubleI 0 CA5D2F46025B8EFC8FFC4A9D4D7134B6                               VARIANT = 1011   11 o  -11
 +
Blue_Spartan-Halo   0 E4E8C94C0925903E9679D90C29F1ACD6F9CD096BCEB9D6CDB562FE8064E8C687 VARIANT = 1101   13 o  -13
 +
Black_bluebutterfly 15 E431687B3D09538FCB39D238D07DC5E6                                VARIANT = 1111    15
 +
Black_buzzard      15 A2F8D48C480E9EFA8683F11D2DED9606                               VARIANT = 1111    15
 +
Black_snowowl      15 A2F8D5AD499EDEDA13FD7633A316ED76                                VARIANT = 1111    15
 +
Black_swan          15 A2F8D4AE1C987EDA8792A039E316E676                               VARIANT = 1111    15
 +
Black_yellowbutterfl 15 876195912D70502B8EC2A239E31FC666                                VARIANT = 1111    15
 
</pre>
 
</pre>
 
|}
 
|}
  
Since the results don't appear to make rational sense for the non-Vision_Single variant cards, it's likely that the PlaceTag species variant data doesn't overlap the location for the GoodVariants and Blackariants card type(s) variant data.
+
It's uncertain if PlaceTag species and GoodVariants/Blackariants variant data share (overlap?) a common field (location?).  While obfuscation set 6 wildcards do appear to consistently decode as variant 0, correct Journal variant values will be needed to see if PlaceTag species variants also decode to expected values.
  
 
== GoodVariants IDs ==
 
== GoodVariants IDs ==

Revision as of 06:00, 13 November 2010

Types of variant data

The game supports two types of variants. The first are the Journal variants (often labeled as Variant 1, 2, and 3). These variants are obtainable in-game by feeding a pinata a certain item.

The second type of variants are the PV-exclusive variants. These extra colors aren't normally available in-game, but can be obtained by scanning other variant cards and black variant cards.

In terms of the barcode (and card description), these two types of variant data appear to be distinct and different. For example, Image:Kittyfloss-TroubleInParadise-Orange-Harrison-PV.jpg, labeled as Variant: 2, Variant description: Orange, is distinct from any of the in-game variant colors for the Kittyfloss, so its variant (2) apparently has no connection to in-game variant 2.

In-game variant data

Nothing specific is known about this barcode data, other than speculation that it might be a 2-bit field (0-3, with 0 indicating that the PlaceTag species is not a variant?).

This field is possibly specific to the PlaceTag species card type.

PlaceTag species variant cards are two (or more) rows, unlike normal (non-variant, non-wildcard) pinata cards which are typically a single barcode row.

GoodVariants and Blackariants data

Based on descriptions from Vision_Single cards, GoodVariants values range from 2 to 10, while Blackariants are always 15. This field is probably 4 bits (0-15) and may be a card type-specific field, exclusive to the Vision_Single GoodVariants and Blackariants cards.

Like the PlaceTag species variant cards, GoodVariants and Blackariants cards also use two barcode rows.

Location of variant bits

Variant data is likely encoded in row 2. Notice in the following example that the row 1 barcode is identical, although the cards are for two different variant colors (5 and 6).

D37248104F172B35 9A9C55CDE356E216	Vision_Single_GoodVariants_goose_41.jpg (5, James)
D37248104F172B35 9B636492E839E419	Vision_Single_GoodVariants_goose_42.jpg (6, James)

Decoding variant bits

After filtering out other 2-row cards (Learn Trick, Perform Trick, and RomanceMusic), what generally remains are the following types of two-row cards:

  • Normal pinatas with accessories
  • Wildcard (non-variant) pinatas
  • In-game variant pinatas
  • GoodVariants and Blackariants pinatas

It's uncertain if PlaceTag species and GoodVariants/Blackariants variant data share (overlap?) a common field (location?). While obfuscation set 6 wildcards do appear to consistently decode as variant 0, correct Journal variant values will be needed to see if PlaceTag species variants also decode to expected values.

GoodVariants IDs

It's unknown what the GoodVariants _nnn filename values refer to, although they are unrelated to the species IDs, as seen in the Blackariants _nnn filename values.

Row 2 obfuscation set selection/progression

To be determined. Possibilities are based on name length byte, name bits, variant bits, and/or possibly a row 2 (GoodVariants?) ID.

Working notes

Keeping the barcode comparisons for now, to refer to them while proving/disproving row 2 speculation, but the information will eventually get discarded, or condensed and folded into the article content.

Row 2 similarities for PlaceTag species

These same-species variants only differ in a few (row 2) bits, leading to speculation that the variant data is the only differing row 2 field.

D160783A3F74A3CF 94B87E37198A2144	Camello-TroubleInParadise-Variant2-PV.jpg
F8F271A4DE8A2D1D 94B87F37188A2144	Camello-TroubleInParadise-Variant3-PV.jpg

                                             42
 Description           VPID  Barcode row 2   04
-----------------------------------------------
CamelloVariant2          23 94B87E37198A2144 01  0x0017 0b0000000000010111
CamelloVariant3          23 94B87F37188A2144 10  0x0017 0b0000000000010111

FE49F0A08CC60807 96BA75F21C2A9F86	Buzzenge-TroubleInParadise-Variant2-PV.jpg
9A582F460D5432DC 96BE7AE21C2A9F86	Buzzenge-TroubleInParadise-Variant1-PV.jpg

                                             544443
 Description           VPID  Barcode row 2   032106
---------------------------------------------------
BuzzengeVariant2         16 96BA75F21C2A9F86 001011  0x0010 0b0000000000010000
BuzzengeVariant1         16 96BE7AE21C2A9F86 110100  0x0010 0b0000000000010000

A2624406F90E44A2 D68A79F29E0A86B6	Mothdrop-TroubleInParadise-Variant3-PV.jpg
A2624406E80E45B2 D68E75E29E0A86B6	Mothdrop-TroubleInParadise-Variant2-PV.jpg

                                             5443
 Description           VPID  Barcode row 2   0326
-------------------------------------------------
MothdropVariant3         79 D68A79F29E0A86B6 0101  0x004f 0b0000000001001111
MothdropVariant2         79 D68E75E29E0A86B6 1010  0x004f 0b0000000001001111

9F6F2386EA4DE6E6 AA42B893D0410DB5	Chocstrich-TiP-Variant3-PV.jpg
F5F271A4DEBA275D AA52B893D0412DB5	Chocstrich-TroubleInParadise-Variant2-PV.jpg

                                             51
 Description           VPID  Barcode row 2   23
-----------------------------------------------
ChocstrichVariant3       84 AA42B893D0410DB5 00  0x0054 0b0000000001010100
ChocstrichVariant2       84 AA52B893D0412DB5 11  0x0054 0b0000000001010100

E07B65A20331DA80 E0CE52C2E40E87B0	Robean-TroubleInParadise-Variant2-PV.jpg
8760B0A53992E53B E0CE52E2E00E87B0	Robean-TroubleInParadise-Variant1-PV.jpg

                                             32
 Description           VPID  Barcode row 2   76
-----------------------------------------------
RobeanVariant2          103 E0CE52C2E40E87B0 01  0x0067 0b0000000001100111
RobeanVariant1          103 E0CE52E2E00E87B0 10  0x0067 0b0000000001100111