COUNTER-STRIKE 1.6 GoldSrc
SPR SPRAY CONVERTER TOOL
ONLINE
v2.0 FORMAT

PNG / JPG → .SPR

Counter-Strike 1.6  ·  Indexed Palette  ·  GoldSrc Engine Compatible

Input Image PNG · JPG · GIF
DROP IMAGE HERE
or click to browse · max 8MB
Conversion Settings
OUTPUT DIMENSIONS
WIDTH
HEIGHT
GoldSrc requires power-of-2 dimensions (8 – 256)
SPR Type VP_PARALLEL (spray)
Tex Format Auto-detect
Palette 256-color indexed
Transparency Key RGB(0, 0, 255)
Console Output
// SPR Converter ready. Drop an image to begin.
SPR Preview palette-accurate
ZOOM 2x
No SPR loaded
SPR Binary Format Reference
HEADER — 40 bytes
+00IDSP// magic 4cc
+04i32// version = 2
+08i32// type 0=VP_PARALLEL
+0Ci32// texformat 0/2/3
+10f32// bounding radius
+14i32// width
+18i32// height
+1Ci32// numframes
+20f32// beam length
+24i32// sync type
PALETTE + FRAME DATA
+28u16// palette count = 256
+2Au8×768// RGB triplets
i32// group = 0
i32// origin x
i32// origin y
i32// frame width
i32// frame height
u8×(w×h)// pixel indices
Alpha: index 255 → RGB(0,0,255) = transparent
texformat: 0=NORMAL  2=ALPHATEST  3=ADDITIVE