Results 1 to 7 of 7

Thread: HyperLaunch issue

  1. #1
    GamesMaster
    azda's Avatar
    Join Date
    Mar 2011
    Location
    Yorkshire, UK
    Posts
    83
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default HyperLaunch issue

    I have an issue when HyperLaunch is set to true that keyboard input 'Q' does not work.

    I am using an x-arcade 2 player Joystick which utilises keyboard inputs and the letter Q is used as a button on the 2 player control panel.

    Whenever HyperLaunch is used for an EMU this button isnt recognised unless I turn HyperLaunch off.

    Hope this makes sense, any help would be appreciated.





    This is my AHK script, I was wondering if the issue is because q is wanted by HyperLaunch but then again so is S which works on my joystick. Im stumped!

    Code:
    ;------------------------------------------------------------------------------;
    ;                                 MAIN SETTINGS                                ;
    ;------------------------------------------------------------------------------;
    
    ;[UNIVERSAL HOTKEYS]            ;SEPERATE MULTIPLE KEYS WITH &(ampersand) up to 2 keys.
    exitScriptKey   = q & s         ;Secret hotkey(s) to exit script if needed
                                    ;Not to be confused with exit emulator keys
                                    
    exitEmulatorKey = ~1 & ~2           ;This key/key combo will close any emulators
                                    ;that do not have normal closing methods.
                                    
    toggleCursorKey = t             ;hotkey(s) to show or hide cursor if needed
                                    ;when hideCursor below is true
    
    ;[MOUSE CURSOR]
    hideCursor      = false         ;Automatically hide cursor during script
                                    ;WARNING: Make sure ALL your emu's are running fine
                                    ;before setting this to true as a precaution.*
                                    
    ;[WINDOWS]
    hideDesktop     = true          ;Attempts to hide desktop with black screen, might help
                                    ;on some emu's for hiding launching windows.
                                     
    hideTaskbar     = false         ;Hide the windows taskbar when running emu's.
                                    ;WARNING: Make sure ALL your emu's are running fine
                                    ;         before setting this to true as a precaution.*
    
    daemontools     = "C:\Program Files\DAEMON Tools Lite\daemon.exe"        ;Hide the windows taskbar when running emu's.
                                    ;WARNING: Make sure ALL your emu's are running fine
                                    ;         before setting this to true as a precaution.*
    
    /*
        *:If for some weird reason the script hangs follow these steps to get back to normal.
          1. If an emulator hangs up or cant load your game then first try to exit the emu
             by pressing your Emulator exit hotkey above.
          2. If your emu exited but your mouse cursor is gone use your cursor toggle hotkey.   
          3. Next try to exit the script by pressing your Exit Script Hotkey above. This 
             will also bring back your cursor and taskbar is they are set to true.
    */
    Last edited by azda; 04-30-2011 at 02:47 AM.

  2. #2
    Ultimate HyperSpin Guru

    Join Date
    Mar 2010
    Location
    portugal
    Posts
    2,846
    Thanks
    91
    Thanked 278 Times in 191 Posts

    Default

    Replace
    exitScriptKey = q & s
    by
    exitScriptKey = ~q & ~s

    And see if it solves the problem.

  3. #3
    GamesMaster
    azda's Avatar
    Join Date
    Mar 2011
    Location
    Yorkshire, UK
    Posts
    83
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thanks Brolly ... that did the trick.
    Can you explain the issue please ... what does the '~' actually do?

  4. #4
    Not Even Remotely Dorky!
    chillinwater's Avatar
    Join Date
    Mar 2009
    Location
    Concord, Californee
    Posts
    1,571
    Thanks
    17
    Thanked 104 Times in 52 Posts

    Default

    "~" allows the keys to be used in other programs\emus while hyperlaunch is active.
    Without it the buttons can only be used in script only.
    Hyperlaunch Hijacks them and keeps them for itself.

    When you play 2 player games the Q & S buttons when pushed at the same time are going to kill Hyperlaunch which will have the effect of a "crash".
    So while its good to have "~" in front of your keys its better if you dont use Q & S or any other frequently used keys that are on the Xarcade.

    I use
    exitscriptkey= ~m & ~n
    toggglecursorkey= ~t
    but other keys will work too
    Last edited by chillinwater; 04-30-2011 at 07:42 AM.

  5. #5
    GamesMaster
    azda's Avatar
    Join Date
    Mar 2011
    Location
    Yorkshire, UK
    Posts
    83
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Thanks for the info!

    I will ammend to the same as you as Q & S are very close to one another on the X-Arcade!

    Thanks again!

  6. #6
    HyperNewbie
    Join Date
    May 2011
    Location
    Oktoberfest
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Is it possible to use two different buttons for the "exitemulatorkey" funktion? (so or- instead and-funktion)

    I´ve tried a trick to use a key from controller 1 or a key from controller 2 but it doesn´t work:

    exitEmulatorKey = +

    Hotkey, $joy9, Exitemulator1
    Hotkey, $2joy9, Exitemulator2

    Exitemulator1:
    Send, {+}
    Return


    Exitemulator2:
    Send, {+}
    Return

  7. #7
    Not Even Remotely Dorky!
    chillinwater's Avatar
    Join Date
    Mar 2009
    Location
    Concord, Californee
    Posts
    1,571
    Thanks
    17
    Thanked 104 Times in 52 Posts

    Default

    Somthing like this?:

    Hotkey, $joy9, Exitemulator1
    Hotkey, $2joy9, Exitemulator1

    Exitemulator1:
    Send, {+}
    Return

    and\or for "Exitemulator:"
    (should only need one of these lines below "Exitemulator:")

    Exitemulator1:

    process, close, %executable%
    process, close, "actual window name on the taskbar"
    winclose, %executable%
    winclose, "actual window name on the taskbar"
    send, {the}{keys}{that}{close}{the}{emulator} ;i.e. {lalt}{f4} or {esc}

    Return

Similar Threads

  1. NullDC hyperlaunch 2.0 issue
    By pinball2883 in forum HyperSpin Main Forum
    Replies: 15
    Last Post: 05-08-2013, 07:32 AM
  2. Hyperlaunch issue with PSXFIN
    By Rickysag in forum Emulator Setup / Settings
    Replies: 10
    Last Post: 09-18-2012, 05:38 AM
  3. HyperLaunch 2.X focus issue
    By rdhanded2 in forum HyperSpin HyperLaunch - AutoHotKey Scripting
    Replies: 4
    Last Post: 05-21-2012, 06:12 AM
  4. Strange hyperlaunch issue
    By j5350 in forum HyperSpin Support
    Replies: 0
    Last Post: 08-03-2009, 11:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •