Concurrent Chunk Management Engine (Fabric)

Concurrent Chunk Management Engine (Fabric)

231k Downloads

c2me.toml Config file doesn't save my changes.

CalebAShepherd opened this issue ยท 5 comments

commented

Describe the bug
A clear and concise description of what the bug is.
I am trying to increase the maxViewDistance in [clientSideConfig.modifyMaxVDConfig] but when I change the setting and open the game it reverts automatically to 32.

To Reproduce
Steps to reproduce the behavior:

  1. Change maxViewDistance from 32 to 128 under [clientSideConfig.modifyMaxVDConfig]
  2. Run game
  3. 128 reverts back to 32 automatically in the config file

Expected behavior
I expected the max render distance in video settings to change to 128.

Runtime info (please complete the following information):

  • OS: Windows 11
  • Minecraft version: 1.20.4
  • Mod version: 0.2.0+alpha.11.67 devbuild for 1.20.4

Crash reports / logs
Game doesn't crash.

Other mods
Fabric API

Checklist

  • [ X] I am using the official version of the mod.
  • [X ] I tried the latest development version but the issue persists.
  • [ X] I searched for similar open issues and could not find an existing bug report on this.
commented

Please provide logs anyway even if it doesn't crash. How are you modifying the config file?

commented

game log: https://pastebin.com/0sQQcpMJ

I'm simply opening the config file (c2me.toml) in Notepad, changing the number and saving it. But after I save it and open the game, it automatically changes itself back.

commented

The number? All default entries have a placeholder value "default" rather than a number. Modifying the value in the comment have no effect.

This is how you do it:

maxViewDistance = 128

Full reference for toml configuration files: https://toml.io/en/

commented

Thank you so much, that makes perfect sense. I'll give it a try

commented

Worked perfectly. Thank you