Page 2 of 3

Re: Note.rtf examples and ideas

Posted: Tue Oct 15, 2013 8:32 pm
by Graphicsgod
Here is how it looks on my side.. If this helps.

Re: Note.rtf examples and ideas

Posted: Wed Oct 16, 2013 4:41 pm
by Aeliss
On the bottom of the page you will have the script already compiled.

>> http://www.mgalaxy.com/forum/index.php?action=downloads;sa=view;down=39

But I haven't idea for your SSF crashes.

For app path you need to select the normal executable, SFF.exe or SSFa.exe not the script, mGalaxy use it automatically if needed. And don't rename the script. All scripts have the same name mGalaxy_Script.au3 , you just need to put them in the emulator path if you need them, without changing something in the configurator (just check "use script file").

Re: Note.rtf examples and ideas

Posted: Wed Oct 16, 2013 6:24 pm
by Graphicsgod
Aeliss wrote: On the bottom of the page you will have the script already compiled.

>> http://www.mgalaxy.com/forum/index.php?action=downloads;sa=view;down=39

But I haven't idea for your SSF crashes.

For app path you need to select the normal executable, SFF.exe or SSFa.exe not the script, mGalaxy use it automatically if needed. And don't rename the script. All scripts have the same name mGalaxy_Script.au3 , you just need to put them in the emulator path if you need them, without changing something in the configurator (just check "use script file").
Ok I'm closer now.. But not close enough. Now it launches SSF in a window, not full screen (can't find the option to force full screen upon start). But wont auto mount the ISO to the Deamon Tools Lite virtual drive and auto load the program. Program just sits there and says "cd drive open".

Now it could be a pathing issue. But I don't see anywhere in the script to change location for DTL or virtual drive.. Or any other settings for that matter.

My DTL is at "C:\Program Files\Programs\DAEMON Tools Lite", and my virtual drive is set to "E:".

Thanks for all your help though!!

Re: Note.rtf examples and ideas

Posted: Wed Oct 16, 2013 8:44 pm
by Aeliss
For fullscreen.
options/screen
Check  "strech screen" "full size" and perhaps "fixed fullscreen resolution". Press alt+Enter to go in Fullscreen mode and just exit, the next time, you will be in fullscreenmode.
But use fullscreen only when all is ok, windowed mode is better for test.

With this script, normaly you have nothing to do, it will search itself the dtlite path, and SSF find the Drive letter itself (from my memory).
If the script don't found DTLite, it display an error message and don't launch SSF. So I think this part is ok.

Have you configured dtlite ? create a new virtual drive DT.

To make a try, during the emulation, return to window and lanch dtlite, if all is ok you will see your rom loaded in the bottom window.

Remember to use always the CUE file.

Or make a try in stand alone mode, mount your rom in Dtlite and launch SFF.

In SSF in options/peripheral/Cd drive, I have DTsoft BDrom, I don't remeber if it s usefull.
I think it because you have used SCSI mode and me DT in DTlite configuration, it s not the same command line for the 2 mode.



On this screen.
1 arrow to create virtual drive (only 1 time is enought)
1 arrow to mount the selected image.
1 arrow for the resultat.

Sorry I m really bad to draw ^^.



Re: Note.rtf examples and ideas

Posted: Thu Oct 17, 2013 4:46 am
by Graphicsgod
Ok if I run Mgalaxy, start the game it loads the SSF program and sits. So then I open the directory with the ROMs and double click the ISO/CUE what ever, it loads the file into the virtual drive and the program (i.e. SSF) starts up the game. So like I said, the problem stems from the script file not mounting the file in the virtual drive.

Re: Note.rtf examples and ideas

Posted: Thu Oct 17, 2013 8:10 am
by Graphicsgod
Maybe this video will help.. Sadly I had to do this video three times, due to my wife constantly bothering me while I was recording. So I disabled sound. In the other two videos SSF crashed constantly. In the last video (i.e. this one), it hardly crashed, Go figure! And ignore the framerate, for some reason Camstudio is recording this like my laptop is running at a snails pace, but it's not. I don't have the time to waste sending this video to my desktop to use a real video editor to fix this! So just fast-forward through the video.

Also tried full screening just for the video and Camstudio spazed out on me, so it's windowed the whole time. Not that it's exciting either way..

http://youtu.be/r2Wa3RgMLzs

Re: Note.rtf examples and ideas

Posted: Thu Oct 17, 2013 1:48 pm
by mgalaxy
Do you intend to post a "mGalaxy WTF" video on Youtube on each problem that YOU'll have while configuring your setup?

Re: Note.rtf examples and ideas

Posted: Thu Oct 17, 2013 4:10 pm
by Aeliss
Lol, he is right, it's not good for the front end image, if a person making a search on youtube with "mGalaxy" see only video with bug ^^.

For the bug I see 2 possibilities.
1 - Same problem than this one you have with virtualboyadvance, so we will try to resolve this one first.
2 - A bug in the script, because it s not exactly the same command according the dtlite configuration.

Re: Note.rtf examples and ideas

Posted: Thu Oct 17, 2013 4:16 pm
by Graphicsgod
mgalaxy wrote: Do you intend to post a "mGalaxy WTF" video on Youtube on each problem that YOU'll have while configuring your setup?
Sorry I offended you, but the naming was an after thought. I thought the videos would help explain my issues better than just text. And the videos are unlisted, if you must know.

