Skip to content

Instantly share code, notes, and snippets.

View forkerer's full-sized avatar

Kamil Marciniak forkerer

View GitHub Profile
@forkerer
forkerer / Presets.txt
Created February 11, 2022 23:38
Carmageddon II Auto splitter settings presets for different run types
Autosplitter presets:
Any %:
- Timer in Game time mode
- Miscellanous -> Load time removal
- Splitting mode -> Missions 1st completion (and all children settings)
- Timer start modes -> On any map started
- Timer reset modes -> On campaign aborted
- Should be used with as many splits as there are maps in game
@forkerer
forkerer / Carma2.asl
Last active February 11, 2022 23:36
Carmageddon 2 auto splitter improved
state("CARMA2_HW") {}
startup {
vars.missions = new Dictionary<string, Dictionary<string, int>>
{
{"NICE BEAVER", new Dictionary<string, int>() {{"Index", 0}, {"Group", 1 }}},
{"ROCKY TOO", new Dictionary<string, int>() {{"Index", 1}, {"Group", 1 }}},
{"CITY SLICKER", new Dictionary<string, int>() {{"Index", 2}, {"Group", 1 }}},
{"MISSION: BOULDER DASH", new Dictionary<string, int>() {{"Index", 3}, {"Group", 1 }}},
{"TWIN SHRIEKS", new Dictionary<string, int>() {{"Index", 4}, {"Group", 2 }}},
@forkerer
forkerer / Carma2Missions.asl
Created May 8, 2020 20:57
Carmageddon2 AutoSplitter
state("CARMA2_HW") {}
startup {
vars.missions = new Dictionary<string, Dictionary<string, int>>
{
{"NICE BEAVER", new Dictionary<string, int>() {{"Index", 0}, {"Group", 1 }}},
{"ROCKY TOO", new Dictionary<string, int>() {{"Index", 1}, {"Group", 1 }}},
{"CITY SLICKER", new Dictionary<string, int>() {{"Index", 2}, {"Group", 1 }}},
{"MISSION: BOULDER DASH", new Dictionary<string, int>() {{"Index", 3}, {"Group", 1 }}},
{"TWIN SHRIEKS", new Dictionary<string, int>() {{"Index", 4}, {"Group", 2 }}},
@forkerer
forkerer / dxDrawCircle.fx
Created August 19, 2018 13:50
Faster shader based dxDrawCircle
float4x4 gWorldViewProjection : WORLDVIEWPROJECTION;
struct VSInput
{
float3 Position : POSITION0;
float4 Diffuse : COLOR0;
float2 TexCoord : TEXCOORD0;
};
struct PSInput
{
float4 Position : POSITION0;