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)

1

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)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-05-04 07:37:44 | 0.006s | Q:13