Jump to content
Sign in to follow this  
Stormrider

My script is halted while MAME is running

Recommended Posts

Stormrider

Hi. I'm trying to do a very simple script. Part of it is working. I have a frontend called MaLa (like a game menu list). When that program is active, the script works. It simply waits for some time, presses a key (for random game selection), waits for one second and then presses another key, which launches MAME (game emulator, which works with ddraw full screen). The problem is that the script doesn't work while MAME is running. It's like paused. The script is supposed to press another key after one minute or so (esc, for quiting the game). What's wrong? Sorry but I don't have much experience with this program. I've tried looking at the examples. I've tried with the send command. I've also considered using a commnand for closing MAME, instead of using the esc key. Nothing works. I don't think it's a problem with the script, but with MAME pausing the script or something. I've tried using it in a window, instead of fullscreen, at the problem persists. Thanx!

Share this post


Link to post
Share on other sites
herewasplato

Welcome to the forum.

I think that MAME uses nProtect's GameGuard software which blocks the automation of keystrokes to the program that it is guarding.


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites
Stormrider

Thanx. I already have this working. I've had to install Autohotkey. With this one, which works more or less the same as Autoit, the script is not halted. The send ESC doesn't works, but Winclose MAME does (I also tried this with Autoit and no way), so problem fixed. >_

Share this post


Link to post
Share on other sites
bhns

I had problems with MALA migrated to ADVMENU, to making a script to create the list and move automatic roms by manufacturer.

Post


:bike: 

Att...Cleber Antônio Made in Bio zonte Minas Gerais  :sweating:

Share this post


Link to post
Share on other sites
Melba23

bhns.

STOP NECRO_POSTING IN GAME THREADS! :naughty:

M23

Edited by Melba23
Typo

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.