I ran into an issue last night and today where a cart isn't saving. I only noticed today when I reopened pico-8 and some changes were missing. Here's the series of events:
- Did some work last night
- At some point I took a screenshot (F6) and/or made a .gif (F9). I'm a beginner so both of these were the first time I ran these commands ever.
- Made a few more changes
- Saved without realizing it wasn't saving (maybe I just didn't see the error message)
- Closed pico-8 and went to sleep
- Woke up today and noticed code was missing the edits (small clunky feature implementation so wasn't worried)
- Write some new code - still not realizing it wasn't saving when I pressed CMD+s
- Finally noticed it wasn't saving
So at this point I am on a Discord server (Lazy Devs) and asked if anyone had some tips. I got a lot of helpful feedback and tried a bunch of commands. Nothing persisted and the consensus is that it's likely a bug and probably related to permissions (the carts dir has R/W shown for my user account). Some things I tried:
folder
- correctly opens the carts dir
save
gives the error "failed to save"
save abc
- no error, but no cart in the folder
export abc.pb
- same as above
export .png
- same as above
I haven't tried restart or anything like for now in case there's some debugging I could do to help fix any possible bugs. There's other things I can work on for now so let me know how I can help. Thanks!
MacBook Pro (15-inch, 2018)
Monterery 12.2.1 (21D62)
Model Name: MacBook Pro
Model Identifier: MacBookPro15,1
Processor Name: 6-Core Intel Core i9
Processor Speed: 2.9 GHz
Number of Processors: 1
Total Number of Cores: 6
L2 Cache (per Core): 256 KB
L3 Cache: 12 MB
Hyper-Threading Technology: Enabled
Memory: 32 GB
There are a handful in there with the last being May 5th.
Pico-8 might be working now for me though.
I actually deleted the cart I was working on (I manually saved the code though) while debugging in chat (to see if it would recreate it). Not sure if this is related to it working.
I wasn't planning to close the application but pressing the x button on it closed it (on Mac typically this would only hide it not close). When I reopened it I was able to save a cart again.
I'll report back if the issue comes back though. Wonder if it's my code :)
I like to always use the shutdown
command, so that I get prompted to save or cancel if I have changes
merwork, the issue is it wasn't saving regardless though. My habit is cmd+s, cmd+r so it wasn't a matter of me forgetting to save but something else stopping the data from being persisted.
I've had some weird issues, too. On a few rare occasions, I've done a cmnd-s save (mac), and it didn't work like normal. And, for some reason, about a month ago, it stopped saving regular backups.
[Please log in to post a comment]