Homebrew RELEASE LGMA (Use Google Drive with DZ to download your games)

Miqote

Well-Known Member
OP
Member
Joined
May 2, 2018
Messages
259
Trophies
0
XP
822
Country
Macedonia, The Former Yugoslav Republic of
This POC (Proof of Concept) will allow you to access your Google Drive via DZ without any other software on your computer, and will work for -all- versions of Google Drive (Student/Unlimited/Business, etc). A GUI version is also completed but doesn't work due to the library not working in .NET Standard right now. When it's fixed, I'll release a GUI version.

This also should theoretically work on Linux via dotnet and the included DLL, but I haven't tested it personally. YMMV.

Setup:
  1. Complete the first step here (https://developers.google.com/drive/api/v3/quickstart/python) and rename that file to "client_id.json".
  2. Extract the ZIP from releases and put the "client_id.json" with wherever you extracted them.
  3. Open LGMA.exe and follow the directions. You will receive a pop-up in your browser to link your email to the Application you created in the first step. This will only happen once.
  4. Add a new entry to your switch/dz/locations.conf as shown in the program
  5. Open DZ and it should show up there.
Screenshots:
oNHVgQe.png


Source:
https://github.com/Aida-Enna/LGMAConsole
 
Last edited by Miqote,

GarnetSunset

Well-Known Member
Member
Joined
Apr 27, 2017
Messages
213
Trophies
0
Age
34
XP
1,475
Country
United States
Ligma balls bitch

jk this is awesome

--------------------- MERGED ---------------------------

@Miqote hmm idk if its just me but the release posted gives me an error:

Code:
An assembly specified in the application dependencies manifest (LGMA.deps.json) was not found:
    package: 'DotNet.Glob', version: '2.0.0'
    path: 'lib/netstandard1.1/DotNet.Glob.dll'
 

Miqote

Well-Known Member
OP
Member
Joined
May 2, 2018
Messages
259
Trophies
0
XP
822
Country
Macedonia, The Former Yugoslav Republic of
Ligma balls bitch

jk this is awesome

--------------------- MERGED ---------------------------

@Miqote hmm idk if its just me but the release posted gives me an error:

Code:
An assembly specified in the application dependencies manifest (LGMA.deps.json) was not found:
    package: 'DotNet.Glob', version: '2.0.0'
    path: 'lib/netstandard1.1/DotNet.Glob.dll'

Ughhhhhh, .NET Core. Thanks, I'll fix it in a sec. Second release is live, should fix the issue. Unfortunately, it also jumped the filesize from 500KB to 29MB. #JustNetCoreThings
 
Last edited by Miqote,
  • Like
Reactions: GarnetSunset

Ericthegreat

Not New Member
Member
Joined
Nov 8, 2008
Messages
3,455
Trophies
2
Location
Vana'diel
XP
4,288
Country
United States
This POC (Proof of Concept) will allow you to access your Google Drive via DZ without any other software on your computer, and will work for -all- versions of Google Drive (Student/Unlimited/Business, etc). A GUI version is also completed but doesn't work due to the library not working in .NET Standard right now. When it's fixed, I'll release a GUI version.

This also should theoretically work on Linux via dotnet and the included DLL, but I haven't tested it personally. YMMV.

Setup:
  1. Complete the first step here (https://developers.google.com/drive/api/v3/quickstart/python) and rename that file to "client_id.json".
  2. Extract the ZIP from releases and put the "client_id.json" with wherever you extracted them.
  3. Open LGMA.exe and follow the directions. You will receive a pop-up in your browser to link your email to the Application you created in the first step. This will only happen once.
  4. Add a new entry to your switch/dz/locations.conf as shown in the program
  5. Open DZ and it should show up there.
Screenshots:
oNHVgQe.png


Source:
https://github.com/Aida-Enna/LGMAConsole
Should be able to make a nice React/Electron app/web app with this.
 
  • Like
Reactions: Olmectron

Miqote

Well-Known Member
OP
Member
Joined
May 2, 2018
Messages
259
Trophies
0
XP
822
Country
Macedonia, The Former Yugoslav Republic of
Will this only work with your own personal Gdrive? Or can someone else's drive that is set to public
It will only allow you to access the contents of the Google Drive you own - So whatever you see in http://drive.google.com.

I don't believe it works with "Shared with Me", but I'll see if I can get the API to let me do that too.
 
Last edited by Miqote,

Miqote

Well-Known Member
OP
Member
Joined
May 2, 2018
Messages
259
Trophies
0
XP
822
Country
Macedonia, The Former Yugoslav Republic of
It will only allow you to access the contents of the Google Drive you own - So whatever you see in http://drive.google.com.

I don't believe it works with "Shared with Me", but I'll see if I can get the API to let me do that too.

Actually it apparently is possible and I was able to get it half working as a POC. I've made an issue here asking for support and hopefully they'll put it in. https://github.com/FubarDevelopment/FtpServer/issues/40 If not, I can try to do it myself but that'll be a gigantic pain, but worth it.

Would it be possible to do this with MEGA.nz as well? That’s where I store all my nsp files

I'm not sure offhand, but doesn't MEGA cap you at like 5GB each hour?
 

Ericthegreat

Not New Member
Member
Joined
Nov 8, 2008
Messages
3,455
Trophies
2
Location
Vana'diel
XP
4,288
Country
United States
It will only allow you to access the contents of the Google Drive you own - So whatever you see in http://drive.google.com.

I don't believe it works with "Shared with Me", but I'll see if I can get the API to let me do that too.
But then you run into "too many downloads" issues, best for ppl to copy to their drive.
 
  • Like
Reactions: Bst22322

Bst22322

Active Member
Newcomer
Joined
Jul 24, 2018
Messages
38
Trophies
0
XP
618
Country
United States
Hmm ive seen some google drive accounts still open but youre probably right on the long run.
Anyways its still good if we can do it for the moment
Hey very good point that I obviously overlooked. Seems unnecessary as the links would reach download quota so fast...I'll gladly make a copy into my personal drive to save the storage space
 

nero99

Well-Known Member
Member
Joined
Sep 18, 2014
Messages
3,135
Trophies
1
Age
31
XP
3,729
Country
United States
Actually it apparently is possible and I was able to get it half working as a POC. I've made an issue here asking for support and hopefully they'll put it in. https://github.com/FubarDevelopment/FtpServer/issues/40 If not, I can try to do it myself but that'll be a gigantic pain, but worth it.



I'm not sure offhand, but doesn't MEGA cap you at like 5GB each hour?
it does if you're a free user. I have a yearly subscription to them, so I basically have no data cap for downloading
 

PatrickJr

Well-Known Member
Member
Joined
Jan 5, 2017
Messages
270
Trophies
0
Age
33
Location
Bridgwater
Website
grimtech.co.uk
XP
752
Country
It will only allow you to access the contents of the Google Drive you own - So whatever you see in http://drive.google.com.

I don't believe it works with "Shared with Me", but I'll see if I can get the API to let me do that too.

if you add files to your drive from someone else, it works fine. from time to time.
 

SonyUSA

We're all mad here
Editorial Team
Joined
May 12, 2006
Messages
1,780
Trophies
2
XP
5,625
Country
United States
God damnit, I JUST got finishing packing up a customized rclone package for everyone to do this same thing xD Yours looks easier to use though, thanks... lol

--------------------- MERGED ---------------------------

P.S.

If you see "something you like" in someone else's Google Drive, right-click it (ctrl click for multiple) and choose "copy/add to my drive" and when the little popup appears click "organize" and you can send it to whatever folder you want.

--------------------- MERGED ---------------------------

For a second, I thought this was a joke because of the name. Lol.

nut server, dz app, lgma app... get it? :P
 
  • Like
Reactions: Spadezilla

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    @SylverReZ, RC Pro AM was made by Rare, and that explains why I liked it. Just learned the other day about a game I loved that was made by Rare and I was surprised lol
  • K3Nv2 @ K3Nv2:
    I was playing need for speed remastered and said to myself this is a nice Forza remaster
  • Psionic Roshambo @ Psionic Roshambo:
    https://en.wikipedia.org/wiki/List_of_video_games_developed_by_Rare Not all of them are awesome but man the hits on that list.
  • Psionic Roshambo @ Psionic Roshambo:
    Oh snap Super Offroad was by them too? lol damn
    +1
  • BakerMan @ BakerMan:
    Today I learned that the creators of the Donkey Kong games also made Sea of Thieves
  • BakerMan @ BakerMan:
    why do i feel the sudden urge to start singing pirate's scorn from the donkey kong country cartoon?
  • BigOnYa @ BigOnYa:
    Are you being for real, cause that's hard to believe, DK is Nintendo and made in japan, Sea of thieves was from Microsoft, in America. I'm not calling you a liar, just didn't know.
  • BigOnYa @ BigOnYa:
    Ok yes they were both made by Rare, but DK was from Rare back then, Rare now is owned by MS. So makes since.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    They even developed a LJN game.... lol
  • K3Nv2 @ K3Nv2:
    It was pretty rare
  • Psionic Roshambo @ Psionic Roshambo:
    I wonder what deal with Satan LJN worked to get Rare to make that one...
  • BigOnYa @ BigOnYa:
    I remember couple years ago, they announced they were working on a Perfect Dark remake, wonder what ever happen with that?
  • K3Nv2 @ K3Nv2:
    It went into the darkness
  • BigOnYa @ BigOnYa:
    Me and buddies used to play the hell out of Perfect Dark on N64, that and Goldeneye, was the first real PvP shooter games I remember
  • BigOnYa @ BigOnYa:
    4-way split screen on a tiny 19" TV, lol
  • K3Nv2 @ K3Nv2:
    Did you share joysticks also
  • BigOnYa @ BigOnYa:
    Nuh we had the 4 controller add on thingy for n64. Duh I just got your joke, lol
  • K3Nv2 @ K3Nv2:
    So you touched ends
  • BigOnYa @ BigOnYa:
    Yea, but being in the boy scouts, they forced us to
  • K3Nv2 @ K3Nv2:
    Chopped down some wood for the scout master
  • BigOnYa @ BigOnYa:
    Big Gay Al was our Scout leader.
  • BigOnYa @ BigOnYa:
    I was actually in the scouts for 1 week, til they assigned me homework, n I was like f this, and quit, I was like 10 yrs old. And no I didn't join the girl Scouts.
  • K3Nv2 @ K3Nv2:
    Was the homework about getting to know the scout leaders
  • BigOnYa @ BigOnYa:
    I had to memorize how to tell 15 different trees species, I think, been awhile
    BigOnYa @ BigOnYa: I had to memorize how to tell 15 different trees species, I think, been awhile