Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.14 KB

README.md

File metadata and controls

36 lines (21 loc) · 1.14 KB

Fushigi Tools

Translation tools for ふしぎ電車, a weird old doujin denpa nukige

Usage

Usage format is as follows:

fushigi_tools.py [command] [target] ... --asset_dir [asset_dump]

The command can either be:

  • format - lists the file format (Him4 and Him5 supported)
  • metadata - lists metadata regarding the files
  • unpack - dumps archived files into a subdirectory
  • repack - takes a folder and repacks its assets

The target can be a single or series of files or folders. If a folder is specified, the program will either attempt to extract every .HXP file within it or attempt to pack it into a file.

The asset directory is an optional argument that will change where the files are dumped during either unpacking or repacking. If left out of the command, it will default to ./asset_dump.

Sample commands:

Print metadata for FD_004.HXP:

./fushigi_tools.py metadata ../game/DATA/FD_004.HXP

Unpack all files in the DATA directory into ../assets:

./fushigi_tools.py unpack ../game/DATA/ --asset_dir ../assets

Repack FD_004.HXP and FD_002.HXP:

./fushigi_tools.py repack ./asset_dump/FD_004.HXP;Him5/ ./asset_dump/FD_002.HXP;Him4/