Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: rdowdy95 on February 02, 2007, 10:30:39 am

Title: AutoHotKey help with MadDog McCree major strife.
Post by: rdowdy95 on February 02, 2007, 10:30:39 am
First let me just cuss out IE7 for deleting all the ---steaming pile of meadow muffin--- I wrote then when I tried to load up a BMP Byoac says can't load that file then I click back and am like where the hell is my post I wrote.

Anyways here is the problem.  Trying to just get to the part that works.  I am trying to make a script in ahk.  Here is the script I was using.

Run,C:\Program Files\MadDog\mdm.exe   ; Run MadDog McCree
IfWinNotExist,Mad Dog McCree
{
   
   winwait,Mad Dog McCree,,100
   WinActivate,Mad Dog McCree
   Send f   ; Fullscreen
   Send r    ; reload don't move the cursor   down
   return
}
else
{
   
   WinActivate,Mad Dog McCree
   Send f   ; Fullscreen
   Send r    ; Reload don't move the cursor down   
   return
}

*1::Send {LControl}; like LControl starts the game I remap to the '1' key


ExitApp    ; Kill this script
return


Now when I run that script I am having an error message that pops up over the MDM window.  Here is the error message in jpg format.

Title: Re: AutoHotKey help with MadDog McCree major strife.
Post by: rdowdy95 on February 03, 2007, 06:02:37 pm
last bump on this, other than that I will just use the ALGLaunch program, and launch them from the desktop.
Title: Re: AutoHotKey help with MadDog McCree major strife.
Post by: Fozzy The Bear on February 03, 2007, 08:42:02 pm
last bump on this, other than that I will just use the ALGLaunch program, and launch them from the desktop.

Take out the path information!!! your script should read as follows:
Code: [Select]
Run,mdm.exe ; Run MadDog McCree
IfWinNotExist,Mad Dog McCree
{
   
   winwait,Mad Dog McCree,,100
   WinActivate,Mad Dog McCree
   Send f ; Fullscreen
   Send r ; reload don't move the cursor down
   return
}
else
{
   
   WinActivate,Mad Dog McCree
   Send f ; Fullscreen
   Send r ; Reload don't move the cursor down
   return
}

*1::Send {LControl}; like LControl starts the game I remap to the '1' key


ExitApp ; Kill this script
return
Tell autohotkey to turn it into an EXE file. Put the EXE file in the same folder as MDM.EXE and call the Autohotkey EXE file from a shortcut to it.

It will work! or at least it does on my machine.

Best Regards,
Julian (Fozzy The Bear)
Title: Re: AutoHotKey help with MadDog McCree major strife.
Post by: rdowdy95 on February 04, 2007, 03:59:05 pm
Thanks Fozzy.  I never put them in the same directory.  But get this no need. 
I had been using ALGLaunch to launch the games and I made shortcuts from the desktop.  Mamewah  wasnt  working like I wanted it to though.  But I finally figured out the problem on my own.  It was all in the command line command in my alg.ini in mamewah.  I will post this information very soon on how to get the ALGLaunch Program to work with Mamewah to bring up the American Laser Games from MAMEwah.  It will be like another emulator for MAME.  Now I just need to get Daphne configured for Mamewah, and the PC games House of the Dead.  I have House of the Dead 2  working with a no cd patch.  Just need to get no cd patch for HOTD3 then try them out.  This will be good info for anyone wanting to use ALGLaunch with MAMEwah.
Title: Re: AutoHotKey help with MadDog McCree major strife.
Post by: Fozzy The Bear on February 05, 2007, 07:41:09 pm
Thanks Fozzy.  I never put them in the same directory.  But get this no need. 
I had been using ALGLaunch to launch the games and I made shortcuts from the desktop.  Mamewah  wasnt  working like I wanted it to though.  But I finally figured out the problem on my own.  It was all in the command line command in my alg.ini in mamewah.  I will post this information very soon on how to get the ALGLaunch Program to work with Mamewah to bring up the American Laser Games from MAMEwah.  It will be like another emulator for MAME.  Now I just need to get Daphne configured for Mamewah, and the PC games House of the Dead.  I have House of the Dead 2  working with a no cd patch.  Just need to get no cd patch for HOTD3 then try them out.  This will be good info for anyone wanting to use ALGLaunch with MAMEwah.

Great!!! Look forward to reading exactly how you tackle these problems. It sounds like an ideal set of information to add to the Wiki.

Best Regards,
Julian (Fozzy The Bear)
Title: Re: AutoHotKey help with MadDog McCree major strife.
Post by: rdowdy95 on February 05, 2007, 11:53:36 pm
Yeah I need to get all the info compiled and get it under control.  It will be info on how to get it to work in MAMEWAH with the ALGLAUNCHER installed.