Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.
/ cpktools Public archive

cpk file tools and text extraction tools for translation works on 坂あがりハリケーン

Notifications You must be signed in to change notification settings

kamikat/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 for translation works on 坂あがりハリケーン

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages