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

Somewhat proper standalone timer implementation #27

Merged
merged 5 commits into from
Mar 3, 2024
Merged

Somewhat proper standalone timer implementation #27

merged 5 commits into from
Mar 3, 2024

Conversation

Vinjul1704
Copy link
Collaborator

This PR moves the standalone ER cli timer + blackscreen remover to a separate executable, while also adding support for DS 1-3 and Sekiro.

On start, it prompts the user for the game, after which it displays the timer (or error message) underneath it. Due to this, it also doesn't clear the entire console window anymore each time it updates, and instead updates the same line. In some cases, resizing the window too much might not work super well, but it generally behaved well on both Windows and Linux in my testing.

I also noticed that the time formatting in the previous code sticked to a 24 hour time format, after which it would loop around, which I fixed.

The use case for this is mostly Linux users speedrunning via Wine/Proton, since LiveSplit tends to be wonky there.

src/clitimer/Program.cs Outdated Show resolved Hide resolved
src/clitimer/Program.cs Outdated Show resolved Hide resolved
src/clitimer/Program.cs Outdated Show resolved Hide resolved
@FrankvdStam
Copy link
Owner

Thanks a lot for your efforts, much appreciated. I have a few comments and it looks like I have to fiddle with the build a bit to merge this.

@FrankvdStam FrankvdStam merged commit cc30016 into FrankvdStam:main Mar 3, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants