Jump to content

[Tutorial] Sega Saturn Emulator Setup


Hypnoziz

Recommended Posts

Posted

OK, I started over and had SSF running games outside of hyperlaunch (not full screen). Then I tried running SSF using hyperlaunch with the djvj module for SSF v0.12 beta R3 and I no longer get the daemon errors I mentioned above. I see the game successfully mount in daemon tools and the module fires up ssf full screen after a couple of flickers but the game never starts, just a black "full" screen. Any ideas as to why the game never starts?

It felt like this attempt was going to work and I don't get any errors and the game mounts, just no game starting in SSF when running through hyperlaunch.

  • Replies 108
  • Created
  • Last Reply
Posted

And I have the cd drive identified as "0" in both the ssf.ini and Saturn ahk module which I believe is what I was supposed to do(daemon tools) shows it as 0.

Posted

Well, I got this figured out, I had to change the cd drive setting in both the ahk and ssf.ini to 2. Never would have thought that since it shown in daemon tools that it is 0 but I am sure glad to have the saturn behind me!

Posted

I started trying to setup it last night, I failed, got a headache and went to sleep... and I had a nightmare with that frickin emulator!

Ok, lets try it all again...

Posted

Good news is that I'm successfully opening the games (YEAAAH!!!!)

BUUUT it opens Windows Media Player as well to play the audio files (only tested with .cue files)

And I getting some other random stuff, like, sometimes pop ups a msg saying "genre.xml not found" (or something) when I try to load the game... how can I disable this thing? As it's obvious not required to run the game...

Also I'm having a problem with the emulator itself, I play on the keyboard and it does not recognize some of the keys like "ç" "`" (brazilian keyboard)... is there a way to change that?

Posted
This tutorial is designed to help you avoid any problems with the 2.x module. Can you describe where your operation is going wrong?

I think I discovered what are the problems with 2.x ... Just noticed its side effects, now I have to download AHK to all emulators, and I have to change some :P

I was able to get the Sega Saturn to work with 2.x, just having that issue above about asking for the genre.xml - the WMP was my autoplay config)

  • 1 month later...
Posted

There is a regionfree bios and you don't need to change the region anymore ;-)

It's based on the japanese bios. So set the region to Japan and it will play all games us,jap,europe isos...

http://www.dforce3000.de/?p=news&t=sega

Bios download: http://dforce3000.de/pub/sega_saturn_bios_multinorm.zip

Very nice tutorial ! Thanks =)

In addition, There is a tool to patch saturn isos in order to make them work on the region you want. I guess it's a good way to help make your games work without having to manually change the setting into the emulator.

http://madroms.satakore.com/#SRP

  • 2 months later...
Posted

if anyone is having trouble with saturn cue files with audio tracks mounting in daemon tools even though everything is correct in them it is because the sample rate of the wave files is 48khz. You can batch resample them with this program. They need to be at 44khz Thought this might be a big help to anyone having issues.

http://www.voxengo.com/product/r8brain/

  • 1 month later...
Posted

Thanks a lot for this usefull tutorial and all the doubts this thread cleared.

I've done everything as told here but I got an error running SSF (Version 0.12 beta R3 (12/25/2011)) script.

When I try to run it pops up this window:

post-60964-142870586725_thumb.png

Here's my Hyperlunch Log:

11:42:39 |  HyperLaunch v2.24e
11:42:39 |  System Specs:
	HyperSpin Dir: C:\HyperSpin
	OS: WIN_7
	OS Language: 0816
	OS Admin Status: No
	Monitor #1 (\\.\DISPLAY1): 1366x768 (1366x728 work)
	HyperSpin Res: 1025x526
	AHK Version: 1.1.07.03
11:42:39 |  HyperLaunch launched directly
11:42:42 |  HyperLaunch received "Sega Saturn" and "SEGARALLY"
11:42:42 |  INI Keys read
11:42:42 |  Checking paths
11:42:42 |  Finished injecting functions into module
11:42:42 |  Module is built
11:42:42 |  Running module:

