Skip to content

Pass on shell environment variables to launched game #2212

Open
@W-Drew

Description

@W-Drew

Normally when debugging non-Mod Organizer applications, I can launch with session-specific environment variables. If I were to do this with Skyrim outside of Mod Organizer, it might looks something like:

  1. As a mod developer, I can create a number of saves in different game locations to quickly test different parts of my mod
  2. In my IDE, I can create launch presets which depending on the preset sets an environment variable such as "DevAutoLoadSave": "RiverwoodTest" which only applies to the current shell
  3. In my mod, I can read the DevAutoLoadSave at runtime and automatically load that save on startup rather than having to manually type load RiverwoodTest in the console (particularly useful in VR where the console is difficult to use with a headset on)

Obviously MO interrupts this as a middleman though. It would be nice if the environment from the shell MO was launched in was mirrored to the launched game.

Potential tie-in with #2196

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestUser submitted feature request.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions