14 March 2017, 18:33 | #1 |
Registered Whdload user
Join Date: Oct 2006
Location: Finland
Age: 48
Posts: 532
|
Script to update tool types of slaves for quit key?
I know I can set the whdload.prefs for global quit key, but the quitkey defined in the tool types of individual slaves override that.
If I'm not completely dreaming I swear I have seen a script that "patches" the tool types for a certain quitkey. But I cannot find it Have I been too much on the beer side of things or what? |
14 March 2017, 22:27 | #2 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,304
|
Usualy there is no quitkey defined as tooltype. So the global quitkey is used. Do you really have quitkey set on all your installs?
|
14 March 2017, 23:04 | #3 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
I think installs come with a quit key of their own programmed in there, or the icon you get with your install that you downloaded from somewhere MIGHT have a quitkey specified, but if you set a global quit key on whdload.prefs, it will override anything the slave says to use.
So you just have to edit your whdload.prefs file and choose the one you want to use. |
14 March 2017, 23:27 | #4 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,442
|
You can set a global quit key in the whdload.prefs file for all games. But every individually set quitkey key in the game icons/shell command will overwrite the global key. But daxb is right. There are no local quitkeys set by default (WHDLoad installer/preinstalled packs) in the game icons. Thus there is no such script i'm afraid.
Last edited by Retro-Nerd; 14 March 2017 at 23:38. |
15 March 2017, 01:51 | #5 |
Zone Friend
Join Date: Apr 2005
Location: London
Posts: 1,176
|
I could do a script to list icons of slaves where tooltype for quitkey is set.
Then you could go in and remove or amend the tooltype using iconedit or whatever. Alternatively there might be a general perpose tool on aminet for batch amending tooltypes. |
15 March 2017, 09:27 | #6 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,334
|
It should be extremely simple to do, but not worthwhile until the original poster confirms that he's actually tried to set the default quitkey.
|
15 March 2017, 15:16 | #7 | |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
Quote:
Before I set a global quitkey, every game had its own quit key, and now they all take the global one. (Also what would the point be of a global quitkey if a local one overrides it? That's not global) |
|
15 March 2017, 15:37 | #8 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,304
|
The local quitkey has the higher priority then the global one. Check the docs or just test it.
|
15 March 2017, 16:14 | #9 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,304
|
Sorry, the WHDLoad doc isn`t clear about prefs/tooltype priority. In "S:whdload.prefs" it is noticed: "CLI-Arguments and ToolTypes will overwrite these !" but not in the doc itself. Maybe it is good to copy the sentence from whdload.prefs to the docs to avoid misunderstandings.
|
15 March 2017, 16:35 | #10 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
Well thanks for clarifying that up, I thought it was the other way around. Seems a little bit silly to me to override a global with a local.
|
15 March 2017, 16:39 | #11 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,334
|
No, that makes total sense. Let's say you've defined HELP as your global quitkey. You install Lost Vikings, which uses HELP to cycle between the vikings. So you set quitkey to F10 for that particular slave.
|
15 March 2017, 16:48 | #12 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
Yeah that does make sense. I just hate being unable to exit in some games because I don't know where the hell the exit key is at
I wish you could use an NMI interrupt for that, for those of us that have the chance to have such a button (like on the ACA620)! |
15 March 2017, 16:55 | #13 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,442
|
Well, the blue splash always shows the quitkey. No matter if a coded, global or local one.
|
15 March 2017, 17:08 | #14 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
I either have it to show for a really short time or not at all, so most times I don't see what the quitkey is.
|
15 March 2017, 17:25 | #15 | |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,442
|
Quote:
|
|
15 March 2017, 17:43 | #16 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
You don't understand, I do that on purpose, I have NO INTEREST on the splash page.
So my global config either skips it or puts a really low (5 or 10 value) SplashDelay. Do I shoot myself on the foot when i don't know what key to use when I want to quit? Yes. But I hate nag screens even more, and that's why I paid for WHDLoad :P |
15 March 2017, 17:48 | #17 |
Missile Command Champion
Join Date: Aug 2005
Location: Germany
Age: 52
Posts: 12,442
|
Nah, the nag screen for an unregistered WHDLoad is 10-20 seconds. A splash screen delay for 2-3 seconds doesn't hurt plus you know what slave version you actually load. And the most important pro for a splash screen: You can enable/disable tooltypes on the fly via mouse. (I hate to edit the game icons)
|
15 March 2017, 18:26 | #18 |
Registered User
Join Date: May 2001
Location: ?
Posts: 19,645
|
I hate that when there are tooltype checkboxes, the splash screen shows longer than expected.
Nag boxes are just freakishly annoying. Glad you can enjoy them. I don't. And now that WHDLoad is free anyone can disable the splash anyway. ANyway, went way off-topic here. Sorry. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tool Types disappearing | XimeR | project.WHDLoad | 6 | 29 July 2014 15:45 |
How to change default tool for file types | AndyFC | project.ClassicWB | 2 | 13 February 2013 10:18 |
Changing .info to different types (Project, Tool, Disk etc) | Bloodwych | support.Apps | 1 | 12 January 2012 20:05 |
Questron 2 Save state and custon tool types | Emu Amiga | support.WinUAE | 22 | 12 January 2012 14:57 |
Mass Changing Of Icon Tool Types | CodyJarrett | support.Apps | 2 | 05 March 2002 19:56 |
|
|