PDA

View Full Version : Dreamcast AHK rom dialog box help



NoMoreHeroes
09-22-2010, 01:46 PM
Hello, I've got pretty much everything else working perfectly with my dreamcast set, the only problem is the ROM dialog box popping up, forcing me to hit enter before the emu/game loads. I don't see msgbox anywhere, so I was hoping someone could help me out, here's my script:


;*********************************SEGA DREAMCAST********************************
else if (systemName = "Sega Dreamcast")
{
if(executable = "nullDC_Win32_Release-NoTrace.exe" ||executable = "nulldc" )
SetWorkingDir, %emuPath%
Hotkey, %exitEmulatorKey%, CloseProcess
rom = "%romPath%%romName%\%romName%%romExtension%"
SetBatchLines -1
IniWrite, 1, %A_WorkingDir%\nulldc.cfg, nullDC, Emulator.AutoStart
IniWrite, 1, %A_WorkingDir%\nulldc.cfg, nullDC, Emulator.NoConsole
IniWrite, 1, %A_WorkingDir%\nulldc.cfg, drkpvr, Fullscreen.Enabled
IniWrite, 800, %A_WorkingDir%\nulldc.cfg, drkpvr, Fullscreen.Res_X
IniWrite, 600, %A_WorkingDir%\nulldc.cfg, drkpvr, Fullscreen.Res_Y
IniWrite, %romPath%%romname%%RomExtension%, %A_WorkingDir%\nulldc.cfg, imagereader, defaultimage
Run, %executable%
Process, WaitClose, %executable%
WinActivate, HyperSpin
}

djvj
09-22-2010, 05:36 PM
Can you take a screenshot of the box so we know exactly what program it is coming from?

chillinwater
09-23-2010, 07:31 AM
If its a message from Hyperlaunch, try this:

search for a "msgbox" at the bottom of Hyperlaunch.ahk and disable it ";"

IfExist %RomPath%%RomName%\%RomName%.%A_LoopField%
{
RomPath = %RomPath%%RomName%\
;MsgBox %RomPath%
romExtension = .%A_LoopField%
romFound = true

NoMoreHeroes
09-24-2010, 10:50 AM
Thanks chillinwater, you fixed it before I even got on to post the screen, haha. Working good now!