bytebackjrd Posted May 30, 2014 Share Posted May 30, 2014 Probably a dumb question - I have several systems in hyperlaunch like nes, snes, genesis, mame, taitox, and Naomi - however I have the Taito and Naomi games in the Mame wheel. So my question is - when hyperspin starts it shows all my systems - however I would like it to show only mame, nes, snes, and genesis. Is there a way to do this? I know I can show just one system like setting it to go into the mame wheel only. Thanks for anyone's help Link to comment Share on other sites More sharing options...
BiLbOBaggins Posted May 30, 2014 Share Posted May 30, 2014 Hi bytebackjrd. I know a way to do this. Are you familiar with your Main Menu.ini? All you need to do is edit that and only the chosen systems will appear on your wheel. Let me know if you need more info on location, edit method, etc. Good Luck -Bilbo Link to comment Share on other sites More sharing options...
rfancella Posted May 30, 2014 Share Posted May 30, 2014 Probably a dumb question - I have several systems in hyperlaunch like nes, snes, genesis, mame, taitox, and Naomi - however I have the Taito and Naomi games in the Mame wheel.So my question is - when hyperspin starts it shows all my systems - however I would like it to show only mame, nes, snes, and genesis. Is there a way to do this? I know I can show just one system like setting it to go into the mame wheel only. Thanks for anyone's help +1 for sure. Only he is close. The file you are looking for is in ...\HyperSpin\Databases\Main Menu and it's called Main Menu.xml Open it in Notepad or your favorite text editor. Then delete the lines you don't want shown. If your system names are official, the file should look like this: <menu> <game name="Nintendo Entertainment System"/> <game name="Super Nintendo Entertainment System"/> <game name="Sega Genesis"/> <game name="MAME"/> </menu> Or, option 2: Open up ...\HyperSpin\HyperHQ.exe Click the Man Menu Wizard tab. Click the - Remove item from Main Menu Remove the items you don't want. Thanks, Ron Link to comment Share on other sites More sharing options...
bytebackjrd Posted May 30, 2014 Author Share Posted May 30, 2014 thanks so much for both your help - it works! Link to comment Share on other sites More sharing options...
galegovision Posted May 30, 2014 Share Posted May 30, 2014 Would the method of "Or, option 2: Open up ...\HyperSpin\HyperHQ.exe Click the Man Menu Wizard tab. Click the - Remove item from Main Menu Remove the items you don't want." work if I wanted to start working on several systems (configs, themes, etc) but only show the systems on the main menu I have completed? This way I slowly setup each system to make sure I'm doing it the right way. Right now I have a bunch of systems in the menu but only a few are fully configured (i think, lol). Thanks Link to comment Share on other sites More sharing options...
rfancella Posted May 30, 2014 Share Posted May 30, 2014 Would the method of "Or, option 2: Open up ...\HyperSpin\HyperHQ.exe Click the Man Menu Wizard tab. Click the - Remove item from Main Menu Remove the items you don't want." work if I wanted to start working on several systems (configs, themes, etc) but only show the systems on the main menu I have completed? This way I slowly setup each system to make sure I'm doing it the right way. Right now I have a bunch of systems in the menu but only a few are fully configured (i think, lol). Thanks No. The systems shown in your Main Menu and in HyperHQ are the only ones that will show up in HyperLaunchHQ. What I do is comment out the items in the Main Menu.xml until I am ready to work on them. Then add one back in, get it running. Add another back in, get it running. Lather, Rinse, Repeat... To comment out an item you have to use xml commenting tags. Using the example above, this is how NES would be commented out: <menu> <!-- <game name="Nintendo Entertainment System"/> --> <game name="Super Nintendo Entertainment System"/> <game name="Sega Genesis"/> <game name="MAME"/> </menu> This is an open comment tag "<!--" and this is a close comment tag "-->". Everything between them will not be used. So, you would not see NES in either HyperSpin, HyperHQ or HyperLaunchHQ. But this does allow you to get everything organized and your roms and emu working first. As soon as you remove the comment tags, it will show back up in HLHQ, HS and HHQ. Hope this helps some... Thanks, Ron Link to comment Share on other sites More sharing options...
galegovision Posted May 30, 2014 Share Posted May 30, 2014 Thanks for the info. I was going to try commenting them out and was not sure how the Hyper programs would handle it. I'll probably just go one at a time and do this the right way. Link to comment Share on other sites More sharing options...
bytebackjrd Posted June 3, 2014 Author Share Posted June 3, 2014 so i did what everyone said to do here - except one issue. I took out naomi and sammy so the wheels would not show up (i have those games in my mame wheel) and as soon as i did that - those games would not start at all. As soon as i changed it back so that naomi and sammy showed on hyperlaunch and hyperspin - then the games started working again. Any ideas on why this is happening - thanks for the help Link to comment Share on other sites More sharing options...
rfancella Posted June 3, 2014 Share Posted June 3, 2014 so i did what everyone said to do here - except one issue. I took out naomi and sammy so the wheels would not show up (i have those games in my mame wheel) and as soon as i did that - those games would not start at all. As soon as i changed it back so that naomi and sammy showed on hyperlaunch and hyperspin - then the games started working again.Any ideas on why this is happening - thanks for the help Try this. Remove the wheel again. Try to run a sammy or naomi game and post your HyperLaunch log as described here: http://www.hyperspin-fe.com/forum/showthread.php?31072-The-HyperNoobie-Guide-For-Posting-To-The-Fourm It's hard to diagnose a problem without logs. Thanks, Ron Link to comment Share on other sites More sharing options...
32assassin Posted June 3, 2014 Share Posted June 3, 2014 so i did what everyone said to do here - except one issue. I took out naomi and sammy so the wheels would not show up (i have those games in my mame wheel) and as soon as i did that - those games would not start at all. As soon as i changed it back so that naomi and sammy showed on hyperlaunch and hyperspin - then the games started working again.Any ideas on why this is happening - thanks for the help are your sammy and naomi roms on your mame emulator or demul? you stated that you wanted to have Taito X on your MAME wheel. You can do that with a custom MAME xml, but note that you will have to run alternative emulators for all the systems that are not run by MAME. Link to comment Share on other sites More sharing options...
bytebackjrd Posted June 4, 2014 Author Share Posted June 4, 2014 hi, I removed the wheel and the Naomi games now work perfect in mame without errors - however with Sammy I am still getting this error 15:51:08:040 | HL | INFO | +N/A | Main - HyperLaunch v3.0.1.1c 15:51:08:102 | HL | INFO | +62 | Main - System Specs: HyperLaunch Dir: E:\Hyperspin\HyperLaunch OS: Microsoft Windows 7 Professional SKU: Professional Total Memory: 3965.61 MB Free Memory: 2949.46 MB Used Memory: 1016.152 MB SystemType: x64-based PC Physical Processors: 1 Logical Processors: 4 GPU 1 Name: NVIDIA GeForce GT 610 GPU 1 RAM: -2048.00 MB GPU 1 Driver Version: 9.18.13.3523 Sound 1 Device: NVIDIA High Definition Audio Sound 1 Status: Enabled Sound 2 Device: High Definition Audio Device Sound 2 Status: Enabled OS Language: English_United_States OS Admin Status: Yes Monitor #1 (\\.\DISPLAY1): 1600x900 (1600x856 work) AutoHotkey Path: C:\Program Files (x86)\AutoHotkey\AutoHotkey.exe AHK Version: 1.1.09.04 Unicode: No 15:51:08:102 | HL | INFO | +0 | Main - HyperSpin.exe coordinates are x y w h 15:51:08:102 | HL | INFO | +0 | CheckFile - Checking if E:\Hyperspin\HyperLaunch\HyperLaunch.exe exists 15:51:08:102 | HL | INFO | +0 | Main - HyperLaunch received "MAME" and "dolphin" 15:51:08:133 | HL | INFO | +31 | Main - dolphin is switching to emulator Demul57 via: E:\Hyperspin\HyperLaunch\Settings\MAME\Games.ini 15:51:08:133 | HL | INFO | +0 | Main - Checking for a [Demul57] section in E:\Hyperspin\HyperLaunch\Settings\MAME\Emulators.ini 15:51:08:133 | HL | INFO | +0 | Main - Checking for a [Demul57] section in E:\Hyperspin\HyperLaunch\Settings\Global Emulators.ini 15:51:08:133 | HL | INFO | +0 | Main - Found [Demul57] in E:\Hyperspin\HyperLaunch\Settings\Global Emulators.ini 15:51:08:133 | HL | INFO | +0 | CheckFile - Checking if E:\Hyperspin\HyperLaunch\Modules\Demul\Demul (v0.5.7).ahk exists 15:51:08:133 | HL | INFO | +0 | Main - CRC Check - CRC matches, this is an official unedited module. 15:51:08:133 | HL | INFO | +0 | Main - dolphin will use module: E:\Hyperspin\HyperLaunch\Modules\Demul\Demul (v0.5.7).ahk 15:51:08:149 | HL | INFO | +16 | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks. 15:51:08:149 | HL | INFO | +0 | Main - INI Keys read 15:51:08:149 | HL | INFO | +0 | CheckFile - Checking if E:\Hyperspin\HyperLaunch\Module Extensions\7z.exe exists 15:51:08:149 | HL | INFO | +0 | CheckFile - Checking if E:\Hyperspin\HyperLaunch\Module Extensions\7z.dll exists 15:51:08:149 | HL | INFO | +0 | CheckPaths - Started 15:51:08:165 | HL | INFO | +16 | CheckPaths - Found rom: E:\Hyperspin\Emulators\demul057\roms\dolphin.zip 15:51:08:165 | HL | INFO | +0 | CheckFile - Checking if E:\Hyperspin\Emulators\demul057\demul.exe exists 15:51:08:165 | HL | INFO | +0 | CheckPaths - Ended 15:51:08:165 | HL | INFO | +0 | BuildScript - User Variables: ;---------------------------------------------------------------------------- ; INJECTED VARIABLES ;---------------------------------------------------------------------------- #NoTrayIcon #InstallKeybdHook DetectHiddenWindows, ON SetTitleMatchMode, 2 SendMode, Event 0 = 2 hlMode = 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 toggleCursorKey = ~e & ~t emuFullPath = E:\Hyperspin\Emulators\demul057\demul.exe emuPath = E:\Hyperspin\Emulators\demul057 emuName = Demul57 emuExt = exe romPath = E:\Hyperspin\Emulators\demul057\roms romPathFromIni = E:\Hyperspin\Emulators\MAME Plus!\roms|E:\Hyperspin\Emulators\Mame148\roms|E:\Hyperspin\Emulators\Daphne\framefile|E:\Hyperspin\Emulators\nebula\roms|E:\Hyperspin\Emulators\demul057\roms romExtension = .zip romExtensionOrig = .zip romExtensions = zip|gdi|cue|cdi|chd|mds|ccd|nrg executable = demul.exe systemName = MAME dbName = dolphin romName = dolphin 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 blockInputTime = 0 blockInputFile = errorLevelReporting = false logFile = E:\Hyperspin\HyperLaunch\HyperLaunch.log logLabel := [" INFO"," WARNING"," ERROR"," DEBUG1"," DEBUG2"] logLevel = 3 logIncludeModule = true logIncludeFileProperties = true logShowCommandWindow = false logCommandWindow = false sysLang = English_United_States navUpKey = Up navDownKey = Down navLeftKey = Left navRightKey = Right navSelectKey = Enter navP2UpKey = Numpad8 navP2DownKey = Numpad2 navP2LeftKey = Numpad4 navP2RightKey = Numpad6 navP2SelectKey = NumpadEnter originalWidth = 1600 originalHeight = 900 dtEnabled = true dtPath = dtUseSCSI = true dtAddDrive = false emuIdleShutdown = 0 hideCursor = false hideEmu = false hideFE = false fadeIn = false fadeInDuration = 500 fadeInTransitionAnimation = DefaultAnimateFadeIn fadeInDelay = 0 fadeInExitDelay = 0 fadeOutExitDelay = 0 fadeOut = false fadeOutExtraScreen = 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 = false fadeImgPath = E:\Hyperspin\HyperLaunch\Media\Fade HLDataPath = E:\Hyperspin\HyperLaunch\Data HLMediaPath = E:\Hyperspin\HyperLaunch\Media HLErrSoundPath = E:\Hyperspin\HyperLaunch\Media\Sounds\Error modulesPath = E:\Hyperspin\HyperLaunch\Modules moduleFullName = E:\Hyperspin\HyperLaunch\Modules\Demul\Demul (v0.5.7).ahk moduleName = Demul (v0.5.7) modulePath = E:\Hyperspin\HyperLaunch\Modules\Demul moduleExtension = ahk moduleExtensionsPath = E:\Hyperspin\HyperLaunch\Module Extensions libPath = E:\Hyperspin\HyperLaunch\Lib 7zEnabled = false 7zPath = E:\Hyperspin\HyperLaunch\Module Extensions\7z.exe 7zDllPath = E:\Hyperspin\HyperLaunch\Module Extensions\7z.dll 7zExtractPath = C:\Users\MAME\AppData\Local\Temp\HS 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\HyperLaunch\Module Extensions\HiToText.exe hpSaveStateKeyCodes = hpLoadStateKeyCodes = keymapperEnabled = false keymapperAHKMethod = false keymapper = ahk xpadderFullPath = E:\Hyperspin\Utilities\Xpadder\xpadder.exe joyToKeyFullPath = E:\Hyperspin\Utilities\JoyToKey\JoyToKey.exe keymapperProfilePath = E:\Hyperspin\HyperLaunch\Profiles\ahk keymapperFrontEndProfileName = HyperSpin keymapperFrontEndProfile = false keymapperHyperLaunchProfileEnabled = false JoyIDsEnabled = false JoyIDsPreferredControllersSystem = use_global JoyIDsPreferredControllersGlobal = use_global CustomJoyNamesEnabled = false CustomJoyNames = FEProfile = E:\Hyperspin\HyperLaunch\Profiles\ahk\HyperSpin defaultProfile = E:\Hyperspin\HyperLaunch\Profiles\ahk\_Default systemProfile = E:\Hyperspin\HyperLaunch\Profiles\ahk\MAME xPadderSystemProfile = E:\Hyperspin\HyperLaunch\Profiles\ahk\MAME\_Default emuProfile = E:\Hyperspin\HyperLaunch\Profiles\ahk\MAME\Demul57 romProfile = E:\Hyperspin\HyperLaunch\Profiles\ahk\MAME\dolphin HyperLaunchProfile = E:\Hyperspin\HyperLaunch\Profiles\ahk\HyperLaunch blankProfile = E:\Hyperspin\HyperLaunch\Profiles\ahk\blank ahkFEProfile = E:\Hyperspin\HyperLaunch\Profiles\AHK\HyperSpin ahkDefaultProfile = E:\Hyperspin\HyperLaunch\Profiles\AHK\_Default ahkSystemProfile = E:\Hyperspin\HyperLaunch\Profiles\AHK\MAME ahkEmuProfile = E:\Hyperspin\HyperLaunch\Profiles\AHK\MAME\Demul57 ahkRomProfile = E:\Hyperspin\HyperLaunch\Profiles\AHK\MAME\dolphin ahkHyperLaunchProfile = E:\Hyperspin\HyperLaunch\Profiles\AHK\HyperLaunch bezelEnabled = false statisticsEnabled = true 15:51:08:165 | HL | INFO | +0 | BuildScript - Loaded XHotkey Init.ahk scripts 15:51:08:165 | HL | INFO | +0 | BuildScript - Loaded Statistics Init.ahk scripts 15:51:08:165 | HL | INFO | +0 | BuildScript - Loaded User Functions Init.ahk script 15:51:08:165 | HL | INFO | +0 | BuildScript - Module: MEmu = Demul MEmuV = v0.5.7 MURL = http://demul.emulation64.com/ MAuthor = djvj MVersion = 2.0.2 MCRC = 57AEED04 iCRC = ECAD1562 MID = 635038268881865553 MSystem = "Sammy Atomiswave","Sega Dreamcast","Sega Naomi" ;---------------------------------------------------------------------------- ; Notes: ; Required - control and nvram files can be found in my user dir on the FTP at /Upload Here/djvj/Sega Naomi\Emulators. Additonal instructions from my orignal HL1.0 script at http://www.hyperspin-fe.com/forum/showpost.php?p=86093&postcount=104 ; Required - moduleName ini: can be found in my user dir on the FTP at /Upload Here/djvj/Sega Naomi\Modules\Sega Naomi ; moduleName ini must be placed in same folder as this module ; GDI images must match mame zip names and be extracted and have a .dat extension ; Rom_Extension should be zip ; ; Place the naomi.zip bios archive in the demul\roms subdir ; Set your Video Plugin to gpuOglv3 and set your desired resolution there ; In case your control codes do not match mine, set your desired control type in demul, then open the demul.ini and find section PORTB and look for the device key. Use this number instead of the one I provided ; gpuDX11, gpuDXv3, and gpuDXLegacy are all supported. Define what plugin you want to use for each game in the moduleName ini. ; Read the notes at the top of the moduleName ini on how to control windowed fullscreen, true fullscreen, or windowed mode ; Windowed fullscreen will take effect the 2nd time you run the emu. It has to calculate your resolution on first run. ; ; Controls: ; Start a game of each control type (look in the moduleName ini for these types) and configure your controls to play the game. Copy paste the JAMMA0_0 and JAMMA0_1 (for naomi) or the ATOMISWAVE0_0 and ATOMISWAVE0_1 (for atomiswave) sections into the moduleName ini under the matching controls section. ; ; Troubleshooting: ; For some reason demul's ini files can get corrupted and ahk can't read/write to them correctly. ; If your ini keys are not being read or not writing to their existing keys in the demul inis, create a new file and copy/paste everything from the old ini into the new one and save. ; If you use Fade_Out, the module will force close demul because you cannot send ALT+F4 to demul if another GUI is covering it. Otherwise demul should close cleanly when Fade_Out is disabled. I suggest keeping Fade_Out disabled if you use this emu. ;---------------------------------------------------------------------------- StartModule() FadeInStart() ; This object controls how the module reacts to different systems. Demul can play a few systems, but needs to know what system you want to run, so this module has to adapt. mType := Object("Sammy Atomiswave","atomiswave","Sega Dreamcast","dc","Sega Naomi","naomi") ident := mType[systemName] ; search object for the systemName identifier MESS uses If !ident ScriptError("Your systemName is: " . systemName . "`nIt is not one of the known supported systems for this MESS module: " . moduleName) settingsFile := modulePath . "\" . moduleName . ".ini" demulFile := CheckFile(emuPath . "\Demul.ini") padFile := CheckFile(emuPath . "\padDemul.ini") controls := IniReadCheck(settingsFile, romname, "controls","standard",,1) ; have to read this first so the below loop works ; Read all the keys from the moduleName ini. Format is: ; Section, Key, Default Value, unique var iniLookup = ( ltrim c Settings, GlobalMax, false Settings, MaxHideTaskbar Settings, ControllerCode, 16777216 Settings, MouseCode, 131072 Settings, KeyboardCode, 1073741824 Settings, LightgunCode, -2147483648 Settings, LastControlUsed, standard Settings, GlobalPlugin, gpuDX11 Settings, GlobalShaderUsePass1, false Settings, GlobalShaderUsePass2, false Settings, GlobalShaderNamePass1 Settings, GlobalShaderNamePass2 %romName%, Max %romName%, LoadDecrypted %romName%, Bios %romName%, ShaderUsePass1 %romName%, ShaderUsePass2 %romName%, ShaderNamePass1 %romName%, ShaderNamePass2 %romName%, Plugin %romName%, ListSorting %controls%_JAMMA0_0, push1,,push1_0 %controls%_JAMMA0_0, push2,,push2_0 %controls%_JAMMA0_0, push3,,push3_0 %controls%_JAMMA0_0, push4,,push4_0 %controls%_JAMMA0_0, push5,,push5_0 %controls%_JAMMA0_0, push6,,push6_0 %controls%_JAMMA0_0, push7,,push7_0 %controls%_JAMMA0_0, push8,,push8_0 %controls%_JAMMA0_0, SERVICE,,service_0 %controls%_JAMMA0_0, START,,start_0 %controls%_JAMMA0_0, COIN,,coin_0 %controls%_JAMMA0_0, DIGITALUP,,digitalup_0 %controls%_JAMMA0_0, DIGITALDOWN,,digitaldown_0 %controls%_JAMMA0_0, DIGITALLEFT,,digitalleft_0 %controls%_JAMMA0_0, DIGITALRIGHT,,digitalright_0 %controls%_JAMMA0_0, ANALOGUP,,analogup_0 %controls%_JAMMA0_0, ANALOGDOWN,,analogdown_0 %controls%_JAMMA0_0, ANALOGLEFT,,analogleft_0 %controls%_JAMMA0_0, ANALOGRIGHT,,analogright_0 %controls%_JAMMA0_0, ANALOGUP2,,analogup2_0 %controls%_JAMMA0_0, ANALOGDOWN2,,analogdown2_0 %controls%_JAMMA0_0, ANALOGLEFT2,,analogleft2_0 %controls%_JAMMA0_0, ANALOGRIGHT2,,analogright2_0 %controls%_JAMMA0_1, push1,,push1_1 %controls%_JAMMA0_1, push2,,push2_1 %controls%_JAMMA0_1, push3,,push3_1 %controls%_JAMMA0_1, push4,,push4_1 %controls%_JAMMA0_1, push5,,push5_1 %controls%_JAMMA0_1, push6,,push6_1 %controls%_JAMMA0_1, push7,,push7_1 %controls%_JAMMA0_1, push8,,push8_1 %controls%_JAMMA0_1, SERVICE,,service_1 %controls%_JAMMA0_1, START,,start_1 %controls%_JAMMA0_1, COIN,,coin_1 %controls%_JAMMA0_1, DIGITALUP,,digitalup_1 %controls%_JAMMA0_1, DIGITALDOWN,,digitaldown_1 %controls%_JAMMA0_1, DIGITALLEFT,,digitalleft_1 %controls%_JAMMA0_1, DIGITALRIGHT,,digitalright_1 %controls%_JAMMA0_1, ANALOGUP,,analogup_1 %controls%_JAMMA0_1, ANALOGDOWN,,analogdown_1 %controls%_JAMMA0_1, ANALOGLEFT,,analogleft_1 %controls%_JAMMA0_1, ANALOGRIGHT,,analogright_1 %controls%_JAMMA0_1, ANALOGUP2,,analogup2_1 %controls%_JAMMA0_1, ANALOGDOWN2,,analogdown2_1 %controls%_JAMMA0_1, ANALOGLEFT2,,analogleft2_1 %controls%_JAMMA0_1, ANALOGRIGHT2,,analogright2_1 ) Loop, Parse, iniLookup, `n { StringSplit, split, A_LoopField, `,, %A_Space%%A_Tab% If split4 %split4% := IniReadCheck(settingsFile, split1, split2, split3,,1) Else %split2% := IniReadCheck(settingsFile, split1, split2, split3,,1) ; need to empty the vars for the next loop otherwise they will still have values from the previous loop split3:= split4:= } ; Now compare global & rom keys to get final value max := If (max = "" or max = "ERROR") ? globalMax : max plugin := If (plugin = "" or plugin = "ERROR") ? globalPlugin : plugin shaderUsePass1 := If (shaderUsePass1 = "" or shaderUsePass1 = "ERROR") ? globalShaderUsePass1 : shaderUsePass1 shaderUsePass2 := If (shaderUsePass2 = "" or shaderUsePass2 = "ERROR") ? globalShaderUsePass2 : shaderUsePass2 shaderNamePass1 := If (shaderNamePass1 = "" or shaderNamePass1 = "ERROR") ? globalShaderNamePass1 : shaderNamePass1 shaderNamePass2 := If (shaderNamePass2 = "" or shaderNamePass2 = "ERROR") ? globalShaderNamePass2 : shaderNamePass2 ; Verify user set desired gpu plugin name correctly If ( plugin != "gpuDX11" And plugin != "gpuDXv3" And plugin != "gpuDXLegacy" ) or ( plugin = "" or plugin = "ERROR" ) ScriptError(plugin . " is not a supported gpu plugin.`nLeave the plugin blank to use the default ""gpuDX11"".`nValid options are gpuDX11, gpuDXv3, or gpuDXLegacy.") ; check for the specified gpu plugin gpuFile := CheckFile(emuPath . "\" . plugin . ".ini") ; This updates the DX11gpu ini file to turn List Sorting on or off. Depending on the games, turning this on for some games may remedy missing graphics, having it off on other games may fix corrupted graphics. Untill they improve the DX11gpu, this is the best it's gonna get. If plugin = gpuDX11 If ListSorting = true IniWrite, 0, %gpuFile%, main, AutoSort ; 0 enables Auto Sort in demul 0.5.7, opposite from 0.5.6 Else IniWrite, 1, %gpuFile%, main, AutoSort ; Disabling Auto Sort unless someone specifies it to be on or off in settings ; This updates the demul.ini with your gpu plugin choice for the selected rom IniWrite, %plugin%.dll, %demulFile%, plugins, gpu ; Shader Effects If plugin = gpuDX11 ; Demul 0.5.7 only supports shaders using the gpuDX11 plugin { Loop, 2 { shaderUsePass%A_Index% := If (ShaderUsePass%A_Index% != "" and ShaderUsePass%A_Index% != "ERROR" ? (ShaderUsePass%A_Index%) : (GlobalShaderUsePass%A_Index%)) ; determine what shaderUsePass to use IniRead, currentusePass%A_Index%, %gpuFile%, shaders, usePass%A_Index% If (shaderUsePass%A_Index% = "true") { shaderNamePass%A_Index% := If (ShaderNamePass%A_Index% != "" and ShaderNamePass%A_Index% != "ERROR" ? (ShaderNamePass%A_Index%) : (GlobalShaderNamePass%A_Index%)) ; determine what shaderNamePass to use If shaderNamePass%A_Index% not in FXAA,HDR-TV,SCANLINES,CARTOON,RGB DOT(MICRO),RGB DOT(TINY),BLUR ScriptError(shaderNamePass%A_Index% . " is not a valid choice for a shader. Your options are FXAA, HDR-TV, SCANLINES, CARTOON, RGB DOT(MICRO), RGB DOT(TINY), or BLUR.") If (currentusePass%A_Index% = 0) IniWrite, 1, %gpuFile%, shaders, usePass%A_Index% ; turn shader on in gpuDX11 ini IniWrite, % shaderNamePass%A_Index%, %gpuFile%, shaders, shaderPass%A_Index% ; update gpuDX11 ini with the shader name to use }Else If (shaderUsePass%A_Index% != "true" and currentusePass%A_Index% = 1) IniWrite, 0, %gpuFile%, shaders, usePass%A_Index% ; turn shader off in gpuDX11 ini } } If ident = dc { 7z(romPath, romName, romExtension, 7zExtractPath) If ( romExtension = ".cdi" || romExtension = ".mds" || romExtension = ".ccd" || romExtension = ".nrg" || romExtension = ".gdi" || romExtension = ".cue" ) { gdrImageFile := CheckFile(emuPath . "\gdrImage.ini") FileDelete, %gdrImageFile% Sleep, 500 IniWrite, gdrImage.dll, %demulFile%, plugins, gdr IniWrite, false, %gdrImageFile%, Main, openDialog IniWrite, %romPath%\%romName%%romExtension%, %gdrImageFile%, Main, imagefilename } Else If romExtension = .chd { gdrCHDFile := CheckFile(emuPath . "\gdrCHD.ini") FileDelete, %gdrCHDFile% Sleep, 500 IniWrite, false, %gdrCHDFile%, Main, openDialog IniWrite, gdrCHD.dll, %demulFile%, plugins, gdr IniWrite, %romPath%\%romName%%romExtension%, %gdrCHDFile%, Main, imagefilename } Else ScriptError(romExtension . " is not a supported file type for this " . moduleName . " module.") IniWrite, 1, %demulFile%, main, region ; Set BIOS to Auto Region } Else { ; all other systems, Naomi and Atomiswave ; This updates the demul.ini with your Bios choice for the selected rom If ( Bios != "" and Bios != "ERROR" ) { Bios := RegExReplace(Bios,"\s.*") ; Cleans off the added text from the key's value so only the number is left IniWrite, false, %demulFile%, main, naomiBiosAuto ; turning auto bios off so we can use a specific one instead IniWrite, %Bios%, %demulFile%, main, naomiBios ; setting specific bios user has set from the moduleName ini } Else IniWrite, true, %demulFile%, main, naomiBiosAuto ; turning auto bios on if user did not specify a specific one } ; This section writes your custom keys to the padDemul.ini. Naomi games had many control panel layouts. The only way we can accomodate these differing controls, is to keep track of them all and write them to the ini at the launch of each game. ; First we check if the last controls used are the same as the game we want to play, so we don't waste time updating the ini if it is not necessary. For example playing 2 sfstyle type games in a row, we wouldn't need to write to the ini. ; This section tells demul what arcade control type should be connected to the game. Options are standard (aka controller), mouse, lightgun, or keyboard If ( controls = "lightgun" || controls = "mouse" ) IniWrite, %MouseCode%, %demulFile%, PORTB, device Else If ( controls = "keyboard" ) IniWrite, %KeyboardCode%, %demulFile%, PORTB, device Else ; accounts for all other control types IniWrite, %ControllerCode%, %demulFile%, PORTB, device If ( LastControlUsed != controls ) { ; find out last controls used for the system we are launching WriteControls(padFile, 0,push1_0,push2_0,push3_0,push4_0,push5_0,push6_0,push7_0,push8_0,SERVICE_0,START_0,COIN_0,DIGITALUP_0,DIGITALDOWN_0,DIGITALLEFT_0,DIGITALRIGHT_0,ANALOGUP_0,ANALOGDOWN_0,ANALOGLEFT_0,ANALOGRIGHT_0,ANALOGUP2_0,ANALOGDOWN2_0,ANALOGLEFT2_0,ANALOGRIGHT2_0) WriteControls(padFile, 1,push1_1,push2_1,push3_1,push4_1,push5_1,push6_1,push7_1,push8_1,SERVICE_1,START_1,COIN_1,DIGITALUP_1,DIGITALDOWN_1,DIGITALLEFT_1,DIGITALRIGHT_1,ANALOGUP_1,ANALOGDOWN_1,ANALOGLEFT_1,ANALOGRIGHT_1,ANALOGUP2_1,ANALOGDOWN2_1,ANALOGLEFT2_1,ANALOGRIGHT2_1) IniWrite, %controls%, %settingsFile%, Settings, LastControlUsed } ; Setting demul to use true fullscreen if defined in settings.ini, otherwise sets demul to run windowed. This is for gpuDX11 plugin only If plugin = gpuDX11 If Max = fullscreen IniWrite, 1, %gpuFile%, main, UseFullscreen Else IniWrite, 0, %gpuFile%, main, UseFullscreen If Max = true { If maxHideTaskbar = true { WinHide, ahk_class Shell_TrayWnd WinHide, Start ahk_class Button } ; Create black background to give the emu the fullscreen look Gui 2: -Caption +ToolWindow Gui 2: Color, Black Gui 2: Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth% } Sleep, 250 ; Construct the CLI for demul and send romName if naomi or atomiswave. Dreamcast needs a full path and romName. If LoadDecrypted = true ; decrypted naomi rom romCLI := "-customrom=" . """" . romPath . "\" . romName . ".bin""" Else If ident = dc ; dreamcast game romCLI := " -image=" . """" . romPath . "\" . romName . romExtension . """" Else ; standard naomi rom romCLI := "-rom=" . romName Run(executable . " -run=" . ident . " " . romCLI, emuPath,, emuPID) ; Sleep, 1000 ; need a second for demul to launch, increase if yours takes longer and the emu is appearing too soon Loop { ; looping until demul is done loading rom and gpu starts showing frames Sleep, 200 WinGetTitle, winTitle, ahk_class window StringSplit, winTextSplit, winTitle, %A_Space% If ( winTextSplit5 = "gpu:" And winTextSplit6 != "0" And winTextSplit6 != "1" ) break } WinActivate ahk_class window If ( ( plugin = "gpuDXv3" Or plugin = "gpuDXLegacy" ) && Max = "fullscreen" ) Send !{ENTER} ; go fullscreen for gpuDXv3 and gpuDXLegacy plugins only ; This is where we calculate and maximize demul's window using our pseudo fullscreen code If Max = true { WinSet, Style, -0x40000, ahk_class window ; Removes the border of the game window WinSet, Style, -0xC00000, ahk_class window ; Removes the TitleBar Send, {F3} ; Removes the MenuBar MaximizeWindow("ahk_class window") ; this will take effect after you run demul once because we cannot stretch demul's screen while it is running. } FadeInExit() Process("WaitClose", executable) Gui 2: Destroy FadeOutExit() If (Max = "true" and maxHideTaskbar = "true") { WinShow,ahk_class Shell_TrayWnd WinShow,Start ahk_class Button } ExitModule() ; Write new controls to padDemul.ini WriteControls(file, player,push1,push2,push3,push4,push5,push6,push7,push8,service,start,coin,digitalup,digitaldown,digitalleft,digitalright,analogup,analogdown,analogleft,analogright,analogup2,analogdown2,analogleft2,analogright2) { IniWrite, %push1%, %file%, JAMMA0_%player%, PUSH1 IniWrite, %push2%, %file%, JAMMA0_%player%, PUSH2 IniWrite, %push3%, %file%, JAMMA0_%player%, PUSH3 IniWrite, %push4%, %file%, JAMMA0_%player%, PUSH4 IniWrite, %push5%, %file%, JAMMA0_%player%, PUSH5 IniWrite, %push6%, %file%, JAMMA0_%player%, PUSH6 IniWrite, %push7%, %file%, JAMMA0_%player%, PUSH7 IniWrite, %push8%, %file%, JAMMA0_%player%, PUSH8 IniWrite, %service%, %file%, JAMMA0_%player%, SERVICE IniWrite, %start%, %file%, JAMMA0_%player%, START IniWrite, %coin%, %file%, JAMMA0_%player%, COIN IniWrite, %digitalup%, %file%, JAMMA0_%player%, DIGITALUP IniWrite, %digitaldown%, %file%, JAMMA0_%player%, DIGITALDOWN IniWrite, %digitalleft%, %file%, JAMMA0_%player%, DIGITALLEFT IniWrite, %digitalright%, %file%, JAMMA0_%player%, DIGITALRIGHT IniWrite, %analogup%, %file%, JAMMA0_%player%, ANALOGUP IniWrite, %analogdown%, %file%, JAMMA0_%player%, ANALOGDOWN IniWrite, %analogleft%, %file%, JAMMA0_%player%, ANALOGLEFT IniWrite, %analogright%, %file%, JAMMA0_%player%, ANALOGRIGHT IniWrite, %analogup2%, %file%, JAMMA0_%player%, ANALOGUP2 IniWrite, %analogdown2%, %file%, JAMMA0_%player%, ANALOGDOWN2 IniWrite, %analogleft2%, %file%, JAMMA0_%player%, ANALOGLEFT2 IniWrite, %analogright2%, %file%, JAMMA0_%player%, ANALOGRIGHT2 } MaximizeWindow(class) { Global WinGetPos, appX, appY, appWidth, appHeight, %class% widthMaxPercenty := ( A_ScreenWidth / appWidth ) heightMaxPercenty := ( A_ScreenHeight / appHeight ) If ( widthMaxPercenty < heightMaxPercenty ) percentToEnlarge := widthMaxPercenty Else percentToEnlarge := heightMaxPercenty appWidthNew := appWidth * percentToEnlarge appHeightNew := appHeight * percentToEnlarge Transform, appX, Round, %appX% Transform, appY, Round, %appY% Transform, appWidthNew, Round, %appWidthNew% Transform, appHeightNew, Round, %appHeightNew% appXPos := ( A_ScreenWidth / 2 ) - ( appWidthNew / 2 ) appYPos := ( A_ScreenHeight / 2 ) - ( appHeightNew / 2 ) If ( plugin = "gpuDX11" ) { IniWrite, %appWidthNew%, %gpuDX11File%, resolution, Width IniWrite, %appHeightNew%, %gpuDX11File%, resolution, Height } Else { IniWrite, %appWidthNew%, %gpuFile%, resolution, wWidth IniWrite, %appHeightNew%, %gpuFile%, resolution, wHeight } WinMove, %class%,, appXPos, appYPos } HaltEmu: If Max = fullscreen Send !{ENTER} Return RestoreEmu: If Max = fullscreen Send !{ENTER} Return CloseProcess: FadeOutStart() If fadeOut != true ; cannot send ALT+F4 to a background window (controlsend doesn't work), so we have to force close instead. { ; demul 0.5.7 crashes 50% of the time if you try to close it any other way Send, {F3}{Alt}{Up}s{Enter} Sleep, 50 } Process("Close", emuPID) ; we have to close this way otherwise demul crashes with WinClose Return 15:51:08:165 | HL | INFO | +0 | BuildScript - Loaded Statistics.ahk script 15:51:08:165 | HL | INFO | +0 | BuildScript - Loaded User Functions.ahk script 15:51:08:165 | HL | INFO | +0 | BuildScript - Finished injecting functions into module 15:51:08:165 | HL | INFO | +0 | Main - Module is built 15:51:08:165 | HL | INFO | +0 | CheckFile - Checking if E:\Hyperspin\HyperLaunch\AutoHotkey.dll exists 15:51:08:165 | HL | INFO | +0 | Main - Running module 15:51:08:289 | MD | INFO | +N/A | Module initialized 15:51:08:289 | MD | INFO | +0 | StartModule - Started 15:51:08:289 | MD | INFO | +0 | StartModule - MEmu: Demul MEmuV: v0.5.7 MURL: http://demul.emulation64.com/ MAuthor: djvj MVersion: 2.0.2 MCRC: 57AEED04 iCRC: ECAD1562 MID: MSystem: "Sammy Atomiswave","Sega Dreamcast","Sega Naomi" 15:51:08:289 | MD | WARNING | +0 | StartModule - You have an unsupported System Name for this module: "MAME". Only the following System Names are suppported: ""Sammy Atomiswave","Sega Dreamcast","Sega Naomi"" 15:51:08:289 | MD | INFO | +0 | StartModule - Ended 15:51:08:289 | MD | INFO | +0 | StartGlobalUserFeatures - Starting 15:51:08:289 | MD | INFO | +0 | StartGlobalUserFeatures - Ending 15:51:11:035 | MD | ERROR | +2746 | Your systemName is: MAME It is not one of the known supported systems for this MESS module: Demul (v0.5.7) 15:51:11:035 | MD | INFO | +0 | ExitModule - Started 15:51:11:035 | MD | INFO | +0 | Starting Updating Statistics: 15:51:11:036 | MD | INFO | +0 | CreateRomTable - Started 15:51:11:036 | MD | INFO | +0 | CreateRomTable - Ended, 7 Loops to create table. 15:51:11:127 | MD | INFO | +94 | Game section statistics updated. 15:51:11:128 | MD | INFO | +0 | ExitModule - Ended 15:51:11:128 | MD | INFO | +0 | End of Module Logs 15:51:11:194 | HL | INFO | +3026 | Main - Module ended, exiting HyperLaunch normally 15:51:11:194 | HL | INFO | +0 | ExitScript - Started 15:51:11:194 | HL | INFO | +0 | SystemCursor - Restoring mouse cursor 15:51:11:210 | HL | INFO | +16 | ExitScript - Ended Link to comment Share on other sites More sharing options...
rfancella Posted June 4, 2014 Share Posted June 4, 2014 hi, I removed the wheel and the Naomi games now work perfect in mame without errors - however with Sammy I am still getting this error Ok, could you put the Sammy wheel back in and launch a Sammy game from your MAME wheel. Then post the good log please. Is there some Alternate Emulator setup for these games? Thanks, Ron Link to comment Share on other sites More sharing options...
bytebackjrd Posted June 5, 2014 Author Share Posted June 5, 2014 The log is with the sammy on the wheel. I put it back after seeing that it didn't work with the wheel out either. It is weird because naomi and sammy all use the same directory and emulator. Either way when i start a game - it goes to a black screen with this error message: MAME It is not one of the known supported systems for this MESS module: Demul (v0.5.7) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.