;-----------------------------------------------------------
;Built in script
;-----------------------------------------------------------
#NoTrayIcon
DetectHiddenWindows, ON
SetTitleMatchMode, 2
SendMode, Event
0 = 0
exitEmulatorKey = ~Esc
emuPath = C:\HyperSpin\Emulators\Sega Saturn\Emuladores\SSF_012_beta_R3\
romPath = C:\HyperSpin\Emulators\Sega Saturn\Roms\S\SEGARALLY\
romExtension = .cue
romExtensions = mds,cue,iso,cdi,nrg,img
executable = SSF.exe
systemName = Sega Saturn
romName = SEGARALLY
daemonToolsPath = C:\Program Files (x86)\DAEMON Tools Lite\DTLite.exe
skipchecks = false
fadeIn = 
fadeOut = 
fadeColor = 
fadeInDuration = 
fadeOutDuration = 
fadeInDelay = 
fadeInInterruptKeys = {LControl}{RControl}{LAlt}{RAlt}{LShift}{RShift}{LWin}{RWin}{AppsKey}{F1}{F2}{F3}{F4}{F5}{F6}{F7}{F8}{F9}{F10}{F11}{F12}{Left}{Right}{Up}{Down}{Home}{End}{PgUp}{PgDn}{Del}{Ins}{BS}{Capslock}{Numlock}{PrintScreen}{Pause}
gameStartImgPath = C:\HyperSpin\Media\Sega Saturn\Images\GameStart\
7zEnable = false
7zExtractDir = C:\Users\FILIPE~1\AppData\Local\Temp\Hyperspin\
7zDelTemp = true
7zFormats = .zip,.rar,.7z,.gzip,.tar
7zFormatsNoP = zip,rar,7z,gzip,tar
Hotkey, ~Esc, CloseProcess
;-----------------------------------------------------------
;Module script
;-----------------------------------------------------------
;------------------------------------------------------------------------
; Sega Saturn
; SSF v0.12 beta R3 (12/25/2011)
; by djvj
; 1.4
;
; Notes:
; This only works with DTLite, not DTPro
; Make sure your Path_To_Daemontools in Settings\settings.ini is correct
; romExtension should be mds,cue,iso,cdi,nrg
; Make sure you have your CDDrive set to whatever number you use for your games. 0 may be your hardware drive, while 1 may be your virtual drive (depending on how many you have). If you get a black screen, try different numbers starting from 0.
; If you keep getting the CD Player BIOS screen, you have the CDDrive variable set wrong below
; If you keep getting the CD Player screen with the message "Game disc unsuitable for this system", you have the incorrect bios set for the region game you are playing and or region is set wrong in the emu options. Or you can just turn off the BIOS below 
; Set fullscreen mode via the variable below
; SSF forces 1024x768 in fullscreen mode and cannot be changed as far as I can tell
; If you are getting clipping, set the vSync variable to true below
; For faster MultiGame switching, keep the BIOS off, otherwise you have to "play" the disc each time you switch discs
;------------------------------------------------------------------------
Fullscreen = true
ShowBIOS = false
BilinearFiltering = true
vSync = true
WideScreen = false
Stretch = false
CDDrive = 1
UseSCSI = false	; If you prefer SCSI virtual drives, set this to true, otherwise Daemon Tools will use a DT virtual drive.
AddDrive = true	; If you do not have a scsi or dt drive in daemon tools, it will be created for you. Set this to false to stop auto-creation of the drive.
;------------------------------------------------------------------------

SSFINI := CheckFile(emuPath . "SSF.ini")

GUI_ID := FadeInStart()

7z1 := 7z(romPath, romName, romExtension, 7zExtractDir)
mySW:=A_ScreenWidth, mySH:=A_ScreenHeight

; Now let's update all our keys if they differ in the ini
Fullscreen := (If ( Fullscreen = "true" ) ? ("1") : ("0"))
ShowBIOS := (If ( ShowBIOS = "true" ) ? ("0") : ("1"))
BilinearFiltering := (If ( BilinearFiltering = "true" ) ? ("1") : ("0"))
vSync := (If ( vSync = "true" ) ? ("1") : ("0"))
WideScreen := (If ( WideScreen = "true" ) ? ("1") : ("0"))
Stretch := (If ( Stretch = "true" ) ? ("1") : ("0"))
UseSCSI := (If UseSCSI = "true" ? ("scsi") : ("dt"))
iniLookup =
( ltrim c
Screen, FullSize, "%Fullscreen%"
Screen, BilinearFiltering, "%BilinearFiltering%"
Screen, VSynchWaitFullscreen, "%vSync%"
Screen, WideScreen, "%WideScreen%"
Screen, StretchScreen, "%Stretch%"
Screen, EnforceAspectRatioFullscreen, "1"
Peripheral, CDDrive, "%CDDrive%"
Program4, NoBIOS, "%ShowBIOS%"
Other, ScreenMode, "%Fullscreen%"
)
Loop, Parse, iniLookup, `n
{
StringSplit, split, A_LoopField, `,, %A_Space%%A_Tab%
IniRead, tempVar, %SSFINI%, %split1%, %split2%
If ( tempVar != split3 )
	IniWrite, % split3, %SSFINI%, %split1%, %split2%
}

