steam auto packager

Simon McVittie smcv at debian.org
Wed Jan 7 13:46:03 UTC 2015


On 07/01/15 13:17, Alexandre Detiste wrote:
> 
> Here is a proof of concept of a script that automatically
> packages all the games avaible in your Steam folder:
> 
> https://github.com/a-detiste/game-data-packager/commit/7f640ccf98f342397448be0f304c4ccc7238eea6
> 
> It is called by "game-data-packager steam".

I was thinking about something similar myself, later.

${XDG_DATA_HOME:-$HOME/.local/share}/wineprefixes/steam/ is another good
search path, used by "winetricks steam".

It might be better to put the info at top level inside each YAML file,
with potentially more than one steam ID and potentially more than one
path per game: once we know where to look, we can inspect the actual
files to see what we can do with them.

My not-so-secret long-term plan is that gdp will eventually get an
optional-but-recommended GUI mode using pygi, which automatically offers
to refresh any game whose packaging has had significant changes, using
the already-installed files. That would be a better fit for Steam
detection than anything command-line, I think - it can look for Steam in
likely places, and have an "install everything" button which
automatically appears when it might be useful.

If we're doing a "package all the things" mode, we should also search
the installed directories so we don't repeatedly download patches
(possibly including unofficial ones like iortcw's) that we already
installed, and probably also skip games that have not had significant
changes (data or metadata) since we last installed them. We could have
"last_updated: 38" in the YAML, for instance.

    S




More information about the Pkg-games-devel mailing list