16 August 2014, 17:03 | #1 |
Posts: n/a
|
Multiple configuration files
I used to use WinUAE in the following way:
I keep all hardware- and host-related settings in C:\Users\Public\Documents\Amiga Files\WinUAE\Configurations\default.uae. Game-specific settings (i.e. NTSC/PAL, hard disk images) are kept in game-specific configuration files, i.e. D:\Games\Apidya.uae, which consist of only one to four lines. Until WinUAE 2.7.0, launching WinUAE by double-clicking on Apidya.uae would cause WinUAE to first use all settings from default.uae, then process Apidya.uae to modify and add settings for this game as needed. This does not work anymore since WinUAE 2.8.0. According to winuaebootlog.txt, WinUAE does read default.uae. But it seems to forget everything and revert back to default settings once it reads Apidya.uae. Why was this changed? Or is there something else to keep in mind? It's very cumbersome to keep complete configuration files for each game. |
16 August 2014, 20:36 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Can you find which was last working 2.8.0 beta? Download links are still working in 2.8.0 beta thread. (http://eab.abime.net/showthread.php?t=72080)
|
16 August 2014, 20:48 | #3 | |
Posts: n/a
|
The last 2.8.0 beta that was working correctly was beta 16. The problem starts appearing in beta 17.
Given this description in the post containing that version: Quote:
Last edited by NRS; 16 August 2014 at 21:06. |
|
16 August 2014, 20:57 | #4 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
Keeping old config needs some new option. Not sure what is the best way to do it.. |
|
16 August 2014, 21:03 | #5 |
Posts: n/a
|
In that case I propose adding a new command line option: in addition to the old -f for "reset to defaults, then load config", a new -fp (or something like that) for "load partial config (without resetting to defaults)".
|
16 August 2014, 21:17 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
If it only needs to work from command line, what about if there are multiple -f's only first -f resets config before loading it?
"-f default.uae -f myconfig.uae [-f evenmoreconfig.uae]" |
16 August 2014, 21:24 | #7 |
Posts: n/a
|
That's probably the simplest solution, yeah. I would only need to add the first "-f default.uae" to the .uae file association in the Windows Registry. Let's do it that way.
To make it more transparent, I would also recommend that when settings are reset to default, a line indicating such is output to winuaebootlog.txt. |
17 August 2014, 13:53 | #8 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
http://www.winuae.net/files/b/winuae.zip updated with -f command line parameter handling change. Does it work as expected?
|
17 August 2014, 15:22 | #9 |
Posts: n/a
|
Almost. NTSC/PAL and hardfile settings from myconfig.uae now work as designed. However, the setting "gfx_filter_keep_autoscale_aspect" in myconfig.uae still is ignored, with the setting in default.uae always taking precedence.
Edit: apparently, that is not the only option with a problem. "cdimage0=" also seems to be affected, being ignored when specified in myconfig.uae. Last edited by NRS; 17 August 2014 at 16:11. |
17 August 2014, 16:30 | #10 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Should be fixed now. Same url.
|
17 August 2014, 17:04 | #11 |
Posts: n/a
|
Works nicely now. Thank-you very much.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving multiple files/folders in 3.1??? | britain4 | support.Other | 6 | 17 August 2014 02:59 |
Unpacking of Multiple .gz files | andyhants | support.Apps | 4 | 17 March 2014 03:16 |
Multiple winuae installation and problem with configuration | Dark13 | support.WinUAE | 4 | 11 August 2011 18:04 |
Macro help needed for adf2disk => dms (multiple files) | DC33 | support.WinUAE | 42 | 15 May 2007 10:44 |
Games consisting of multiple .adf files | Swordlord | New to Emulation or Amiga scene | 24 | 29 February 2004 09:52 |
|
|