[Feature] A Sound field for highlights in Configuration ▸ Highlights, as in Genie 4

Open Beginner friendly
#494 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 5 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
csharp
Domain
desktop

Research direction

Start in the Genie 5 HighlightStringsPanel configuration dialog, which the issue names as preserving each rule’s existing sound, and trace how its other fields are displayed and edited. Add a Sound field and browse button that uses the Sounds folder; the issue points to Genie 4’s UCHighlightStrings implementation for reference. Done when users can view, set, change, and clear a highlight’s sound in the dialog while existing sounds remain intact.

Written by the indexing model from the issue text.

Description

enhancement g4-regression

The use case

I use highlights with sounds, a chime when I'm fully rested or a tone on a whisper, so I notice things without watching the screen. In Genie 4 the Highlights panel had a Sound box with a browse button, so I could add, see and change a highlight's sound there. In Genie 5 the sound still works, but the Highlights page in Configuration has no Sound field:

  • I can't add a sound to a highlight from the dialog;
  • a highlight's existing sound isn't shown, so I can't tell from the dialog which highlights make a noise;
  • the only way to change or remove one is to retype the rule with #highlight or edit highlights.cfg.

I would like the Genie 4 field back.

Proposed solution

A Sound box on the Highlights page, with a browse button that opens the Sounds folder and fills in the file name. It edits the sound the rule already carries.

Everything behind it is already in Genie 5:

  • the sound plays on a match unless sounds are muted (DefaultHighlights);
  • #highlight and a Genie 4 highlights.cfg both set it;
  • editing a rule in the dialog keeps its sound (HighlightStringsPanel passes existing?.SoundFile through).

So this is only the field.

How others handle it

Genie 4: _TextBoxSound and _OpenFileDialogSound on the highlights panel (Forms/ConfigPanels/UCHighlightStrings.Designer.cs:44-71). The browse button opens the Sounds folder (UCHighlightStrings.cs:896-899). It saves as {class} {sound} after the pattern (Lists/Globals.cs:1909-1917), which Genie 5 already reads.

Policy check

Nothing here touches the game connection, automation or other players' text. It edits a setting the highlight already has.

Alternatives considered

  • A Speak field next to it. Genie 5 highlights can also speak text (TTS), which isn't editable in the dialog either. Genie 4 had no such field, so it's left out here, but it would fit in the same row.
  • Triggers carry sounds the same way, but Genie 4's trigger panel had no Sound box, so this request covers highlights only.
Dominant language
C#
Stars
2
Forks
5
Avg merge
4d 3h
Merged PRs (30d)
22

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenieClient/Genie5

All issues in GenieClient/Genie5

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.