Posted July 15, 2022
SargonAelther: In gogrepoC, what is the default behaviour of Update commend without any parameters, except for -full in terms of OS and Language options?
Does it pick up all OSes and Languages by default, or do they NEED to be specified. If they need to be specified, is there a "record absolutely everything" command? I know we can specify OSes and Languages one by one, but there can be quite a few languages.
I haven't tried it, but here is my fallible understanding from reading the gogrepoc code. Does it pick up all OSes and Languages by default, or do they NEED to be specified. If they need to be specified, is there a "record absolutely everything" command? I know we can specify OSes and Languages one by one, but there can be quite a few languages.
If you use neither -os nor -skipos, the default is the operating system of the computer you are running gogrepoc on (and if that OS is not explicitly windows or linux or mac, it defaults to linux).
If you use use neither -lang nor -skiplang, the default is the system language of the computer you are running gogrepoc on (and if that language is not one of those supported by gogrepoc, it defaults to English).
The languages supported by gogrepoc are:
LANG_TABLE = {'en': u'English', # English
'bl': u'\u0431\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438', # Bulgarian
'ru': u'\u0440\u0443\u0441\u0441\u043a\u0438\u0439', # Russian
'gk': u'\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac', # Greek
'sb': u'\u0421\u0440\u043f\u0441\u043a\u0430', # Serbian
'ar': u'\u0627\u0644\u0639\u0631\u0628\u064a\u0629', # Arabic
'br': u'Portugu\xeas do Brasil', # Brazilian Portuguese
'jp': u'\u65e5\u672c\u8a9e', # Japanese
'ko': u'\ud55c\uad6d\uc5b4', # Korean
'fr': u'fran\xe7ais', # French
'cn': u'\u4e2d\u6587', # Chinese
'cz': u'\u010desk\xfd', # Czech
'hu': u'magyar', # Hungarian
'pt': u'portugu\xeas', # Portuguese
'tr': u'T\xfcrk\xe7e', # Turkish
'sk': u'slovensk\xfd', # Slovak
'nl': u'nederlands', # Dutch
'ro': u'rom\xe2n\u0103', # Romanian
'es': u'espa\xf1ol', # Spanish
'pl': u'polski', # Polish
'it': u'italiano', # Italian
'de': u'Deutsch', # German
'da': u'Dansk', # Danish
'sv': u'svenska', # Swedish
'fi': u'Suomi', # Finnish
'no': u'norsk', # Norsk
}
Note that this list was created manually, so if new languages are added to GOG, it could be a problem, as there is really no easy way for Kalanyr (or anyone) to identify this, now that MaGog is gone. For example, I just checked MaGog's list of languages that at least one game had installers for (in late 2020), and it contained languages such as Hebrew, Catalan, and Ukrainian, that I don't see on gogrepoc's list.
I'm not aware of an "all languages" or an "all oses" option, but if you just pick a nonsense value, like "xx", and use it with -skipos and -skiplang (e.g. -skipos xx -skiplang xx), you should get all three oses and all the languages listed above (but not languages gogrepoc is unaware of, as mentioned before).
Post edited July 15, 2022 by mrkgnao