Skip to content

Ideally lightweight speedrun timer leveraging livesplit-core

Notifications You must be signed in to change notification settings

doesthisusername/fission

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fission

Hopefully performant, cross-platform speedrun timer built with livesplit-core. Name might change but it works for now.

Status

Quite early. Might be able to use for runs, but you'll be on your own. Standard CMake procedure should just work (after cloning with --recursive).

Supports just about the most essential components, layouting isn't adhered to much outside of text color, and file paths are hardcoded.

Builds on Linux, both native and to Windows with mingw, and builds natively on Windows, even with MSVC (please stay that way). Mac status is unknown.

Build Requirements

Common

  • CMake.
  • C99 compiler (actually just c_restrict in CMake, for the generated livesplit_core.h file; might be able to circumvent with -Drestrict=__restrict).
  • Rust (rustup usually works; for livesplit-core dependency).

Cross-compilation

  • Target added in rustup.
  • set(CARGO_TARGET <rust triple for target>) in your CMake toolchain file for passing along to livesplit-core.

Build Notes

  • Visual Studio adds a Debug/Release folder in the output, which breaks the placement of data. I'll look at fixing this, but in the meantime you can copy fission.exe into bin.
  • glfw is built as a submodule and statically linked instead of linking to the system library, as I was having issues with mingw. Static linking also made application startup a lot faster, for whatever reason.
  • If it looks like glfw is taking a while to build, it's actually livesplit-core blocking it (livesplit-core is fairly big).
  • The data folder is hopefully temporary, but I don't know what to replace it with.

License

Probably MIT. Dependency licenses are in data/license -- please let me know if those are missing anything.

Bugs

For some reason, it uses an entire CPU core on Windows. On Linux (my main dev platform), it only uses about 2% at 165Hz.

About

Ideally lightweight speedrun timer leveraging livesplit-core

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published