HK Split Maker
Write a small configuration for Hollow Knight splits and a produce a full LiveSplit file. List your triggers once, and get both the autosplitter settings and the segment list from that list!
The configuration is as simple as this. List the autosplit triggers once and add some metadata.

The resulting splits have icons!

The autosplits are ordered and correct.

Use
Use the HK Split Maker web UI!
You can load a builtin category or customize your own.
Once the configuration is loaded or written, click Generate then Download.
Open the resulting lss file with LiveSplit.
Development
I recommend using nvm to manage the Node.js version locally. Since this repo has an .nvmrc specifying the version, run this command to install and use the correct version
nvm use
Install dependencies
npm install
Run locally. When it’s ready, navigate to http://localhost:8080/ in your web browser.
npm run serve
To run all checks before commiting
npm run check-all
Additional scripts (typecheck, unit tests, production build) can be found in package.json.
This project uses biome for both linting and formatting.
It additionally uses husky and lint-staged to set up pre-commit hooks on modified files.
The simplest invocation is npm run biome to autofix / format and report lint errors.
Other linting and formatting scripts are available in package.json.
Adding New and Updated Autosplits for Hollow Knight
- Copy the contents of
public enum SplitName from
HollowKnightSplitSettings.cs into hk-splits.txt.
- Remove the commented-out lines. At this point,
git diff should only list the new (or updated) autosplits.
- Update gen-files-hk.js to ensure each new autosplit is mapped to an icon. Optionally, add new icons to the icons/ directory.
- Run
npm run gen-files-hk to regenerate the core files from these updates.
- Run
npm run serve to make sure the application runs.
- You can use every.json as a test case, or construct a new test case containing the new splits.
- Ensure the generated splits have the correct autosplits.
For an example of this process, see https://github.com/slaurent22/hk-split-maker/pull/125
Adding New and Updated Autosplits for Silksong
- Ensure splits.json is up-to-date.
- Copy splits.json into splits.json.
- Update gen-files-ss.js to ensure each new autosplit is mapped to an icon. Optionally, add new icons to the icons/ directory.
- Run
npm run gen-files-ss to regenerate the core files from these updates.
- Run
npm run serve to make sure the application runs.
- You can use every.json as a test case, or construct a new test case containing the new splits.
- Ensure the generated splits have the correct autosplits.
Deployment
This site is deployed to AWS Amplify with its build settings defined in amplify.yml
Future Enhancements
You can see the current list of feature ideas in the GitHub
issues. More ideas are
welcome!
On Generative AI Coding
In my daily life, I am a professional software engineer.
Generative AI coding tools like Claude Code have completely taken over, transforming the way I do my job.
I recognize the harm that generative AI has done, but I think small doses of AI help on a personal project can be healthy.
I allow contributions to be aided with such AI tools, and I have used AI tools myself for small parts of this project.
That said, I do not want the site to turn into AI slop. All design should have a human touch, and all AI code should be thoroughly understood and tested.
评论