• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..12-Apr-2021-

COPYINGH A D12-Apr-202125.9 KiB503418

READMEH A D12-Apr-20211.6 KiB5241

smacker.cH A D03-May-202231.6 KiB1,4321,010

smacker.hH A D03-May-20223.5 KiB10646

smk_bitstream.cH A D03-May-20222.5 KiB12058

smk_bitstream.hH A D03-May-20221.4 KiB5123

smk_hufftree.cH A D03-May-20229 KiB426239

smk_hufftree.hH A D03-May-20222.8 KiB8945

smk_malloc.hH A D03-May-20221.9 KiB7835

README

1libsmacker
2A C library for decoding .smk Smacker Video files
3
4version 1.1.1
52020-01-05
6
7(c) Greg Kennedy 2013-2020
8http://libsmacker.sourceforge.net
9----
10
11---
12Introduction
13---
14libsmacker is a cross-platform C library which can be used for decoding Smacker Video files produced by RAD Game Tools. Smacker Video was the king of video middleware in the 1990s, and its 256-color compressed video format was used in over 2600 software titles.
15
16libsmacker implements the minimum feature set required from smackw32.dll to get an smk off a disk and the frames / audio into a buffer in the correct order.
17
18---
19License
20---
21libsmacker is released under the Lesser GNU Public License, v2.1.  See the file COPYING for more information.
22
23---
24Usage
25---
26See the webpage for sample code and function documentation.  The source package additionally includes a pair of driver programs:
27* driver.c - dumps all frames of a file to a bmp/ subdirectory, and all audio as raw streams to out_*.raw files in CWD
28* smk2avi.c - converts smk file(s) to AVI files - uncompressed 24-bit color and PCM audio stream.
29
30Though the libraries are "bulletproofed" the sample apps are not: be cautious if you plan to implement in some critical environment.
31
32---
33Changelog
34---
351.1.1
36* Re-license under LGPL 2.1
371.1
38* Switch to autotools-based build
39* Incorporates patches from Dalerank Slim, Gennady Trafimenkov, and Bianca van Schaik
40* Performance improvements and code cleanup / safety.
411.0
42* Initial revision
43
44---
45Contact
46---
47Questions/comments:
48* by email: kennedy.greg@gmail.com
49* by website: http://libsmacker.sourceforge.net
50
51Enjoy!
52