Jump to content
This Topic

System request or question


Raccoon

Recommended Posts

  • Replies 89
  • Created
  • Last Reply

Do you know how that will work with a vertical screen?

I have mine mounted vertical for better compatibility with pinball games like Future Pinball and for vertical scrolling arcade games like 1942, Terra cresta an so on.

Link to comment
Share on other sites

one last thing

here is the module .ahk....if any module experts have any ideas to improve upon it ...please let me know

but its working 100% on my system

all games load from one click on wheel....all the way to the game starting

i need to add fullscreen support tomorrow as well

MEmu = 
MEmuV =  
MURL = 
MAuthor = craiganderson
MVersion = 
MCRC = 
iCRC =
MID = 
MSystem = "abc80"
;----------------------------------------------------------------------------
; Notes:

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

StartModule()
BezelGUI()
FadeInStart()

settingsFile := modulePath . "\" . moduleName . ".ini"
Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
BezelStart("fixResMode")

SetCapsLockState, On
SetScrollLockState, AlwaysOff

Run(executable, emuPath)

WinWait("ahk_class ABCWIN")
WinWaitActive("ahk_class ABCWIN")

Sleep, 100

WinMenuSelectItem, ahk_class ABCWIN, , Setup, Configuration...

WinWait("Configuration ahk_class #32770")
WinWaitActive("Configuration ahk_class #32770")

; loads selected game into drive 0
Loop {
	ControlGetText, edit1Text, Edit1, ahk_class #32770
	If ( edit1Text = romPath . "\" . romName . romExtension )
		Break
	Sleep, 100
	ControlSetText, Edit1, %romPath%\%romName%%romExtension%, ahk_class #32770
}

Sleep, 100

; loads [OS] SYSTEM10.dsk into drive 1
Loop {
	rom2name:="[OS] SYSTEM10"
	rom2extension:=".dsk"
	ControlGetText, edit2Text, Edit2, ahk_class #32770
	If ( edit2Text = romPath . "\" . rom2name . rom2extension )
		Break
	Sleep, 100
	ControlSetText, Edit2, %romPath%\%rom2name%%rom2extension%, ahk_class #32770
}

Sleep, 250
ControlSend, Button1, {Enter}, ahk_class #32770

WinWait("ahk_class ABCWIN")
WinWaitActive("ahk_class ABCWIN")

; centers emulator window
WinGetPos,,, Width, Height, aahk_class ABCWIN
WinMove, aahk_class ABCWIN,, (A_ScreenWidth/2)-(Width/2), (A_ScreenHeight/2)-(Height/2)

; types "RUN LIB"
Sleep, 800
SetKeyDelay, 50
Send, {R down}{R up}{U down}{U up}{N down}{N up}
Sleep, 10
Send, {Space down}{Space up}
Sleep, 10
Send, {L down}{L up}{I down}{I up}{B down}{B up}
Sleep, 10
Send, {Enter down}{Enter up}

; selects/types "D" for drive
Sleep, 1000
Send, {D down}{D up}

; selects/types "0" for drive 0 (zer0)
Sleep, 1000
Send, {0 down}{0 up}

; types "RUN" and then types the name of the rom/dsk file
Sleep, 2900
Send, {R down}{R up}{U down}{U up}{N down}{N up}		
Sleep, 100
Send, {Space down}{Space up}
Sleep, 100
Loop, parse, romName
{
Send, {%A_LoopField% Down}
Sleep, 50
Send, {%A_LoopField% Up} 
} 

; hits the ENTER button
Sleep, 100
Send, {Enter down}{Enter up}

BezelDraw()
FadeInExit()

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

CloseProcess:
SetCapsLockState, Off
FadeOutStart()
WinClose("ahk_class ABCWIN")
Process, Close, ABC80.exe
Return

Link to comment
Share on other sites

One thing about the module, I just read the module code and now I understand what you meant in a early post about "system10.dsk"

You dont have to type "RUN LIB" before you start another program, that is only to see the contents on the .dsk image.

When starting a game it should be enough to just type "RUN GAMENAME"

Link to comment
Share on other sites

  Raccoon said:
One thing about the module, I just read the module code and now I understand what you meant in a early post about "system10.dsk"

You dont have to type "RUN LIB" before you start another program, that is only to see the contents on the .dsk image.

When starting a game it should be enough to just type "RUN GAMENAME"

1) regarding the system19.dsk thing....i dont know if its true or not. but module working 100%.

2) regarding RUN GAMENAME,...cool..ill update module

Link to comment
Share on other sites

Archived

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


×
×
  • Create New...