Jump to content

how do you make a module?


ublasfu

Recommended Posts

i figured it out on my own. so anybody can do it.

i remember looking at a "simple" one like FCEUX to start

MEmu = Fceux
MEmuV =  r2699
MURL = http://www.fceux.com/web/home.html
MAuthor = djvj
MVersion = 2.0
MCRC = D4C79C64
iCRC =
MID = 635038268889762139
MSystem = "Nintendo Entertainment System","Nintendo Famicom","Nintendo Famicom Disk System"
;----------------------------------------------------------------------------
; Notes:
; To set fullscreen, goto Config->Video and check Enter full screen mode after game is loaded. Leave Full Screen unchecked.
;----------------------------------------------------------------------------
StartModule()
BezelGUI()
FadeInStart()
7z(romPath, romName, romExtension, 7zExtractPath)

BezelStart("fixResMode")

Run(executable . " """ . romPath . "\" . romName . romExtension . """", emuPath)

WinWait("ahk_class FCEUXWindowClass")
WinWaitActive("ahk_class FCEUXWindowClass")

BezelDraw()
FadeInExit()
Process("WaitClose", executable)
7zCleanUp()
BezelExit()
FadeOutExit()
ExitModule()


CloseProcess:
FadeOutStart()
WinClose("ahk_class FCEUXWindowClass")
Return

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...