djvj, I'm posting my prosystem module. It's your module changed to work around a bug that prosystem has which introduces a couple of seconds of sound latency to the games when you launch it fullscreen through the command line. This makes playing the games pretty annoying, solution is to launch it windowed instead. I left that configurable just in case. Trnzaddict asked me to post it on another thread, but I guess you could introduce this changes on your module instead of having 2 different modules around for the same emulator.
Code:;---------------------------------------------------------------------------- ; Atari 7800 ; ProSystem v1.3 ; by djvj & brolly ; 1.3 ; ; Notes: ;---------------------------------------------------------------------------- Fullscreen=true StartWindowed=true ;When launching ROMs from the command line the sound is a second or two behind the action, regardless of the sound latency setting, set this to true if you want to fix it ;---------------------------------------------------------------------------- proSysINI := CheckFile(emuPath . "ProSystem.ini") IniRead, currentFullScreen, %proSysINI%, Display, Fullscreen iniRead, Menu, %proSysINI%, Display, MenuEnabled ; Setting Fullscreen setting in ini if it doesn't match what user wants above If ( Fullscreen = "true" And currentFullScreen = "false" And StartWindowed != "true") IniWrite, true, %proSysINI%, Display, Fullscreen Else If ( StartWindowed = "true" Or (Fullscreen != "true" And currentFullScreen = "true") ) IniWrite, false, %proSysINI%, Display, Fullscreen ; Disable the emu's menu if it's active If ( Menu != "false" ) IniWrite, false, %proSysINI%, Display, MenuEnabled GUI_ID := FadeInStart() 7z1 := 7z(romPath, romName, romExtension, 7zExtractDir) Run, %executable% "%romPath%%romName%%romExtension%", %emuPath% WinWait, ahk_class ProSystem Emulator WinWaitActive, ahk_class ProSystem Emulator If ( Fullscreen = "true" And StartWindowed = "true") { ;Make it fullscreen Sleep 200 Send ^f } GUI_ID2 := FadeInExit() Process, WaitClose, %executable% 7z2 := 7zCleanUp() GUI_ID4 := FadeOutExit() WinActivate, Hyperspin ExitApp CloseProcess: GUI_ID3 := FadeOutStart() WinClose, ahk_class ProSystem Emulator Return




Reply With Quote


Bookmarks