Jump to content

[NOOB] Setting up MagicIso+Saturn


Niewidomy

Recommended Posts

Posted

Hello everyone. I'm still trying to figure out things in Hyperspin but few things just stoped me. Recently I decided to add Sega Saturn problem is I can't set it up at all. The wheel is added but none of the media are showing up (backgrounds, vids etc.) but thats least of my problems.

I was following THIS topic regardless editing the daemontool script to work with magiciso.

So now whenever I try to play a Saturn game all I get is:

Error: Failed attempt to launch program or document:
Action: <"C:\Program Files (x86)\DAEMON Tools Lite\daemon.exe">
Params: <-mount 0, "[b]-rom path-[/b]">

The current thread will exit.
Specifically: Can't find specified file.

               Line#
--->          585: RunWait %DAEMONTOOLS% -mount
0, %romPath%%ronName%%romExtensions%'

My biggest concern is that it says "Action <"C:\Program FIles (x86)\DEAMON..." even though my path in HLHQ is set to that of magiiso. I'm probably missing something out, my HS could also be badly build hence the NOOB tag. Help would be MUCH appreciated.

Posted

Welcome to the forum Niewidomy.

So did you modify the module just like they did in the thread you linked too? That thread is very old but perhaps it possible to get it working with RocketLauncher.

Are you also using compressed games images as spoke of in that thread? If not, surely it would be much easier to just use DT Lite?

With regard to your media not showing, make sure all the names match the Sega Saturn xml.

56uIzxg.png

Posted

Also, unless your planning on just running Saturn, would you then need to modify every other module that is set to use DT Lite?

56uIzxg.png

Posted

I have my reasons to avoid DT and where would be the fun if I'd just give up day one : ) About the format, I use 7z and yes I would want to get every CD based system I plan to add to work with magiciso. About XML, the names are matching.

Sooooo

Action: <"C:\Program Files (x86)\DAEMON Tools Lite\daemon.exe">

How do I change this to magiciso exe file? I cant find this line in any file.

Posted

why don't you like daemon tools? because of the ads and shitware? There is a tutorial around here somewhere called daemon tools with out the crap.

Hyper Helper Ready To Help

 

Posted

Installing it and setting it up like shown above I already did. My problem is that HyperlaunchHQ apparently doesnt change anything settings related. I keep getting same error even when I change things around. It's like HLHQ doesnt know what to change in my HS. I changed the name of DTLite.exe to daemon.exe and now the emu starts but it wont load games. So again it seems like everything is allright in HLHQ but maybe it's not saving where it supossed to do so. I really dunno at this point.

Posted
Ok I got it to work with CUE files, any way to make it work with 7z? It tells me it SSF doesnt support 7z.

You need to check your path to 7z in HLHQ which is normally in module extensions. Then for that system you need to change 7z to true.

post-9524-142870660393_thumb.jpg

56uIzxg.png

Posted

Ok so after that the rom is being mounted by daemon but now te emu starts for a second and insantly turns off

PS Can I turn this topic from just saturn setup to overall HS building help topic? So I wont have to open a new one whenever I need some help :X

Posted

You can ask whatever questions you like, but if it's very specific then it's best to start a new thread so people with a similar issue can find an answer.

Before posting make sure you've looked at the Hyperspin setup guide on the main forum, read rfancellas guides as well which are system specific and you'll find video guides in my signature.

Please also make sure your set up is up to date via GIT and as I've already mentioned, post your Hyperlaunch log with your problem.

56uIzxg.png

Posted

[code]
12:52:18:691 | HL |     INFO  | +N/A   | Main - HyperLaunch v3.0.0.9
12:52:18:692 | HL |     INFO  | +0     | Main - System Specs:
				HyperLaunch Dir: E:\Hyperspin
				OS: WIN_7
				Architecture: 64-bit (might not be accurate)
				OS Language: Polish
				OS Admin Status: Yes
				Monitor #1 (\\.\DISPLAY2): 1920x1080 (1920x1050 work)
				AutoHotkey Path: 
				AHK Version: 1.1.09.04
				Unicode: No
