Skip to content

theNestruo/precompression-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archived

See Another unpdate on PCXTOOLS and precompression tools post.

Precompression tools

Optimizes MSX CHRTBL/CLRTBL data to be more compressor friendly (both for RLE compressors and literal repetitions compressors).

Extends the original optimization algorithm added to PCXTOOLS v4.0 to use the entire charset data (instead of particular characters) and prefer larger chunks of RLE-friendly in either CHRTBL or CLRTBL data.

~~Compression ratio improvement will vary depending on the particular charset, the conversion (image to CHRTBL/CLRTBL data), and the actual compression tool, but expect a size reduction of up to ~14%.~~

Note: Some tools, such as aOrante's MSXTiles-devtool, do a really good job and generate optimal, or almost optimal, CHRTBL/CLRTBL data. In those cases, this tool cannot further reduce the compressed size.

See An unpdate on PCXTOOLS and precompression tools post.

Description and examples

See Precompression tools post.

Usage

Usage: java -jar precompression.jar [-hnsv] [-vv] [-e=<exclusionRange>] chrtbl [clrtbl]
      chrtbl                binary input file(s): CHRTBL
      [clrtbl]              binary input file(s): CLRTBL
  -h, --help                shows usage
  -v, --verbose             verbose execution
      -vv, --very-verbose   very verbose execution
  -e, --exclude=<exclusionRange>
                            Excluded range of addresses: <from>..<to>
  -s, --stripped            force stripped image
  -n, --non-stripped        force non-stripped image

Author and last words

Coded by theNestruo (Néstor Sancho).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages