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

@psicolabile -- I haven't tried but you could either:

  1. Use an Android app called FolderSync ( https://play.google.com/store/apps/details?id=dk.tacit.android.foldersync.full ) to sync a local folder with a folder on Google Drive (or any services supported by the app)
  2. If you have a NAS at home, install Syncthing (Synology NAS has a community package) on both your NAS and Chromebook, and let Syncthing handle sync'ing data from your Chromebook to the NAS and the NAS can handle sync'ing data from NAS to Google Drive

I plan to use the 2nd use case so that I can sync pico-8 files / favorite created by SPLORE on my devices. I need to first figure out the exact files / folder SPLORE writes to, though.

P#141132 2024-02-05 06:46 ( Edited 2024-02-05 15:40)
1

thank you @dkwo for your answer!
I will try the 1st solution, since I don't have a NAS at home. It seems promising, I guess it should work. ;-)

P#141134 2024-02-05 07:54

@psicolabile -- cool. (-; I used FolderSync long ago for syncing some specific files from my phone (where I don't have access to Linux) to my NAS, the app was pretty reliable.

P#141150 2024-02-05 15:48

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 18:31:17 | 0.049s | Q:25