Skip to content

Tools for manipulating Raptor: Call of the Shadows files.

Notifications You must be signed in to change notification settings

bmurr/raptor-cots-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

raptor-cots-tools

A tool for manipulating Raptor: Call of the Shadows files.

This tool can be used to extract the files from Raptor archives (.GLB). It can also view images in .PIC format and palettes in .DAT format and convert them to PNG.

External dependencies:

  • numpy
  • pillow

Example Usage:

  • extracting files from archive:
    ./raptor_tools.py archive -i Raptor/data/file0000.glb --extract
  • viewing extracted palette with color blocks as 20x20 :
    ./raptor_tools.py palette -i Raptor/data/extracted/file0001.glb/PALETTE.DAT --view --scale=20
  • viewing extracted image with non-default palette :
    ./raptor_tools.py image -i Raptor/data/extracted/file0001.glb/APOGEE.PIC --palette Raptor/data/extracted/file0001.glb/POGPAL.DAT --view
  • convert all extracted images to PNG and write them: ./raptor_tools.py image -i Raptor/data/extracted/file0001.glb/ --convert --out Raptor/data/extracted/file0001.glb/pics/

Thanks to the work done at http://www.shikadi.net/moddingwiki/Raptor for the information about file headers and structure.

About

Tools for manipulating Raptor: Call of the Shadows files.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages