davidgiven/fluxengine

FluxEngine-GUI: where is the customized configfile stored?

mathe1 opened this issue · 5 comments

Hi,

I tried to modify the custom config-file...

I made a mistake - now alltime the GUI starts with my damaged config and I can't use the GUI.
There are no function to reset the config.

So I looked in the registry, but not found anything; there also no .cfg files or something like that in the app-folder.

Where else?

What platform are you on?

On Windows it's in the registry, somewhere in HKEY_LOCAL_MACHINE. On Linux it'll be in .config somewhere. On OSX... not sure. Some plist file somewhere. It's all abstracted behind a WxWidgets utility class (https://docs.wxwidgets.org/3.0/classwx_config_base.html), so I don't know the details.

Okay, I found the data; looked in wrong registry key (Windows).

Is stored here: HKCU\Software\FluxEngine\ExtraConfig

If there is an error, the GUI doesn't load any other config.

I would like to change the built-in configs, but seems no way to do it?

I am, in fact, working on a complete rewrite of the GUI because the one you're using is terrible.

Regarding changing the built-in configs: you can't, other than rebuilding the program. However, you can put textproto configs into a file and then reference them from ExtraConfig. Of course, they'll get loaded on top of the default config for whatever format you're using.

Ah, GUI looks fine for me, but would like to click checkboxes for the mass of options there in the CLI...

I working on brother 240k-Disks from LW-30 (FAT-ID: "BDOSV250") and maybe 720k-Disk from LW-350 (FAT-ID: "BDOSV720").

The GUI's config starts not at Track 0, so the directory of the diskette missed; this is an error in the config.. that I would try fix..

Config "rolandd20" works great for LW-30-Disks...

Ah, that problem's due to the variable track alignment on the Brother 240kB disks. Different drives put track 0 in different places. Rather than using the rolandd20 config. try using the Brother 240kB config but set drive.head_bios=0 (or some other number; the default is 3).