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
AppleWin Settings #709
Comments
What configuration are you needing to set in the Registry? NB. similar request in #446 |
Similar idea to #446 for a different reason, yes. In my case the user very likely will have never run AppleWin without one of my game launch bat files so there will be nothing set in the registry at all. One result would be no sound enabled as you need to enable sound within the settings of AppleWin (to my understanding) on an initial setup. I also default to Full-screen show subunit status as off, and Mockingboard on, for the users registry. There is also some questions asked to the user via the setup.bat whether they would like RGB, NTSC, Color TV, Scanlines, and whether to use joystick or keyboard for controllers. All of this feeds the reg file which I then insert into the registry at the end of the bat. It would be much simpler via an .ini which is why I ask. If I added all that to the command line even if they were all command line options it would be a very complicated command line launch. |
OK, this all makes sense - and I agree that things would get very complicated on the command line! Switching from the Registry to an ini file (or better a yaml file) seems like a big job. But I've not given it any thought at all, so perhaps I'm wrong. So no promises on if/when this can be achieved. |
I appreciate your looking into it. |
I would also love to see config.ini support. |
Tom, As a short-term compromise would it be useful to extend the debugger to have a command to load/save ini settings? The reason I'm asking is that it would be nice to have the debugger save current options (such as if disassembly shows the colon, etc.) instead of having to manually "redo" your favorite layout each time you fire up the emulator. There might be some overlap of work? |
Hi Michael, I don't know if you saw, but I recently added the auto-running of If there were a way to specify "disassembly shows the colon", etc, then you could just use this auto-run script. |
I think this is a great idea, and it does not take too much. https://github.com/audetto/AppleWin/blob/master/source/linux/interface.h#L32 I have implemented 2 different ini file backends already:
The easiest way to use a ini file is to treat it like the Registry: read & write and create if missing. But I think there are a couple aspects I would improve
|
My preference would be .yaml, not .ini - the reason being for consistency with the existing save-state .yaml format. EG. it would be odd to use .yaml for state, and .ini for config. |
Ah, I missed |
This change adds the `-conf` switch which, if specified, will use an INI-file instead of the Windows Registry. This addresses AppleWin#709 and AppleWin#446.
Closing as PR #757 adds support for |
Sweet! Thanks, I look forward to the release |
@Harbinger-365 - this is now released in AppleWin 1.29.12.0 here. |
Thanks Tom, I appreciate the efforts of everyone involved. |
Hi all,
I am working on a project to allow Apple II games to be played in a portable fashion setup so that the end user doesnt need to know how to use the emulator itself, just click a bat and it will play the game. The idea is to make these games more accessible for people who are curious but dont know much about computers in general. To that effect I have an install script which sets everything up for the user including default settings for AppleWin based on a few questions asked during the script.
My issue is that as far as I know these settings need to be inserted into the registry for AppleWin to use. I have done this using a reg file, however this triggers Windows UAC which might scare some users away. I was wondering if you had ever considered using an .ini file to store the settings instead of the registry, therefore making it easier to change a setting for more casual users, making it more portable with pre configured settings, and removing the need to edit the registry?
I apologise if this sort of suggestion bothers anyone on the project, I truly do appreciate the work you have all done. And thanks again for fixing the HDV dismount issue.
The text was updated successfully, but these errors were encountered: