Skip to content

Default settings for options.txt #299

@Felix14-v2

Description

@Felix14-v2

Description

It would be extremely convenient to be able to define some default Minecraft settings in launcher to apply them (by creating an options.txt file) to new instances before the first launch. For example: default Minecraft language, default keybinds, default view distance etc.

Solution

I see two possible implementation ways:

  • make a folder with default options.txt file and automatically copy this file to the new user-made instances and modpacks without their own options.txt. Not so good, as different Minecraft versions have different options, and some older versions may break due to this.
  • implement an options override system, which will create a default options.txt file and patch it to override some values according to the user overrides. This will keep modpack compatibility as this will only affect certain values instead of overriding the entire file.

Alternatives

There're no althernatives in other launchers, this would be a unique feature. Yeah, there is a fabric mod (YOSBR) for that, but you can't install mods on unsupported versions or use them in vanilla instances. Also you have to perform additional actions every time.

Additional

This also can potentially fix Minecraft bug with missing "vanilla" pack in its default options.txt, which causes resource reloading every time you open and close the resource packs screen (even without changes) in new instances. Just an annoying bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    appRelates to Modrinth App

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions