Log In  
Follow
kbatdorf
[ :: Read More :: ]

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:

  1. Did some work last night
  2. 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.
  3. Made a few more changes
  4. Saved without realizing it wasn't saving (maybe I just didn't see the error message)
  5. Closed pico-8 and went to sleep
  6. Woke up today and noticed code was missing the edits (small clunky feature implementation so wasn't worried)
  7. Write some new code - still not realizing it wasn't saving when I pressed CMD+s
  8. 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

P#111468 2022-05-07 17:29