Ripper6 is a program that extracts files from within other files. The most common use is searching the data files from games and demos, so that various assets like music or sound effects can be extracted and saved into separate files.
ripper6 filename
This will search filename and if any matches are found, they will be saved numerically in the current directory, starting from 0000.xyz (where xyz is based on the file type as per the table below.)
The following file formats are recognised and extracted:
Type | Extension | Description |
Audio | .aiff | Audio Interchange File Format |
Audio | .voc | Creative Voice File |
Audio | .wav | RIFF Wave |
Image | .lbm | InterLeaved BitMap |
Music | .670 | Renaissance CDFM |
Music | .bsa | The Bone Shaker Architect (TBSA0.01) |
Music | .cmf | Creative Music File |
Music | .dsm | Digital Sound Interface Kit (DSIK) module |
Music | .ibk | OPL2 instrument bank |
Music | .mid | Standard MIDI file |
Music | .rmi | RIFF MIDI |
Music | .s3m | ScreamTracker 3 module |
Music | .xmi | Miles eXtended MIDI |
Video | .avi | Microsoft AVI |
Each format has its size calculated by examining the data to ensure no extra trailing bytes are left at the end.
Most of the file formats are fully documented on the ModdingWiki.
The name is based on the excellent Ripper 5 utility, released for the MS-DOS platform in 1995 by JΘNas.
Many DOS demos use custom compression, but running them through DOSBox and then doing a binary memory dump will give you the decompressed data that can be run through Ripper6.