12:52:18:692 | HL |     INFO  | +0     | Main - HyperSpin.exe coordinates are x y w h
12:52:18:692 | HL |     INFO  | +0     | CheckFile - Checking if E:\Hyperspin\HyperLaunch.exe exists
12:52:18:693 | HL |     INFO  | +0     | Main - HyperLaunch received "Sega Saturn" and "Baku Baku (USA)"
12:52:18:697 | HL |     INFO  | +16    | Main - Baku Baku (USA) is using the default emulator: SSF
12:52:18:697 | HL |     INFO  | +0     | Main - Checking for a [sSF] section in E:\Hyperspin\Settings\Sega Saturn\Emulators.ini
12:52:18:697 | HL |     INFO  | +0     | Main - Checking for a [sSF] section in E:\Hyperspin\Settings\Global Emulators.ini
12:52:18:697 | HL |     INFO  | +0     | Main - Found [sSF] in E:\Hyperspin\Settings\Global Emulators.ini
12:52:18:698 | HL |     INFO  | +0     | CheckFile - Checking if E:\Hyperspin\Modules\SSF\SSF.ahk exists
12:52:18:702 | HL |     INFO  | +0     | Main - CRC Check - CRC matches, this is an official unedited module.
12:52:18:702 | HL |     INFO  | +0     | Main - Baku Baku (USA) will use module: E:\Hyperspin\Modules\SSF\SSF.ahk
12:52:18:710 | HL |     INFO  | +0     | Main - Using standard method with "Rom Extensions" SkipChecks or without any SkipChecks.
12:52:18:713 | HL |     INFO  | +15    | Main - INI Keys read
12:52:18:713 | HL |     INFO  | +0     | CheckFile - Checking if E:\Hyperspin\HyperLaunch\Module Extensions\7z.exe exists
12:52:18:714 | HL |     INFO  | +0     | CheckFile - Checking if E:\Hyperspin\HyperLaunch\Module Extensions\7z.dll exists
12:52:18:714 | HL |     INFO  | +0     | CheckPaths - Started
12:52:18:715 | HL |     INFO  | +0     | CheckPaths - Found rom by matching name in subfolder: E:\Hyperspin\Emulators\Sega Saturn\roms\Baku Baku (USA)\Baku Baku (USA).cue
12:52:18:715 | HL |     INFO  | +0     | CheckFile - Checking if E:\Hyperspin\Emulators\Sega Saturn\SSF\SSF.exe exists
12:52:18:715 | HL |     INFO  | +0     | CheckPaths - Ended
12:52:18:715 | HL |     INFO  | +0     | BuildScript - User Variables:
				;----------------------------------------------------------------------------
				; INJECTED VARIABLES
				;----------------------------------------------------------------------------

				#NoTrayIcon
				#InstallKeybdHook
				DetectHiddenWindows, ON
				SetTitleMatchMode, 2
				SendMode, Event
				0 = 2
				frontendPID = 0
				frontendPath = E:\Hyperspin
				frontendExe = HyperSpin.exe
				frontendExt = exe
				frontendName = HyperSpin
				frontendDrive = E:
				exitEmulatorKey = ~Esc
				exitEmulatorKeyWait = 0
				forceHoldKey = ~Esc
				restoreFE = false
				exitScriptKey = ~q & ~s
				emuFullPath = E:\Hyperspin\Emulators\Sega Saturn\SSF\SSF.exe
				emuPath = E:\Hyperspin\Emulators\Sega Saturn\SSF
				emuName = SSF
				emuExt = exe
				romPath = E:\Hyperspin\Emulators\Sega Saturn\roms\Baku Baku (USA)
				romPathFromIni = E:\Hyperspin\Emulators\Sega Saturn\roms
				romExtension = .cue
				romExtensionOrig = .cue
				romExtensions = 7z|zip|cue|ccd|iso|mds|mdf
				executable = SSF.exe
				systemName = Sega Saturn
				dbName = Baku Baku (USA)
				romName = 
				romMapPath = 
				romMappingEnabled = false
				romMappingLaunchMenuEnabled = false
				romMappingFirstMatchingExt = false
				romMappingShowAllRomsInArchive = true
				romMappingNumberOfWheelsByScreen = 7
				romMappingMenuWidth = 300
				romMappingMenuMargin = 50
				romMappingTextFont = Bebas Neue
				romMappingTextOptions = cFFFFFFFF r4 s40 Bold
				romMappingDisabledTextColor = ff888888
				romMappingTextSizeDifference = 5
				romMappingTextMargin = 10
				romMappingTitleTextFont = Bebas Neue
				romMappingTitleTextOptions = cFFFFFFFF r4 s60 Bold
				romMappingTitle2TextFont = Bebas Neue
				romMappingTitle2TextOptions = cFFFFFFFF r4 s15 Bold
				romMappingGameInfoTextFont = Bebas Neue
				romMappingGameInfoTextOptions = cFFFFFFFF r4 s15 Regular
				romMappingBackgroundBrush = aa000000
				romMappingColumnBrush = 33000000
				romMappingButtonBrush1 = 6f000000
				romMappingButtonBrush2 = 33000000
				romMappingBackgroundAlign = Stretch and Lose Aspect
				romMappingMenuFlagWidth = 40
				romMappingMenuFlagSeparation = 5
				romMappingDefaultMenuList = FullList
				romMappingSingleFilteredRomAutomaticLaunch = false
				skipchecks = false
				romMatchExt = true
				logFile = E:\Hyperspin\HyperLaunch.log
				logLabel := ["    INFO"," WARNING","   ERROR","  DEBUG1","  DEBUG2"]
				logLevel = 3
				logIncludeModule = true
				logIncludeFileProperties = true
				logShowCommandWindow = false
				logCommandWindow = false
				navUpKey = Up
				navDownKey = Down
				navLeftKey = Left
				navRightKey = Right
				navSelectKey = Enter
				navP2UpKey = Numpad8
				navP2DownKey = Numpad2
				navP2LeftKey = Numpad4
				navP2RightKey = Numpad6
				navP2SelectKey = NumpadEnter
				originalWidth = 1920
				originalHeight = 1080
				dtEnabled = true
				dtPath = C:\Program Files (x86)\DAEMON Tools Lite\daemon.exe
				dtUseSCSI = true
				dtAddDrive = true
				emuIdleShutdown = 0
				hideEmu = false
				hideFE = false
				fadeIn = false
				fadeInDuration = 500
				fadeInTransitionAnimation = DefaultAnimateFadeIn
				fadeInDelay = 0
				fadeInExitDelay = 0
				fadeOutExitDelay = 0
				fadeOut = false
				fadeOutDuration = 500
				fadeOutTransitionAnimation = DefaultAnimateFadeOut
				fadeOutDelay = 0
				fadeLyrInterpolation = 7
				fadeLyr1Color = FF000000
				fadeLyr1AlignImage = Align to Top Left
				fadeLyr2Pos = Bottom Right Corner
				fadeLyr2X = 300
				fadeLyr2Y = 300
				fadeLyr2Adjust = 1
				fadeLyr2PicPad = 0
				fadeLyr3Pos = Center
				fadeLyr3X = 300
				fadeLyr3Y = 300
				fadeLyr3Adjust = 0.75
				fadeLyr3Speed = 750
				fadeLyr3Animation = DefaultFadeAnimation
				fadeLyr37zAnimation = DefaultFadeAnimation
				fadeLyr3Type = imageandbar
				fadeLyr3ImgFollow7zProgress = true
				fadeLyr3Repeat = 1
				fadeLyr3PicPad = 0
				fadeLyr4Adjust = 0.75
				fadeLyr4X = 100
				fadeLyr4Y = 100
				fadeLyr4Pos = Above Layer 3 - Left
				fadeLyr4FPS = 10
				fadeLyr4PicPad = 0
				fadeTranspGifColor = FFFFFF
				fadeBarWindow = false
				fadeBarWindowX = 
				fadeBarWindowY = 
				fadeBarWindowW = 600
				fadeBarWindowH = 120
				fadeBarWindowR = 20
				fadeBarWindowM = 20
				fadeBarWindowHatchStyle = 8
				fadeBarBack = true
				fadeBarBackColor = FF555555
				fadeBarH = 20
				fadeBarR = 5
				fadeBarColor = DD00BFFF
				fadeBarHatchStyle = 3
				fadeBarPercentageText = true
				fadeBarInfoText = true
				fadeBarXOffset = 0
				fadeBarYOffset = 100
				fadeRomInfoDescription = text
				fadeRomInfoSystemName = text
				fadeRomInfoYear = text
				fadeRomInfoManufacturer = text
				fadeRomInfoGenre = text
				fadeRomInfoRating = text
				fadeRomInfoOrder = Description|SystemName|Year|Manufacturer|Genre|Rating
				fadeRomInfoTextPlacement = topRight
				fadeRomInfoTextMargin = 5
				fadeRomInfoText1Options = cFF555555 r4 s20 Bold
				fadeRomInfoText2Options = cFF555555 r4 s20 Bold
				fadeRomInfoText3Options = cFF555555 r4 s20 Bold
				fadeRomInfoText4Options = cFF555555 r4 s20 Bold
				fadeRomInfoText5Options = cFF555555 r4 s20 Bold
				fadeRomInfoText6Options = cFF555555 r4 s20 Bold
				fadeStats_Number_of_Times_Played = text with label
				fadeStats_Last_Time_Played = text with label
				fadeStats_Average_Time_Played = text with label
				fadeStats_Total_Time_Played = text with label
				fadeStats_System_Total_Played_Time = text with label
				fadeStats_Total_Global_Played_Time = text with label
				fadeStatsInfoOrder = Number_of_Times_Played|Last_Time_Played|Average_Time_Played|Total_Time_Played|System_Total_Played_Time|Total_Global_Played_Time
				fadeStatsInfoTextPlacement = topLeft
				fadeStatsInfoTextMargin = 5
				fadeStatsInfoText1Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText2Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText3Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText4Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText5Options = cFF555555 r4 s20 Bold
				fadeStatsInfoText6Options = cFF555555 r4 s20 Bold
				fadeText1X = 0
				fadeText1Y = 0
				fadeText1Options = cFFFFFFFF r4 s20 Right Bold
				fadeText1 = Loading Game
				fadeText2X = 0
				fadeText2Y = 0
				fadeText2Options = cFFFFFFFF r4 s20 Right Bold
				fadeText2 = Extraction Complete
				fadeFont = Arial
				fadeSystemAndRomLayersOnly = false
				fadeInterruptKey = 
				detectFadeErrorEnabled = true
				fadeImgPath = E:\Hyperspin\Media\Fade
				HLDataPath = E:\Hyperspin\Data
				HLMediaPath = E:\Hyperspin\Media
				HLErrSoundPath = E:\Hyperspin\Media\Sounds\Error
				modulesPath = E:\Hyperspin\Modules
				moduleFullName = E:\Hyperspin\Modules\SSF\SSF.ahk
				moduleName = SSF
				modulePath = E:\Hyperspin\Modules\SSF
				moduleExtension = ahk
				moduleExtensionsPath = E:\Hyperspin\Module Extensions
				libPath = E:\Hyperspin\Lib
				7zEnabled = true
				7zPath = E:\Hyperspin\HyperLaunch\Module Extensions\7z.exe
				7zDllPath = E:\Hyperspin\HyperLaunch\Module Extensions\7z.dll
				7zExtractPath = E:\Temp
				7zExtractPathOrig = 
				7zAttachSystemName = false
				7zDelTemp = true
				7zSounds = true
				7zFormats = .zip,.rar,.7z,.lzh,.gzip,.tar
				7zFormatsNoP = zip,rar,7z,lzh,gzip,tar
				mgEnabled = false
				mgKey = ~NumpadSub
				mgBackgroundColor = FF000000
				mgSidePadding = 0.2
				mgYOffset = 500
				mgImageAdjust = 1
				mgFont = Arial
				mgText1Options = x10p y30p w80p Center cBBFFFFFF r4 s100 BoldItalic
				mgText1Text = Please select a game
				mgText2Options = w96p cFFFFFFFF r4 s50 Center BoldItalic
				mgText2Offset = 70
				mgUseSound = true
				mgSoundfreq = 300
				mgExitEffect = none
				mgSelectedEffect = rotate
				mgUseGameArt = false
				mgArtworkDir = Artwork1
				hpEnabled = false
				hpKey = ~NumpadAdd
				hpBackToMenuBarKey = X
				hpZoomInKey = C
				hpZoomOutKey = V
				hpScreenshotKey = ~PrintScreen
				hpHiToTextPath = E:\Hyperspin\Module Extensions\HiToText.exe
				hpSaveStateKeyCodes = 
				hpLoadStateKeyCodes = 
				keymapperEnabled = false
				keymapper = ahk
				xpadderFullPath = E:\Utilities\Xpadder\xpadder.exe
				joyToKeyFullPath = E:\Utilities\JoyToKey\JoyToKey.exe
				keymapperProfilePath = E:\Hyperspin\Profiles\ahk
				keymapperFrontEndProfileName = HyperSpin
				keymapperHyperLaunchProfileEnabled = false
				JoyIDsEnabled = false
				JoyIDsPreferredControllersSystem = use_global
				JoyIDsPreferredControllersGlobal = use_global
				CustomJoyNamesEnabled = false
				CustomJoyNames = 
				FEProfile = E:\Hyperspin\Profiles\ahk\HyperSpin
				defaultProfile = E:\Hyperspin\Profiles\ahk\_Default
				systemProfile = E:\Hyperspin\Profiles\ahk\Sega Saturn
				xPadderSystemProfile = E:\Hyperspin\Profiles\ahk\Sega Saturn\_Default
				emuProfile = E:\Hyperspin\Profiles\ahk\Sega Saturn\SSF
				romProfile = E:\Hyperspin\Profiles\ahk\Sega Saturn\Baku Baku (USA)
				blankProfile = E:\Hyperspin\Profiles\ahk\blank
				HyperLaunchProfile = E:\Hyperspin\Profiles\ahk\HyperLaunch
				bezelEnabled = false
				statisticsEnabled = true

