game-data-packager(6)
NAME β¨
game-data-packager β bestie, this thing builds you a package (.deb | .rpm | ...) full of game data π
π¦ SYNOPSIS
game-data-packager [OPTIONS] GAME [OPTIONS] [PER-GAME OPTIONS]
π DESCRIPTION
Okay so here's the tea, bestie: a lot of open-source games need game data that's licensed in a way that's lowkey incompatible with the Debian Free Software Guidelines β and with other Linux distros' licensing guidelines too. And some of it literally cannot be legally redistributed at all. π Not a vibe, but it is what it is.
So game-data-packager is the tool that helps you assemble packages locally β for Debian or other packaging systems β stuffed with that game data, sourced from CD-ROMs, the Internet, or wherever else you happen to find it. It's giving "you bring the data, I bring the packaging" energy fr fr π«Ά
πΈ OPTIONS πΈ
--package PACKAGE,-p PACKAGEβ for games that make more than one package, this makes only the package you named. You can repeat this option as many times as you want. Like, for example,game-data-packager quake2 -i -pquake2-groundzero -pquake2-reckoningwould update the two Quake II expansions (Ground Zero and The Reckoning) β building new native-code game modules if necessary β but it would not touch the packages for the base game or the music. Slay π--target-format arch|deb|rpmβ build packages for the packaging system you name. Heads up: every packaging system exceptdeb(which represents dpkg) is considered experimental. The default is to auto-detect whatever's appropriate for the system where game-data-packager is running.--target-distro fedora|suse|...β for packaging systems where different Linux distros need different content (currently that meansrpm), this builds packages suited to the distro you picked. Default is auto-detecting what fits the system you're running on.-i|--installβ try to install the generated package, using--install-methodand--gain-root-command. β¨--install-method apt|dpkg|gdebi|gdebi-gtk|gdebi-kde|dnf|zypper|urpmi|rpmβ install the generated package with the command you asked for. Only methods that can actually install the selected--target-formatare valid, so pick a matching one, bestie. π--gain-root-command pkexec|sudo|su|super|really|COMMANDβ use this command prefix to run stuff as root when needed.suuses thesu -csyntax to run a one-line shell command; everything else (including commands you specify yourself) is assumed to work as an "adverb" command prefix, likesudo dpkg -i ...orpkexec rpm -U .... π-d OUT-DIRECTORY | --destination OUT-DIRECTORYβ write the generated package into the directory you name, instead of installing it β or in addition to installing it. Your call π-n|--no-installβ do not try to install the generated package. Important: this option must be used together with-d. π«Ά--binary-executablesβ allow packages to be created containing native executable code that was not built from publicly-available source code. By default, those executables are not packaged, to avoid creating a security risk. This is the flag that lets the proprietary Linux binaries for Quake 4 and Unreal get packaged. Use with intention, bestie π-z|--compressβ compress the generated package. This is the default when-iis not used. π--no-compressβ don't compress the generated package. This is the default when-iis used (since it's not usually useful to compress a package that's just gonna get installed and then discarded, like, why).--downloadβ automatically download any missing files from the Internet if possible. π--no-downloadβ don't download missing files from the Internet. If the missing files aren't very important (say, optional documentation), game-data-packager will produce a package that just lacks those files; but if the missing files are required, it won't produce a package at all. Periodt. π--save-downloads DIRECTORYβ if files do get downloaded, save them toDIRECTORY. π--verboseβ be more verbose, and in particular show output from any external tools that get invoked during operation. π--no-verboseβ don't show verbose output. This is the default. π--debugβ show output that's interesting to game-data-packager developers. iykyk π§GAMEβ the game being packaged. Running game-data-packager with no arguments at all will show you a list of valid games. π
π PER-GAME OPTIONS
Some games have extra options, because of course they do. Running game-data-packager GAME --help will show you the list of valid options for that particular game. πΈ
π NON-GAME MODES
Some modes aren't game-specific at all β you select them by naming a special keyword instead of a game name. Iconic, honestly.
game-data-packager [COMMON OPTIONS] steam [COMMON OPTIONS] [--new|--all]
...will package all your Steam games at once. π₯
Most games can only be downloaded with the Windows version of Steam β optionally running through Wine β or by using the steamcmd tool. This mode takes the same options as game-data-packager, and adds its own options:
--newβ only package new games--allβ package all games available
game-data-packager [COMMON OPTIONS] gog [COMMON OPTIONS]
...will match all the GOG.com games you own against the games supported by this tool. Each game then has to be packaged individually. One at a time, bestie π«Ά
π ENVIRONMENT VARIABLES
LANGUAGE,LANGβ these environment variables get used when a game is available in various languages, to choose the correct version. They're normally set by your desktop environment, so you usually don't gotta touch them. β¨
π¦ PATHS
game-data-packager will automatically locate applicable files in these directories:
~/.steam/SteamApps/common/<game>/~/.wine/drive_c/Program Files/Steam/SteamApps/common/<game>/β and also the~/.PlayOnLinux/wineprefix/Steam/drive_c/...variant πX:/Program Files/Steam/SteamApps/common/<game>/β whereX:\is any mountedvfatorNTFSpartition
π FILES
/etc/game-data-packager.confβ the game-data-packager configuration file~/.scummvmrcβ provides location information for games registered in the ScummVM GUI~/.steam/config/loginusers.vdfβ used to detect the user's SteamID, which is then used to download a list of owned games~/.cache/lgogdownloader/gamedetails.jsonβ holds a cached list of owned GOG.com games π
π SEE ALSO
pkexec(1), sudo(8), su(1), lgogdownloader(1)
Project homepage: β¨https://wiki.debian.org/Games/GameDataPackager/β©
π«Ά AUTHOR
Copyright Β© 2010-2013 Jonathan Dowland <jmtd@debian.org>
Thanks to Branden Robinson for his 'Write the Fine Manual' presentation, once found at β¨http://people.debian.org/~branden/talks/wtfm/β© β a real one, no cap π
okay that's the whole page, bestie β this was game-data-packager(6) from the Games Manual, dated 2008-07-14. go forth and package your game data, you absolute icon π
β¨π
π¦ where this page comes from
- debian trixie: game-data-packager 85.1 Β· GPL-2.0-only AND FSFAP
- ubuntu noble: game-data-packager 77ubuntu2 Β· GPL-2.0-only AND FSFAP
- ubuntu questing: game-data-packager 85.1
- ubuntu resolute: game-data-packager 87 Β· GPL-2.0-only AND FSFAP
- ubuntu stonking: game-data-packager 89 Β· GPL-2.0-only AND FSFAP
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms