Credits go to Dresk for putting this CSQC scratch source together.

and Urre :o