This utility is designed to accurately manipulate the EHP/EhFolder archives found in the PSP Yu-Gi-Oh! Tag Force games.
Currently command line only.
- Extraction of EHP to folder with correct filenames and sizes
- Packing of a folder back to EHP fully compatible with the game
This tool should be 100% compatible with the official EhFolder specification and any Tag Force game.
Extracting: ehppack InFileName [OutFolder]
Packing: ehppack -p InFolder [OutFileName]
If the optional (in []) parameter isn't specified, it'll reuse the input name.
You may also drag and drop an EHP to the binary to extract a file if you're on a supported OS.
You may also install this in the Windows' context menu by using the install script.
Simply do the following:
-
Put
install.bat
andinstall.ps1
next toehppack.exe
-
Run
install.bat
as Administrator once (or runinstall.ps1
directly with theBypass
ExecutionPolicy)
In case you have UAC virtualization enabled, you may run into issues. Please run install-noreg.bat
in that case instead and import the ehppack_context.reg
key manually (usually by double clicking on it).
You may need to log out and back in for it to work properly.
The context menu will appear for all .ehp
files (for unpacking) and all directories (for packing).
The install script installs the binary into %APPDATA%\ehppack
and adds it to your user's PATH.
Running as Administrator is necessary to write in these registry keys (and subkeys inside):
HKEY_CURRENT_USER\Software\Classes\.ehp\shell\ehppack
HKEY_CURRENT_USER\Software\Classes\Directory\shell\ehppack
Use the standard CMake building procedure:
$ mkdir bin
$ cd bin
$ cmake ..
$ cmake --build .
And to install, just do: # cmake --install .