SKSE -Elys- AltF4

Post » Sun May 27, 2012 2:43 pm

If you hate slowly quitting Skyrim using the game menus, then this plugin allows you to just use Alt+F4 :tongue:
(Note: If you use already MemInfo plugin with the toggle key functionality enabled, you don't need this plugin)

It also enable multimedia keyboard to work with Skyrim such as sound volume control.

============================
Skyrim -Elys- AltF4 v1.0.0.0
============================

1. Description
2. Requirements
3. Installing
4. Optional Settings
5. Uninstalling
6. Backup
7. Conflicts/Known Errors
8. Credits
9. Contact and Information
10. Disclaimer


===============
1. DESCRIPTION
===============

Allows pressing Alt+F4 keys to close the game


================
2. REQUIREMENTS
================

Skyrim version 1.1.21 or above is required.
Skyrim Script Extender ( http://skse.silverlock.org/download/skse_1_02_01.7z ) version 1.1 or above.


==============
3. INSTALLING
==============

Extract the content of this archive into your Skyrim folder. ( by default the folder is "C:\Program Files (x86)\Steam\SteamApps\common\skyrim" )
If correctly extracted you should find SKSE_Elys_AltF4.dll inside your "\DATA\SKSE\Plugins\"


==========================
4. OPTIONAL SETTINGS
==========================

You can enable or disable AltF4 by settings bEnabled=1 or bEnabled=0 in SKSE_Elys_AltF4.ini

================
5. UNINSTALLING
================

Delete SKSE_Elys_AltF4.dll and SKSE_Elys_AltF4.ini from your "\DATA\SKSE\Plugins\"
( by default "C:\Program Files (x86)\Steam\SteamApps\common\skyrim\DATA\SKSE\Plugins\" )
And then delete this SKSE_Elys_AltF4_README.txt.

===============
6. BACKUP
===============

As a surviving golden rule, always backup all your save games before trying a new mod. Better safe than sorry. It applies to this mod as well.

============================
7. CONFLICTS / KNOWN ERRORS
============================

Some custom DirectInput proxies/hooks used by game plugins or screen tools may conflict with this plugin.


===========
8. CREDITS
===========

Thanks to SKSE team for their nice work on Skyrim Script Extender :smile:
Thanks to Bethesda for allowing us to mod Skyrim.

===========================
9. CONTACT AND INFORMATION
===========================

Elys on Bethesda Forums ( http://www.gamesas.com/ )

===========================
10. DISCLAIMER
===========================

This software is provided 'as-is', without any express or implied
warranty. In no event shall the authors be held liable for any damages
arising from the use of this software.

http://skyrim.nexusmods.com/downloads/file.php?id=17202
User avatar
Channing
 
Posts: 3393
Joined: Thu Nov 30, 2006 4:05 pm

Post » Sun May 27, 2012 12:55 pm

Strange that a modern big-name PC game doesn't understand Alt+F4 by default. But i've always used the qqq command that does the same thing ;)
User avatar
FoReVeR_Me_N
 
Posts: 3556
Joined: Wed Sep 05, 2007 8:25 pm

Post » Sun May 27, 2012 4:53 pm

Yeah for me, I've just kept using 'qqq' in console for quick shutdowns. This is handy for people who rather use the familiar keybind though.
User avatar
elliot mudd
 
Posts: 3426
Joined: Wed May 09, 2007 8:56 am

Post » Sun May 27, 2012 11:37 am

Does the plugin execute a 'saveini' command that the vanilla quit game function does?
User avatar
priscillaaa
 
Posts: 3309
Joined: Sat Dec 30, 2006 8:22 pm

Post » Sun May 27, 2012 9:44 am

Now I understand why alt+f4 didn't work.
User avatar
Rusty Billiot
 
Posts: 3431
Joined: Sat Sep 22, 2007 10:22 pm

Post » Sun May 27, 2012 4:20 pm

Does the plugin execute a 'saveini' command that the vanilla quit game function does?

Yes. Also the plugin does nothing but enable Windows Keys to work. So pressing Alt+F4 really does ask the program to close in a standard way. Not only Alt+F4 is working, but if you have a multimedia keyboard with sound volume control or such thing, it will also work with Skyrim.
User avatar
Channing
 
Posts: 3393
Joined: Thu Nov 30, 2006 4:05 pm

Post » Sun May 27, 2012 8:57 am

Nifty! Thanks for making this :)

Yes. Also the plugin does nothing but enable Windows Keys to work. So pressing Alt+F4 really does ask the program to close in a standard way. Not only Alt+F4 is working, but if you have a multimedia keyboard with sound volume control or such thing, it will also work with Skyrim.
What was the issue actually? Was the message pump not dispatching keyboard accelerator messages to the window procedure, or did the latter just not call DefWindowProc for default message handling?
User avatar
Elizabeth Lysons
 
Posts: 3474
Joined: Fri Feb 02, 2007 7:16 am

Post » Sun May 27, 2012 10:05 pm

What was the issue actually? Was the message pump not dispatching keyboard accelerator messages to the window procedure, or did the latter just not call DefWindowProc for default message handling?

Yeah kinda. When Skyrim switches to DirectInput controls (just after the cinematic intro before the main menu), it asks for exclusive keyboard access, and since Skyrim itself does not handle most of "Windows Keyboard Messages", using them did nothing.

The plugin just prevent Skyrim from gaining exclusive access to the keyboard, so incidentally "Windows Keyboard Messages" are caught by Windows again.
User avatar
Chris Johnston
 
Posts: 3392
Joined: Fri Jul 07, 2006 12:40 pm

Post » Sun May 27, 2012 10:23 pm

Ah, nice catch. Thanks again!
User avatar
cutiecute
 
Posts: 3432
Joined: Wed Sep 27, 2006 9:51 am

Post » Sun May 27, 2012 9:42 am

So if we're using meminfo, but have the options set to always displayed, do we need this plugin to use the Windows keys?
User avatar
kat no x
 
Posts: 3247
Joined: Mon Apr 16, 2007 5:39 pm

Post » Sun May 27, 2012 12:36 pm

So if we're using meminfo, but have the options set to always displayed, do we need this plugin to use the Windows keys?

If you have

bUseScrollLock=0

in MemInfo settings, then yes you need this plugin to get Alt+F4 or other keyboard controls to work.


Else alternatively, you can set bUseScrollLock=1 for MemInfo,
and then set bAlwaysDisplayed=1 in each stat setting you want to always be on.
Then you won't need AltF4 plugin
User avatar
liz barnes
 
Posts: 3387
Joined: Tue Oct 31, 2006 4:10 am

Post » Sun May 27, 2012 9:43 am

Oh, you can do both. Ok, that would be perfect. Thanks Elys.
User avatar
Beast Attire
 
Posts: 3456
Joined: Tue Oct 09, 2007 5:33 am

Post » Sun May 27, 2012 8:05 pm

Not only Alt+F4 is working, but if you have a multimedia keyboard with sound volume control or such thing, it will also work with Skyrim.

Wow... that's fantastic! I always found it a bit odd that Skyrim didn't play nicely with the volume keys (read: didn't recognize them at all) on my keyboard... this should really help.
User avatar
Jeff Turner
 
Posts: 3458
Joined: Tue Sep 04, 2007 5:35 pm

Post » Sun May 27, 2012 10:29 am

Wow... that's fantastic! I always found it a bit odd that Skyrim didn't play nicely with the volume keys (read: didn't recognize them at all) on my keyboard... this should really help.

Same here. Thanks Elys!
User avatar
josie treuberg
 
Posts: 3572
Joined: Wed Feb 07, 2007 7:56 am

Post » Mon May 28, 2012 12:35 am

Yup: just tested it on Skyrim. All the extra keys (volume up/down, mute, web browser, my computer, etc) on my multimedia keyboard work while Skyrim is running. Of course, Alt+F4 works too. Reminds me of the 'Fast Exit' plugin for oblivion, only better :) You should add a note in the readme: "Enables extra keys on multimedia keyboards to work on Skyrim". I imagine a LOT of skyrim players with multimedia keyboards will appreciate this bit of extra functionality :)
User avatar
Breanna Van Dijk
 
Posts: 3384
Joined: Mon Mar 12, 2007 2:18 pm

Post » Sun May 27, 2012 2:11 pm

Yes. Also the plugin does nothing but enable Windows Keys to work. So pressing Alt+F4 really does ask the program to close in a standard way. Not only Alt+F4 is working, but if you have a multimedia keyboard with sound volume control or such thing, it will also work with Skyrim.
Oh sweet. Thanks for this!
User avatar
kristy dunn
 
Posts: 3410
Joined: Thu Mar 01, 2007 2:08 am


Return to V - Skyrim