Log In  

Is there anyway to create a folder in pico-8 then have that folder accessible on multiple devices using google drive? I am on at least three different computers a day and can work little by little on stuff and id love to have that option. Thanks for your time.

P#19346 2016-03-21 13:58 ( Edited 2016-03-22 15:08)

2

Yes, you can change where the carts are kept on disk. If you change it to be inside your Drive folder, it will sync the contents.

To do this:

  • open your configuration file (see the "Configuration" section of the Manual for the location.)
  • Find the root_path setting, and make note of where it is set to now.
  • Move that folder to within your Drive folder.
  • Change the root_path setting to be match the new location in your Drive folder.
  • Restart Pico-8 and confirm that you can still see your carts with dir

You can do the same thing for the cdata_pathproperty so that your save states will transfer between computers.

This transitions nicely into other source code management tools like git, etc.

Happy hacking!

P#19349 2016-03-21 16:42 ( Edited 2016-03-21 20:42)

Okay, I really appreciate the time you took to lay out everything in steps for me. When you say replace it with the new google drive path do you mean the actual html link. I tried that and it creates the test in the normal folder but not in the google drive folder.

P#19353 2016-03-21 22:22 ( Edited 2016-03-22 02:22)

Ah, I assumed that you had already set up Google Drive for Mac or Google Drive for Windows, giving you a folder on your hard drive that is automatically synced to the cloud. If you had that installed on all of your computers, it would do the heavy lifting of keeping them all in sync.

You can get the desktop app here: https://www.google.com/drive/download/ Follow the instructions, sign in with your Google account, and it will show you your Google Drive contents on your hard drive.

On a Mac, that puts the Google Drive folder here: /Users/<username>/Google Drive. Following the prior instructions, you might move the carts directory here: /Users/<username>/Google Drive/pico-8/carts. When you change the Pico-8 config to match, Google Drive can sync your carts and Pico-8 can find them. Win win!

P#19358 2016-03-22 08:41 ( Edited 2016-03-22 12:41)

Thanks adaparadise! I did have the desktop app and tried it that way, Im not sure why nothing was saving to the drive. Im going to keep trying, maybe the folder has to be public or some other "sharing" property checked off.

P#19359 2016-03-22 09:18 ( Edited 2016-03-22 13:18)

I do it this way also, so let me know if you need any more specific help. I got sick of having different versions on my laptop and desktop.

P#19360 2016-03-22 11:08 ( Edited 2016-03-22 15:08)

Does anyone know if there's a way to do this in Chrome OS? From my laptop I managed to set the root folder for Pico-8 to a folder in Gdrive, following the process described here. I would like to do the same for the Chromebook I'm using, but I can't do the same basically for two reasons:
1- I can't move Pico-8/cards folder in the chromeos file system.
2- even if I can edit config.txt, the Gdrive app in the chromebook only gives me link to folders in the https://drive.google.com/drive..etc form, that don't seem to work.

Does anyone have an idea of how to do it, and if it's possible?
thanks!

P#112728 2022-06-04 15:14

How did you even access the carts folder on Chromebook?
I've never been able to find it; the closest I've gotten is when I used the "folder" command, but that opened in vs code. Where do I go to find it?

P#115305 2022-08-06 07:27

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-08-13 20:39:58 | 0.005s | Q:17