DaemonTools("mount",UseSCSI,0,AddDrive,romPath . romName . romExtension)
Run, %executable%, %emuPath%,,ssfPID

WinWait, SSF
WinWaitActive, SSF
Sleep, 1000 ; SSF flashes in real fast before going fullscreen if this is not here

GUI_ID2 := FadeInExit()


; WinMove,SSF,,0,0 ; uncomment me if you turned off fullscreen mode and cannot see the emu, but hear it in the background

Process, WaitClose, %executable%

DaemonTools("unmount",UseSCSI,0)

7z2 := 7zCleanUp()

GUI_ID4 := FadeOutExit()

WinActivate, Hyperspin

ExitApp


PreMultiGame:
If Fullscreen = 1 ; only have to take the emu out of fullscreen we are using it
{		; SSF cannot swap discs in fullscreen mode, so we have to go windowed first, swap, and restore fullscreen
WinGet, ssfID, ID, A
WinGetPos,,,ssfW,ssfH,ahk_id %ssfID%
SetKeyDelay,,10
Send !{Enter}
WinSet, Transparent, 0, ahk_id %ssfID%
If (mySW != ssfW || mySH != ssfH) { ; if our screen not the same size as SSF uses for it's fullscreen, we can detect when it changes
	While % ssfH = ssfHn
	{
		WinGetPos,,,,ssfHn,ahk_id %ssfID%
		Sleep, 100
	}
} Else ; if our screen is the same size as SSF uses for it's fullscreen, use a sleep instead
	Sleep, 3000 ; increase me if MG GUI is showing tiny instead of the full screen size
tempgui()
}
Return

