world-of-might-and-magic icon indicating copy to clipboard operation
world-of-might-and-magic copied to clipboard

openenroth.ini keeps resetting on game launch

Open Novicek opened this issue 1 year ago • 4 comments

Describe the bug Instead of reading the contents of the .ini, the game starts with default values. On game exit, these values are saved, however, on subsequent launches, the same error occurs.

To Reproduce Steps to reproduce the behaviour:

  1. Check contents of .ini file (for example resolution/windowed mode or keybinds)
  2. Launch OpenEnroth
  3. See that saved values were not loaded
  4. Quit the game
  5. See values have been saved
  6. Repeat 2.

Expected behavior Game configuration should load correctly.

Environment

  • OS: Windows 11, 64-bit

Additional context I have PATH set correctly, but I also have OpenEnroth installed directly in main game folder (exe, dlls, ini and shaders folder) and launch it from there.

Novicek avatar Jul 30 '23 01:07 Novicek

@captainurist Some settings still don't seem to load, but they're no longer being overriden.

The debug option no_intro = true as an example doesn't work anymore for me. Still runs intro on every launch. The line itself is still set to true on launch/exit though.

Novicek avatar Jul 30 '23 13:07 Novicek

Hmm, can you double-check?

It works for me:

  • no_intro = true disables the intro movie (the elf & orc parties reporting).
  • no_logo = true disables the nwc / 3do / jon van caneghem movies.

captainurist avatar Jul 30 '23 13:07 captainurist

Probably might make sense to replace these with a single option.

captainurist avatar Jul 30 '23 13:07 captainurist

Hmm, can you double-check?

It works for me:

  • no_intro = true disables the intro movie (the elf & orc parties reporting).
  • no_logo = true disables the nwc / 3do / jon van caneghem movies.

You're correct, I forgot there were 2 settings :) they work

Novicek avatar Jul 30 '23 14:07 Novicek