CryZe / livesplit-one-desktop

Prototype implementation of LiveSplit One for the Desktop.
https://livesplit.org/
59 stars 11 forks source link

Splits and Layouts NOT A ISSUE #25

Closed DuckyDaDuck closed 2 years ago

DuckyDaDuck commented 3 years ago

not a issue but how would i customize it or use splits thanks :)

CryZe commented 3 years ago

For now the v0.0.1 that I just released is a very minimal version that doesn't offer any splits or layout editor. I locally have a version that has those, but it's not ready yet (I'm very unhappy with some parts). So instead in the v0.0.1 you configure it via a YAML file.

Take a look here: https://github.com/CryZe/livesplit-one-desktop/blob/master/config.yaml

Copy that next to the executable and make changes. In YAML everything past the # in a line is a comment, so make sure to remove that to configure the splits / layout path / etc.

Since there's no splits or layout editor yet, I'd recommend using the web version for those in the meantime: https://one.livesplit.org

DuckyDaDuck commented 3 years ago

Thanks! i would use the web version but i need global hotkeys :(

CryZe commented 3 years ago

You only need the web version to create and modify the splits and layouts. You can export them from there and then use this version, which does have global hotkeys. Alternatively you can also just download some splits from https://splits.io

DuckyDaDuck commented 3 years ago

i will thx :)

whitewolfos commented 3 years ago

Are there any instructions on how to configure the global hotkeys? I can load the splits in fine, but when I try to even un-comment the lines in the example yaml file:

hotkeys:
  # split: null
  undo_all_pauses: NumPad7
  toggle_timing_method: NumPad9

Then the splits don't load, which I assume means there is something bad with that hotkeys block. I need to be able to change the hotkeys because my computer doesn't have a NumPad, so I can't use any defaults. I really don't need anything fancy, just setting the buttons for start / split and reset would be enough.

Thanks for the help!

CryZe commented 3 years ago

Seems like it's Numpad rather than NumPad by now.

https://github.com/LiveSplit/livesplit-core/blob/master/crates/livesplit-hotkey/src/linux/key_code.rs

whitewolfos commented 3 years ago

Oh, case matters, I see.

My issue was I was trying to set a hotkey to the r key, but you have to set it to R to make it work. Just a silly mistake on my end, then.

Thanks for the speedy response!