Jump to content

looking for advice: building GemRB Module


KlopjerO

Recommended Posts

Posted
=- SOLVED -=

 

Greetings gents, 

 

I need a little advice, I'm building this crude module, and I'm currently stuck with the following: 

My Program launches and starts the game, but fadeinExit isn't triggered. 

 

the code looks like this:

 



MEmu = GemRB
MEmuV =  v0.8.2
MURL = http://www.gemrb.org/wiki/doku.php?id=start
MAuthor = klopjero
MVersion = 0.9
MCRC = F5A7A3CD
iCRC =
MID = 635038268889762139
MSystem = "GEMRB","INFINITY","BIOWARE"
;----------------------------------------------------------------------------
; Notes:

;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()
BezelStart()
 
Run(executable . " " . "-c" . " " . romPath . "\" . romName . romExtension . """", emuPath)
WinWait("ahk_class SDL_App")
WinWaitActive("ahk_class SDL_App")
 
BezelDraw()
FadeInExit()
 
Process("WaitClose", executable)
7zCleanUp()
BezelExit()
FadeOutExit()
ExitModule()
 
 
CloseProcess:
FadeOutStart()
WinClose("ahk_class SDL_App")
Return


 

In my opinion I have defined the right class

crude%2Bmodule%2B1.png

 

In what direction should I search for a solution?

Archived

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

×
×
  • Create New...