Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: SSF (Sega Saturn) Tutorial for Maximus Arcade  (Read 31398 times)

0 Members and 1 Guest are viewing this topic.

nickynooch

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 318
  • Last login:August 29, 2020, 02:54:00 am
SSF (Sega Saturn) Tutorial for Maximus Arcade
« on: July 09, 2010, 06:11:38 pm »
Originally written by AldousHxlE on the old maximus forum:
http://webcache.googleusercontent.com/search?q=cache:HTtOTx-MkVMJ:maximusarcade.com/forum/index.php%3Ff%3D48%26t%3D1919%26rb_v%3Dviewtopic+site:maximusarcade.com+maximus+arcade+tutorial&cd=11&hl=en&ct=clnk&gl=us

[Edit - DeLuSioNaL's note:  I re-posted text below using original post from MA forums (not cache)]

The SSF Emulator, IMO, is the finest Sega Saturn emulator to date. It has great compatability, and on modern systems runs games near or at 100% full speed with sound. The big downside to this emu, though, is that it does not support CD images, but only actual game discs (or images via Daemon Tools). This makes setting up SSF as the Saturn emulator within Maximus Arcade such a pain in the @$$. Instead of loading CD images, SSF will launch, and immediately crash.

Headrush69, another member of the forum with the same problem, discovered the cause of the error. Remember that SSF does not support ISO or BIN/CUE images of any kind, which is of course what makes virtual drive applications such as Daemon Tools a necessity for getting this emulator to run images. Because of this, SSF does not understand commands that ask for ROM images to be loaded.

For example, open a CMD window, CD to your SSF directory and run the command:

Code: [Select]
ssf.exe
Whether an image is mounted using Debian or not, SSF will successfully initialize.

Now, run the same command, but also command SSF to load a CD image, such as:

Code: [Select]
ssf.exe C:\Saturn\ROMS\ResidentEvil.iso
This time, you'll receive the same CZIP error we've all been getting, this being because this is the syntax used by MA when launching the emulator. SSF has no idea how to complete this command, and simply crashes.

Solution

We need to trick SSF and Maximus Arcade into not attempting to load the emulator and the CD image in one command. To do this, we'll employ the use of simple batch files.

It seems messy, but I can verify it works on my rig, and have no reason to believe it won't work for you. Lets take this one step at a time:

1. First, we'll need two batch files created within your SSF directory. Create one batch with the following commands, and save the file as "ssf_launch.bat":
Code: [Select]
@echo off
"c:\emulators\saturn\ssf.exe"

Your second batch file, which we'll save as "ssf_exit.bat" will contain the following commands:
Code: [Select]
@echo off
"C:\Program Files\DAEMON Tools Lite\daemon.exe" -unmount 0
taskkill /F /IM SSF.exe

*Of course, you'll need to modify my examples with the directories you've created for your emulators and DAEMON Tools installations.

2. Next, we need to configure Maximus Arcade. Launch the Maximus Arcade Preferences utility, select the Configuration tab, and choose Sega Saturn within the "Configuration for:" dropdown menu. Now, normally you would navigate to the emulator's executable within the "Executable" field, but because Preferences will not allow you to select any batch file as your EXE, you will manually need to type the path to your "ssf_launch.bat" batch file. The "Media (roms):" directory can be navigated to, as well as the optional directories for your images, movies, etc...



3. Now we need to configure Daemon Tools to auto-mount your CD images prior to launching SSF. Click the "Pre-launch" tab, check the "Run Application on Game Launch" and navigate to your daemon.exe executable path (Normally "C:\Program Files\DAEMON Tools Lite\daemon.exe")
Within the Command Line field, type:
Code: [Select]
-mount 0, %file******this is important in the example above. I wrote mount 0 because I have only one daemon virtual drive enabled and by defaut
it assigns it a 0. If you have more then you will have 0, 1, 2 etc.
You must enter the the right number virtual device that matches the drive you have selected above.


For window state =  Hidden
For Path to media = long



4. Now we need to be able to quit SSF with out Hot Keys and unmount our virtual device upon exiting back to the MA frontend. Normally, this would simply require us to use the "-unmount 0" Daemon command within Post-Launch. I discovered during troubleshooting that, while the Hot Keys attempt to exit SSF and will unmount the CD image, SSF continues to run regardless, and requires you to use the ESC key to return to MA. Not cool. Instead, configure the Post-Launch tab to run the "ssf_exit.bat" batch file created earlier. This way, your image will be unmounted and SSF will be terminated if you use your Hot Keys, returning you to the MA frontend safely.



That's it! Save your settings, Launch MA, and see for yourself. The emulator takes a small while to launch, but eventually you'll see that glorious Sega Saturn splash screen, and your game will load.

Please let me know of your results. Thanks, and good luck!

« Last Edit: July 18, 2010, 09:22:53 pm by DeLuSioNal29 »

shateredsoul

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1412
  • Last login:January 25, 2013, 08:23:51 pm
Re: SSF (Sega Saturn) and Maximus Arcade!
« Reply #1 on: July 09, 2010, 11:47:12 pm »
That would be great if you could do that, I used the .bat solution but it's a pretty messy work around and easy to mess up.




shateredsoul

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1412
  • Last login:January 25, 2013, 08:23:51 pm
Re: SSF (Sega Saturn) Tutorial for Maximus Arcade
« Reply #2 on: July 14, 2010, 04:12:38 pm »
Did you have a chanced to upload the sega saturn wrapper?

Nbk_Orchid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 35
  • Last login:June 12, 2017, 07:25:34 am
Re: SSF (Sega Saturn) Tutorial for Maximus Arcade
« Reply #3 on: July 16, 2010, 06:36:56 pm »
I too would love to try a SSF wrapper for Maximus Arcade.  I have been using Yabuse for sega saturn emulation like maximus arcade suggests but it has not been too friendly to me  :( and like you said SSF is probably the best saturn emulator out there.  Thanks for the guide and good luck with the upload.

DeLuSioNal29

  • Global Moderator
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4778
  • Last login:July 17, 2024, 07:00:54 pm
  • Build the impossible -"There is no Spoon"
    • DeLuSioNaL's YouTube Videos
Re: SSF (Sega Saturn) Tutorial for Maximus Arcade
« Reply #4 on: July 18, 2010, 09:25:23 pm »
Posted user Harg from MA forums:

The wrapper I was working on to get rid of the popups when you start and exit the SSF emulator in MA is finished. Its working great on my machine - load a game and nothing but black until the emulator is fullscreen and running.

It was accomplished with judicious usage of the START & TASKKILL commands in batch (much like your AldousHxlE's) and the creation of an executable which displayed a large black screen which is 'Always on Top'.

Features:
Performs a workaround to stop the emulator crashing out with the CZIPDecoder and CFile Errors.
Mounts the selected game in Daemon Tools before starting the emulator and unmounts it upon exit.
Hides the SSF menubar which displays on startup before it changes to fullscreen.
Hides Daemon Tools' popup mounting/unmounting messages.
Hides batch file/cmd window when performing SSF error workaround.
Hides the menu/emulator window that shows briefly when exiting the emulator.
Allows the exiting off the emulator with the MA Exit Emulator button.

If anyone wants to give it a try give me a shout and I'll upload it and post some instructions
Would be interesting to see if it worked the same on other machines

It consists of 2 .BAT files and 1 .EXE


Cheers
harg
Stop by my Youtube channel and leave a comment:

Digital Vandal

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 41
  • Last login:December 19, 2010, 04:22:37 am
Re: SSF (Sega Saturn) Tutorial for Maximus Arcade
« Reply #5 on: October 15, 2010, 04:57:47 pm »
Using windows 7 64bit and the wrapper isn't working for me. It's coming up with a dos window telling me that sleep doesn't work then everything is being shown and the game starts in a window not full screen. How do I fix this?

Digital Vandal

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 41
  • Last login:December 19, 2010, 04:22:37 am
Re: SSF (Sega Saturn) Tutorial for Maximus Arcade
« Reply #6 on: October 16, 2010, 01:41:20 pm »
Thanks for the push in right direction. I downloaded the toolkit and found that I needed to change 0 to 1 for full screen in the .ini. It's working great now. It still comes up with a small window while loading but I can live with that. Now to figure out why daemon tools will only work with the mounted .iso and why it doesn't work auto. Any suggestions?

Digital Vandal

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 41
  • Last login:December 19, 2010, 04:22:37 am
Re: SSF (Sega Saturn) Tutorial for Maximus Arcade
« Reply #7 on: October 16, 2010, 05:42:11 pm »
I've done it! I needed to edit the path to daemon tools so that it read 'program files(x86)' before the daemon tools path due to the fact that it installs to the x86 version of program files. Me, being new to 64bit, didn't realise that. Oh well, it's all a learning curve and I'm enjoying every minute of it. Don't think my girlfriend is so much though. Apparently I should have a relationship with my computer seeing as I give it more attention than her.  :laugh2:

breathsavers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 91
  • Last login:September 27, 2024, 03:14:01 pm
  • I want to build my own arcade controls!
Re: SSF (Sega Saturn) Tutorial for Maximus Arcade
« Reply #8 on: April 14, 2016, 05:59:05 pm »
Hoping someone is still subscribed to this old thread :)

I have my games launching correctly, I just can't get the image to unmount when I exit. The ssf_exit.bat works to unmount disks outside of MA, but when I point MA to Post-Launch it, it seems to just not run. I am exiting games using the Quit Executable shortcut. Any suggestions??