Main > Software Forum
help launching pc games
fantoboy:
Some of my pc games such as Melty Blood go to a config screen before launching the game. What would be the best way for the front end (Mala) to send a button press (enter) right in the beginning to skip this? A wrapper?
unclet:
I am assuming entering "enter" will close your configuration screen and allow the game to start ..... so I believe the easiest way would be to have MALA reconfigure your keyboard encoder for each PC game when it is selected and have your Player1 start button (for example) to be mapped to "enter". This way, when the game is selected in MALA, the configuration screen will be seen and the player can push the start button to begin.
If you do not want to see the configuration screen at all when the game starts, then a wrapper might be needed, although I believe a wrapper would only be able to automatically send the "enter" keypress for you after the game starts, so you might see the flash of the configuration screen anyway unless the wrapper can execute the application in the background until the configuration screen has been closed.
gonzo90017:
You can try using autohotkey, Autoit, or closemul http://lustar.free.fr/clusters/closemul/
fantoboy:
closemul looks like it can do what I need!
I'm not understanding it though.
DO I just edit the ini file?
Here is what I see in the ini:
--- Code: ---[Parameters]
Exit Key 1=ESC
Exit Key 2=
Extract=
Extracted Ext 1=
Extracted Ext 2=
Pre Command=
Post Command=
Mount Program=
Mount Device=
Mount Parameters=
Registry File=
Automation=
Automation Steps=
Automation Delay=
Program=
Program 2=
Param Before File=
Param After File=
File=
Snap 1 Search=
Snap 2 Search=
Snap Extension=
Snap Source Folder=
Snap 1 Dest Folder=
Snap 2 Dest Folder=
Quit Management=
Quit TimeOut=
Disable Quotes=
--- End code ---
so I put the program under Program= like:
--- Code: ---Program=G:\3darcade\emulators\PC_games\doujin\MBACWIN\mbacPC.exe
--- End code ---
now i dont see auto=, autosteps=, and autodelay= as stated in the readme:
--- Quote ---- Keyboard Automation (Automatically load games for emulators that don't support command line)
For the automation to be active you must use the auto= parameter to set the "Window Title" of your Program.
You can define a list of keyboard commands to be executed right after the Program is launched, in the .ini or by using
autosteps="command1,command2" (autosteps="ALT+F, O, FILE, ENTER, F2")
You can optionally set a time to wait between commands with autodelay= (defaults to 50 milliseconds).
The list must be comma separated, with or without spaces.
You can use Special Commands, Prefixes+Keywords, Keywords, or plain text.
Prefixes: SHIFT+ CTRL+ ALT+ WIN+ (e.g. ALT+F, ALT+TAB, SHIFT+TAB... WIN+ usually requires a lower case letter: WIN+e)
--- End quote ---
do I use automation=, Automation Steps=, and Automation Delay=?
they dont seem to be working for me. Even if i type in what is stated in the read me. It does launch the game, but doesnt press enter.
edit:
or do I just make a batch file? I tried- doesnt seem to work for me either
--- Code: ---closemul.exe auto= G:\3darcade\emulators\PC_games\doujin\MBACWIN\mbacPC.exe autosteps= "ENTER,ENTER" autodelay=1000
--- End code ---
gonzo90017:
Yes, you need to edit the ini file. Run your game in a window and write down the title.
The Exit key must be in ASCII code Esc =27
Exit key=27
Automation:game title here
Automation steps:ENTER
Automation Delay:enter the time it takes from when you launch the game till you need to press enter. (1000 =1 sec)
Program:mbacPC.exe (if that's the name of your game's exe)
Navigation
[0] Message Index
[#] Next page
Go to full version