This repository has been archived on 2023-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
Llanfair/README.md

47 lines
2.1 KiB
Markdown
Raw Normal View History

2015-11-30 14:28:15 -05:00
# Llanfair
[From the homepage](http://jenmaarai.com/llanfair/en/):
> Llanfair is a free software that helps speedrunners keep track of their run. Released in August 2012, its capacity for customization and its portability allowed it to garner some recognition in the scene. Developed in Java, Llanfair can run on Windows, MacOS, or Unix.
The original author Xavier "Xunkar" Sencert was kind enough to release the sources
(see [here](https://twitter.com/Xunkar/status/671042537134624768) and [here](https://twitter.com/Xunkar/status/671099823563632641))
when I asked. I'm not completely certain if Xunkar ever intends to continue development of Llanfair himself as it
seems he uses LiveSplit now (?).
Regardless, here I will be extending the original application as best I can by adding some missing features here and
there and fixing bugs as needed.
## Building and Running
2015-11-30 14:28:15 -05:00
You will need Gradle. The Gradle `application` plugin is being used, so you can run Llanfair simply by doing:
```
$ gradle run
```
To package up a JAR file for redistribution, run:
2015-11-30 14:28:15 -05:00
```
$ gradle shadowJar
```
Which will spit out an "uber JAR" under `build/libs` under the naming convention `llanfair-[VERSION]-all.jar`.
2015-11-30 14:28:15 -05:00
2015-11-30 15:06:38 -05:00
## Mac OS X and Accessibility Settings for Global Hotkeys
Previous releases of Llanfair used an older version of JNativeHook which didn't really provide any built-in help
if OS X was not properly configured in advance when Llanfair tried to hook into global key events. This version
uses a more recent version that pops up a dialog telling you what to do if Llanfair does not yet have the required
accessibility permissions, so you should not get the problem where Llanfair mysteriously closes immediately after
running.
Note that currently Llanfair **only** supports hotkeys via the JNativeHook / global hotkey interface! If it was not
able to hook into the OS's key events (either because you denied proper permissions or for some other reason), then
you will not be able to set any hotkeys in the settings window and you will thusly not be able to trigger any splits or
start/stop any runs! This is one of the first things I intend to address.
2015-11-30 14:28:15 -05:00
## TODO
Lots of stuff still to be done. :)