PortalPlugins
PortalPlugins copied to clipboard
everything works great!, but portal is restarted at write attempts
Hi @capull0
I've performed this same device explained to load skylanders images through the serialusb and portal plugin
I built the device as you explained using Arduino Pro Micro Leonardo 5v / 16 Mhz Atmega32u4 and a Pi Zero w using GPIOs, 6 (GND), 8 (RX), 10 (TX)
compiled https://github.com/capull0/serialusb/tree/portal firmware & sw
I've able to make portal visible and put figurines in the portal and appear in the game, when you use your own figurine it creates image at new/XX-XX-XX-XX.bin image that works good, I was able even to see how write are being processed by skylanders plugin and stored in the image under new/ folder
but when you place an image (at /home/pi/skylanders_images/) and mapped into the skylanders.yaml file it loads ok the image, but when game tries to perform changes (writes) in the image something is wrong causing RFID image is being reloaded (like pull out the figurine and put it back on the portal) even if you're using your original image recently created into new/ folder put in back in /home/pi/skylanders_images/ and mapping on the config file skylanders.yaml
but if you game with image under /home/pi/skylanders_images/new/ it read and writes well on the image, and game keep going but if you physically pull out the figurine and put it back on the portal (without mapping at config file) causes rewrite new/
my guess is that probably writing function when is using mapping I was able to see writes in realtime at the binary image but immediately after writes image reloads, so I'm not sure if problem is the writings itself or validations/reads after writes
I'm still debugging the issue but wanted post this to see what can you recommend me to look at or dig into
thanks!
@geekinsanemx have you been able to find a solution for this issue? I want to build the same but if it doesn't work properly then I don't have to buy all that hardware