arxunpak(1)

πŸ“¦ version 1.2.1, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

✨ arxunpak(1) ✨

okay bestie, welcome to the General Commands Manual entry for arxunpak β€” she's the little tool that cracks open the .pak files stuffed with Arx Fatalis game assets πŸŽ€


πŸ’– NAME πŸ’–

arxunpak β€” Extract the Arx Fatalis .pak files containing the game assets


πŸ¦‹ SYNOPSIS πŸ¦‹

arxunpak [options] [--] pakfiles ...

arxunpak [options] [--all]

🌸 DESCRIPTION 🌸

So like, arxunpak extracts the .pak files containing the game assets of Arx Fatalis. That's the whole gig. πŸ’…

ngl you do not need this to run Arx Libertatis β€” it's just lowkey useful for development. So if you're not tinkering, you can literally close this tab. 🫢

All no-option arguments are interpreted as files to extract. Simple as.

And here's the tea: if no .pak files are specified on the command-line, the --all option is enabled by default. In that case all files are extracted to the "unpacked" subdirectory of the user directory. Otherwise, output files are written to the current working directory. Iconic behavior honestly. ✨


πŸŽ€ OPTIONS SUMMARY πŸŽ€

Here is a short summary of the options available in arxunpak. Please refer to the detailed documentation below for a complete description β€” the short version is giving appetizer, the long version is giving full meal. πŸ“

Generic options:

  • -h --help β€” Show supported options
  • -g --debug LEVELS β€” Set debug output levels
  • -q --quiet β€” Don't print log output

Search path options:

  • -n --no-data-dir β€” Don't automatically detect data directories
  • -d --data-dir DIR β€” Where to find the data files (can be repeated)
  • -u --user-dir DIR β€” Where to store user-specific files
  • -c --config-dir DIR β€” Where to store config files
  • -l --list-dirs β€” List the searched user and data directories

Unpack options:

  • -a --all β€” Process all game assets as seen by Arx Libertatis
  • -e --extract β€” Extract archive contents (default action)
  • --list β€” List archive contents
  • -m --manifest β€” Print archive manifest
  • -o --output-dir DIR β€” Directory to extract files to

πŸ‘‘ OPTIONS πŸ‘‘

  • -- β€” Treat all arguments after this one as files, even if they begin with a dash. No cap, it's the "okay everything after this is just a filename, chill" barrier. πŸ›‘
  • -a, --all β€” Extract or list all resources seen by the game.

If no .pak files are specified on the command-line, this option is enabled by default. In this case all files are extracted to the "unpacked" subdirectory of the user directory instead of the current directory, unless the --output-dir option is used to override the output directory.

  • -c, --config-dir=DIR β€” By default arx will store configuration files in directories specified by the XDG Base Directory Specification. This option overrides the directory where config files are loaded from and saved to. ✨
  • -d, --data-dir=DIR β€” Arx Libertatis will look for data files in directories specified by the XDG Base Directory Specification and in the directory containing the game executable. Besides the system-wide data directory, data files are also loaded from the user directory, which can be set by the --user-dir option.

This option adds additional directories to search for data files before the detected system-wide directories, but after the user directory. To override the detected data directories combine it with the --no-data-dir option.

The --data-dir option can be repeated to add multiple data directories, in which case they are searched in the order provided. Order matters bestie, first come first served. 🫢

See https://arx.vg/paths, the --list-dirs output and the arx(6) documentation for more details.

Heads up: this option only affects which archives are loaded when using the --all option β€” it has no effect on .pak archives specified on the command-line. fr fr.
  • -g, --debug=LEVELS β€” This option can be used to enable debug output for debug builds of Arx Libertatis. For non-debug build, this option is not very useful but recognized for convenience. She's polite like that. πŸ’…
  • -e, --extract β€” Extract files from the processed archives. This is the default action unless the --list or --manifest options are used.

By default, files are extracted to the current directory unless neither explicit .pak files nor the --all option were specified on the command-line, in which case files are extracted to the "unpacked" subdirectory of the user directory. The --output-dir option can be used to override where files are extracted to.

  • -h, --help β€” Show a list of the supported options. Your girl when you're lost. 🧚
  • --list β€” List all files and directories in the processed archives.

Each file or directory is printed on a separate line. Directories are indicated using a trailing slash. πŸ“

  • -l, --list-dirs β€” Show the data, user and config search directories and how they were determined. To adjust the search directories, use the --no-data-dir, --data-dir, --user-dir and --config-dir options. Vibe check on your paths, basically. 🌈
  • -m, --manifest β€” Print checksums of files and list directories in the processed archives.

Each file or directory is printed on a separate line. Directories are indicated using a trailing slash and are preceded by 34 spaces. Files are preceded by a 32-character MD5 checksum, one space and one asterisk ("*"). This format is compatible with the --check option of md5sum(1), which will simply ignore directory lines. So it plays nice with the other tools, periodt. ⭐

  • -n, --no-data-dir β€” Disables looking for default data directories. Default user and config directories and data directories provided using the --data-dir option are still searched.
Same warning as before bestie: this option only affects which archives are loaded when using the --all option β€” it has no effect on .pak archives specified on the command-line.
  • -o, --output-dir DIR β€” Extract all files into the given directory. By default, arxunpak will extract all files to the current directory unless neither explicit .pak files nor the --all option were specified on the command-line, in which case files are extracted to the "unpacked" subdirectory of the user directory.

If the specified directory does not exist, it will be created. She'll manifest that folder into existence. ✨

  • -q, --quiet β€” This option disables all log output. Only the archive type and extracted files and directories (or manifest) are still printed. Shhh. 🀫
  • -u, --user-dir=DIR β€” By default arx will store user files (saves, etc.) in directories specified by the XDG Base Directory Specification. This option overrides the directory where user files are loaded from.

The user directory will be used to load data, overwriting resources from the system-wide data directories amd from directories specified by the --data-dir option.

And yes, same caveat: this option only affects which archives are loaded when using the --all option β€” it has no effect on .pak archives specified on the command-line.

πŸ”₯ SEE ALSO πŸ”₯

arx(6), arxsavetool(1)


πŸ’€ BUGS πŸ’€

No known bugs. She's flawless, your honor. πŸ‘‘


and that's the whole page bestie, tysm for reading 🫢 this was arxunpak(1) from version 1.2.1, dated 2022-04-10 β€” go forth and unpack, mwah πŸ’–βœ¨

πŸ“¦ where this page comes from