Skip to content

Instantly share code, notes, and snippets.

@veeenu
Created January 21, 2018 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veeenu/249cde1f3c74b9e714f47749bd8cc47f to your computer and use it in GitHub Desktop.
Save veeenu/249cde1f3c74b9e714f47749bd8cc47f to your computer and use it in GitHub Desktop.
Risen LiveSplit IGT plugin
state("Risen") {
float igt : "Game.dll", 0x00FA63A0, 0x48, 0x24
}
init {
vars.igt = 0.0f;
}
startup {
}
update {
vars.igt = current.igt;
return true;
}
gameTime {
return TimeSpan.FromMilliseconds((int)(1000.0 * vars.igt));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment