English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 12 April 2020, 13:18   #1
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Override config

This might already be possible, if so apologies..


Is it possible to have an "override" config. That is, if activated any options set in the config override what is set in the currently loaded config, and if the option is not in the override config then the config isn't touched.
BippyM is offline  
Old 12 April 2020, 15:22   #2
Mclane
Old retro god.
 
Mclane's Avatar
 
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 857
Sounds a bit like loading a default cfg?

Maybe I'm reading it wrongly?
Mclane is offline  
Old 12 April 2020, 15:30   #3
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Quote:
Originally Posted by Mclane View Post
Sounds a bit like loading a default cfg?

Maybe I'm reading it wrongly?

Yes, so let's say I have the following GFX/Display config settings in 300 configs (I have cut it down)


Code:
gfx_display=0
gfx_framerate=1
gfx_width=720
gfx_height=568
gfx_width_windowed=720
gfx_height_windowed=568
gfx_width_fullscreen=640
gfx_height_fullscreen=480
gfx_refreshrate=0
gfx_vsync=false
gfx_lores=false
gfx_linemode=double
gfx_fullscreen_amiga=true
gfx_fullscreen_picasso=false
gfx_center_horizontal=smart
gfx_center_vertical=smart
gfx_colour_mode=32bit
gfx_blacker_than_black=false
gfx_api=direct3d
gfx_filter_scanlines=50
gfx_filter_autoscale=none
Now if I wanted to open these in a window instead of full screen, I have two options


Search through all the configs and change the
Code:
fx_fullscreen_amiga=true
to false in all configs, or load the config, then manually change to window mode, this negates the double click to start feature of winuae.


With an override config, I can tick a box (that stays ticked) and then it overrides. The override could contain just
Code:
fx_fullscreen_amiga=false
BippyM is offline  
Old 12 April 2020, 21:00   #4
StevenJGore
Amiga Fanatic
 
StevenJGore's Avatar
 
Join Date: Feb 2004
Location: North Yorkshire, UK
Age: 46
Posts: 726
Funnily enough, I was thinking about such a feature just recently. I always want my XBox 360 controller to be used as a CD32 pad, no matter what the current config says. Ditto for display settings. An "overide host config" would be ideal.

Previously, to get around this, I've used the "Find in files..." feature of Notepad++ to replace all the desired config values at once in all of my config files. I guess both methods amount to the same thing.
StevenJGore is offline  
Old 13 April 2020, 00:12   #5
rutra80
Registered User
 
Join Date: Jul 2019
Location: Poland
Posts: 308
IIRC Amiga Forever has such feature...
rutra80 is offline  
Old 13 April 2020, 00:27   #6
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,856
Quote:
Originally Posted by BippyM View Post
[...] Search through all the configs and change the
Code:
fx_fullscreen_amiga=true
to false in all configs, or load the config, then manually change to window mode, this negates the double click to start feature of winuae.[...]
You can use the following tool (or any that is able to batch search/replace) .
malko is offline  
Old 13 April 2020, 01:36   #7
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Quote:
Originally Posted by malko View Post
You can use the following tool (or any that is able to batch search/replace) .

Thanks, I can do this in notepad++ also, but I think a solution where you don't edit configs would be good
BippyM is offline  
Old 13 April 2020, 10:41   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
config_all_path=<config file> or config_host_path/config_hardware_path=<config file> (only loads host or hardware specific lines) probably does what you want.

Same as config panel "Additional Information" Set -> Link does.
Toni Wilen is offline  
Old 13 April 2020, 13:12   #9
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Quote:
Originally Posted by Toni Wilen View Post
config_all_path=<config file> or config_host_path/config_hardware_path=<config file> (only loads host or hardware specific lines) probably does what you want.

Same as config panel "Additional Information" Set -> Link does.

Thanks, I'll have a play
BippyM is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Override FS-UAE temp folder? Nova support.FS-UAE 13 03 March 2015 18:18
mk2 config 50hz & config tool help zeGouky support.Hardware 0 16 March 2014 07:09
Help with config Hobbe support.WinUAE 2 13 January 2007 06:56
Best Config for Sensible Soccer V.1.0 - V.1.2 ? SteSilk support.Games 0 05 February 2003 13:04

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 21:27.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09889 seconds with 13 queries