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

Add ability to execute console commands from file #96

Merged
merged 1 commit into from
Mar 3, 2024

Commits on Jan 27, 2024

  1. Add ability to execute console commands from file

    Certain game profiles need CVars from outside the scope provided by
    UEVR. Editing engine.ini makes profile sharing more complicated.
    
    This changeset adds ability to execute commands from `user_script.txt`
    located inside game profile folder.
    
    This allows flexible customization bundled in profiles that need it.
    
    Syntax and effects are the same as commands were entered in native console.
    Namely one command per line, space separated arguments.
    
    Comments are supported in form of whole line comments starting with '#'
    or ';'. Additionally inline comments are supported in form of
    `command param # comment`
    
    Example is Abzu where addding snippet `r.WaterSurfaceReflections 0` to
    `user_script.txt` disables distracting visual effects.
    keton committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    6efe0d3 View commit details
    Browse the repository at this point in the history