I'm sorry I seem to be the ONLY one having these issues.. This is a forum for helping others is it not??

Re: Note.rtf examples and ideas

Posted: Thu Oct 17, 2013 4:46 pm
by Graphicsgod
Aeliss wrote: Lol, he is right, it's not good for the front end image, if a person making a search on youtube with "mGalaxy" see only video with bug ^^.

For the bug I see 2 possibilities.
1 - Same problem than this one you have with virtualboyadvance, so we will try to resolve this one first.
2 - A bug in the script, because it s not exactly the same command according the dtlite configuration.
1. Ok..

2. That's what I have been thinking since the beginning ;)!!

Re: Note.rtf examples and ideas

Posted: Fri Oct 18, 2013 9:10 am
by Graphicsgod
Ok came up with a new game plan... Sadly it only works 100% outside of Mgalaxy.

I created a batch file that would mount any ISO to the virtual drive and call SSF EMU. Works great outside of Mgalaxy, but when I converted the batch file to an EXE and ran it inside Mgalaxy it tries to mount the ISO, and errors out for some odd reason before launching SSF. All the while hiding it behind the program (I have to exit out of Mgalaxy to see what's going on). Maybe you can come up with something..

Here is my batch file code:

Code: Select all

@echo off

"C:\Program Files\Programs\DAEMON Tools Lite\dtlite.exe -mount dt, 0, " & "%~1"
"C:\Program Files\Games\mGalaxy\EMU\Saturn\ssf.exe"

"C:\Program Files\Programs\DAEMON Tools Lite\dtlite.exe" -unmount 0
It's simple yet gets the job done, but why doesn't it work within Mgalaxy?..


Otherwise there is a workaround..

I could set it up to kill Mgalaxy, mount the drive, run SSF. After exiting reverse all. It should work, but I would prefer not to have to go that route..

Code: Select all

@echo off

TASKKILL /IM mGalaxy.exe /F

"C:\Program Files\Programs\DAEMON Tools Lite\dtlite.exe -mount dt, 0, " & "%~1"
"C:\Program Files\Games\mGalaxy\EMU\Saturn\ssf.exe"

"C:\Program Files\Programs\DAEMON Tools Lite\dtlite.exe" -unmount 0

"C:\Program Files\Games\mGalaxy\mGalaxy.exe"

Your thoughts?..

Re: Note.rtf examples and ideas

Posted: Fri Oct 18, 2013 9:28 am
by Graphicsgod
I think I figured it out!!

Mgalaxy is trying to load the CUE file, not the ISO file. If I try to load the CUE file I get the same error. If I load the ISO, SSF loads fine. Can't believe I didn't try this before! Now,.. the million dollar question.. How do you get Mgalaxy to load the ISO and not the CUE file of the ROM?!?..

The easy way is to just rename all my ISOs the other way around, that seems to do the trick.. But is this the correct way?!? Will it cause something to go wrong in the future?

BTW, doing this also allows the scripts to work and no longer need a batch file.

Re: Note.rtf examples and ideas

Posted: Fri Oct 18, 2013 10:08 am
by mgalaxy
Graphicsgod wrote: Now,.. the million dollar question.. How do you get Mgalaxy to load the ISO and not the CUE file of the ROM?!?
Open the "Systems.xml" file (which is in the "Data" folder), find the "Sega Saturn" system and modify this line:
<Extensions>.cue</Extensions>
into
<Extensions>.iso</Extensions>


Re: Note.rtf examples and ideas

Posted: Fri Oct 18, 2013 2:45 pm
by Aeliss
There is still a problem, the correct way to load an image is by the cue, never the iso/bin.
Open your cue file with notepad and look if paths inside are good.

For me ATM, I wait for your bug with script are solved before making other tries on others system.

Re: Note.rtf examples and ideas

Posted: Fri Oct 18, 2013 9:18 pm
by Graphicsgod
Well this is what's in the CUE file:

Code: Select all

FILE "Sonic R.iso" BINARY
  TRACK 01 MODE1/2048
      INDEX 01 00:00:00
      POSTGAP 00:02:00
FILE "Sonic R 02.mp3" MP3
  TRACK 02 AUDIO
    PREGAP 00:02:00
    INDEX 01 00:00:00
FILE "Sonic R 03.mp3" MP3
  TRACK 03 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 04.mp3" MP3
  TRACK 04 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 05.mp3" MP3
  TRACK 05 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 06.mp3" MP3
  TRACK 06 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 07.mp3" MP3
  TRACK 07 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 08.mp3" MP3
  TRACK 08 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 09.mp3" MP3
  TRACK 09 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 10.mp3" MP3
  TRACK 10 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 11.mp3" MP3
  TRACK 11 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 12.mp3" MP3
  TRACK 12 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 13.mp3" MP3
  TRACK 13 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 14.mp3" MP3
  TRACK 14 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 15.mp3" MP3
  TRACK 15 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 16.mp3" MP3
  TRACK 16 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 17.mp3" MP3
  TRACK 17 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 18.mp3" MP3
  TRACK 18 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 19.mp3" MP3
  TRACK 19 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 20.mp3" MP3
  TRACK 20 AUDIO
    INDEX 01 00:00:00
FILE "Sonic R 21.mp3" MP3
  TRACK 21 AUDIO
    INDEX 01 00:00:00