pkgrename v1.08a
Changelog v1.08a:
- Fixed a few bugs that happened when entering multiple tags.
Changelog v1.08:
- New pattern variable: %file_id% can be used to rename files the "offical" way (e.g. "pkgrename -p '%file_id%'" => "EP4497-CUSA05571_00-00000000000GOTY1-A0403-V0100.pkg").
- New pattern variable: %msum%, a checksum that indicates whether game and update PKGs that have the same Title ID are compatible with each other ("married").
- Command [T] now supports the Tab key for word completion (pressing Enter still means both "Tab" + "Enter").
- Support for multiple release tags: Command [T] now supports entering of multiple comma-separated release tags. When a filename contains multiple known release tags, they are preserved.
- Command [L] and changelog release tag detection now search for user-provided tags, too.
- New option: --override-tags: Make changelog release tags take precedence over existing file name tags (normally, it's the other way around). Rescanning existing PKG collections using this option may reveal new release tags.
- An ambiguity warning is displayed if a file does not have a release tag yet and multiple known release tags were found in the changelog.
- New hotkey: pressing shift-[T] removes all release tags.
- Bug fixes and improvements.
This is a Windows release of the command line utility "pkgrename", which can help to organize PS4 PKG collections.
Type "pkgrename --version" to see your current release.
At least Windows 10 build 17063 is required to use the online search feature out-of-the-box.
Alternatively, install cURL for Windows: https://curl.se/download.html.
On Windows 10/11, it is strongly recommended to activate the UTF-8 beta feature: Settings - Time & Language - Language - Administrative language settings - Change system locale... - Beta: Use Unicode UTF-8 for worldwide language support.
For Windows 10 users it is recommended to use the new Windows Terminal application (which is now the default terminal in Windows 11) instead of the standard cmd.exe command prompt.
When using both the UTF-8 beta feature and Windows Terminal, pkgrename should work as intended.
If the UTF-8 beta feature is not used, file names that contain multibyte characters may cause this error:
Could not read file system information: "weird_characters_????.pkg".
Such a PKG file can't be renamed then and will be skipped.
Please report bugs and unexpected behavior at https://github.com/hippie68/pkgrename/issues.
How to run pkgrename.exe from anywhere with modified arguments:
Put pkgrename.exe in a folder (you can also put other command line programs there). Inside that folder, create a new batch file named "pkgrename.bat" and open it with Notepad. Write the following lines, while replacing ARGUMENTS with your preferred arguments:
@echo off
pkgrename.exe ARGUMENTS %*
For example:
@echo off
pkgrename.exe --pattern "%%title%% [%%title_id%%]" --tagfile "C:\Users\Luigi\pkgrename_tags.txt" %*
As seen above, if the batch file contains pattern variables, their percent signs need to be escaped by doubling them. For example, %title% must be changed to %%title%%.
Now click Start, type "env" and select "Edit environment variables for your account". Select "Path" and click edit. Select "New" and enter the folder where you put pkgrename.bat into. Close and reopen any opened command line windows for the changes to apply.
Downloads:
pkgrename.exe for 64-bit Windows
pkgrename_32.exe for 32-bit Windows