Upgrading to GitLab 12.0.2.

Commit ef8a9bc6 authored by Alexandre Detiste's avatar Alexandre Detiste

GOG metadata: manual fixes + enhanced monitoring

1) add integrity check between presence of 'gog:'  tags
 & 'setup_*.exe' archives

2) disable GOG.com reference for Duke Nukem 3D:
 https://www.gog.com/news/weekly_staff_picks_farewell_for_now_duke

3) catch up with changes in
    http://wiki.scummvm.org/index.php?title=Where_to_get_the_games&action=history

   add GOG id's for an handful of new games:
   - Freddy Pharkas
   - Iceman
   - Indiana Jones & The Last Crusade
   - Laura Bow 1 & 2

4) add other missing games to GOG.com wishlist, this also includes:
   - Baldur's Gate
   - Elder Scrolls III: Morrowind
   - Heroes of Might & Magic III

5) ... buy these games ... someday

Other game owners can also run 'GDP_UNINSTALLED=1 python3 -m tools.gog_updated'
and have a look a results.
parent 51cd6feb
......@@ -29,10 +29,10 @@ packages:
id: 225140
path: common/Duke Nukem 3D/gameroot/classic
native: true
gog:
url: duke_nukem_3d_atomic_edition
# banner at http://eduke32.com/
pp: 6c1e671f9af5b46d9c1a52067bdf0e53685674f7
#gog:
# url: duke_nukem_3d_atomic_edition
# # banner at http://eduke32.com/
# pp: 6c1e671f9af5b46d9c1a52067bdf0e53685674f7
url_misc: https://3drealms.com/catalog/duke-nukem-3d_27/
install:
- duke3d.grp
......
......@@ -7,6 +7,8 @@ wiki: Freddy_Pharkas
packages:
freddy-pharkas-cd-data:
version: '1.000'
gog:
url: freddy_pharkas_frontier_pharmacist
install:
- cd assets
- version
......
......@@ -7,6 +7,8 @@ wiki: "Codename:_ICEMAN"
packages:
iceman-data:
version: '1.023'
gog:
url: codename_iceman
install:
- assets
......
......@@ -15,6 +15,8 @@ packages:
id: 32310
path: "common/Indiana Jones and the Last Crusade"
#XXX: 00.lfl is included in "Indiana Jones and the Last Crusade.exe"
gog:
url: indiana_jones_and_the_last_crusade
install:
- 00.lfl
- 01.lfl
......
......@@ -5,25 +5,16 @@ copyright: © 1989 Sierra
plugin: scummvm_common
gameid: laurabow
wiki: Laura_Bow:_The_Colonel%27s_Bequest
gog:
url: the_colonels_bequest
packages:
laura-bow1-data:
install:
- resource.001
- resource.002
- resource.003
- resource.004
- resource.005
- resource.006
- resource.007
- resource.008
- resource.009
- resource.010
- resource.map
- script.052
- text.052
- assets
size_and_md5: |
groups:
assets: |
108032 77cffb45b8a42f9f498b7a2962c2ca2b resource.001
354680 4b05d2fea9ed95c8adc93e6abc5f3ace resource.002
361815 226ef90743178bcac84dc53b8059dc29 resource.003
......
......@@ -9,6 +9,8 @@ wiki: The_Dagger_of_Amon_Ra
packages:
laura-bow2-data:
version: '1.1'
gog:
url: the_colonels_bequest
optional:
# squareish picture, could be converted in a .png icon
- laurt.bmp
......
......@@ -36,14 +36,23 @@ def decode_filename(archive):
print('# Reading data from YAML...')
for name, game in load_games().items():
game.load_file_data()
has_tags = has_archive = False
for package in game.packages.values():
gog = package.gog or game.gog
if 'url' in gog:
has_tags = True
for filename,f in game.files.items():
if filename.startswith('setup_') and filename.endswith('.exe'):
has_archive = True
_, supported, version = decode_filename(filename)
if '.' not in version:
# ancient GOG packages
continue
if LooseVersion(version) > LooseVersion(yaml_files.get(supported, '0')):
yaml_files[supported] = version
if has_tags != has_archive:
print('GOG metadata not in sync for %s. (has_tags: %s, has_archive: %s)'
% (name, has_tags, has_archive))
print('# Reading data from LGOGDOWNLOADER...')
cache = os.path.expanduser('~/.cache/lgogdownloader/gamedetails.json')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment