- 07 Aug, 2022 1 commit
-
-
Antoine Le Gonidec authored
* icons_get_from_legacy_path - Fix clean-up step, to avoid an error from rmdir.
-
- 06 Aug, 2022 4 commits
-
-
Antoine Le Gonidec authored
-
Antoine Le Gonidec authored
-
Antoine Le Gonidec authored
The rmdir call would fail when CONTENT_PATH_DEFAULT is unset by the game script, or set to "."
-
Antoine Le Gonidec authored
Changes related to launchers * Prefix type can be set at the application level (using APP_xxx_PREFIX_TYPE) or for all applications (using APPLICATIONS_PREFIX_TYPE), with the following valid values: - symlinks: generate our usual symbolic links farm, the default for most application types - none: the game is run from the read-only system directory, the default for ScummVM and ResidualVM * Prefix path can be overridden for the current game session by setting PLAYIT_PREFIX_PATH The default value is: ~/.cache/play.it/prefixes/${GAME_ID} * WINE prefix path follows WINEPREFIX if it is set. If the variable is unset, it defaults to: ~/.cache/play.it/wine/${GAME_ID} * A single directory is used for persistent storage of user data. It can be set using PLAYIT_PERSISTENT_USER_PATH, and defaults to: ~/.local/share/games/${GAME_ID} * The undocumented runtime variable PREFIX_ID is no longer supported. Changes related to archives * New archive type "tar.bz2". * For multi-part archives, type is optional for extra parts. * Allow use of unzip for data extraction from mojosetup archives, if bsdtar is not available. * Force the use of a specific tool for content extraction: - An archive extractor can be set with ARCHIVE_xxx_EXTRACTOR - An options strings can be set with ARCHIVE_xxx_EXTRACTOR_OPTIONS Changes related to icons * Icons inclusion is now done using a single function, icons_inclusion. * The following functions are deprecated: - icons_get_from_package - icons_get_from_workdir - icons_move_to Other changes * Drop option to do partial runs with no actual disk write. (--dry-run option) * New option provided to change ./play.it working path: --tmpdir The default value is $TMPDIR, falling back on /tmp Codebase improvements * New layout for source files. * Use a dedicated check to detect unexpected empty variables.
-
- 04 Aug, 2022 2 commits
-
-
Antoine Le Gonidec authored
-
Antoine Le Gonidec authored
-
- 02 Aug, 2022 6 commits
-
-
Antoine Le Gonidec authored
-
Antoine Le Gonidec authored
-
Antoine Le Gonidec authored
The new default prefix path is: ~/.cache/play.it/prefixes/${GAME_ID} If $XDG_CACHE_HOME is set, it is used instead of ~/.cache The full prefix path can be overridden for the current session by setting the new environment variable $PLAYIT_PREFIX_PATH ./play.it now follows WINEPREFIX if it is set. The WINE prefix and the game prefix are now stored under distinct paths, and linked using a symbolic link. The default path for WINE prefix is: ~/.cache/play.it/wine/${GAME_ID} The undocumented environment variable $PREFIX_ID is no longer supported. Prefixes migration from the old path (under ~/.local/share/play.it) to the new one is not done automatically, and no tool is provided to do such a migration. The old prefix is not deleted either.
-
Antoine Le Gonidec authored
Game prefix is no longer included in the WINE prefix, it is instead linked into it using a symbolic link.
-
Antoine Le Gonidec authored
The new default prefix path is: ~/.cache/play.it/prefixes/${GAME_ID} If $XDG_CACHE_HOME is set, it is used instead of ~/.cache The full prefix path can be overridden for the current session by setting the new environment variable $PLAYIT_PREFIX_PATH The undocumented environment variable $PREFIX_ID is no longer supported. Prefixes migration from the old path (under ~/.local/share/play.it) to the new one is not done automatically, and no tool is provided to do such a migration. The old prefix is not deleted either.
-
Antoine Le Gonidec authored
Multiple paths will no longer be scanned, the only path that is used if --tmpdir is not provided is $TMPDIR (falling back on /tmp). Usage details are provided through play.it --help: --tmpdir Set the directory used for temporary files storage. Default value is: /tmp
-
- 01 Aug, 2022 2 commits
-
-
Antoine Le Gonidec authored
Multiple paths will no longer be scanned, the only path that is used if --tmpdir is not provided is $TMPDIR (falling back on /tmp). Support for legacy variables $postinst and $prerm is dropped.
-
Antoine Le Gonidec authored
This path defaults to $TMPDIR if not explicitely set, falling back to /tmp if the environment variable $TMPDIR is not set.
-
- 30 Jul, 2022 3 commits
-
-
Antoine Le Gonidec authored
Prior to this update, it was mandatory to have bsdtar available for data extraction from mojosetup archives. Now both bsdtar and unzip can fill this requirement.
-
Antoine Le Gonidec authored
If the type of an extra part is not set, it falls back to the type of its parent archive. The extractor is passed for the parent to the extra parts in the same way, to ensure that the type is optional even when ARCHIVE_xxx_EXTRACTOR is used instead of ARCHIVE_xxx_TYPE.
-
Antoine Le Gonidec authored
* applications_list - Throw an explicit error on unexpected empty list. * prepare_package_layout - Prevent PKG value changes to leak outside of the current function call.
-
- 28 Jul, 2022 4 commits
-
-
Antoine Le Gonidec authored
-
Antoine Le Gonidec authored
-
Antoine Le Gonidec authored
-
Antoine Le Gonidec authored
-
- 27 Jul, 2022 1 commit
-
-
Antoine Le Gonidec authored
This type is automatically used for archives with names ending in ".tar.bz2" or ".tbz2". Data extraction is done with tar, after checking for the availability of both tar and bunzip2.
-
- 25 Jul, 2022 1 commit
-
-
Antoine Le Gonidec authored
The prefix type can be set for a given application using APP_xxx_PREFIX_TYPE or for all applications for the current game using APPLICATIONS_PREFIX_TYPE. The allowed values are: - "symlinks", the default, generate our usual symbolic links farm - "none", no prefix is generated, the game is run from the read-only system directory If no value is set, most application types default to the "symlinks" prefix type. ScummVM and ResidualVM applications default to "none" instead. Application type "native_no-prefix" is deprecated, application type "native" should be used instead with the prefix type "none".
-
- 21 Jul, 2022 3 commits
-
-
Antoine Le Gonidec authored
-
Antoine Le Gonidec authored
Application type "native" should be used instead, with the prefix type "none".
-
Antoine Le Gonidec authored
The prefix type can be set for a given application using APP_xxx_PREFIX_TYPE or for all applications for the current game using APPLICATIONS_PREFIX_TYPE. The allowed values are: - "symlinks", the default, generate our usual symbolic links farm - "none", no prefix is generated, the game is run from the read-only system directory If no value is set, most application types default to the "symlinks" prefix type. ScummVM and ResidualVM applications default to "none" instead.
-
- 20 Jul, 2022 5 commits
-
-
Antoine Le Gonidec authored
An archive extractor can be set with ARCHIVE_xxx_EXTRACTOR, to force the use of a specific tool for data extraction. An options strings can be set with ARCHIVE_xxx_EXTRACTOR_OPTIONS, that is used when calling the extractor instead of the default options string set in the library.
-
Antoine Le Gonidec authored
An options strings can be set with ARCHIVE_xxx_EXTRACTOR_OPTIONS, that is used when calling the extractor instead of the default options string set in the library.
-
Antoine Le Gonidec authored
An archive extractor can be set with ARCHIVE_xxx_EXTRACTOR, to force the use of a specific tool for data extraction.
-
Antoine Le Gonidec authored
debian: Drop ability to extract data from .deb packages without using dpkg-deb. We only support 3 games distributed as .deb packages so it does not seem worth to maintain such complex code. innoextract: - Hide warnings during innoextract compatibility tests. - Drop obsolete type "innosetup1.7" nixstaller: Drop support for nixstaller archives, the last time we used it was before ./play.it 2.0 release. unar: Drop support for ARCHIVE_xxx_GOGID.
-
Antoine Le Gonidec authored
* icons_list_dependencies - Rely on application_icons_list to get the list of icons. * launcher_write_desktop - Drop requirement on APP_xxx_TYPE. * get_context_specific_value: - Do not try to guess a package identifier if none is set. - Do not look for an archive-specific value before an archive is set. * Check for dependencies only after the main archive is set.
-
- 13 Jul, 2022 4 commits
-
-
Antoine Le Gonidec authored
-
Antoine Le Gonidec authored
-
Antoine Le Gonidec authored
-
Antoine Le Gonidec authored
-
- 12 Jul, 2022 3 commits
-
-
Antoine Le Gonidec authored
The function get_context_suffix is dropped, as it is no longer in use.
-
Antoine Le Gonidec authored
-
Antoine Le Gonidec authored
-
- 10 Jul, 2022 1 commit
-
-
Antoine Le Gonidec authored
A single function is now available to game scripts, for icons inclusion: icons_inclusion --- Fetch icon from the archive contents, convert it to PNG if it is not already in a supported format, include it in the current package. This function is the one that should be called from game scripts, it can take several applications as its arguments, and default to handle all applications if none are explicitely given. USAGE: icons_inclusion $application[…] --- It relies on APP_xxx_ICONS_LIST / APP_xxx_ICON, like the previous functions. It looks for the icon files under the following path: ${PLAYIT_WORKDIR}/gamedata/${CONTENT_PATH_DEFAULT} Compatibility wrappers are available for the following deprecated functions: - icons_get_from_package - icons_get_from_workdir The following function is deprecated: - icons_move_to
-