Jump to content

module for Hoxs64 (commodore 64)


craiganderson

Recommended Posts

Seems to work pretty well...

just fyi in case anybody wants it

the other emulator/module wasnt working for me very well....but maybe i was doing something wrong

dunno

either way

a work in progress

actually,,,,,,gets messed with real long rom names (they get cut off on the Send Rom NAme command)

oh well.....just fyi

maybe somebody smarter than me can fix it.....

MEmu = Hoxs64

MEmuV = Hoxs64 64 bit v1.0.8.7 Files only (469KB) 8 May 2014 (requires DirectX 9+ optional components)

MURL = http://www.hoxs64.net/

MAuthor = craiganderson

MVersion =

MCRC =

iCRC =

MID =

MSystem = "Commodore 64"

;----------------------------------------------------------------------------

; Notes:

;

;----------------------------------------------------------------------------

StartModule()

FadeInStart()

BlockInput, On

settingsFile := modulePath . "\" . moduleName . ".ini"

Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)

Run(executable, emuPath)

WinWait("ahk_class Hoxs64")

WinWaitActive("ahk_class Hoxs64")

Sleep, 500

WinMenuSelectItem, ahk_class Hoxs64, , File, Auto Load

WinWait("ahk_class #32770")

WinWaitActive("ahk_class #32770")

Sleep,1000

Send, %romName%%romExtension%

Sleep,1000

SendInput, {Enter}

If Fullscreen = true

{

Sleep,100

WinMaximize, ahk_class Hoxs64

}

Sleep,500

BlockInput, Off

FadeInExit()

Process("WaitClose", executable)

7zCleanUp()

FadeOutExit()

ExitModule()

CloseProcess:

FadeOutStart()

WinClose("ahk_class Hoxs64")

Return

Link to comment
Share on other sites

Craig, I appreciate your work on the modules but they need to be kept in hyperlaunch section otherwise people won't able to find them easily later down the road.

Modules have nothing to do with hyperspin.

Sent from my Samsung Galaxy S3 using Tapatalk 4.

Link to comment
Share on other sites

Very good, but does not start in full screen, I fix a small fix in the code.

MEmu = Hoxs64

MEmuV = Hoxs64 64 bit v1.0.8.7 Files only (469KB) 8 May 2014 (requires DirectX 9+ optional components)

MURL = http://www.hoxs64.net/

MAuthor = craiganderson

MVersion =

MCRC =

iCRC =

MID =

MSystem = "Commodore 64"

;----------------------------------------------------------------------------

; Notes:

;

;----------------------------------------------------------------------------

StartModule()

FadeInStart()

BlockInput, On

settingsFile := modulePath . "\" . moduleName . ".ini"

Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)

Run(executable, emuPath)

WinWait("ahk_class Hoxs64")

WinWaitActive("ahk_class Hoxs64")

Sleep, 500

WinMenuSelectItem, ahk_class Hoxs64, , File, Auto Load

WinWait("ahk_class #32770")

WinWaitActive("ahk_class #32770")

Sleep,1000

Send, %romName%%romExtension%

Sleep,1000

SendInput, {Enter}

If Fullscreen = true

{

Sleep,200

Send, !{Enter}

}

Sleep,500

BlockInput, Off

FadeInExit()

Process("WaitClose", executable)

7zCleanUp()

FadeOutExit()

ExitModule()

CloseProcess:

FadeOutStart()

WinClose("ahk_class Hoxs64")

Return

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...