Skip to content
forked from kamikat/cpktools

cpk file tools and text extraction tools used to translate 坂あがりハリケーン

Notifications You must be signed in to change notification settings

KitoHo/cpktools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPKTools

Utilities to pack/unpack a CRI-CPK archive file written in python for linux use.

Tools

  • cpkunpack.py unpack a cpk file

    It is recommended that redirect the stdout of the script to a file (the script print the HEADER, TOC, ITOC and ETOC information to stdout)

  • screxport.py search and extract shift-jis string from script file (scr.bin) with tag prefixed

    The search is based on some properties of embedded text, thus cannot be applied to a compressed or encrypted script file.

  • scrimport.py replace the edited script string into source script file (scr.bin) according to the prefix tag

    A text file with prefix tag can be splitted randomly and the importer will accept a splitted clip of files as parameter

Installation

You will need Python 2.x to run scripts.

Extra dependency bitarray can be installed from python-pip

# python-pip install bitarray

Usage

For usage detail, please run

$ <Command> --help

Extend work to these scripts is appreciative.

Reference

The file description is based on utf_table code by Halley's Comet Software

And a more systematic description from http://wrttn.in/04fb3f

License

(The MIT License)

About

cpk file tools and text extraction tools used to translate 坂あがりハリケーン

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.9%
  • Other 0.1%