Commit 24ed8a2b authored by Alexandre Detiste's avatar Alexandre Detiste

DotEmu is closing, remove all references

http://www.dotemu.com/the-dotemu-online-store-is-closing/
parent 7bbd59ba
......@@ -10,8 +10,6 @@ packages:
gog:
url: gobliiins_pack
game: gobliiins
dotemu:
id: 25
provides: gobliiins-data
install:
- gob.lic
......
......@@ -13,8 +13,6 @@ packages:
gog:
url: gobliiins_pack
game: gobliins_2_the_prince_buffoon
dotemu:
id: 25
install:
- intro.stk
- gobnew.lic
......
......@@ -8,13 +8,6 @@ copyright: © 1993 Coktel Vision
missing_langs: [es,pl]
help_text: |
DotEmu claims to sell a Spanish & Polish version of this game too.
Please provide the output of
$ game-data-packager make-template <path>
if you own these translations.
packages:
goblins3-floppy-data:
longname: "Goblins Quest 3 (floppy)"
......@@ -30,8 +23,6 @@ packages:
gog:
url: gobliiins_pack
game: goblins_quest_3
dotemu:
id: 25
install:
- ext.stk
- imd.itk
......@@ -51,8 +42,6 @@ packages:
gog:
url: gobliiins_pack
game: goblins_quest_3
dotemu:
id: 25
install:
- ext.stk
- imd.itk
......@@ -72,8 +61,6 @@ packages:
gog:
url: gobliiins_pack
game: goblins_quest_3
dotemu:
id: 25
install:
- ext.stk
- imd.itk
......@@ -93,8 +80,6 @@ packages:
gog:
url: gobliiins_pack
game: goblins_quest_3
dotemu:
id: 25
install:
- ext.stk
- imd.itk
......
......@@ -19,8 +19,6 @@ packages:
native: true
gog:
url: the_7th_guest
dotemu:
id: 2788
install:
- at.gjd
- assets
......
......@@ -9,8 +9,6 @@ steam:
id: 356210
path: common/TonyTough
native: true
dotemu:
id: 4602
packages:
tony-tough-en-data:
......
......@@ -17,6 +17,7 @@ game-data-packager (50) UNRELEASED; urgency=medium
- Ensure that bsdtar/rpmbuild are present
before attempting to build Arch/RPM packages [adetiste]
- Bash completion: add --target-format & --target-distro [adetiste]
- DotEmu online store is closing, remove all references [adetiste]
* Internal changes:
- Fix typo in TODO [nyav] (Closes: #857880)
- Use locale 'C.UTF-8' instead of 'C' in Makefile,
......
......@@ -160,15 +160,6 @@ with these keys:
Use the `url_misc` top-level key for Origin download URLs: see
`data/syndicate.yaml` and `data/theme-hospital.yaml` for examples.
#### dotemu games
Similar to Steam, games sold on dotemu can have a mapping named `dotemu`
with these keys:
* `id`: the numeric identifier of the game
* `pp`: an affiliate ID, typically used to donate to a relevant game engine
(if not specified, g-d-p will use ScummVM's affiliate ID)
### Step 2: required files for the `.deb`
#### things to include in the template package
......
......@@ -109,13 +109,11 @@ class GameData(object):
# online stores metadata
self.steam = {}
self.gog = {}
self.dotemu = {}
self.origin = {}
# full url of online game shops
self.url_steam = None
self.url_gog = None
self.url_dotemu = None
self.url_misc = None
self.data = data
......@@ -131,7 +129,7 @@ class GameData(object):
for k in ('longname', 'copyright', 'compression', 'help_text', 'disks', 'fanmade',
'engine', 'genre', 'missing_langs', 'franchise', 'wiki', 'wikibase',
'steam', 'gog', 'dotemu', 'origin', 'url_misc', 'wikipedia',
'steam', 'gog', 'origin', 'url_misc', 'wikipedia',
'binary_executables', 'copyright_notice'):
if k in self.data:
setattr(self, k, self.data[k])
......@@ -262,16 +260,12 @@ class GameData(object):
gog_url = self.gog.get('url')
gog_pp = '22d200f8670dbdb3e253a90eee5098477c95c23d' # ScummVM
steam_id = {self.steam.get('id')}
dotemu_id = self.dotemu.get('id')
dotemu_pp = '32202' # ScummVM
for p in sorted(self.packages.keys(), reverse=True):
package = self.packages[p]
if package.gog:
gog_url = package.gog.get('url', gog_url)
gog_pp = package.gog.get('pp', gog_pp)
steam_id.add(package.steam.get('id'))
dotemu_id = package.dotemu.get('id', dotemu_id)
dotemu_pp = package.dotemu.get('pp', dotemu_pp)
if package.url_misc:
self.url_misc = package.url_misc
steam_id.discard(None)
......@@ -279,9 +273,6 @@ class GameData(object):
self.url_steam = 'http://store.steampowered.com/app/%s/' % min(steam_id)
if gog_url:
self.url_gog = 'http://www.gog.com/game/' + gog_url + '?pp=' + gog_pp
if dotemu_id:
self.url_dotemu = 'http://www.dotemu.com/affiliate/%s/node/%d' % (
dotemu_pp, dotemu_id)
def edit_help_text(self):
help_text = ''
......@@ -332,8 +323,6 @@ class GameData(object):
www.append(self.url_steam)
if self.url_gog and '://www.gog.com/' not in self.help_text:
www.append(self.url_gog)
if self.url_dotemu:
www.append(self.url_dotemu)
if self.url_misc:
www.append(self.url_misc)
if www:
......
......@@ -479,7 +479,6 @@ class Package(object):
# online stores metadata
self.steam = {}
self.gog = {}
self.dotemu = {}
self.origin = {}
self.url_misc = None
......@@ -537,7 +536,6 @@ class Package(object):
'copyright_notice',
'description',
'disks',
'dotemu',
'empty',
'engine',
'expansion_for',
......@@ -746,7 +744,6 @@ class Package(object):
'aliases',
'better_versions',
'demo_for',
'dotemu',
'gog',
'origin',
'rip_cd',
......
......@@ -74,7 +74,6 @@ for name, game in load_games().items():
stats['url_wikipedia'] = game.wikipedia
stats['url_steam'] = game.url_steam
stats['url_gog'] = game.url_gog
stats['url_dotemu'] = game.url_dotemu
stats['url_misc'] = game.url_misc
for l in game.missing_langs:
if l not in langs:
......@@ -170,7 +169,6 @@ for lang in langs_order:
html.write('''<td>Demo</td>
<td><a href="https://steamcommunity.com/groups/debian_gdp#curation">Steam</a></td>
<td><a href="https://www.gog.com/mix/games_supported_by_debians_gamedatapackager">GOG.com</a></td>
<td>DotEmu</td>
<td>Misc.</td></tr>
''')
......@@ -226,7 +224,7 @@ for game in games:
html.write(' <td>&nbsp;</td>\n')
if game.get('fullfree', False):
html.write(' <td colspan=5 align=center%s><b>freeload</b></td>\n' % css)
html.write(' <td colspan=4 align=center%s><b>freeload</b></td>\n' % css)
else:
if 'demos' in game:
demos += game['demos']
......@@ -235,7 +233,7 @@ for game in games:
html.write(' <td align=center><b>X</b></td>\n')
else:
html.write(' <td>&nbsp;</td>\n')
for url in ('url_steam', 'url_gog', 'url_dotemu', 'url_misc'):
for url in ('url_steam', 'url_gog', 'url_misc'):
if url in game and game[url]:
html.write(' <td align=center%s><a href="%s"><b>X</b></a></td>\n' % (css, game[url]))
else:
......@@ -243,7 +241,7 @@ for game in games:
html.write('</tr>\n')
# TOTAL
html.write('<tr><td colspan=4><b>Total</b></td>\n')
html.write('<tr><td colspan=3><b>Total</b></td>\n')
for lang in langs_order:
html.write(' <td><b>%i</b></td>\n' % langs[lang])
......
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