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

Auto splitters usability improvements #30

Merged
merged 5 commits into from
Aug 15, 2023
Merged

Auto splitters usability improvements #30

merged 5 commits into from
Aug 15, 2023

Commits on Aug 11, 2023

  1. Auto splitters UI/UX improvements

    This commit changes multiple things regarding how auto splitters work and are handled by obs-livesplit-one
    
    Instead of having to manually download the auto splitter files, obs-livesplit-one will now use the auto splitter list XML file and download the auto splitter files automatically.
    Because of this, it can now display information on the auto splitter like the description and website.
    The UI code might be a little jank but it should be updating properly depending on the user's actions.
    The auto splitter list and files are also saved to a file in case there is no access to internet. They are saved in a new config folder that's gonna be used by obs-livesplit-one. However, while the list can be read from file, the auto splitters can't be activated from their files yet, this will need to be figured out at some point (probably when we will be able to save and retrieve auto splitter settings from the splits file)
    
    To implement these functionalities, I relied on a few external crates to help with XML parsing and networking things, I assume some things could probably be implemented by livesplit-core but this will do for now.
    Refragg committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    f2e2b2d View commit details
    Browse the repository at this point in the history
  2. Option to start the game from the properties

    Some platforms require root privileges to be able to read from any process' memory.
    We can however read a child process' memory which would avoid having to run OBS as root.
    This patch adds functionality to do exactly that, there is now a path you can provide in the properties window to start the executable you'd like, you'll just have to press the "Start game" button after that.
    Refragg committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    7f8a6ea View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2023

  1. Fix CI build

    This patch hopefully fixes the issues that made the CI build fail:
    
    -Added the new OBS functions used to the obs crate
    -Switched reqwest to use rustls so that we don't need to install OpenSSL for the linux build
    Refragg committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    ca105cd View commit details
    Browse the repository at this point in the history
  2. Actually fix the CI build

    Refragg committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    a225a8a View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2023

  1. Some more cleanup

    CryZe committed Aug 15, 2023
    Configuration menu
    Copy the full SHA
    60bbe75 View commit details
    Browse the repository at this point in the history