It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I wanted to complete my backup of the library and I am not sure the current HDD I am using has enough space. Taking note manually of all file sizes would take me longer than I'd like, mainly because it will remind me of how much I spent in all the games :P

Just installers + current patches would be enough, but including all goodies would be nice.

Do you think Barefoot Essentials or another extension/script could have that capacity added if we asked the developers? (I don't use any right now and have only superficially read what each can do)
This question / problem has been solved by adaliabooksimage
avatar
Links: I wanted to complete my backup of the library and I am not sure the current HDD I am using has enough space. Taking note manually of all file sizes would take me longer than I'd like, mainly because it will remind me of how much I spent in all the games :P

Just installers + current patches would be enough, but including all goodies would be nice.

Do you think Barefoot Essentials or another extension/script could have that capacity added if we asked the developers? (I don't use any right now and have only superficially read what each can do)
It should technically be possible I suppose to go through all the items in the library and give you a total size...
But gogrepo already does this (I think) though I'm not sure of the ins and outs as I don't use it.
Thanks for bringing gogrepo to my attention. I think it would be possible to do a dryrun as documented and get the estimated download size, but installing Python + necessary lib requirements is a bit much. If there is no other option, I will probably do it soon anyway.
avatar
Links: Thanks for bringing gogrepo to my attention. I think it would be possible to do a dryrun as documented and get the estimated download size, but installing Python + necessary lib requirements is a bit much. If there is no other option, I will probably do it soon anyway.
I can have a look into adding a library size calculator to my script, but can't really make any promises on when it might materialise...

Let me have a look tonight at how difficult it would be and I'll go from there.
avatar
Links: ... Just installers + current patches would be enough, but including all goodies would be nice. ...
gogrepo.py (https://github.com/eddie3/gogrepo) gets the size of the downloads and the goodies but I'm not sure where it stores them or if it is displayed at all. You might have to modify it by yourself before.
Ok, a quick look at the library suggests it wouldn't be trivial to do as the information is only on the second layer (when you click on the game on the shelf) and would require an AJAX call for each game, which would soon probably crash the system if you have over 100 - 200 games...

But there may be other ways to do it.
Have you looked at MaGog? You can import your owned games into it and could then display a list of them, adding them with a script would be far easier that way. Not sure if it's more or less hassle than gogrepo would be though...
high rated
Edit: It's been pointed out there is a simpler method than my original script, which I've added below:

You need to:

1. Go to here and follow instructions to upload games list to magog.
2. Then go here and set these options:
- under filters select 'My Tags' -> 'is any of' -> 'owned' for the only row.
- make sure 'File Size' is ticked under Display just below (you can tick or untick as many other boxes as you want, just make sure that one is set).
3. Select "Search" and in the very end of the list you will see the TOTAL size of your library.

Credit: Adaliabooks, HunchBluntley, Lin545 (for the instruction s)
And, most of all, mrkgnao. :)

*****
Original post maintained for posterity.
This is an imperfect method, as it only gets (what I believe is) the size listed on the game page for the install rather than the actual size of the installers / patches and doesn't include extras, but it's at least a rough estimate and somewhere to start from.

So, first step is to go here and follow the instructions.
This will import your owned games on to MaGog (also your wishlisted games, but that's not important for this).

Then go here.
Under filters select 'My Tags', 'is any of' and 'owned' for the only row.
Make sure 'File Size' is ticked under Display (you can tick or untick as many other boxes as you want, just make sure that one is set)
And in the Options section change Output Format to JSON.
You could output this as HTML and do it manually (it does include all the sizes for the bonuses etc. too), unfortunately the formatting doesn't lend itself to scraping easily.

Otherwise, once on the JSON output page, run this script from your browser's console. It should give you an output in MB of the size of your library.

var searchResult = JSON.parse(document.body.innerText);
var array = searchResult['magog_search_results'];
var librarySize = 0;
for (var i = 0; i < array.length; i++)
{
librarySize += array[i]["file_size_mb"];
}
console.log(librarySize + " mb");
Post edited December 14, 2016 by adaliabooks
If you have the games on your HDD, just explore to the GoG Games folder (or wherever they are) right click on the folder and click on "properties". That will tell you the size of the installed version. If you have the installers in a seperate file like me, (I shift all my installers from "downloads" to "GoG Installers") do the same with that to get the filesize of all installers.

If you don't have all the installers on HDD, have a look at the GoG page for the game. That usually has download size and in the System Reqs, usually a filesize reqd on HDD for the installed version. Depending on how many games that may take a while.

I have noticed that for most of my games the decompresion is approx 25% less than full install, so you could use the first method above and calculate it down for a fair estimate.

You wouldn't want it too close to full HDD size anyway, to allow for any future games to be added.
avatar
adaliabooks: ....
This worked for me (Linux/Fx) and its seriously awesome! Thank you!

Edit: Actually no. I've seem to have calculated the size of YOUR library, adalia. (edited out the personal details)
Post edited December 14, 2016 by Lin545
avatar
adaliabooks: ....
avatar
Lin545: This worked for me (Linux/Fx) and its seriously awesome! Thank you!
Glad it worked, it's very quick and dirty and probably not 100% accurate, but at least it gives you a ball park of how much space / how big a HDD you need.

I might try working out something better, or maybe ask mrkgnao if he can add an extra class to the MaGog HTML output of the sizes to make it easier to scrape and parse, but it should do for now.
avatar
adaliabooks: ...
Edit bump, please see my post above. Unfortunately it didn't calculate my library.
avatar
adaliabooks: ...
avatar
Lin545: Edit bump, please see my post above. Unfortunately it didn't calculate my library.
Damn, MaGog's links must be static then, I assumed it might give you the output based on the your Tags.

Let me edit the instructions to just perform the search manually then.

Edit: Ok, I've edited the instructions to just tell you what to search for on MaGog.
Post edited December 14, 2016 by adaliabooks
avatar
adaliabooks: Damn, MaGog's links must be static then, I assumed it might give you the output based on the your Tags.

Let me edit the instructions to just perform the search manually then.
Retracted, since updated method is even simpler. Thanks Adalia!!
Post edited December 14, 2016 by Lin545
avatar
Links: Just installers + current patches would be enough, but including all goodies would be nice.
Ok, but for which OSes (Windows, Mac, Linux) and which languages? The difference can be quite huge if you want to download only e.g. English Windows versions of games, or also additional languages and/or OS versions on top of those.

Either way, I suggest you try out gogrepo.py. When you start the actual download of your games/extras with gogrepo, it will tell you right at the start how much exactly is still to be downloaded (total), which is the figure you're after. You can cancel the download right there if your intention was not to download your games but just to see how much space they will take.

https://www.gog.com/forum/general/gogrepopy_python_script_for_regularly_backing_up_your_purchased_gog_collection_for_full_offline_e/page1

EDIT: Actually there is also the option to use "-dryrun" with the download command so that gogrepo will only simulate downloading, without actually downloading anything. That should also give you the figure I believe, without any actual downloading taking place.
Post edited December 14, 2016 by timppu
avatar
Trilarion: gogrepo.py (https://github.com/eddie3/gogrepo) gets the size of the downloads and the goodies but I'm not sure where it stores them or if it is displayed at all.
It constantly displays it right on the screen how much data is still to be downloaded total. So just start "gogrepo.py download -dryrun" and cancel it with Ctrl-C, and you have the figure on the screen.

(Of course you have to run full "gogrepo.py update" before the downloading, in order to first get all your GOG game file details into the manifest file. And after that run "gogrepo.py download -dryrun".)
Post edited December 14, 2016 by timppu