Giter VIP home page Giter VIP logo

ehppack's Introduction

Yu-Gi-Oh! Tag Force EHP/EhFolder Archive Tool

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.

Features

  • Extraction of EHP to folder with correct filenames and sizes
  • Packing of a folder back to EHP fully compatible with the game

Compatibility

This tool should be 100% compatible with the official EhFolder specification and any Tag Force game.

Usage

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.

Windows install script

You may also install this in the Windows' context menu by using the install script.

Simply do the following:

  • Put install.bat and install.ps1 next to ehppack.exe

  • Run install.bat as Administrator once (or run install.ps1 directly with the Bypass 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

Building with CMake

Use the standard CMake building procedure:

$ mkdir bin
$ cd bin
$ cmake ..
$ cmake --build .

And to install, just do: # cmake --install .

ehppack's People

Contributors

xan1242 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ehppack's Issues

Some EHPs fail to extract

Noticed that I can't get these two EHPs to extract in Tag Force Special (unmodified).

\PSP_GAME\USRDIR\deck\tutorial.ehp
\PSP_GAME\USRDIR\deck\deckswap.ehp

It seems YGOTool was able to extract them, though I don't know if it's done the proper way (unpack and repack).

I found that using EHPScanner on it and then ehppack on the new EHP file extracts everything, but I haven't checked repacking.

EHPS.zip

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.