[Python] AHK / Python Project for Elden Ring: Nightreign (Storm Timer Automation)

Discussão em 'Python' iniciado por Stack, Junho 7, 2025.

  1. Stack

    Stack Membro Participativo

    I'm currently working on a small overlay tool for Elden Ring: Nightreign that acts as a Storm Timer. Since there’s no in-game indicator for when the storm starts or shrinks, I built an AutoHotkey (AHK) script that visually tracks all the storm phases. It works great — but it still requires manual interaction (pressing F1) to start the timer or continue after boss fights.

    What I want to achieve: I want to automate the phase progression (especially the transition from Day 1 to Day 2) without reading game memory.

    I’ve come up with two possible solutions: Image/Text detection of the “Day 1” / “Day 2” text that appears in the center of the screen.

    Problem: This text doesn’t show if the map or menu is open, which is often the case during these transitions.

    Sound-based detection of a unique audio cue that plays when the day switches.

    This cue always plays, even with menus open, making it much more reliable.

    What I need help with: Should I build this sound recognition part in Python or a different language?

    What’s the best way to detect a specific short sound (like a chime/cue) in real-time from desktop audio

    btw: It’s built purely for accessibility and QoL – no memory reading, no cheating.

    https://github.com/Kiluan7/nightreign-storm-timer

    https://www.nexusmods.com/eldenringnightreign/mods/86?tab=description

    Thanks in advance for any help, advice, or links!

    I did a bit of experimenting with chatgpt but it all didnt really help me

    I recorded the sound cue with Audacity and saved it as a .wav. Then I tried some things on Python which were all useless tho.

    Continue reading...

Compartilhe esta Página