Piñata Vision barcode/Accessory bits
Accessories can be found in the 1900-2000s range of the ID table. There appear to be less than 256 accessories in-game, and the accessory data does in fact code the accessory items as 8-bit values.
Encoded (8-bit) accessory item values are normalized PlaceTag IDs. (E.g., item 1 is PlaceTag ID 1905, item 2 is 1906, and so on.)
Accessories with color choices also have a 4-bit encoded color value. (Refer to the Encoded data for accessories.)
Although the village shop limits purchases to 5 accessories per pinata, six-accessory cards do exist. It's possible that cards could be generated with accessories for each possible slot.
Contents
Payload type
While it is possible to encode accessory details by supplying (accessory PlaceTagIDs in) successive ID payloads (see themed card sets), this is generally less compact than using the accessory payload. Payload type 11101 is the preferred method of encoding accessory details (and also supports specifying accessory colors).
Accessory data
The optional accessory data is variable length, starting off with a 4-bit color accessory count, followed by that number of 8-bit accessory item and 4-bit color values. A second 4-bit count (for default color accessories) indicates the number of additional 8-bit accessory item values.
Location of accessory data
Accessory data generally starts in row 1, immediately after the ID data.
Sample encoded data
The encoded data for the Parrybo Congo card looks like this:
Payload type | Payload |
00000 | 0001 (Start of data) |
00001 (ID) | 87 (Parrybo) |
11101 (Accessory) | 11 532 123 14 155 |
10110 (Reuse) | 1 |
11000 (Use cost) | 5700 |
00000 | 0000 (End of data) |
1(4-bit) count of color accessories, i.e., one item and color value follows.
2The (8-bit) item value of the accessory, i.e. 53 (or Bushy Mustache)
3The preceeding item's (4-bit) color choice, i.e. 12 (or Black)
4(4-bit) count of (remaining) accessories (with no color details), i.e. one additional accessory
5The (8-bit) item value of the accessory, i.e. 15 (or Pillager's Helmet)
Decoding accessory data
- An easy way to spot accessoried pinatas at VivaPinata.com is to check how many barcode rows are on the card. A player-created card with 3 rows definitely has 5 or more accessories. A player-created non-wildcard non-variant card with 2 rows definitely has accessories. (A normal pinata without accessories has a 1 row barcode.)
Various accessory item values from known accessoried obfuscation set 0 cards |
---|
EaglairVariant1 00011000 24 Yee-Haw Spurs MoojooRussia 01000110 70 Squazzil Hat Twingersnap0D00FC0E1 00100111 01011000 39 88 Tussle Tricorn, Blackeye Patch ParryboPeru 01010011 01110000 83 112 Bling Earrings, Bling Nose-Ring MacaraccoonWildcard1 01100000 10000111 96 135 Von Ghoul Helmet, Non-Resident Scarf BunnycombPV 00111001 01000001 00101111 57 65 47 Beaded Wig, Big Jolly Lips, Butcha's DoenutPV 10100111 01010111 01111011 167 87 123 Tail Bow, Eighties Watch, Edo Wig SweetlePV 00101101 01010010 10010101 45 82 149 Clockwork Key, Halloween Bolts, Sweaty Wrist Band VulchurroUSA 01011011 01111010 91 122 Cook Hat, Reading Glasses VulchurroVariant3 01111010 01011011 122 91 Reading Glasses, Cook Hat 3F5A88CD1408B374C1EA 00110001 01010000 01100111 49 80 103 Conga's Top Hat, Toff Monocle, Secret Agent Bowtie PengumC13B26F2140937 01010000 00110001 01100111 80 49 103 Conga's Top Hat, Secret Agent Bowtie, Toff Monocle |
Notice how the two Vulchurros and the two Pengums are wearing the same accessories (although purchased in a different order, as shown by the item data, and the pinata's in-game Journal accessory details. |
Reader script
Since the standard color values and accessory items names are now known, it's a simple matter to convert accessory data to human-readable colors and names.
% ./barcodetxt2bitdiff.pl --short --accessory | ./reader.pl --parse --verbose 10-CrowlaPV 2 A3EAE49C5B162AAAEBE5E52221BD97AAB71175819A00A742 00000: Start of data 00001/ID: 27 11101/Accessory: 2 items Red Non-Resident Scarf, Gold Medal 00111/Name: Dark Heart 00000: End of data Cluckles2FA0CA8B1409 5 E07B798438D90A70965D91904833CD2CC78875735A2DC646 00000: Start of data 00001/ID: 22 11101/Accessory: 5 items Yellow Romance Earrings, Traditional Watch, Romantic Flower, Golden Necklace, Dellmonty 10110/Reuse: 00001 11000/UseCost: 83000000 01001/Wildcard: 1 00000: End of data ...
Sample of cards with accessories
This is an incomplete list of cards where scanned pinatas are wearing accessories. Most of the cards are official versions released by Rare before the launch of Trouble in Paradise. (Recognized by a SpeciesPV name, and a picture of 3 accessories on the front of the card.) A few of the cards are date-locked, while the remaining cards are player-created from VivaPinata.com.
In addition to having accessories, pinatas may be variants and/or wildcards, or even have pinata names (Rare-only) encoded in the data.
The order of the accessories must exactly match the Journal accessories list, seen when viewing the scanned pinata's information. (Likewise, the variant numbering is from the Journal, not the wiki.)
The more accurate data we can collect for cards from the same obfuscation set, the more likely we can decode the underlying accessory data, and start to read accessory details from future/other cards.
Card name | Accessory count | Accessory 1 | Accessory 2 | Accessory 3 | Accessory 4 | Accessory 5 |
---|---|---|---|---|---|---|
3F5A88CD1408B374C1EA.jpg
|
3 | Conga's Top Hat | Toff Monocle | Secret Agent Bowtie | ||
B23F27AE1408B344E767.jpg
|
5 | Halo of Hardness | Disco Shades | Lucky Earrings | Sheriff's Badge | Ballet Shoes |
Banjo-Banjo_Kazooie-PV.jpg
|
2 | Shark Tooth Necklace | Breegull Carrier | |||
BunnycombPV.jpg
|
3 | Beaded Wig | Big Jolly Lips | Butcha's | ||
DoenutPV.jpg
|
3 | Tail Bow | Eighties Watch | Edo Wig | ||
Eaglair-TiP-Variant1-PV.jpg
|
1 | Yee-Haw Spurs | ||||
Easter-04.12.2009-PV.jpg
|
1 | Bonnet | ||||
Jinjo-Banjo_Kazooie-PV.jpg
|
0 | |||||
Macaraccoon-TroubleInParadise-Wildcard1-PV.jpg
|
2 | Von Ghoul Helmet | Non-Resident Scarf | |||
Moojoo-TroubleInParadise-Russia-PV.jpg
|
1 | Squazzil Hat | ||||
Parrybo-TroubleInParadise-Peru-PV.jpg
|
2 | Bling Earrings | Bling Nose-Ring | |||
SweetlePV.jpg
|
3 | Clockwork Key | Halloween Bolts | Sweaty Wrist Band | ||
Vulchurro-TroubleInParadise-USA-PV.jpg
|
2 | Cook Hat | Reading Glasses | |||
Vulchurro-TroubleInParadise-Variant3-PV.jpg
|
2 | Reading Glasses | Cook Hat | |||
10-CrowlaPV.jpg
|
2 | Non-Resident Scarf | Gold Medal | |||
BuzzengePV.jpg
|
3 | Fair Dinkum Hat | Breegull Waders | Breegull Carrier | ||
ClucklesPV.jpg
|
3 | Nurse's Hat | Stethoscope | Breegull Carrier | ||
DG-asian-YanSuey.jpg
|
3 | Handlebar Mustache | Crystal Broach | Cook Hat | ||
FF2F6CB11408B42D2B34.jpg | ? | |||||
Lemmoning-TroubleInParadise-Russia-PV.jpg | ? | |||||
Quackberry-TroubleInParadise-India-PV.jpg | ? | |||||
RaisantPV.jpg
|
3 | Safety Helmet | Bling Nose-Ring | Combat Boots | ||
Robean-TroubleInParadise-Winter-DG-PV.jpg
|
2 | Santa Hat | Pendant Earrings | |||
BadgesiclePV.jpg
|
3 | Doenut Stalker | Toff Monocle | Caterpillars | ||
Bispotti-TroubleInParadise-Easter-DG-PV.jpg
|
3 | Pendant Necklace | Safari Hat | Lucky Earrings | ||
DG-asian-HaikuLing.jpg
|
2 | Pointed Hat | Breegull Carrier | |||
DG-asian-JadeGalasusu.jpg
|
3 | Edo Wig | Pendant Necklace | Bottles' Glasses | ||
GoobaaPV.jpg
|
3 | Furry Earmuffs | Fur Boots | Non-Resident Scarf | ||
Hootyfruity-TroubleInParadise-Korea-PV.jpg | ? | |||||
MousemallowPV.jpg
|
3 | Funky Tie | Srudent's Hat | Geek Glasses | ||
Parrybo-TroubleInParadise-Congo-PV.jpg | ? | |||||
Parrybo-TroubleInParadise-PV.jpg | ? | |||||
Pengum-TroubleInParadise-TeamMember-14-PV.jpg
|
3 | Headphones | Strong 'n Mach (necklace) | Breegull Turbo Trainers | ||
Profitamole-TroubleInParadise-Canada-PV.jpg | ? | |||||
Sarsgorilla-TroubleInParadise-Wildcard3-DG.jpg | ? | |||||
Sgt._Johnson-Halo-PV.jpg | ? | |||||
Sweetle-TroubleInParadise-Egypt-PV.jpg
|
1 | School Cap | ||||
Tusk-Killer_Instinct-PV.jpg | ? | |||||
PonockyPV.jpg
|
3 | Romance Earrings | Sweaty Head Band | Soccer Boots | ||
JuicygoosePV.jpg
|
3 | Mermaid Necklace | Bonnet | Pearly Bracelet | ||
PengumPV.jpg
|
0 | |||||
TartridgePV.jpg | ? | |||||
PudgeonPV.jpg
|
3 | Strong 'n Macho (necklace) | Football Helmet | Sweaty Wrist Band | ||
CherrapinPV.jpg
|
0 | |||||
WhirlmPV.jpg | ? | |||||
VulchurroPV.jpg
|
3 | Fake Winner's Rosette | Soupswill Cook Hat | Bushy Moustache | ||
NewtgatPV.jpg
|
3 | Princess Hat | Pendant Earrings | Turkish Slippers | ||
LackatoadPV.jpg
|
3 | Bunnycomb Ears | Pendant Necklace | Ballet Shoes | ||
MacaracoonPV.jpg
|
3 | Baseball Cap | Robber's Mask | Prisoner Bracelet | ||
ParmadilloPV.jpg
|
3 | Combat Boots | Safety Helmet | Bushy Moustache | ||
CustaceanPV.jpg
|
0 | |||||
BarkbarkPV.jpg
|
3 | Sailor Hat | Fake Fin | Shark Tooth Necklace | ||
FlapyakPV.jpg
|
3 | Tap Shoes | Secret Agent Bowtie | Eighties Watch | ||
ReddhottPV.jpg
|
3 | Big Jolly Lips | Star Earrings | Disco Shades | ||
ShellybeanPV.jpg
|
3 | La Parisienne (hat) | Caterpillars | Romance Earrings | ||
FudgehogPV.jpg
|
3 | Ballet Shoes | Romantic Flower | Harlequin Mask | ||
CamelloPV.jpg
|
0 | |||||
MothdropPV.jpg | ? | |||||
CocoadilePV.jpg
|
3 | Flamenco Shoes | Beaded Wig | Disco Shades | ||
SweetoothPV.jpg
|
3 | Yee-haw Spurs | Knight Helmet | Rashberry Badge | ||
SparrowmintPV.jpg
|
3 | Tussle Tricorn | Blackeye Patch | Battletoad Bracelets | ||
ChewnicornPV.jpg
|
0 | |||||
MoojooPV.jpg
|
0 | |||||
SyrupentPV.jpg | ? | |||||
SherbatPV.jpg
|
3 | Super Hero Belt | Super Hero Mask | Breegull Waders | ||
PieenaPV.jpg
|
0 | |||||
PeckanmixPV.jpg
|
3 | Yeoman's Helm | Ballet Shoes | Romantic Flower | ||
CrowlaPV.jpg
|
3 | Baby's Bib | Snow Shoes | Squazzil Hat | ||
RobeanPV.jpg | ? | |||||
LickatoadPV.jpg
|
3 | Bling Bangle | Weather-Girl Wig | Buck Teeth | ||
KittyflossPV.jpg
|
0 | |||||
SarsgorillaPV.jpg
|
0 | |||||
CinnamonkeyPV.jpg
|
0 | |||||
FlutterscotchPV.jpg
|
3 | Soccer Boots | Clockwork Key | School Cap | ||
TwingersnapPV.jpg
|
3 | Football Helmet | Bling Nose-Ring | Buck Teeth | ||
LemmoningPV.jpg
|
3 | Belly-SplashSpecials | Dentures of the Night | Fake Fin | ||
BispottiPV.jpg
|
3 | Ash Slippers | Hula Necklace | Lupus Ears | ||
GeckiePV.jpg | ? | |||||
RashberryPV.jpg
|
3 | Leafos Medalion | Caesar's Hat | Battletoad Bracelets | ||
SmelbaPV.jpg | ? | |||||
SquazzilPV.jpg
|
3 | Combat Boots | Conkerific Helmet | Barkbark Tags | ||
ArocknidPV.jpg
|
3 | Tail Bow | Bonnet | Flamenco Shoes | ||
BuzzlegumPV.jpg
|
3 | Juno Helmet | Astro-Walkers | Rashberry Badge | ||
CandaryPV.jpg
|
3 | Disco Shades | Leafos Medalion | Yee-haw Boots | ||
JameleonPV.jpg
|
3 | Sweaty Head Band | Sweaty Wrist Band | Breegull Turbo Trainers | ||
HoghurtPV.jpg
|
0 | |||||
SmorepionPV.jpg | ? | |||||
QuackberryPV.jpg
|
3 | Vela Wig | Pendant Necklace | Astro-Walkers | ||
JeliPV.jpg
|
0 |