Deadly Posted April 21, 2013 Posted April 21, 2013 I have mine setup to use the same keys as MAME does for it's typical Nintendo games. Any line starting without a semi colon makes the remap happen. ;-----Control Remaps----- 5::c ;Insert Coin ;~?::1 ;Start Player 1 6::2 ;Start Player 2 ;?::{Left} ;Move Left ;?::{Right} ;Move Right ;?::{Up} ;Jump Up a Level ;?::{Down} ;Jump Down a Level alt::x ;Fix-It ctrl::z ;Jump ;?::{Shift} ;Fix-It ;?::{F5} ;save ;?::{F6} ;FrameSkip ;?::{F7} ;ScreenShot ;?::{scrlk} ;lock mouse crosshairs to center of screen ;------------------------
inmyrem Posted April 21, 2013 Posted April 21, 2013 I wanted to make it available for both players on the cocktail cabinet without having to stray from the controls already being used. Here's what I did: ;-----Control Remaps----- ~5::c ;Insert Coin ~6::c ;Insert Coin ;~?::1 ;Start Player 1 ;~?::2 ;Start Player 2 d::Left ;Move Left g::Right ;Move Right r::Up ;Jump Up a Level f::Down ;Jump Down a Level LCtrl::x ;Fix-It LAlt::z ;Jump a::x ;Fix-It s::z ;Jump ;?::{F5} ;save ;?::{F6} ;FrameSkip ;?::{F7} ;ScreenShot ;?::{scrlk} ;lock mouse crosshairs to center of screen ;------------------------
Deadly Posted April 21, 2013 Posted April 21, 2013 Thanks for the update script DJVJ. Game and bezel line up perfectly. Not that it makes a difference but it appears to me the EXE takes more time to load than the old one. Any changes there?
djvj Posted April 22, 2013 Posted April 22, 2013 Unless you're on a commodore, no idea why that would be. It's just as fast (near-instant) over here. "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."RocketLauncher's Official Home If you appreciate my work:My Apps:Window LoggerIdle Volume AdjusterExplorerRestorerRom Folder CleanerModule UpdaterMy Guides:How To Mod Guncons with Aimtrak
jshmupj Posted April 25, 2013 Posted April 25, 2013 i get error line 020 when i run the launcher. then it says cant find the file...how do i exit this and get my taskbar back? lol...sorry if this is a dumb question.... lol Warning! A huge Battleship is approaching fast!
SORHP Posted April 26, 2013 Posted April 26, 2013 ctrl alt del, and stop the autohotkey program from running? My Arcade Machines...
jshmupj Posted April 26, 2013 Posted April 26, 2013 lol...yeah did that, closed the fix-it felix, but i dont know what program is hiding my task and menu bars.....lol! have this same prob with taito module......lol Warning! A huge Battleship is approaching fast!
SORHP Posted April 26, 2013 Posted April 26, 2013 Sorry, not at my computer, but with most xp and 7 systems, if you close the explorer.exe also, it will restart explorer and restore your bars My Arcade Machines...
jshmupj Posted April 26, 2013 Posted April 26, 2013 thanks! cool to know. i just alt-esc and restarted. just wanted to know what was causing it. any ideas about the line # 020 error? would love to get this working..... Warning! A huge Battleship is approaching fast!
stovies Posted April 27, 2013 Posted April 27, 2013 jshmupj: You'll need to recompile the ahk file if you have changed the paths to the exe and bezel. Install autohotkey and then right-click the ahk file and select compile. That will create a new version of the launcher and your line 20 error will disappear!
SORHP Posted April 28, 2013 Posted April 28, 2013 Hey guys, just curious, do we have an mp4 video for the theme anywhere? My Arcade Machines...
SORHP Posted April 28, 2013 Posted April 28, 2013 No, I don't think so, but the cocktail theme is done, and I'm making a splash theme in my system as a place holder until donnei finishes his My Arcade Machines...
jshmupj Posted May 3, 2013 Posted May 3, 2013 compiled and now i get a n error 017....lol!!!! Warning! A huge Battleship is approaching fast!
gamesmame Posted May 3, 2013 Posted May 3, 2013 How do I put it in hyperspin using this script? because with this script it runs independent of HK hyperspin ..
Deadly Posted May 7, 2013 Posted May 7, 2013 How do I put it in hyperspin using this script? because with this script it runs independent of HK hyperspin .. http://hyperlist.hyperspin-fe.com/downloadahk.php?id=76
SORHP Posted May 7, 2013 Posted May 7, 2013 hey djvj, what can I add to the script to make the mouse to move off screen? pesky thing just sits in the middle of the screen... My Arcade Machines...
djvj Posted May 8, 2013 Posted May 8, 2013 Add this somewhere after the run line but before before the process, waitclose line MouseMove, %A_ScreenWidth%, %A_ScreenHeight% "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."RocketLauncher's Official Home If you appreciate my work:My Apps:Window LoggerIdle Volume AdjusterExplorerRestorerRom Folder CleanerModule UpdaterMy Guides:How To Mod Guncons with Aimtrak
Deadly Posted May 9, 2013 Posted May 9, 2013 If a person truly wants that mouse gone for FIF they should try using the autohidemousecursor program. Launch it out of your compiled script and close it as well. "Technically you could simply start with Windows and it'd disable the mouse for you and re-enable when you moved the mouse. I just don't care to have any extra things running when not needed." Too busy to try it right now but I bet it'd work just fine. If someone beats me to it - please report how it works for ya.
SORHP Posted May 9, 2013 Posted May 9, 2013 I used djvj's suggestion and it works, no mouse anywhere, I have hs shelled on this arcade, the stupid mouse still showed on ffj, no other game has this issue, weird My Arcade Machines...
Zarquon Posted May 9, 2013 Posted May 9, 2013 I made a change to the script that makes it feel more like full screen for me. I found that a zoom of 100 and a screen resolution of 1024 x 768 work pretty close to full screen so I adjusted djvj's script to change it and then change it back on exit. gamePath=C:\Users\rshupe\Downloads\fix_it_felix_jr\FixitFelixJr.exe ; the full path and exe of FixitFelixJr.exe BezelPath=C:\Users\rshupe\Downloads\fix_it_felix_jr\bezel.png ; the full path and extension to bezel file zoom=100 ; Frame Resolution-Only 33,50,100,200 are supported YAdjust=0 ; adjusts vertically how far off center from the middle of the screen, 0=center, negative value moves up, positive value moves down XAdjust=0 ; adjusts horizontally how far off center from the middle of the screen, 0=center, negative value moves to left, positive value moves to right title=ahk_class FOCAL Test Shell exitkey=Esc ShowBezel=true BackgroundColor=yellow ; changes background color, see here for available colors: http://www.autohotkey.com/docs/commands/Progress.htm#colors ; rotation=90 ; still need to rotate monitor, no point in having enabled ;---------------------------------------------------------------------------------------------------- Hotkey, ~%exitkey%, Close SaveScreenWidth=%A_ScreenWidth% ;Save current resolution SaveScreenHeight=%A_ScreenHeight% ;Save current resolution ChangeDisplaySettings( (ClrDep:=32) , (Wid:=1024) , (Hei:=768) , (Hz:=60) ) ; Set new resolution to 1024x768 WinHide ahk_class Shell_TrayWnd WinHide, ahk_class Button SplitPath,gamePath,fileName,fileDir Gui, GUI1: New, -Caption +ToolWindow +OwnDialogs Gui, GUI1: Color, %BackgroundColor% If ShowBezel = true Gui, GUI1: Add, Picture, W%A_ScreenWidth% H%A_ScreenHeight%, %BezelPath% Gui, GUI1: Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth% ; rotation := If (rotation=90 || rotation=180 || rotation=270) ? " -rotate=" . rotation . " fullscreen" : "" zoom := If (zoom=33 || zoom=50 || zoom=100 || zoom=200) ? " -zoom=" . zoom : "" Run, %fileName% %zoom% %rotation%, %fileDir% WinWait, %title% WinActivate, %title% winHwnd:=WinActive(title) WinSet,AlwaysOnTop, On, %title% WinSet, Style, -0xC00000, %title% ; Remove border and titlebar DllCall("SetMenu", uint, winHwnd, uint, 0) ; Remove the MenuBar CenterWindow(title) MouseMove, %A_ScreenWidth%, %A_ScreenHeight% Process, WaitClose, %fileName% ChangeDisplaySettings( (ClrDep:=32) , (Wid:=%SaveScreenWidth%) , (Hei:=%SaveScreenHeight%) , (Hz:=60) ) ; Set resolution back to original ExitApp ;-----Control Remaps----- ~3::c ;Insert Coin 5::c ;Insert Coin 6::c ;Insert Coin ;~?::1 ;Start Player 1 ;~?::2 ;Start Player 2 ;?::{Left} ;Move Left ;?::{Right} ;Move Right ;?::{Up} ;Jump Up a Level ;?::{Down} ;Jump Down a Level ;?::x ;Fix-It alt::x ;Fix-It ctrl::z ;Jump ;?::{LButton} ;Jump ;?::{Shift} ;Fix-It ;?::{F5} ;save ;?::{F6} ;FrameSkip ;?::{F7} ;ScreenShot ;?::{scrlk} ;lock mouse crosshairs to center of screen ;------------------------ ChangeDisplaySettings( cD, sW, sH, rR ) { VarSetCapacity(dM,156,0), NumPut(156,2,&dM,36) DllCall( "EnumDisplaySettings", UInt,0, UInt,-1, UInt,&dM ), NumPut(0x5c0000,dM,40) NumPut(cD,dM,104), NumPut(sW,dM,108), NumPut(sH,dM,112), NumPut(rR,dM,120) Return DllCall( "ChangeDisplaySettings", UInt,&dM, UInt,0 ) } CenterWindow(class) { Global YAdjust Global XAdjust WinGetPos, appX, appY, appWidth, appHeight, %class% appXPos := ( A_ScreenWidth / 2 ) - ( appWidth / 2 ) appYPos := ( A_ScreenHeight / 2 ) - ( appHeight / 2 ) WinMove, %class%,, % (appXPos+XAdjust), % (appYPos+YAdjust), appWidthNew, appHeightNew } Close: WinClose, ahk_class FOCAL Test Shell WinShow, ahk_class Shell_TrayWnd WinShow, ahk_class Button Return
mixelplick Posted May 11, 2013 Posted May 11, 2013 compiled and now i get a n error 017....lol!!!! That's the same thing I get too...did you ever find a fix?
djvj Posted May 11, 2013 Posted May 11, 2013 You need autohotkey L to use that parameter. http://l.autohotkey.net/docs/commands/Gui.htm#New "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music."RocketLauncher's Official Home If you appreciate my work:My Apps:Window LoggerIdle Volume AdjusterExplorerRestorerRom Folder CleanerModule UpdaterMy Guides:How To Mod Guncons with Aimtrak
mixelplick Posted May 11, 2013 Posted May 11, 2013 Thanks djvj!!!!! Should I use this new compiler for all my Hyperspin work since it seems to work so well or should I use my old one? That did the trick. For any of you that read this, download autohotkey l (I am using win 7 64bit) then open the location and there is a new compiler. Use that one instead of what you have been using and recompile it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.