Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Mala Autohotkey Setup? (how to run in Mala?)  (Read 5144 times)

0 Members and 1 Guest are viewing this topic.

Garetmax

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Last login:March 01, 2015, 09:17:57 pm
Mala Autohotkey Setup? (how to run in Mala?)
« on: May 22, 2011, 01:53:19 pm »
Hi,

I'm still looking at Autohotkey to automate some things - mainly Demul Fullscreen right now.

I've got this script and when I run it outside of Mala, it will run the game Ranger Mission and then it puts it fullscreen and then I can then exit with my special key so that all works.

How do I incorporate and modify this into Mala so that it will launch any of the Demul games and not just one? ???

Executable = _____________________________________??
Rom Path = C:\Emulators\Roms\Demul\Roms - Atomiswave
Rom Extensions = zip
Pre Commands = __________________________________??
Command Line = __________________________________??
Post Commands = _________________________________??
(In script) = Run, C:\Emulators\Programs\Demul\demul.exe -run=atomiswave___________________??

Here's the command line in mala without using autohotkey.
demul.exe -run=atomiswave -rom=%rom%

I see people say that they just run autohotkey script but where exactly and how do you set this up? ???


Thanks,
Scott


Here's the script I have so far.  The file name is "Demul AHK.exe"

Run, C:\Emulators\Programs\Demul\demul.exe -run=atomiswave -rom=rangrmsn
Sleep, 12000
SendInput, {Alt Down}{Enter}{Alt Up}
]::
send !{F4}
Process, WaitClose, demul.exe
ExitAPP
return
« Last Edit: May 22, 2011, 02:03:41 pm by Garetmax »

empardopo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:Yesterday at 10:00:52 am
    • My personal forum
Re: Mala Autohotkey Setup? (how to run in Mala?)
« Reply #1 on: May 22, 2011, 03:52:59 pm »
If you want to put full screen to launch this game you should put the executable of your program precommands section.

You must convert your ahk file to exe. This exe file must be put in the precommands section.

Greetings!

Garetmax

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Last login:March 01, 2015, 09:17:57 pm
Re: Mala Autohotkey Setup? (how to run in Mala?)
« Reply #2 on: May 22, 2011, 04:35:36 pm »
Okay, I've got my AHK.executible file and can put that in the pre-command section..

What do I put in for the executable line section, command line section, and what do I put in the ahk script so that any game will launch instead of just one.

Thanks
« Last Edit: May 22, 2011, 04:37:15 pm by Garetmax »

quadrider1

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 119
  • Last login:July 14, 2012, 11:41:42 am
Re: Mala Autohotkey Setup? (how to run in Mala?)
« Reply #3 on: May 22, 2011, 07:44:36 pm »
Quote
Rom Path = C:\Emulators\Roms\Demul\Roms - Atomiswave
is atomiswave a game? lol i just am seeing

Garetmax

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 50
  • Last login:March 01, 2015, 09:17:57 pm
Re: Mala Autohotkey Setup? (how to run in Mala?)
« Reply #4 on: May 24, 2011, 08:52:42 pm »
Anyone?  Anyone?  C'mon, I know there's people out there that do this.

I see posts from people saying they setup an autohotkey for this and that but they don't show any details.

I just need someone to fill in the blanks for me from my first post.  My AHK script works perfect outside of Mala so it should work in it.  I'm just not smart enough to figure it out. ???


Thanks,
Scott

empardopo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:Yesterday at 10:00:52 am
    • My personal forum
Re: Mala Autohotkey Setup? (how to run in Mala?)
« Reply #5 on: May 26, 2011, 04:42:10 pm »
Have you tested with this command line in mala without using autohotkey?
demul.exe -run=atomiswave -rom=%rom%

Then your autohotkey.exe have to put it on in precommand.By the way, autohotkey.exe doesn't call to your emulator.

Greetings