MultiGame:
If !mgCancel {
	WinMenuSelectItem,ahk_id %ssfID%,,Hardware,CD Open
	DaemonTools("unmount",UseSCSI,0)
	DaemonTools("mount",UseSCSI,0,AddDrive,selectedRom)
	WinMenuSelectItem,ahk_id %ssfID%,,Hardware,CD Close
	If Fullscreen = 1
	{
		Loop { ; looping until SSF is done loading the new disc
			Sleep, 200
			WinGetTitle, winTitle, ahk_id %ssfID%
			StringSplit, T, winTitle, %A_Space%:
			; ToolTip, %A_Index%`nT10=%T10%,0,0
			If !oldT10	; get the current T10 as soon as it exists and store it
				oldT10:=T10
			If (T10 > oldT10)	; If T10 starts incrementing, we know SSF has a game loaded and can continue the script
				Break
		}
		WinActivate, ahk_id %ssfID%
		SetKeyDelay,,10
		Send !{Enter}
		Sleep, 500	; give SSF a moment to go fullscreen and not show Hyperspin
		Gui, 69: Destroy
		WinSet, Transparent, 255, ahk_id %ssfID%
		WinSet, Transparent, Off, ahk_id %ssfID%
	}
}
Return

CloseProcess:
GUI_ID3 := FadeOutStart()
WinClose, SSF
Return

tempgui(){
Gui, 69:Color, 000000 
Gui, 69:-Caption +ToolWindow 
Gui, 69:Show, x0 y0 W%A_ScreenWidth% H%A_ScreenHeight%, BlackScreen
}

hideDesktop(){
}

FadeInStart(){
}

FadeInExit(){
}

FadeOutStart(){
Suspend, On
}

FadeOutExit(){
}

7z(path, name, ext, extractPath){
}

7zCleanUp() {
}

CheckFile(file,msg="",timeout=6){
IfNotExist, %file%
{
If msg
ScriptError(msg, timeout)
Else
ScriptError("Cannot find " . file, timeout) 
}
Return %file%
}

ScriptError(error,timeout=6){
MsgBox,48,Error,%error%,%timeout%
ExitApp
}
11:42:44 |  Module ended, exiting HyperLaunch normally

However I tried to run SSF & Yabause (Version 08/27/11 & 0.9.10) Script and I managed to get it to work.

Unfortunately when it starts I get my region set to Japan and CDDrive=0 instead of Europe and CDDrive=1 as I set up. If I could change this inside the script I think I could get the game started but I've searched a lot and got no answer for this.

Can everyone give a hand in this?

Thanks in advance!

Posted

Really...?!

I saw this thread HyperLaunch-2-x-Released but I didn't found any link to it so I couldn't upgrade it.

I presume it's only avaiable for lifetime users?

I'm saving some money this month to get a platinum member... I guess until then I cannot try this again, right?

And what about the other script region problem? Any hint?

Thanks in advance!

Posted

Good to see that people are still using this tutorial a year and a half later. :D

<em class='bbc'>"But does one ever truly have a choice? One can only match, move by move, the machinations of Fate, and thus defy the tyrannous stars."</em>

Posted
Good to see that people are still using this tutorial a year and a half later. :D

For me it was really usefull.

I think I'll try to search something like this in the future for PC Games... what do you think?

(sorry about my noob questions but I'm just starting)

Posted

HyperLaunch is available to all users, you can download it from HyperList. Regarding the region, there is the hard/purist way which involves editing the module or the easy way which simple requires you to use the multinorm bios that will run games from all images. Google it.

Hypnoziz, 3 posts in one day are you back in the game or what?

Posted
Hypnoziz, 3 posts in one day are you back in the game or what?

I just might be. It's been a long time.

<em class='bbc'>"But does one ever truly have a choice? One can only match, move by move, the machinations of Fate, and thus defy the tyrannous stars."</em>

Posted
HyperLaunch is available to all users, you can download it from HyperList. Regarding the region, there is the hard/purist way which involves editing the module or the easy way which simple requires you to use the multinorm bios that will run games from all images. Google it.

I got that BIOS already (without knowing it).

Meanwhile, I updated my HyperLaunch and now DT load the game but the emulator shows a black screen or the Direct3D9 error...

ps: brolly are you portuguese?

Posted

Well, first thing make sure you get it working fine outside HS. Also if you need CDDrive=0 you must change that in the module or it won't work.

Yeah I'm portuguese.

Posted
Well, first thing make sure you get it working fine outside HS. Also if you need CDDrive=0 you must change that in the module or it won't work.

OK... My SFF is running fine outside HS.

CDDrive is set to 1 because 0 is my physical one.

Now I must compile my Hyperlaunch.ahk with AHK.H but I can't download the file form the link provided because Avast pop up a trojan alert...

If I compile HyperLaunch directly I start getting those errors...

brolly do you mind if I PM you in our native language with this? I'm really close to get this working but I'm missing things somehow.

Posted

Wait, compile HyperLaunch? You NEVER compile HyperLaunch! Just use the HyperLaunch executable you downloaded, never under any circumstances compile the ahk file. The only scenario where you need to do that is if you need to fix something in the actual HL code which isn't a good idea anyway.

I prefer questions to be posted on the forums as the solutions to your problems might be useful for others in the future, but you can pm me, please don't be surprised if I take a while to get back to you as I usually get a lot of questions and simply can't answer them all.

Posted
Wait, compile HyperLaunch? You NEVER compile HyperLaunch! Just use the HyperLaunch executable you downloaded, never under any circumstances compile the ahk file. The only scenario where you need to do that is if you need to fix something in the actual HL code which isn't a good idea anyway.

Now this gets a little bit confusing... I'll tell you what I've done.

First I deleted all my AHK and HL files from Hyperspin folder;

Then I went to this page (HyperList AHK Scripts) and downloaded HyperLaunch (Version 2.25c);

After that I read this in detailed description: "This download contains only the source code and must be compiled with Autohotkey_H only to be used. AutoHotkey.dll is also required." and went to AHK website and tried to get AHK_L version but my antivirus poped up a trojan warning and I installed AHK_L. (Please note that I didn't have found any HL EXE so far)

Since I don't have one EXE file for HL I downloaded all missing files as I was asked for.

After that I got the "backslash missing error" but I got everything right in INI files.

Trying to solve this problem warning changed to the DX error. I downloaded it and I'm up to date now.

Last but not least after reading your post I deleted all files again and uninstalled AHK.

Now I have SFF running fine outside HS and I'll wait for any community post telling I'm doing the right thing or telling me how to do it right.

Posted

Ok, start by reading this post here:

http://www.hyperspin-fe.com/forum/showthread.php?10709-HyperLaunch-2-x-Released

At the end of that post you'll find the HyperLaunch executable and all the files you need to use (make sure you use the Autohotkey.dll file that comes bundled with it and not any other), that's the one you should always use, you don't need to compile anything, you don't even need to have ahk installed in your machine.

Lmk if you still have issues after doing this, at least then we know you're using the correct versions of everything.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...