Posted May 12, 2022 by notpeter
#playdate
tl;dr Version 1.1.2 is available for download. If you'd had trouble with a previous build, uninstall the old and try that.
It's been a wild 24hrs. There's been a lot of interest and downloads, but it's been a bit rocky. A number of people have reported issues with sideloading, specifically when you go to install your playdate says "Error. There was a problem installing this game."
I was able to reproduce this issue on my device and reported it to Panic who provided confirmation it was indeed a bug. Basically MacOS will include an extra file when creating a zip archive and that file, because it has a .pdx extension, breaks installing on the device.
With that fixed other folks continued to have problems. After much back and forth (thanks @metafish and @Peaugh) I've narrowed it down to two more issues: (1) long filenames (2) something broken with `bundleID=net.notpeter.gimmefriction`. Until yesterday, I was using build script which created unique files of the form: `net.notpeter.gimmefriction_1.0.0-build11_2022-05-10_170534.pdx`. This has been really helpful, but less so if it's breaking installs. So now have a shorter filename, fin..
The bundleID issue is more serious. I had previously observed this during development when testing sideloading. In particular when testing the custom wrapping paper, you have delete the app from device and all builds from play.date/account/sideload and then add it again (because otherwise it remembers you've installed previously and skips the wrapping). As part of this iterative cycle at one point things just stopped working, no matter what I tried (incrementing version/build in pdxinfo, deleting and re-adding, etc) sideloading was just broken. And then on a whim I changed the bundleID and everything started working again.
After an hour of back and forth last night with someone having issues nothing worked. Until I created a build with a new bundleID. And so here we are, 1 day after release I'm releasing (1.1.2) under a new bundle identifier. Previously it was net.notpeter.gimmefriction and as of 1.1.2 we'll be using net.notpeter.gimmefrictionbaby going forward. If you've already downloaded/sideloaded/installed prior to 1.1.2 your playdate and the play.date/account/sideload website will view these as two distinct games. I recommend you delete/uninstall the old entirely.
During this work I also accidentally released 1.0.2 with a shrunk card image. This along with a bug reported by gingerbeardman has been fixed in the 1.1.2 release. As always, you see the changes in this release or the complete source code over at github.com/notpeter/playdate-friction.
Enjoy!