12:52:18:716 | HL |     INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
12:52:18:716 | HL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
12:52:18:716 | HL |     INFO  | +0     | BuildScript - Loaded User Functions Init.ahk script
12:52:18:717 | HL |     INFO  | +0     | BuildScript - Module:
				MEmu = SSF
				MEmuV =  v0.12 beta R4
				MURL = http://www7a.biglobe.ne.jp/~phantasy/ssf/
				MAuthor = djvj
				MVersion = 2.0.2
				MCRC = 4BF03AF
				iCRC = E99E54D8
				MID = 635038268924991452
				MSystem = "Sega Saturn","Sega ST-V"
				;------------------------------------------------------------------------
				; Notes:
				; Sega Saturn:
				; This only works with DTLite, not DTPro
				; Make sure your Daemontools Path in HLHQ is correct
				; romExtension should be ccd|mds|cue|iso|cdi|nrg
				; You MUST set the path to the 3 different region BIOS files in HLHQ module's settings.
				; If you prefer a region-free bios, extract this bios and set all 3 bios paths to this one file: http://theisozone.com/downloads/other-consoles/sega-saturn/sega-saturn-region-free-bios/
				; 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 
				; If your game's region is (USA), you must use a USA bios and set SSF Area Code to "America, Canada Brazil". For (Japan) games, bios must be a Japan one and SSF Area Code set to Japan. Use the same logic for European games. You will only see a black screen if wrong.
				; Set fullscreen mode via the variable below
				; SSF forces 1024x768 in fullscreen mode if your GPU supports pixel shader 3.0, otherwise it forces 640x480 if it does not. This 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
				; Module will attempt to auto-detect the region for your game by using the region tags in parenthesis on your rom file and set SSF to use the appropriate region settings that match.
				;
				; Sega ST-V:
				; romExtension should be zip
				; Extract the stv110.bin bios into the BIOS folder. Run SSF.exe and goto Option->Option and point ST-V BIOS to this file.
				; Set fullscreen mode via the variable below
				; If you are getting clipping, set the vSync variable to true below
				;
				; If it seems like it's taking a long time to load, it probably is. You are going to stare at the black screen while SSF is decoding the roms.
				;------------------------------------------------------------------------
				StartModule()
				FadeInStart()

				settingsFile := modulePath . "\" . moduleName . ".ini"
				Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
				ShowBIOS := IniReadCheck(settingsFile, "Settings", "ShowBIOS","false",,1)
				BilinearFiltering := IniReadCheck(settingsFile, "Settings", "BilinearFiltering","true",,1)
				vSync := IniReadCheck(settingsFile, "Settings", "vSync","true",,1)
				WideScreen := IniReadCheck(settingsFile, "Settings", "WideScreen","false",,1)
				Stretch := IniReadCheck(settingsFile, "Settings", "Stretch","false",,1)
				CDDrive := IniReadCheck(settingsFile, "Settings", "CDDrive","1",,1)
				defaultRegion := IniReadCheck(settingsFile, "Settings", "DefaultRegion","America, Canada, Brazil",,1)
				usBios := IniReadCheck(settingsFile, "Settings", "USBios","",,1)
				euBios := IniReadCheck(settingsFile, "Settings", "EUBios","",,1)
				jpBios := IniReadCheck(settingsFile, "Settings", "JPBios","",,1)
				usBios := GetFullName(usBios)	; convert relative to absolute path
				euBios := GetFullName(euBios)
				jpBios := GetFullName(jpBios)

				BezelStart()
				7z(romPath, romName, romExtension, 7zExtractPath)

				If romExtension not in .ccd,.mds,.cue,.iso,.cdi,.nrg
					ScriptError("SSF only supports extensions ""mds|cue|iso|cdi|nrg"" and you are trying to use """ . romExtension . """")

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

				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"
				defaultRegion := If defaultRegion = "America, Canada, Brazil" ? "1" : If defaultRegion = "Japan, Taiwan, Korea, Philippines" ? "2" : "3"	; translating for easier use later


				If systemName = Sega Saturn
				{	If RegExMatch(romName, "\(U\)|\(USA\)|\(Braz")
					{	Log("Module - This is an American rom. Setting SSF's settings to this region.")
						Areacode := "4"	; 1 = Japan, 2 = Taiwan/Korea/Philippines. 4 = America/Canada/Brazil, c = Europe/Australia/South Africa
						SaturnBIOS := usBios
					} Else If RegExMatch(romName, "JP|\(J\)|\(Jap")
					{	Log("Module - This is a Japanese rom. Setting SSF's settings to this region.")
						Areacode := "1"
						SaturnBIOS := jpBios
					} Else If RegExMatch(romName, "\(Eu\)|\(Eur|\(German")
					{	Log("Module - This is a European rom. Setting SSF's settings to this region.")
						Areacode := "c"
						SaturnBIOS := euBios
					} Else If RegExMatch(romName, "\(Kore")
					{	Log("Module - This is a Korean rom. Setting SSF's settings to this region.")
						Areacode := "2"
						SaturnBIOS := jpBios	; don't see a bios for this region, assuming it uses japanese one
					} Else
					{	Log("Module - This rom has an UNKNOWN region. Reverting to use your default region. If you get a black screen, please rename your rom to add a proper (Region) tag.",2)
						Areacode := If defaultRegion = "1" ? "4" : If defaultRegion = "2" ? "1" : "c"
						SaturnBIOS := If defaultRegion = "1" ? usBios : If defaultRegion = "2" ? jpBios : euBios
					}
				}

				; Compare existing settings and if different then desired, write them to the SSF.ini
				iniLookup =
				( ltrim c
					Screen, FullSize, "%Fullscreen%"
					Screen, BilinearFiltering, "%BilinearFiltering%"
					Screen, VSynchWaitFullscreen, "%vSync%"
					Screen, WideScreen, "%WideScreen%"
					Screen, StretchScreen, "%Stretch%"
					Screen, EnforceAspectRatioFullscreen, "1"
					Peripheral, SaturnBIOS, "%SaturnBIOS%"
					Peripheral, CDDrive, "%CDDrive%"
					Peripheral, Areacode, "%Areacode%"
					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 ) {
						Log("Module - SSF INI Update - Changing [" . split1 . "] " . split2 . " to " . split3)
						IniWrite, % split3, %SSFINI%, %split1%, %split2%
					}
				}

				If systemName = Sega Saturn
					DaemonTools("mount",romPath . "\" . romName . romExtension)

				; Run(executable,emuPath,(If Fullscreen = 1 ? ("Hide" ): ("")), ssfPID)	; Worked in R3, not in R4
				Run(executable,emuPath,, ssfPID)

				If systemName = Sega ST-V
				{
					Send, {SHIFTDOWN} ; this tells SSF we want to boot in ST-V mode
					WinWait("Select ROM file ahk_class #32770",,8) ; times out after 8 Seconds
					If ErrorLevel
					{
						Send, {SHIFTUP}
						WinClose, SSF
						ScriptError("Module timed out waiting for Select ROM file window. This probably means you did not set your ST-V bios or have an invalid ST-V bios file.")
					}
					IfWinNotActive, Select ROM file ahk_class #32770, , WinActivate, Select ROM file
					WinWaitActive("Select ROM file ahk_class #32770")
					Send, {SHIFTUP}
					Loop {
						ControlGetText, edit1Text, Edit1, Select ROM file ahk_class #32770
						If ( edit1Text = romPath . "\" . romName . romExtension )
							Break
						Sleep, 100
						ControlSetText, Edit1, %romPath%\%romName%%romExtension%, Select ROM file ahk_class #32770
					}
					Send, {ENTER}
					WinWait("Decoding ahk_class #32770")
				}

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

				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)

				If systemName = Sega Saturn
					DaemonTools("unmount")

				7zCleanUp()
				BezelExit()
				FadeOutExit()
				ExitModule()


				HaltEmu:
					disableActivateBlackScreen = true
					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, ssfPID, ID, A
						WinGetPos,,,ssfW,ssfH,ahk_id %ssfPID%
						SetKeyDelay,,10
						Send, !{Enter}
						WinSet, Transparent, 0, ahk_id %ssfPID%
						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 %ssfPID%
								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:
					WinMenuSelectItem,ahk_id %ssfID%,,Hardware,CD Open
					DaemonTools("unmount")
					Sleep, 200	; just in case script moves too fast for DT
					DaemonTools("mount",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
						Gui, 69: Destroy
						WinSet, Transparent, 255, ahk_id %ssfID%
						WinSet, Transparent, Off, ahk_id %ssfID%
					}
				Return

				RestoreEmu:
					WinActivate, ahk_id %ssfID%
					Sleep, 500
					SetKeyDelay,,100
					Send, !{Enter}
				Return

				CloseProcess:
					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
				}

12:52:18:718 | HL |     INFO  | +0     | CheckFile - Checking if C:\Program Files (x86)\DAEMON Tools Lite\daemon.exe exists
12:52:18:721 | HL |     INFO  | +0     | BuildScript - Loaded Statistics.ahk script
12:52:18:721 | HL |     INFO  | +0     | BuildScript - Loaded User Functions.ahk script
12:52:18:721 | HL |     INFO  | +0     | BuildScript - Finished injecting functions into module
12:52:18:721 | HL |     INFO  | +0     | Main - Module is built
12:52:18:721 | HL |     INFO  | +0     | CheckFile - Checking if E:\Hyperspin\AutoHotkey.dll exists
12:52:18:724 | HL |     INFO  | +0     | Main - Running module

Now started to happen on both 7z and Images

Update: So when I delete all the SSF settings files and set it up again and manualy start the emu I can play games but whenever I run it of HS it somehow ignores my settings (goes fullscreen when it's set to windowed etc.) after that when I manualy run the emu it also doesnt work. :S

Posted

I see by Hyperlaunch version that your set up is not up to date, it's version 3.0.0.9, the latest is HyperLaunch v3.0.1.1c

You really it up to date before moving forward. Follow this guide to get it updated.

Also, if you haven't already get the latest Hyperlaunch HQ version from the downloads section 1.0.13.0

56uIzxg.png

Posted

I updated HL and HLHQ now I dont see any emulators on the list : | BUT whatever I had set up earlier like Neo Geo CD works. Nothing changed seem like I might have some settings files paths issues.

Update: Managed to get the list to work, now it tells me I can't run 7z because it doesnt have the format listed even though it's clearly there in HLHQ at the very beginning of the list

Update2: So I finally managed to get it to work (forgot to enable 7z) but now I have another problem. HS seem to ignore my screen settings in the emu. I want to dissable scanlines (causes graphical glitches for me) but even if I turn it off in the emu (and it's ok when run manualy) it runs with them when I use HS.

Archived

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

×
×
  • Create New...