Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Allow the creation of custom presets for Enhancements and the Randomizer #4798

Open
johndelker opened this issue Jan 3, 2025 · 4 comments

Comments

@johndelker
Copy link

johndelker commented Jan 3, 2025

Problem:
The Enhancements tab and the Randomizer settings each have a presets option. However, there are a set number of presets which can not be manipulated in any way. This makes it difficult to swap between different run styles, to share settings with friends for identical runs, or to switch between practice and attempts for speedrunners.

Solution:

  1. Add "randomizer-presets" and "enhancement-presets" folders to the SoH directory (or something like that).
  2. Below the preset selector, add a name field and "save preset" button.
  3. When a user names and saves a preset, create a file in the appropriate folder with the chosen settings.
  4. If the name given already exists, overwrite the existing file.
  5. Take the presets that currently exist and convert them into preset files.

Reasoning:
This would allow users like me to easily switch between settings depending on the run, and it would also allow players to easily share their settings with other players simply by sending a preset file.

@johndelker
Copy link
Author

If no one is interested in taking on this task, I am very willing to do this myself and do a pull request if anyone can point me to where presets are currently handled.

@Malkierian
Copy link
Contributor

Custom presets have been planned for a while, but have had several levels of prerequisites that delayed them to the point where now I have to focus on other things, and I'm kind of hoping the settings framework comes along in the mean time. I was also planning more than just individual custom presets for only enhancements and rando settings (such as tracker settings and positions/sizes), as well as superpresets that combine individual section presets.

@Malkierian
Copy link
Contributor

In the meantime, though, you can create settings files you can drag and drop on the game window by removing everything but the stuff you want to change (gRandomizer section stays for rando "presets", gSettings and gEnhancements stay for enhancements "presets").

@Malkierian
Copy link
Contributor

By that I mean removing the stuff from copies of the shipofharkinian.json file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants