Page 1 of 2

Missings emulators.

Posted: Tue Jul 09, 2013 7:54 pm
by Aeliss
Tell me if you have settings problems on the emulator because I don't remember if they are hard to find  :-\

3DO

Emulator 4DO http://www.fourdo.com/

Special Setting : Nothing.

Code: Select all

  <System>
    <Name>Panasonic 3do</Name>
    <AppPath>F:\emulateur\panasonic\3do\4do\4DO.exe</AppPath>
    <RomPath>F:\emulateur\panasonic\3do\rom</RomPath>
    <SnapPath>F:\emulateur\Mgalaxy\snapsemul\3do</SnapPath>
    <VidPath />
    <Emu selected="0">
      <Cmd id="0" name="4do" value="--StartFullScreen -StartLoadFile "%path\%file%ext"" />
    </Emu>
    <Ext selected="0">
      <Suf id="0" value=".cue" />
    </Ext>
    <Active>True</Active>
  </System>
3do have some laserdisk game, but take care, on this emulator loading with laserdisk can take 10 15 mn, so a black screen during 10 mn is normal.

PS2

Emulator PCSX2 http://pcsx2.net/

Special Setting : (I don't remeber why I use this script, "Stay On top" mode problem I think)

Code: Select all

If NOT $CmdLine[0] = 1 Then Exit

HotKeySet("{ESC}", "Terminate")

$PID = Run ( "pcsx2-r5350.exe " & $CmdLineRaw )

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

Code: Select all

  <System>
    <Name>Sony PS2</Name>
    <AppPath>F:\emulateur\playstation\ps2\Pcx2\Pcx2Autoit.exe</AppPath>
    <RomPath>F:\emulateur\playstation\ps2\rom</RomPath>
    <SnapPath>F:\emulateur\Mgalaxy\snapsemul\ps2</SnapPath>
    <VidPath />
    <Emu selected="0">
      <Cmd id="0" name="ePSXe" value="--fullscreen --nogui "%path\%file%ext"" />
    </Emu>
    <Ext selected="2">
      <Suf id="0" value=".bin" />
      <Suf id="1" value=".img" />
      <Suf id="2" value=".iso" />
      <Suf id="3" value=".cue" />
    </Ext>
    <Active>True</Active>
  </System>


To come : Demul ^^ , at least a beta version this week.

I can too upload completes snaps packs (eg 1400 files for Snes) but I m not sure It s usefull because all users don't use same rom name.



Re: Missings emulators.

Posted: Fri Jul 12, 2013 9:47 am
by Stefan
Thanks Aeliss, 3DO is nice too, i think i will add it to my Cab  8)
Some games are interesting ...

PS2 i think, is to big, the isos need much memory, and there is no "must have game" for me,
atm - maybe next time i find a perfect PS2-only arcade game for cab

3(4)DO, this need a Bios File, get it here: http://www.emuparadise.me/biosfiles
Games here: http://www.emuparadise.me/Panasonic_3DO ... r)_ISOs/20

I think, i dont need snap packs, so i take only a few games, and get the pictures from net.

One Question: is there a difference to load a CUE or ISO ?

Re: Missings emulators.

Posted: Fri Jul 12, 2013 4:03 pm
by Aeliss
Nope, it s the same. But I think some CD can't be ripped as iso format.

And CUE/BIN system can be edited if you don't burn it, you can convert audio track in MP3 instead of WAV (and modify the cue file), so the rom will take less size.

And take care some iso aren't real iso.
All my game in Sega MegaCD are like this cue.

Code: Select all

FILE "Sonic The Hedgehog.iso" BINARY
  TRACK 01 MODE1/2048
      INDEX 01 00:00:00
      POSTGAP 00:02:00
FILE "Sonic The Hedgehog 02.mp3" MP3
  TRACK 02 AUDIO
    PREGAP 00:02:00
    INDEX 01 00:00:00
FILE "Sonic The Hedgehog 03.mp3" MP3
  TRACK 03 AUDIO
    INDEX 01 00:00:00
FILE "Sonic The Hedgehog 04.mp3" MP3
  TRACK 04 AUDIO
    INDEX 01 00:00:00
FILE "Sonic The Hedgehog 05.mp3" MP3
  TRACK 05 AUDIO
................
So if you load by the ISO, the game will work but without music. Same if you rename only 1 file or if the CUE is bad (some path in cue are bad)

Re: Missings emulators.

Posted: Wed Aug 07, 2013 6:11 pm
by Aeliss
I have just find this one for the nec PC-FX system.

Nothing more to say, screenshoots, emulators, descriptions here > http://www.videogameconsolelibrary.com/pg90-pcfx.htm#page=games

Not tried yet, because all games are in japanese ^^.

Re: Missings emulators.

Posted: Thu Aug 15, 2013 4:56 am
by davhuit
About Pcsx2, if the script was because of the Console log, you can desactive it in the gui (Others).

The fullscreen option can also be configured by default directly in the emulator (or with the --fullscreen argument).

The problem with Pcsx2 is that the emulator seems to be loaded in background when you use it with mGalaxy" (though it works fine if you use the command line : pcsx2-r5350.exe --nogui -fullscreen game.iso). You can hear the music of the game, but you don't see the game window.

Does it also happen on your PC or it is just me? (In that case, it might be a WinXP problem).

As I saw there is an AutoIt script in the "download" category, I assume the emulator has already been tested but I might be wrong, as it's not in the xml file?

Re: Missings emulators.

Posted: Thu Aug 15, 2013 10:06 am
by Aeliss
Yeah ^^.

I have same problem (win seven), it s for that I m using this autoit script

Code: Select all

If NOT $CmdLine[0] = 1 Then Exit

HotKeySet("{ESC}", "Terminate")

$PID = Run ( "pcsx2-r5350.exe " & $CmdLineRaw )

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
To force the emulator to be on top, but last time I have make the try, no problem, It s a randow problem. The xml modification is at first post.

Re: Missings emulators.

Posted: Thu Aug 15, 2013 10:18 am
by davhuit
Okay.

I just tested the script (didn't sure if it was to fix that problem or not) and it's working fine, thanks :)

Re: Missings emulators.

Posted: Wed Aug 21, 2013 12:33 pm
by davhuit
I tested the 4.2 beta to see if PS2 was already included in it (which it is, so I took the icon from it) and so thought you might put the updated version of the "AutoIt script" :

Code: Select all

If NOT $CmdLine[0] = 1 Then Exit

HotKeySet("{ESC}", "Terminate")
$PID = Run ( "pcsx2-r5350.exe " & $CmdLineRaw )

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
in this thread : http://www.mgalaxy.com/forum/index.php?topic=366.0

It is required to force the emulator to not run in background.

The full screen can be configurated directly in the emulator menu :

In "Config => Video (GS) => Core GS Settings => GS Window", check the box "Default to fullscreen mode on open" (you might also want to check "Always hide mouse cursor" if it's not already checked).

After that, it works flawlessly :)

Re: Missings emulators.

Posted: Wed Aug 21, 2013 1:41 pm
by mgalaxy
Thanks!
Before I post this script would you please adapt it to contain path & app info?

$path = "C:\Program Files (x86)\PCSX2\"
$app = "pcsx2-r5350.exe"

In the actual state, this script would have to be placed in the same folder than the application...which is not the case for everyone.
I prefer, for everyone's use, to have a script contains those data.
Then please check that everything's going right cause I won't have time to test it myself...and I want all information posted here to be effective!!

Thanks for your contribution :-)

Re: Missings emulators.

Posted: Wed Aug 21, 2013 2:17 pm
by davhuit
I'm not really sure how to do that, but as it's Aeliss' script and as it seems pretty skilled about that, I think he'll be able to modify the script when he'll see this message.

About the emu, if you don't use this script, sometimes, the emulator load the game in background, you hear the music but you're stuck in mGalaxy window.

I'm actually using that script since a few days, and with it, it worked each time I used the PS2 emulator so far.

Be assured that if I spot a problem, I'll post in the forum as soon as I can  ;D

Re: Missings emulators.

Posted: Wed Aug 21, 2013 4:28 pm
by Aeliss
If someone want to try :

Code: Select all

If $CmdLine[0] == 0 Then Exit

$path = "E:\mGalaxy Emulators\PS2\PCSX2 1.0.0\"
$app = "pcsx2-r5350.exe"

HotKeySet("{ESC}", "Terminate")
$PID = Run( $path & $app & ' ' & $CmdLineRaw , $path)

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
Work with

Code: Select all

<Cmd id="0" name="ePSXe AutoIT" value="--fullscreen --nogui "%path\%file%ext"" />
In fact no danger with this code.

Code: Select all

while _WinWaitActivePID($PID)
   sleep(500)
wend
This part just wait for the application is active and visible (it don't put it on top, no action on emulator windows). If you don't have the bug, no problem with it.

Personnaly, I never use relative path for lot of reasons
1 - All my emulator are portable, I can just copy a folder to play it everywhere on simple usb key.
2 - The path aren't the same on all my computers and only 1 computer can compile autoit script.
3 - Sometime, I modify path name, when I clean up my computer or if the emulator change its version.
4 - Friends can take my files and play them directly, without modifications or rebuilding autoit script. And, of course, they haven't my windows configurations files.
5 - When I make emulation tries, I create a copy folder to don't modify the working folder. I just need copy/rename and it s finished with a delete.

And it's for that I m dreaming of a mGalaxy portable version ^^.




Re: Missings emulators.

Posted: Wed Aug 21, 2013 4:37 pm
by davhuit
I'll test tonight, when I'll be at home.

Re: Missings emulators.

Posted: Wed Aug 21, 2013 4:53 pm
by mgalaxy
Personnaly, I never use relative path for lot of reasons
1 - All my emulator are portable, I can just copy a folder to play it everywhere on simple usb key.
2 - The path aren't the same on all my computers and only 1 computer can compile autoit script.
3 - Sometime, I modify path name, when I clean up my computer or if the emulator change its version.
4 - Friends can take my files and play them directly, without modifications or rebuilding autoit script. And, of course, they haven't my windows configurations files.
5 - When I make emulation tries, I create a copy folder to don't modify the working folder. I just need copy/rename and it s finished with a delete.
I absolutely agree with you!
I'm thinking of a new way to use AutoIt scripts with mGalaxy since a long time...to prevent those problems and even go further for 'common' people!
(If you don't mind I'm going to contact you personally on this subject)

Re: Missings emulators.

Posted: Thu Aug 22, 2013 2:29 am
by davhuit
Aeliss wrote: If someone want to try :

Code: Select all

If $CmdLine[0] == 0 Then Exit

$path = "E:\mGalaxy Emulators\PS2\PCSX2 1.0.0"
$app = "pcsx2-r5350.exe"

HotKeySet("{ESC}", "Terminate")
$PID = Run( $path & $app & ' ' & $CmdLineRaw , $path)

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
Works fine, I loaded 4 games without any problem.

Re: Missings emulators.

Posted: Fri Aug 30, 2013 5:14 pm
by Aeliss
The amiga cd32 http://fr.wikipedia.org/wiki/Amiga_CD32.

It s just an amiga 1200 so same than the "commodore amiga" in the mGalaxy list but It work with cue/bin/iso and not D7/harddrive.
Games are easy to put in cabinet because this games don't need keyboard (yes it s a console)

No script needed, you just need to make a config file called "mGalaxy(CD32).uae" (or rename this one in the emulator)

Code: Select all

  <System>
    <Name>Amiga cd32</Name>
    <AppPath>F:\emulateur\Amiga\WinUAE\winuae.exe</AppPath>
    <RomPath>F:\emulateur\Amiga\jeuxCD32</RomPath>
    <SnapPath />
    <VidPath />
    <Emu selected="0">
      <Cmd id="0" name="WinUAE" value="-config=mGalaxy(CD32).uae -cdimage="%path\%file%ext"" />
    </Emu>
    <Ext selected=".cue">
      <Suf value=".cue" />
      <Suf value=".iso" />
    </Ext>
    <Active>True</Active>
    <Script>False</Script>
    <Database>False</Database>
  </System>