{"id":13795678,"url":"https://github.com/n1ghty/pkg_tools","last_synced_at":"2025-05-12T23:32:30.279Z","repository":{"id":215597183,"uuid":"124938068","full_name":"n1ghty/pkg_tools","owner":"n1ghty","description":"Collection of PS4 pkg tools ","archived":false,"fork":false,"pushed_at":"2018-12-14T07:41:29.000Z","size":18,"stargazers_count":21,"open_issues_count":5,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-18T10:34:22.634Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/n1ghty.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-03-12T19:08:35.000Z","updated_at":"2023-08-08T02:10:19.000Z","dependencies_parsed_at":"2024-01-05T11:34:01.113Z","dependency_job_id":"b93e419d-8056-4f91-acf2-3bc2c9b31fba","html_url":"https://github.com/n1ghty/pkg_tools","commit_stats":null,"previous_names":["n1ghty/pkg_tools"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n1ghty%2Fpkg_tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n1ghty%2Fpkg_tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n1ghty%2Fpkg_tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/n1ghty%2Fpkg_tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/n1ghty","download_url":"https://codeload.github.com/n1ghty/pkg_tools/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253841069,"owners_count":21972585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T23:01:00.368Z","updated_at":"2025-05-12T23:32:29.996Z","avatar_url":"https://github.com/n1ghty.png","language":"Python","funding_links":[],"categories":["Dev Tools"],"sub_categories":["Remote Package Installers"],"readme":"# pkg_tools by n1ghty\nCollection of PS4 pkg tools which currently consists of pkg_list and pkg_rename.\n\n## pkg_list\n**Pkg list generator for PS4 pkg files.**\n\nThis tool parses all pkg files in the specified directory/directories recursively\nand generates an excel sheet from the parsed infos.\n\n### Usage\n```\nusage: pkg_list.py [-h] pkg_path [pkg_path ...] [-r] [-c COLUMN [COLUMN ...]] [-s SORT] [-d] [-o OUTFILE]\n\nThis tool parses all pkg files in the specified directory/directories recursively\nand generates an excel sheet from the parsed infos.\n\nAvailable values for the columns:\n Raw values from param.sfo like\n  - TITLE, TITLE_ID, CONTENT_ID, VERSION, APP_VER, PARENTAL_LEVEL,\n    SYSTEM_VER, ...\n Formatted values, especially for version information:\n  - LANGUAGES\n    The list of title name languages, e.g. 'EN,FR,RU'\n    This does not always reflect supported languages.  - VER\n    Equals VERSION for a game / an application and APP_VER(U) for an update\n  - SYS_VER\n    The required system version number in a readable format, e.g. '2.70'\n  - SDK_VER\n    The used sdk version number in a readable format - if available - e.g. '2.70'\n  - REGION\n    The region of the pkg (CN, EU, US)\n  - SIZE\n    The filesize in a readable format, e.g. '1.1 GB'\n  - TITLE_XX\n    The title name in a specific language XX. If not available, the default\n    language is used.\n\n    Available language codes:\n      JA, EN, FR, ES, DE, IT, NL, PT, RU, KO, CH, ZH, FI, SV, DA,\n      NO, PL, BR, GB, TR, LA, AR, CA, CS, HU, EL, RO, TH, VI, IN\n\npositional arguments:\n  pkg_path              the path(s) to scan for pkg files\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -r                    include subdirectories\n  -c COLUMN [COLUMN ...]\n                        specify the columns\n  -s SORT               sort list by specific column\n  -d                    use descending sorting\n  -o OUTFILE            specify the output file name (without suffix)\n```\n\n## pkg_rename\n**Pkg file renamer for PS4 pkg files.**\n\nThis tool renames PS4 pkg files to the sony format (default), a readable\nname format or a custom specified format.\n\n### Usage\n```\nusage: pkg_rename.py [-h] pkg_path [-t] [-c CUSTOM_FORMAT] [-n] [-d] [-r]\n\nThis tool renames PS4 pkg files to the sony format (default), a readable\nname format or a custom specified format.\n\nFor the custom formatting, values can be replaced by surrounding them with\n%-characters.\nE.g. '%TITLE% (%TITLE_ID%)' will result in 'Game name (CUSA01234)'\n\nAvailable values for formatting:\n Raw values from param.sfo like\n  - TITLE, TITLE_ID, CONTENT_ID, VERSION, APP_VER, PARENTAL_LEVEL,\n    SYSTEM_VER, ...\n Formatted values, especially for version information:\n  - LANGUAGES\n    The list of title name languages, e.g. 'EN,FR,RU'\n    This does not always reflect supported languages.  - VER\n    Equals VERSION for a game / an application and APP_VER(U) for an update\n  - SYS_VER\n    The required system version number in a readable format, e.g. '2.70'\n  - SDK_VER\n    The used sdk version number in a readable format - if available - e.g. '2.70'\n  - REGION\n    The region of the pkg (CN, EU, US)\n  - SIZE\n    The filesize in a readable format, e.g. '1.1 GB'\n  - TITLE_XX\n    The title name in a specific language XX. If not available, the default\n    language is used.\n\n    Available language codes:\n      JA, EN, FR, ES, DE, IT, NL, PT, RU, KO, CH, ZH, FI, SV, DA,\n      NO, PL, BR, GB, TR, LA, AR, CA, CS, HU, EL, RO, TH, VI, IN\nThe readable name format (-n) uses the following format:\n'%TITLE% (%TITLE_ID%) [v%VER%]'\n\npositional arguments:\n  pkg_path          the pkg file which shall be renamed (or directory when\n                    used with -d)\n\noptional arguments:\n  -h, --help        show this help message and exit\n  -t                only test the formatting without renaming\n  -c CUSTOM_FORMAT  custom file name format\n  -n                use a readable name format\n  -d                rename all files in the specified directory\n  -r                include subdirectories\n```\n\n## Acknowledgements\nPKG parsing is based on\n- *UnPKG rev 0x00000008 (public edition), (c) flatz*\n\nParam.sfo parsing is based on\n- *Python SFO Parser by: Chris Kreager a.k.a LanThief*","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn1ghty%2Fpkg_tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fn1ghty%2Fpkg_tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fn1ghty%2Fpkg_tools/lists"}