Skip to content

Commit

Permalink
Add Tomb Raider I-III Remastered detection (#66)
Browse files Browse the repository at this point in the history
Make controller.game detect the game directory called
"Tomb Raider I-III Remastered" for steam app ID 2478970. This game will
launch with the generic controller.mod, which is only tested implicitly
through tests for controller.bethesda.

I don't own this game so I haven't manually tested it.

If you have the file
`~/.local/share/ammo/Tomb\ Raider I\-III\ Remastered.json`
you will need to delete it or rename it in order for ammo to present the
automatically detected game rather than the game configured manually via
that file.
  • Loading branch information
cyberrumor committed Dec 14, 2024
1 parent 8d2c741 commit d4abbf4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ammo/controller/game.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,11 @@ class SteamGame:
id=1716740,
)

TombRaider_I_III_Remastered = SteamGame(
name="Tomb Raider I-III Remastered",
id=2478970,
)


class GameController(Controller):
"""
Expand All @@ -137,6 +142,7 @@ def __init__(self, args):
Skyrim,
SkyrimSpecialEdition,
Starfield,
TombRaider_I_III_Remastered,
]
self.downloads = self.args.downloads.resolve(strict=True)
self.games: list[GameSelection | BethesdaGameSelection] = []
Expand Down

0 comments on commit d4abbf4

Please sign in to comment.