Log In  

I accidentally clicked out of Pico 8 without saving my changes to my game. I found the back up file, how can I restore it?
Thank you.

P#55679 2018-08-25 15:57 ( Edited 2018-08-25 21:51)

Transfer the BACKUP file to the area where your standard programs are loaded.

Then in the PICO-8 IDE, type out "LOAD [name]" followed by the backup name, which, for instance, might be something like, "44572."

Let me know if you have difficulties because there's another more complex way to retrieve your unsaved .P8 file.

P#55681 2018-08-25 16:06 ( Edited 2018-08-25 20:06)

Thank you so much, it worked! This saved me a lot of frustration.
Thanks again :]

P#55682 2018-08-25 16:07 ( Edited 2018-08-25 20:07)

Glad to help !

If it's an important project, save about every hour, you can even attach a date or marker on the end of the file:

"mywork-adding-shooter-08-25-18" or something. This may seem redundant but if you ever get in a fix, and I have, you can resort to your backup from a day or a few hours ago.

Good luck !

P#55684 2018-08-25 16:12 ( Edited 2018-08-25 20:12)
1

And of course, use version control. I usually set up a new git repo for every new project, and make a symlink to the versioned file inside the carts folder.

P#55687 2018-08-25 17:51 ( Edited 2018-08-25 21:51)

hi
i was doing a school project on pico 8 and then forget to save it. I then closed off the tab and now I realized that I didn't save it, or give it a title. What can I do?

P#77639 2020-06-04 07:39

Find the directory where the config file lives (for me it’s $HOME/.lexaloffle/pico-8) and look inside the 'backup' directory. You should see all the files you have edited there, with date and time added to the filenames.

P#77678 2020-06-04 17:30

What @merwok said, but I'll offer an easy way to find the backup folder on pretty much every OS:

By default, the "backup" folder and the "carts" folder are both in PICO-8's user data folder.

If you type "folder" at any PICO-8 command prompt, it should pop up an OS file-exploring window set to the "pico-8/carts" folder, so from there you just go up one level and you should see the "backup" folder right there.

The "yyyymmdd_hhmmss_untitled.p8" file with the latest timestamp in the name is what you'd want in this case:

[+] ???
 └─[+] pico-8
    ├─[+] backup
    │  ├──── 20200526_135126_mycart.p8
    │  ├──── 20200527_093707_mycart.p8
    │  ├──── 20200529_111940_mycart.p8
    │  └──── 20200605_154459_untitled.p8  <- the latest one
    └─[+] carts
       └──── mycart.p8

(Love that "folder" command, btw, @zep. Stroke of genius, tbh.)

P#77705 2020-06-05 15:59 ( Edited 2020-06-05 16:22)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-04-18 01:57:41 | 0.018s | Q:24