Skip to content

Instantly share code, notes, and snippets.

View bbbradsmith's full-sized avatar
🦎

Brad Smith bbbradsmith

🦎
View GitHub Profile
@bbbradsmith
bbbradsmith / a8_to_tga.py
Created July 16, 2018 06:01
Microsoft screensaver sample A8 to TGA decoder
# decodes the A8 files in
# Microsoft Windows NT 4.0 SDK (1996)
# MSTOOLS\SAMPLES\OPENGL\SCRSAVE\MAZE
#
# based on MSTOOLS\SAMPLES\OPENGL\SCRSAVE\COMMON\SSA8.C
import struct
def a8decompress(d):
# defines