Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FluxEngine-GUI: where is the customized configfile stored? #739

Open
mathe1 opened this issue Jan 25, 2024 · 5 comments
Open

FluxEngine-GUI: where is the customized configfile stored? #739

mathe1 opened this issue Jan 25, 2024 · 5 comments

Comments

@mathe1
Copy link

mathe1 commented Jan 25, 2024

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?

@davidgiven
Copy link
Owner

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.

@mathe1
Copy link
Author

mathe1 commented Jan 25, 2024

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?

@davidgiven
Copy link
Owner

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.

@mathe1
Copy link
Author

mathe1 commented Jan 25, 2024

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...

@davidgiven
Copy link
Owner

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants