USING GOOGLE DRIVE WITH JKSV CURRENTLY REQUIRES BUILDING IT YOURSELF. I AM VERY BUSY LATELY AND THINGS WILL ONLY GET FINISHED WHEN I HAVE TIME. Thanks, sorry for yelling.
NOTE: As of Feb 2023, JKSV now uses the JSON downloaded from Google directly instead of editing JKSV's configuration file.
Google only allows unverified apps to have up to 100 test users. Not only would this limit be filled within minutes, but each user has to manually added. People have been asking for some kind of cloud support since I wrote JKSM on 3DS and this is my way to support it while getting around Google's restrictions.
Note: Due to Google's restrictions on unverified apps, you will be required to login once every seven days. There is nothing I can do about this at the moment.
- Go to https://console.cloud.google.com/cloud-resource-manager, if this is your first time, accept the terms and you should now have the dashboard in front of you.
- Click
CREATE PROJECT
on the next screen. - On the next screen name your project JKSV. Organization is not required. Click create.
- Give it a few seconds and the project should be created.
- In the top left corner of your screen, click the navigation menu to the left of where it says Google Cloud. Find Enabled APIs and services. You may need to refresh the page if it doesn't update automatically to continue.
- Double check at this point to make 100% sure JKSV is the active project just in case it is not.
- Once the dashboard loads, click +ENABLE APIS AND SERVICES.
- Scroll down a little and find Google Drive API under Google Workspace.
- Click on it and click Enable on the next screen.
- On the next screen, Google should be informing you that you need to create credentials in order to use Drive. Click Create Credentials.
- Under Which API are you using?, find Cloud Storage API. Under What data will you be accessing?, select User data. Click Next.
- Fill out the following screen. Save and continue.
- Click Add or Remove Scopes.
- Find .../auth/drive in the API list, select it, and click update. Save and Continue.
- At this point you should be at a section named OAuth Client ID. Select Desktop app, name it JKSV and click Create.
- Download the credentials saved in JSON format for later. Click Done.
- Next, open the navigation menu in the top left again. Go down to APIs and Services and click on OAuth consent screen.
- Scroll down to the section named Test users. Add yourself as a test user. This concludes the Google side of things.
- Next, find the JSON file you downloaded earlier. Copy it or send it via FTP to the following folder on your SD Card:
SD:/config/JKSV/
- The next time you start JKSV on your Switch, you should be prompted to login to Google via the Switch's web browser. Ta-da!
NOTE: If you have GDrive configured (via JSON), it takes preference over WebDav
- Create a file
webdav.json
with the following content:{ "origin": "https://your-webdav-server", "basepath": "optional-base-path", "username": "testuser", "password": "testpassword" }
origin
(mandatory): protocol + serveraddress + (optional port), e.g.https://your-webdav-server
orhttp://localhost:8080
- No trailing slashbasepath
(optional): e.g.dir
,dir/subdir
must exist beforehand - No leading AND trailing slashusername
(optional): username, if server uses credentialspassword
(optional): username, if server uses credentials
- Copy file to following folder on your card
SD:/config/JKSV/
- The next time you start JKSV on your Switch, you should get a popup about the Webdav status
- If problems arise, check the log at
SD:/JKSV/log.txt