Skip to content
gliden64_cache_extract is a debugging tool used to extract the content of a GLideN64 texture cache and to show extra information about the content.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml
COPYING
Makefile
README
convert_file.c
gliden64_cache_extract.c
gliden64_cache_extract.h
input_config.c
input_file.c
output_file.c

README

gliden64_cache_extract
~~~~~~~~~~~~~~~~~~~~~~

1. DESCRIPTION
--------------

gliden64_cache_extract is a debugging tool used to extract the content of a
GLideN64 texture cache and to show extra information about the content.

2. USAGE
--------

The uncompressed texture cache has to be given to gliden64_cache_extract using
stdin. The compressed files are usually named *.htc. The result is a v7 tarball
written to stdout.

The input and output files can also be specified using --input and --output. The
input will not be extracted (can be done using gunzip).

Extra information about the content and errors are printed on stdout.

$ zcat MUPEN64PLUS.htc | gliden64_cache_extract -vv --bitmapv5 \
  --prefix MUPEN64PLUS | tar x
$ for i in *.bmp; do convert -strip -define png:format=png32 \
  -define png:compression-level=9  "${i}" "${i%.bmp}.png"; done
$ rm *.bmp

The output files don't follow the Rice hires texture naming scheme correctly.
But they should be compatible with Glide64/GLideN64.

More information about the parameters can be requested using

$ gliden64_cache_extract --help

3. LICENSE
----------

see the COPYING file

4. CONTRIBUTING
---------------

Patches can be sent to the author. Please follow the Linux CodingStyle. A quick
check can be done using

$ ./scripts/checkpatch.pl --strict --ignore LONG_LINE,NEW_TYPEDEFS,CAMELCASE \
  -q $PATCH
$ make CC=cgcc
$ cppcheck --enable=all .
You can’t perform that action at this time.