Of course NullDc is in mGalaxy ^^
http://www.mgalaxy.com/forum/index.php?topic=329.0AutoIt needed Because NullDc don't run on top on my computer, idk why, make a try on your computer without autoit first (Esc key is working). Somes applications are really strange, Epsxe close mGalaxy after 5 min of game, so I m forced to use an autoit too, but I think i m the only one who need it.
System part with and without autoit
<System>
<Name>Sega Dreamcast</Name>
<AppPath>F:\emulateur\sega\dreamcast\nullDCv1.04\NullDcAutoit.exe</AppPath>
<RomPath>F:\emulateur\sega\dreamcast\rom</RomPath>
<SnapPath>F:\emulateur\Mgalaxy\snapsemul\DC</SnapPath>
<VidPath />
<Emu selected="0">
<Cmd id="0" name="NullDC with Autoit" value=""%path\%file%ext"" />
<Cmd id="1" name="NullDC without Autoit" value="-config ImageReader:DefaultImage="%path\%file%ext"" />
</Emu>
<Ext selected="0">
<Suf id="0" value=".cdi" />
</Ext>
<Active>True</Active>
</System>
All working perfectly, full screen, 2 joystick, VMU, no crash but :
Pluggins are really hard to configure, I had lot of freeze/crash during configuration. But when you have find the correct configuration put the file in read only mode ^^ to avoid problem or make a backup.
I use a special aplication to have better filter (not necessary, it s just a test for me) injectSMAA v1.2
NullDc work with 2 sort of file cdi and gdi.
cdi are light version of gdi game to run into normal CD (size < 700 M) so some games works only in gdi format, or are special version, Re-volt cdi havent music, and Re-volt without music isn't re-volt.
So I use 2 sorts of files, I really need a mGalaxy version with multi extention support.
Atm I use a tips, I put a special file (0 byte size) in cdi folder called "Rom Name(GDI).cdi" to launch the gdi rom in folder Rom Gdi/Rom name/Rom name.gdi.
If NOT $CmdLine[0] = 1 Then Exit
HotKeySet("{ESC}", "Terminate")
if StringInStr($CmdLineRaw,"(GDI)") Then
Local $data = StringSplit($CmdLineRaw, "\")
local $newfile = ""
for $i = 1 to ($data[0] - 2)
$newfile = $newfile & $data[$i] & "\"
Next
local $name = StringTrimright($data[$data[0]],11)
$newfile = $newfile & "Rom gdi\" & $name & "\" & $name & ".gdi"
;MsgBox(4096, "Test", $newfile)
$PID = Run ("nullDC_Win32_Release-NoTrace.exe -config ImageReader:DefaultImage=" & $newfile)
else
$PID = Run ("nullDC_Win32_Release-NoTrace.exe -config ImageReader:DefaultImage=" & $CmdLineRaw )
endif
while _WinWaitActivePID($PID)
sleep(500)
wend
While 1
Sleep(500)
WEnd
exit 0
Func Terminate()
While ProcessExists ( $PID )
ProcessClose ( $PID )
WEnd
Exit 0
EndFunc
Func _WinWaitActivePID($iPid)
While 1
Local $list = WinList()
For $i = 1 To $list[0][0]
If $list[$i][0] <> "" And IsVisible($list[$i][1]) Then
If WinGetProcess($list[$i][1]) = $iPid AND WinActive($list[$i][1]) Then Return $list[$i][0]
EndIf
Next
WEnd
EndFunc
Func IsVisible($handle)
If BitAND(WinGetState($handle), 2) Then
Return 1
Else
Return 0
EndIf
EndFunc