Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: SpamMe on June 21, 2005, 04:56:56 pm

Title: EveryExtend + AutoHotKey == Cab-Friendly
Post by: SpamMe on June 21, 2005, 04:56:56 pm
EveryExtend (free): - http://nagoya.cool.ne.jp/o_mega/product/e2.html
AutoHotKey (free): - http://www.autohotkey.com/

EveryExtend works alright in a cabinet (escape to quit, playable (menus and all) with a joystick and one button), but has a couple of problems:

Solution:
Download and install EveryExtend, download and install AutoHotKey (doesn't need to be installed in the cabinet, see below), and create a new script like the following:
Code: [Select]
;start everyextend
Run, C:\Path.To.EveryExtend.Folder\SGX2.exe, C:\C:\Path.To.EveryExtend.Folder,

;Looks for exact window titles instead of partial
SetTitleMatchMode, 3

;wait until EveryExtend's 'fullscreen or not' dialog pops
WinWait, Project-SGX2, Fullscreen mode?
;and dismiss it
ControlSend,, y, Project-SGX2, Fullscreen mode?

;wait for the full screen game to begin
WinWait, Project-SGX2,,,Fullscreen mode?

;check to see whether EveryExtend is still running every second or so
SetTimer, close, 1000

;the following basically remap every one of my player one controls to 'z'

*q::
*w::
*e::
*r::
*t::
*y::
*Enter::
Send {z down}
Return

*q up::
*w up::
*e up::
*r up::
*t up::
*y up::
*Enter up::
Send {z up}
Return

;If there's no everyextend instance, exit the AutoHotKey script.
Close:
IfWinNotExist, Project-SGX2
exitapp
Return

Next convert your script to an exe (which will let the script run on a machine that doesn't have autohotkey installed) with AutoHotKey's included "Convert .ahk to .exe" utility, and point your frontend to that instead of the actual PC app.

[Edit] - Better code
Title: Re: EveryExtend + AutoHotKey == Cab-Friendly
Post by: Howard_Casto on June 21, 2005, 06:30:55 pm
Yup this trick also works for the pc version of guilty gear XX  those trackball games and virtually any pc game you can think of.

Autohotkey will be merged with my uber wrapper to create the ultimate solution (eventually). 
Title: Re: EveryExtend + AutoHotKey == Cab-Friendly
Post by: EndTwist on June 21, 2005, 07:54:35 pm
I can't seem to get your "alternative" method to work at all...

Edit: I got this working -
Code: [Select]
q::zDownUp()

zDownUp()
{
     Send {z down}
     Sleep 70
     Send {z up}
}
Title: Re: EveryExtend + AutoHotKey == Cab-Friendly
Post by: Howard_Casto on June 22, 2005, 01:13:29 am
there are better ways to code it, but i'm tired... maybe later


also the ahk works much better in xp than anything else
Title: Re: EveryExtend + AutoHotKey == Cab-Friendly
Post by: SirPoonga on June 22, 2005, 09:11:01 am
Does someone have a direct link to the everyextend file?  I can;t follow foreign text.
Title: Re: EveryExtend + AutoHotKey == Cab-Friendly
Post by: EndTwist on June 22, 2005, 09:14:13 am
Does someone have a direct link to the everyextend file?  I can;t follow foreign text.

http://my.vector.co.jp/servlet/System.FileDownload/download/ftp/0/327077/pack/win95/game/shoot/e2.lzh