u/Material_Fix_5706

Script to bulk upload ~1000 amiibo to a Pixl.js over Bluetooth from Windows (no web uploader)

Script to bulk upload ~1000 amiibo to a Pixl.js over Bluetooth from Windows (no web uploader)

I have a big amiibo collection and the web uploader kept stalling on me: ZIPs aren't extracted, dragging a whole folder hangs it, and after about 11-12 minutes of continuous transfer it freezes while still saying "Connected". So I wrote two small scripts to get around it.

  1. A PowerShell script that makes a clean copy of the collection with names and folders that fit the device limits (47 characters for the file name, 63 for the full path). It only reads the original folder and writes the copy, so nothing gets modified.
  2. A Python script (uses bleak) that uploads that copy straight over Bluetooth LE. It creates missing folders, skips files that are already on the device, reconnects by itself if the link drops, and checks everything at the end.

My run: 1063 files, about 18 minutes, 3 automatic reconnections, everything still there after a power cycle. I just left it running and walked away. Tested on Windows with firmware 2.16.0, nothing else.

One thing I found along the way: the filesystem on the device doesn't have real folders, a folder only exists if it contains a hidden marker file. My first version wrote the files but the folders didn't show up in the web page. The script now handles this.

The main write-up is in Italian (I'm Italian), but there's a short English version too: README_EN.md in the repo. It covers the device limits, requirements, usage, which paths you need to change, and a few things to know before running it.

https://github.com/alepir86/pixl-js-amiibo-ble-auto-uploader

Feedback is welcome, especially from anyone on other firmware versions or on macOS/Linux. Read the scripts before running them, since one of them writes to your device.

u/Material_Fix_5706 — 13 days ago