seerge / g-helper

Lightweight Armoury Crate alternative for Asus laptops and ROG Ally. Control tool for ROG Zephyrus G14, G15, G16, M16, Flow X13, Flow X16, TUF, Strix, Scar and other models
https://seerge.github.io/g-helper/
GNU General Public License v3.0
7.43k stars 266 forks source link

Settings randomly reset #3204

Closed catthetech closed 2 weeks ago

catthetech commented 2 weeks ago

Rules

What's wrong?

My G-Helper settings (located at %appdata%/GHelper/config.json randomly reset

How to reproduce the bug?

N/A

Logs

log.txt

Device and Model

ASUS TUF A17(FA706IC, 2021 model)

Additional information.

Notice these log lines:

                                                 2024-10-02 10:37:13 PM: Broken config: '0x00' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
2024-10-02 10:37:14 PM: Broken backup config: '0x00' is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0.     

It crashes there, and I know that's where my settings are reset because some lines after, the AuraMode setting is back to AuraStatic (the default)

Armoury Crate

Uninstalled

Asus Services

None

Version

0.191.0

OS

Windows 11 23H2

seerge commented 2 weeks ago

@catthetech hello,

I was recently adding some tweaks to prevent config reset if you quit app incorrectly (i.e during saving something into config).

Just update to the latest release https://github.com/seerge/g-helper/releases/tag/v0.194

Thanks.

catthetech commented 2 weeks ago

Thanks, I will try this