English Amiga Board


Go Back   English Amiga Board > Other Projects > project.WHDLoad

 
 
Thread Tools
Old 16 June 2024, 16:38   #1
Torti-the-Smurf
Registered User
 
Torti-the-Smurf's Avatar
 
Join Date: Dec 2018
Location: Earth
Posts: 1,086
Some RawKey work for the QuitKey in some game but not in another ?

Hi Folks.

Some stange thing i found .....

Usually i use the HELP key as my "Quitkey" (Rawkey $5F) in WHDLoad,

but a few games use the HELP key for some functions,
so why not use the PAUSE KEY (Rawkey $ef) instead. (i thought)

Well, the stange thing is, it works in some games but not in others

For example. it works for Chaos Engine OCS but not for Civilization DE.

Why ?

When i use JST to load the exact same Civilization.slave
the PAUSE Key works as QuitKey, but not with WHDload.

Why is that ? Any Ideas ?

Thanks

Last edited by Torti-the-Smurf; 16 June 2024 at 17:05. Reason: TOPIC NAME TYPOS: Some RawKeys work as the QuitKey in some Games but not in others !
Torti-the-Smurf is offline  
Old 16 June 2024, 17:17   #2
Snoopy1234
Registered User
 
Snoopy1234's Avatar
 
Join Date: Apr 2022
Location: Australia
Age: 52
Posts: 897
A non-technical note:
IT can only surmount what's there, not create a new instance. Unless the title structure is documented, you may not have any leverage on exiting. (Medicine)

Or maybe CODE is a Logical Hypothesis only and independent of Platform and standard. I'm feeling silly.
Snoopy1234 is offline  
Old 16 June 2024, 17:37   #3
Nor Bert
Norbert
 
Nor Bert's Avatar
 
Join Date: Jan 2022
Location: Poland
Posts: 137
Use the rawkey provided on this website
https://www.whdload.de/docs/en/rawkey.html



Nor Bert is offline  
Old 16 June 2024, 18:00   #4
Torti-the-Smurf
Registered User
 
Torti-the-Smurf's Avatar
 
Join Date: Dec 2018
Location: Earth
Posts: 1,086
Hmm, i am using a PC keyboard on the Mist/er and Amiga Test Kit shows me the
"Pause key" as ef (Quitkey=$ef)

and it works mostly, but not with all games. With JST it works on all
(even with the same slave)

So, maybe WHDload does not support PC keyboards fully, (depending on the slave)
but JST does ?

Hmm; i have to ask Wepl or JOTD, i guess

Thanks guys

PS: Tried the same thing in WinUAE...
I made PAUSE/BREAK the QuitKey and it worked for Chaos Engine OCS but not for CivilizationDE, just like on the Mist/er.

Last edited by Torti-the-Smurf; 16 June 2024 at 18:17. Reason: adding PS:
Torti-the-Smurf is offline  
Old 16 June 2024, 18:29   #5
DisasterIncarna
Registered User
 
DisasterIncarna's Avatar
 
Join Date: Oct 2021
Location: England
Posts: 1,269
think im using the Numpad Enter Key for my setups that use pc keyboard, works so far.
DisasterIncarna is offline  
Old 16 June 2024, 18:45   #6
Torti-the-Smurf
Registered User
 
Torti-the-Smurf's Avatar
 
Join Date: Dec 2018
Location: Earth
Posts: 1,086
ENTER on the Numpad is a key that exists on a real Amiga Keyboard.
It can be found on the Sheet that Nor Bert had posted above. ($43)

PAUSE/BREAK did not exist on a real Amiga Keyboard, thats the difference.

ENTER on Numpad is also used in some games like Flightsims;
thats why a QuitKey like PAUSE/BREAK would be really neat

Like i said, it works on some games but not in others. (50/50)

But works 100% with JST. (with the exact same slave)

So there must be a difference how WHDLoad and JST handle this. hmmmmmm
Torti-the-Smurf is offline  
Old 16 June 2024, 18:59   #7
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 7,028
$EF is not a valid key code. Key codes go from $00 to $7F. The $80 bit is the "key up" indicator, i.e. it is added to the code when you stop pressing the key.

Try $6F for pause.
thomas is offline  
Old 16 June 2024, 20:17   #8
Torti-the-Smurf
Registered User
 
Torti-the-Smurf's Avatar
 
Join Date: Dec 2018
Location: Earth
Posts: 1,086
Thank you so very much Thomas

That works 100% and now, thanks to you, not a single regular Amiga Key is "highjacked" anymore

That was so nice of you Thomas
Torti-the-Smurf is offline  
Old 16 June 2024, 23:01   #9
Wepl
Moderator
 
Wepl's Avatar
 
Join Date: Nov 2001
Location: Germany
Posts: 876
WHDLoad only quits on keyup events. So anything above 127 would never trigger.
Older WHDLoads have quit via keydowns, but I changed this to avoid that the keyup is received by the OS after returning.
Anyhow the beta 19.0 of WHDLoad doesn't allow setting QuitKey >127 anymore (beside quits via joyport buttons).

But if the Slave itself performs the Quit then it will usually quit via keydown. This is also the reason for you mixed results. If the Slaves performs the quit then also $ef will mostly work.

Last edited by Wepl; 16 June 2024 at 23:14.
Wepl is offline  
Old 16 June 2024, 23:37   #10
Torti-the-Smurf
Registered User
 
Torti-the-Smurf's Avatar
 
Join Date: Dec 2018
Location: Earth
Posts: 1,086
That explains everything. Thanks Wepl
Torti-the-Smurf 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
global quitkey Thalion project.WHDLoad 23 28 December 2014 02:05
Quitkey setup for dummies? TroelsDK project.WHDLoad 5 03 July 2013 13:38
Is there a way to run a game with quitkey disabled? MethodGit project.WHDLoad 8 29 March 2008 19:36
Quitkey in WHDload killergorilla support.Games 2 05 April 2004 19:16
Quitkey in WHDLoad Locash support.Apps 4 26 October 2003 18:11

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 15:04.

Top

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