Jump to content
(Open Beta) HyperSpin 2 is now available for everyone ×

Game and Watch script WinMinimize or WinHide


doohan

Recommended Posts

Posted

Hello, 

I've made a script to launch 1/Xpadder then 2/a Game & Watch game and it runs and close perfect.
The only thing I'd like to do is to minimize the Xpadder window in the taskbar or hide it (depending 
on how long it takes to minimize, I prefer the window of Xpadder to be invisible :-)
Here is the script:

Run, Xpadder.exe
Sleep, 500
Run, Banana.exe
Esc::
Process, Close, Banana.exe
Process, Close, Xpadder.exe
ExitAPP
return

Can someone help me?

Thanks and regards,

image.png

Posted
14 minutes ago, jackhammersalm said:

gig its in the latest mame version

 

Thanks. 

Even if you are using the exe versions of Game & Watch from MADRigal? 

56uIzxg.png

Posted

Hi all

I have a module for PCLauncher or similars, so I try to use it for Game and Watch.... I follow step by step and have a question that can look silly:

*Make a file called PCLAUNCHER.ahk (or whatever you want to call it, so in my case, Game and Watch.ahk), right click and compile it. Set this as your emu exe.

Ok. but do I have to write something in this ahk file like this or is it supposed to be empty?:unknown:

-----------------------------------------------------------------------

IniRead, gamePath, %A_Scriptdir%\Modules\%systemName%\settings.ini, %romName%, gamePath
IniRead, params, %A_Scriptdir%\Modules\%systemName%\settings.ini, %romName%, params

RunWait, %romPath%%romName%%romExtension% %params%
WinActivate, HyperSpin

ExitApp

CloseProcess:
return

----------------------------------------------------------------------

Thanks and regards, 

 

Posted

I'v tried something simple nearly working:

In the same folder than the games: a ahk script by game:

Run, E:\Nintendo\Game & Watch\Jeux\Banana\Banana.exe
Esc::
Process, Close, Banana.exe
ExitAPP
return

But I got his message "sound folder unproperly installed. Please reinstall the game."

I don't need to reinstall the game, only to start the exe out of the ahk script.

No problem with 95Popeye and popeye2....something to do with Madrigals games and the folder "Sounds"...

Anyone an idea why I got this message with the launching of the exe with the script?

 

Thanks and regards, 

Posted

Hi Gigapig, 

 

Problem is that I'v never used RocketLauncher, I don't like it and all is working fine with Hyperspin

except that I would like to launch Xpadder with Game and Watch only, so if my script to launch

a Game and Watch.exe succeeds, I would only have to add a "Run Xpadder"....  :)

Posted

Solved, 

 

I had to launch the ahk from the folder of the game itself...

Anyone knows how to add run Xpadder before launching the game and close Xpadder after closing the game?

Maybe Runwait?

Thanks and regards,  

Posted

Hello, 

 

I made a .ahk which works perfect:

 

Run, E:\Nintendo\Game & Watch\xpadder_gamepad_profiler\Buttons.xpadderprofile (charge"Buttons.xpadder profile"with the one you want to activate for each game)
Sleep, 500 (wait till Xpadder profile is active)
Run, HandheldQuake.exe 
Sleep, 500
MouseMove, 0, 1200 (get rid of the mouse pointer as it is not a Hyperlaunch)
Send {Return} (access the game)
Send {Return} 
Esc::
Process, Close, HandheldQuake.exe
Process, Close, Xpadder.exe
ExitAPP
return

Create a folder with the name of the game and erase all games in the folder "Games" from the HandheldQuake folder except the one you want to launch.

The command "Click x, y" can be good if needed to bypass some screens or select actions to click to access the game by example to open the double screens Donkey Kong.

I've just one question. The script works for all games but for HandeldQuake games, it works fullscreen outside HyperSpin but the windows of the exe  of HandeldQuake goes in background in HyperSin. Only works if the settings in the program is not in fullscreen but then, I'm not fulscreen anymore...

I'v heard that there is a command like 'Winset, Alwaysontop' but when I write it, the command doens't seem to understand what window has to go on top of screen, in this case, the HandeldQuake.exe

 

Does someone know about this command line?

 

Thanks and regards, 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...