Visitor Q Posted December 22, 2019 Posted December 22, 2019 I am trying to setup a wheel for Sega Naomi 2 roms because I need to use Demul v0.5.8.2 due to graphic issues. I am using the module "Demul (v0.5.8).ahk" but for whatever reason it will not launch any games. I can run the games just find out side of HS but for some reason and I haven no clue why, they will not launch with Rocker Launcher. Oddly enough I am running Demul v0.7 Sega Naomi with ZERO issues. Here is my log, any help would be greatly appreciated! 15:19:27:602 | RL | INFO | +N/A | Main - RocketLauncher v1.2.0.1 (www.rlauncher.com) 15:19:27:789 | RL | INFO | +187 | Main - System Specs: RocketLauncher Dir: C:\Emulation\Front Ends\HyperSpin\RocketLauncher RocketLauncher is: 32-bit OS: Microsoft Windows 7 Ultimate SKU: Ultimate Total Memory: 6143.11 MB Free Memory: 1244.07 MB Used Memory: 4899.035 MB SystemType: 64-bit Physical Processors: 1 Logical Processors: 2 GPU 1 Name: AMD FirePro V5900 GPU 1 RAM: -2048.00 MB GPU 1 Driver Version: 15.201.2401.1009 GPU 2 Name: AMD FirePro V5900 GPU 2 RAM: -2048.00 MB GPU 2 Driver Version: 15.201.2401.1009 Sound 1 Device: AMD High Definition Audio Device Sound 1 Status: Enabled Sound 2 Device: High Definition Audio Device Sound 2 Status: Enabled OS Language: English_United_States System Locale: en-US Formats Locale: en-US Windows UI Language: en-US Text Encoding: Windows-1252 OS Admin Status: Yes RL Compatibility Flags: Latest .Net Version: v4.0.30319 Monitor #1 (\\.\DISPLAY1): 1024x768 (1024x728 work) [32bit] [60hz] [Landscape] (Primary) Monitor #2 (\\.\DISPLAY2): 1280x768 (1280x768 work) [32bit] [60hz] [Landscape] Current AHK Desktop Width: 1024 Current AHK Desktop Height: 768 Monitor #1 DPI: 100 Monitor #2 DPI: 100 ErrorMode: 0 AutoHotkey Path: C:\Program Files\AutoHotkey\AutoHotkey.exe AHK Version: 1.1.13.00 Unicode: No 15:19:27:789 | RL | INFO | +0 | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\RocketLauncher\RocketLauncher.exe exists 15:19:27:789 | RL | INFO | +0 | Main - Raw CLI received: "-s Sega Naomi 2 -r vf4evo -f C:\Emulation\Front Ends\HyperSpin\HyperSpin.exe -p HyperSpin -c 1 -o 1" 15:19:27:789 | RL | INFO | +0 | Main - Loading Front End Plugin: "HyperSpin" 15:19:27:789 | RL | INFO | +0 | Main - RocketLauncher received "Sega Naomi 2" and "vf4evo" 15:19:27:789 | RL | INFO | +0 | Main - Did not find a "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Settings\Sega Naomi 2\Game Options.ini" file, skipping any game-specific options. 15:19:27:789 | RL | INFO | +0 | Main - vf4evo is using the default emulator: Demul 15:19:27:789 | RL | INFO | +0 | Main - Checking for a [Demul] section in C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Settings\Sega Naomi 2\Emulators.ini 15:19:27:789 | RL | INFO | +0 | Main - Found [Demul] in C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Settings\Sega Naomi 2\Emulators.ini 15:19:27:789 | RL | INFO | +0 | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Modules\Demul\Demul (v0.5.8).ahk exists 15:19:27:805 | RL | INFO | +16 | Main - CRC Check - CRC matches, this is an official unedited module. 15:19:27:805 | RL | INFO | +0 | Main - vf4evo will use module: C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Modules\Demul\Demul (v0.5.8).ahk 15:19:27:821 | RL | INFO | +15 | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks. 15:19:27:821 | RL | INFO | +0 | CheckFile - Checking if C:\Emulation\Emulators\Demul0582\demul.exe exists 15:19:27:821 | RL | INFO | +0 | Main - INI Keys read 15:19:27:821 | RL | INFO | +0 | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\7z.exe exists 15:19:27:821 | RL | INFO | +0 | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\7z.dll exists 15:19:27:821 | RL | INFO | +0 | Main - "vf4evo" does not qualify for MultiGame. Only roms with any of these strings in their name are acceptable: \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side 15:19:27:821 | RL | INFO | +0 | CheckPaths - Started 15:19:27:821 | RL | INFO | +0 | CheckPaths - Looking for rom: E:\Emulation\Roms\Sega Naomi\Demul v0.7 180428 WIP\vf4evo.zip 15:19:27:821 | RL | INFO | +0 | CheckPaths - Found rom: E:\Emulation\Roms\Sega Naomi\Demul v0.7 180428 WIP\vf4evo.zip 15:19:27:821 | RL | INFO | +0 | CheckPaths - Ended 15:19:27:821 | RL | INFO | +0 | BuildScript - User Variables: ;---------------------------------------------------------------------------- ; INJECTED VARIABLES ;---------------------------------------------------------------------------- #NoTrayIcon #InstallKeybdHook MiscUtils.DetectHiddenWindows("On") SetTitleMatchMode, 2 SendMode, Event Global RLLog Global RLObject 0 := "12" rlPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher" pluginPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Plugins" pluginName := "HyperSpin" pluginExt := ".plugin" contextOnExit := "1" rlMode := "" rlTitle := "RocketLauncher" rlVersion := "1.2.0.1" rlAuthor := "djvj" rlURL := "www.rlauncher.com" langFile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Data\Language\Localization.ini" primMonitor := "1" frontendPID := "" frontendPath := "C:\Emulation\Front Ends\HyperSpin" frontendExe := "HyperSpin.exe" frontendExt := "exe" frontendName := "HyperSpin" frontendDrive := "C" exitEmulatorKey := "~Esc" restoreFE := "true" exitScriptKey := "`" toggleCursorKey := "~e & ~t" emuFullPath := "C:\Emulation\Emulators\Demul0582\demul.exe" emuPath := "C:\Emulation\Emulators\Demul0582" emuName := "Demul" emuExt := "exe" baseRomPath := "" romPath := "E:\Emulation\Roms\Sega Naomi\Demul v0.7 180428 WIP" romPathFromIni := "E:\Emulation\Roms\Sega Naomi\Demul v0.7 180428 WIP" romExtension := ".zip" romExtensionOrig := ".zip" romExtensions := "zip" executable := "demul.exe" systemDbName := "Sega Naomi 2" systemName := "Sega Naomi 2" dbPath := "" dbName := "vf4evo" dbExt := "" romFoundByExt := "" romName := "vf4evo" romMapPath := "" romMappingEnabled := "false" romMappingLaunchMenuEnabled := "false" romMappingFirstMatchingExt := "false" romMappingShowAllRomsInArchive := "false" romMappingNumberOfGamesByScreen := "7" romMappingHideParent := "false" 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" romMappingGameNameTextFont := "Bebas Neue" romMappingGameNameTextOptions := "cFFFFFFFF r4 s40 Regular" romMappingBackgroundBrush := "aa000000" romMappingColumnBrush := "33000000" romMappingButtonBrush1 := "6f000000" romMappingButtonBrush2 := "33000000" romMappingBackgroundAlign := "Stretch and Lose Aspect" romMappingMenuFlagWidth := "40" romMappingMenuFlagSeparation := "5" romMappingDefaultMenuList := "FullList" romMappingSingleFilteredRomAutomaticLaunch := "false" altArchiveNameOnly := "" altRomNameOnly := "" altArchiveAndRomName := "" altArchiveAndManyRomNames := "" altRomNamesOnly := "" romMapScenario := "" skipchecks := "false" romMatchExt := "true" blockInputTime := "0" blockInputFile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\BlockInput.exe" errorLevelReporting := "false" lockLaunch := "false" lockLaunchGame := "" screenRotationAngle := "0" screenRotationAngleGame := "" setResolution := "" logFile := "" logLabel := [" INFO"," WARNING"," ERROR"," DEBUG"," TRACE"] logLevel := "1" logShowDebugConsole := "false" logShowCommandWindow := "false" logCommandWindow := "false" logIncludeModule := "true" logIncludeFileProperties := "true" logIncludeDLLLogs := "false" errorSounds := "true" rlDebugConsoleStdout := "" sysLang := "English_United_States" sysType := "64-bit" broadcastWindowTitle := "" navUpKey := "Numpad1" navDownKey := "Numpad3" navLeftKey := "Numpad4" navRightKey := "Numpad2" navSelectKey := "a" navP2UpKey := "Numpad5" navP2DownKey := "Numpad7" navP2LeftKey := "Numpad8" navP2RightKey := "Numpad6" navP2SelectKey := "I" originalWidth := "1024" originalHeight := "768" vdEnabled := "false" vdFullPath := "C:\Program Files (x86)\DAEMON Tools Lite\DTLite.exe" vdUseSCSI := "false" vdDriveLetter := "" vdDriveLetterScsi := "" vdAddDrive := "true" demulShooterPath := "" servoStikEnabled := "false" servoStikExitMode := "false" ledblinkyEnabled := "true" ledblinkySystemName := "" ledblinkyFullPath := "C:\Emulation\Utilities\LEDBlinky\LEDBlinky\LEDBlinky.exe" ledblinkyProfilePath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\LEDBlinky" ledblinkyRLProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\LEDBlinky\RocketLauncher" winIPACFullPath := "" ultraMapEnabled := "false" ultraMapFullPath := "" emuIdleShutdown := "0" launchPasswordHash := "zQJHGuIBD6bt2rEoPola0Rbrl81Ci3lgdm1mxbcm+QfXe+SDPHV0ig==" cursorSize := "" hideCursor := "true" hideEmu := "false" hideFE := "true" suspendFE := "false" fadeIn := "true" fadeInDuration := "500" fadeInTransitionAnimation := "DefaultAnimateFadeIn" fadeInDelay := "2000" fadeInExitDelay := "0" fadeOutExitDelay := "3000" fadeOut := "true" fadeOutExtraScreen := "false" fadeOutDuration := "500" fadeOutTransitionAnimation := "DefaultAnimateFadeOut" fadeOutDelay := "0" fadeLyrInterpolation := "7" fadeMuteEmulator := "false" fadeUseBackgrounds := "false" fadeClickThrough := "false" fadeSounds := "true" fade7zProgressMode := "extraction" fadeWidthBaseRes := "1920" fadeHeightBaseRes := "1080" fadeLyr1Color := "FF000000" fadeLyr1AlignImage := "Stretch and Lose Aspect" fadeLyr2Pos := "No Alignment" fadeLyr2X := "0" fadeLyr2Y := "300" fadeLyr2W := "" fadeLyr2H := "1070" fadeLyr2Adjust := "1" fadeLyr2PicPad := "0" fadeLyr2Prefix := "Extra Layer 1 - Console" fadeLyr3Pos := "Center" fadeLyr3X := "300" fadeLyr3Y := "300" fadeLyr3W := "" fadeLyr3H := "" fadeLyr3Adjust := "0.75" fadeLyr3PicPad := "0" fadeLyr3Speed := "750" fadeLyr3Animation := "DefaultFadeAnimation" fadeLyr37zAnimation := "DefaultFadeAnimation" fadeLyr3Type := "imageandbar" fadeLyr3ImgFollow7zProgress := "true" fadeLyr3Repeat := "1" fadeLyr3BackImageTransparency := "30" fadeLyr3StaticPos := "No Alignment" fadeLyr3StaticX := "0" fadeLyr3StaticY := "870|1575" fadeLyr3StaticW := "" fadeLyr3StaticH := "" fadeLyr3StaticAdjust := "1" fadeLyr3StaticPicPad := "0" fadeLyr3StaticPrefix := "Info Bar" fadeLyr4Adjust := ".35" fadeLyr4X := "1715|952" fadeLyr4Y := "720|1596" fadeLyr4W := "" fadeLyr4H := "" fadeLyr4Pos := "Bottom Center" fadeLyr4FPS := "200" fadeLyr4PicPad := "0" fadeTranspGifColor := "FFFFFF" fadeBarWindow := "false" fadeBarWindowX := "" fadeBarWindowY := "" fadeBarWindowW := "600" fadeBarWindowH := "120" fadeBarWindowR := "20" fadeBarWindowM := "20" fadeBarWindowHatchStyle := "8" fadeBar := "7zOnly" fadeProgressDuration := "0" 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" fadeRomInfoDeveloper := "text with label" fadeRomInfoPublisher := "text with label" fadeRomInfoGenre := "text" fadeRomInfoRating := "text" fadeRomInfoOrder := "Description|SystemName|Year|Manufacturer|Genre|Rating" fadeRomInfoTextPlacement := "topRight" fadeRomInfoTextMargin := "5" fadeRomInfoText1Options := "cFFFF0000 r4 s20 Bold" fadeRomInfoText2Options := "cFFFF0000 r4 s20 Bold" fadeRomInfoText3Options := "cFFFF0000 r4 s20 Bold" fadeRomInfoText4Options := "cFFFF0000 r4 s20 Bold" fadeRomInfoText5Options := "cFFFF0000 r4 s20 Bold" fadeRomInfoText6Options := "cFFFF0000 r4 s20 Bold" fadeRomInfoText7Options := "h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular" 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 := "cFFFF0000 r4 s20 Bold" fadeStatsInfoText2Options := "cFFFF0000 r4 s20 Bold" fadeStatsInfoText3Options := "cFFFF0000 r4 s20 Bold" fadeStatsInfoText4Options := "cFFFF0000 r4 s20 Bold" fadeStatsInfoText5Options := "cFFFF0000 r4 s20 Bold" fadeStatsInfoText6Options := "cFFFF0000 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" fadeText3 := "Loading Game" fadeText4 := "Loading Complete" fadeFont := "Arial" fadeSystemAndRomLayersOnly := "true" fadeExtractionTime := "disabled" fadeExtractionTimeTextX := "0" fadeExtractionTimeTextY := "0" fadeExtractionTimeTextOptions := "cFF555555 r4 s20 Bold" fadeInterruptKey := "" detectFadeErrorEnabled := "true" fadeImgPath := "X:\RocketLauncher\Media\Fade" RLDataPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Data" RLMediaPath := "X:\RocketLauncher\Media" RLErrSoundPath := "X:\RocketLauncher\Media\Sounds\Error" modulesPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Modules" moduleFullName := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Modules\Demul\Demul (v0.5.8).ahk" moduleName := "Demul (v0.5.8)" modulePath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Modules\Demul" moduleExtension := "ahk" moduleExtensionsPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions" libPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Lib" sevenZEnabled := "false" sevenZPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\7z.exe" sevenZDllPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\7z.dll" sevenZExtractPath := "C:\Emulation\Front Ends\HyperSpin\Zip Dump" sevenZExtractPathOrig := "" sevenZAttachSystemName := "true" sevenZDelTemp := "true" sevenZFormats := ".zip|.rar|.7z|.lha|.lzh|.gzip|.tar" sevenZFormatsNoP := "zip|rar|7z|lha|lzh|gzip|tar" sevenZFormatsRegEx := "\.zip|\.rar|\.7z|\.lha|\.lzh|\.gzip|\.tar" sevenZGamesToKeep := "" sevenZDeletePerSystem := "false" sevenZExtensions := "zip|rar|7z|lha|lzh|gzip|tar" 7zExtractPath := "C:\Emulation\Front Ends\HyperSpin\Zip Dump" mgEnabled := "false" mgKey := "~NumpadSub" mgBackgroundColor := "FF000000" mgSidePadding := "0.2" mgWidthBaseRes := "1920" mgHeightBaseRes := "1080" mgYOffset := "500" 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" mgCandidate := "" mgValidTypes := "\(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side" mgOnLaunch := "false" pauseEnabled := "true" pauseKey := "p" pauseBackToMenuBarKey := "b" pauseZoomInKey := "d" pauseZoomOutKey := "e" pauseScreenshotKey := "~PrintScreen" pauseHiToTextPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\HiToText.exe" pauseSaveStateKeyCodes := "" pauseLoadStateKeyCodes := "" keyboardEncoder := "" keyboardEncoderEnabled := "false" keymapperEnabled := "false" keymapperAHKMethod := "External" keymapper := "ahk" xpadderFullPath := "C:\Program Files (x86)\Xpadder\Xpadder.exe" joyToKeyFullPath := "C:\Program Files (x86)\JoyToKey\JoyToKey.exe" profilePath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles" keymapperProfilePath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk" keymapperFrontEndProfileName := "HyperSpin" keymapperFrontEndProfile := "false" keymapperRocketLauncherProfileEnabled := "false" joyIDsEnabled := "false" joyIDsPreferredControllersGlobal := "" joyIDsPreferredControllersSystem := "use_global" joyIDsPreferredControllersOnExit := "" CustomJoyNamesEnabled := "false" CustomJoyNames := "" rotateMethod := "false" FEProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk\HyperSpin" defaultProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk\_Default" systemProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk\Sega Naomi 2" xPadderSystemProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk\Sega Naomi 2\_Default" emuProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk\Sega Naomi 2\Demul" romProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk\Sega Naomi 2\vf4evo" RocketLauncherProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk\RocketLauncher" blankProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk\blank" ahkFEProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\AHK\HyperSpin" ahkDefaultProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\AHK\_Default" ahkSystemProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\AHK\Sega Naomi 2" ahkEmuProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\AHK\Sega Naomi 2\Demul" ahkRomProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\AHK\Sega Naomi 2\vf4evo" ahkRocketLauncherProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\AHK\RocketLauncher" bezelEnabled := "false" bezelICEnabled := "false" shaderName := "false" shaderColor := "" shaderTransparency := "" statisticsEnabled := "true" pressDuration := "-1" emuVolume := "1" dxwndIni := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini" dxwndFullPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe" qResFullPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\QRes.exe" mon1O := "" pacDrivedllFile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\PacDrive32.dll" userFadeAnimIniFile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Lib\User Fade Animations.ini" testFile := "" testDuration := "" initialErrorMode := "0" 15:19:27:821 | RL | INFO | +0 | BuildScript - Loaded XHotkey Init.ahk scripts 15:19:27:821 | RL | INFO | +0 | BuildScript - Loaded Keymapper Init.ahk scripts 15:19:27:821 | RL | INFO | +0 | BuildScript - Loaded Fade Init.ahk scripts 15:19:27:821 | RL | INFO | +0 | BuildScript - Loaded Pause Init.ahk scripts 15:19:27:821 | RL | INFO | +0 | BuildScript - Loaded Statistics Init.ahk scripts 15:19:27:821 | RL | INFO | +0 | BuildScript - Validating module 15:19:27:836 | RL | INFO | +16 | BuildScript - Validation complete 15:19:27:836 | RL | INFO | +0 | BuildScript - Module: MEmu := "Demul" MEmuV := "v0.5.8.2" MURL := ["http://demul.emulation64.com/"] MAuthor := ["djvj"] MVersion := "2.1.7" MCRC := "CE5A6607" iCRC := "8615E590" MID := "635211874656892855" MSystem := ["Gaelco","Gaelco 3D","Sammy Atomiswave","Sega Dreamcast","Sega Hikaru","Sega Naomi","Sega Naomi 2"] ;---------------------------------------------------------------------------- ; Notes: ; Required - control and nvram files setup for each game/control type ; Required - moduleName ini example can be found on GIT in the Demul module folder ; moduleName ini must be placed in same folder as this module if you use the provided example, just be sure to rename it to just Demul.ini first so it matches the module's name ; GDI images must match mame zip names and be extracted and have a .dat extension ; Rom_Extension should include 7z|zip|gdi|cue|cdi|chd|mds|ccd|nrg ; Module will automatically set your rom path for you on first launch ; ; Make sure the awbios, dc, hikaru, naomi, naomi2, saturn.zip bios archives are in any of your rom paths as they are needed to play all the games. ; Set your Video Plugin to gpuDX11 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 ; gpuDX10 and gpuDX11 are the only supported plugins. You can define what plugin you want to use for each game in the module settings in RocketLauncherUI ; Read the tooltip for the Fullscreen module setting in RocketLauncherUI 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 RocketLauncherUI's module settings for these types, they all have their own tabs) and configure your controls to play the game. After configuring your controls manually in Demul, open padDemul.ini and Copy/paste the JAMMA0_0 and JAMMA0_1 (for naomi) or the ATOMISWAVE0_0 and ATOMISWAVE0_1 (for atomiswave) into RocketLauncherUI's module settings for each controls tab (standard, sfstyle, etc). ; Each pair of control tabs designates another real arcade control schema for a grouping of games. Demul does not handle this like MAME, so the module does instead. ; ; Gaelco: ; There is no known way to launch the desired Gaelco rom from CLI. You will always be presented with the rom selection window on launch. ; ; Sega Hikaru: ; Windowed Fullscreen doesn't seem to work as demul does not allow stretching of its window ; ; 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 disable it. Demul crashes when Fade tries to draw on top of it in windowed and fullscreen modes. ;---------------------------------------------------------------------------- StartModule() BezelGUI() ExtraFixedResBezelGUI() FadeInStart() primaryExe := new Emulator(emuPath . "\" . executable) ; instantiate emulator executable object emuPrimaryWindow := new Window(new WindowTitle(,"window")) ; instantiate primary emulator window object emuLCD0Window := new Window(new WindowTitle("LCD 0","LCD 0")) ; 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("Gaelco","gaelco","Gaelco 3D","gaelco","Sammy Atomiswave","atomiswave","Sega Dreamcast","dc","Sega Hikaru","hikaru","Sega Naomi","naomi","Sega Naomi 2","naomi2") ident := mType[systemName] ; search object for the systemName identifier Demul uses If !ident ScriptError("Your systemName is: " . systemName . "`nIt is not one of the known supported systems for this Demul module: " . moduleName) DemuleIni := new IniFile(emuPath . "\Demul.ini") PadIni := new IniFile(emuPath . "\padDemul.ini") DemuleIni.CheckFile("Could not find Demul's ini. Please run Demul manually first and each of it's settings sections so the appropriate inis are created for you: " . DemuleIni.FileFullPath) PadIni.CheckFile("Could not find Demul's control ini. Please run Demul manually first and set up your controls so this file is created for you: " . PadIni.FileFullPath) demuleIniEncoding := RLObject.getFileEncoding(DemuleIni.FileFullPath) If demuleIniEncoding { If (demuleIniEncoding = "ERROR") RLLog.Warning("Module - Demul.ini set to Read-only and BOM cannot be changed. Check the DLL log for further details: " . DemuleIni.FileFullPath) Else { RLLog.Warning("Module - Recreating " . DemuleIni.FileFullPath . " as ANSI because UTF-8 format cannot be read") If RLObject.removeBOM(DemuleIni.FileFullPath) RLLog.Info("Module - Successfully converted " . DemuleIni.FileFullPath . " to ANSI") Else RLLog.Error("Module - Failed to convert " . DemuleIni.FileFullPath . " to ANSI") } } maxHideTaskbar := moduleIni.Read("Settings", "MaxHideTaskbar", "true",,1) controllerCode := moduleIni.Read("Settings", "ControllerCode", "16777216",,1) mouseCode := moduleIni.Read("Settings", "MouseCode", "131072",,1) keyboardCode := moduleIni.Read("Settings", "KeyboardCode", "1073741824",,1) lightgunCode := moduleIni.Read("Settings", "LightgunCode", "-2147483648",,1) hideDemulGUI := moduleIni.Read("Settings", "HideDemulGUI", "true",,1) PerGameMemoryCards := moduleIni.Read("Settings", "PerGameMemoryCards", "true",,1) memCardPath := moduleIni.Read("Settings", "MemCardPath", emuPath . "\memsaves",,1) memCardPath := AbsoluteFromRelative(emuPath, memCardPath) fullscreen := moduleIni.Read(romName . "|Settings", "Fullscreen", "windowedfullscreen",,1) plugin := moduleIni.Read(romName . "|Settings", "Plugin", "gpuDX11",,1) shaderUsePass1 := moduleIni.Read(romName . "|Settings", "ShaderUsePass1", "false",,1) shaderUsePass2 := moduleIni.Read(romName . "|Settings", "ShaderUsePass2", "false",,1) shaderNamePass1 := moduleIni.Read(romName . "|Settings", "ShaderNamePass1",,,1) shaderNamePass2 := moduleIni.Read(romName . "|Settings", "ShaderNamePass2",,,1) listSorting := moduleIni.Read(romName . "|Settings", "ListSorting", "true",,1) OpaqueMod := moduleIni.Read(romName . "|Settings", "OModifier", "true",,1) TransMod := moduleIni.Read(romName . "|Settings", "TModifier", "true",,1) internalResolutionScale := moduleIni.Read(romName . "|Settings", "InternalResolutionScale", "1",,1) videomode := moduleIni.Read(romName . "|Settings", "VideoMode", "0",,1) demulShooterEnabled := moduleIni.Read(romName . "|Settings", "DemulShooterEnabled", "false",,1) displayVMU := moduleIni.Read("Settings", "DisplayVMU", "true",,1) VMUPos := moduleIni.Read("Settings", "VMUPos", "topRight",,1) ; topRight, topCenter, topLeft, leftCenter, bottomLeft, bottomCenter, bottomRight, rightCenter VMUHideKey := moduleIni.Read("Settings", "VMUHideKey","F10",,1) Bios := moduleIni.Read(romName, "Bios",,,1) LoadDecrypted := moduleIni.Read(romName, "LoadDecrypted",,,1) ; not currently supported ; Read all the control values controls := moduleIni.Read(romname, "Controls", "standard",,1) ; have to read this first so the below ini reads work push1_0 := moduleIni.Read(controls . "_JAMMA0_0", "push1",,,1) push2_0 := moduleIni.Read(controls . "_JAMMA0_0", "push2",,,1) push3_0 := moduleIni.Read(controls . "_JAMMA0_0", "push3",,,1) push4_0 := moduleIni.Read(controls . "_JAMMA0_0", "push4",,,1) push5_0 := moduleIni.Read(controls . "_JAMMA0_0", "push5",,,1) push6_0 := moduleIni.Read(controls . "_JAMMA0_0", "push6",,,1) push7_0 := moduleIni.Read(controls . "_JAMMA0_0", "push7",,,1) push8_0 := moduleIni.Read(controls . "_JAMMA0_0", "push8",,,1) service_0 := moduleIni.Read(controls . "_JAMMA0_0", "SERVICE",,,1) start_0 := moduleIni.Read(controls . "_JAMMA0_0", "START",,,1) coin_0 := moduleIni.Read(controls . "_JAMMA0_0", "COIN",,,1) digitalup_0 := moduleIni.Read(controls . "_JAMMA0_0", "DIGITALUP",,,1) digitaldown_0 := moduleIni.Read(controls . "_JAMMA0_0", "DIGITALDOWN",,,1) digitalleft_0 := moduleIni.Read(controls . "_JAMMA0_0", "DIGITALLEFT",,,1) digitalright_0 := moduleIni.Read(controls . "_JAMMA0_0", "DIGITALRIGHT",,,1) analogup_0 := moduleIni.Read(controls . "_JAMMA0_0", "ANALOGUP",,,1) analogdown_0 := moduleIni.Read(controls . "_JAMMA0_0", "ANALOGDOWN",,,1) analogleft_0 := moduleIni.Read(controls . "_JAMMA0_0", "ANALOGLEFT",,,1) analogright_0 := moduleIni.Read(controls . "_JAMMA0_0", "ANALOGRIGHT",,,1) analogup2_0 := moduleIni.Read(controls . "_JAMMA0_0", "ANALOGUP2",,,1) analogdown2_0 := moduleIni.Read(controls . "_JAMMA0_0", "ANALOGDOWN2",,,1) analogleft2_0 := moduleIni.Read(controls . "_JAMMA0_0", "ANALOGLEFT2",,,1) analogright2_0 := moduleIni.Read(controls . "_JAMMA0_0", "ANALOGRIGHT2",,,1) push1_1 := moduleIni.Read(controls . "_JAMMA0_1", "push1",,,1) push2_1 := moduleIni.Read(controls . "_JAMMA0_1", "push2",,,1) push3_1 := moduleIni.Read(controls . "_JAMMA0_1", "push3",,,1) push4_1 := moduleIni.Read(controls . "_JAMMA0_1", "push4",,,1) push5_1 := moduleIni.Read(controls . "_JAMMA0_1", "push5",,,1) push6_1 := moduleIni.Read(controls . "_JAMMA0_1", "push6",,,1) push7_1 := moduleIni.Read(controls . "_JAMMA0_1", "push7",,,1) push8_1 := moduleIni.Read(controls . "_JAMMA0_1", "push8",,,1) service_1 := moduleIni.Read(controls . "_JAMMA0_1", "SERVICE",,,1) start_1 := moduleIni.Read(controls . "_JAMMA0_1", "START",,,1) coin_1 := moduleIni.Read(controls . "_JAMMA0_1", "COIN",,,1) digitalup_1 := moduleIni.Read(controls . "_JAMMA0_1", "DIGITALUP",,,1) digitaldown_1 := moduleIni.Read(controls . "_JAMMA0_1", "DIGITALDOWN",,,1) digitalleft_1 := moduleIni.Read(controls . "_JAMMA0_1", "DIGITALLEFT",,,1) digitalright_1 := moduleIni.Read(controls . "_JAMMA0_1", "DIGITALRIGHT",,,1) analogup_1 := moduleIni.Read(controls . "_JAMMA0_1", "ANALOGUP",,,1) analogdown_1 := moduleIni.Read(controls . "_JAMMA0_1", "ANALOGDOWN",,,1) analogleft_1 := moduleIni.Read(controls . "_JAMMA0_1", "ANALOGLEFT",,,1) analogright_1 := moduleIni.Read(controls . "_JAMMA0_1", "ANALOGRIGHT",,,1) analogup2_1 := moduleIni.Read(controls . "_JAMMA0_1", "ANALOGUP2",,,1) analogdown2_1 := moduleIni.Read(controls . "_JAMMA0_1", "ANALOGDOWN2",,,1) analogleft2_1 := moduleIni.Read(controls . "_JAMMA0_1", "ANALOGLEFT2",,,1) analogright2_1 := moduleIni.Read(controls . "_JAMMA0_1", "ANALOGRIGHT2",,,1) If (InStr(systemName, "Hikaru") && plugin != "gpuDX11") plugin := "gpuDX11" ; Hikaru does not work with gpuDX10 gpu plugin, setting it dumps an error ; Verify user set desired gpu plugin name correctly If (plugin != "gpuDX11" && plugin != "gpuDX10" && plugin != "") ScriptError(plugin . " is not a supported gpu plugin.`nLeave the plugin blank to use the default ""gpuDX11"".`nValid options are gpuDX11 or gpuDX10.") ; Read and write videomode value for cable type rvideomode := DemuleIni.Read("main", "videomode") RLLog.Info("Module - Demul is reading the config with videomode = " . rvideomode) DemuleIni.Write(videomode, "main", "videomode") RLLog.Info("Module - Demul is updating the config with videomode = " . videomode) ;ExitApp ; Handle Demul's rom paths so the user doesn't have to romPathCount := DemuleIni.Read("files", "romsPathsCount") RLLog.Info("Module - Demul is configured with " . romPathCount . " rom path(s). Scanning these for a romPath to this rom.") Loop, %romPathCount% { demulRomPath := A_Index - 1 ; rompaths in demul start with 0 path%A_Index% := DemuleIni.Read("files", "roms" . demulRomPath) RLLog.Info("Module - Path" . demulRomPath . ": " . path%A_Index%) ; msgbox % path%A_Index% If (path%A_Index% = romPath . "\") ; demul tacks on the backslash at the end { romPathFound := 1 ; flag that demul has this romPath in its config and no need to add it RLLog.Info("Module - Stopping search because Demul is already configured with the correct romPath to this rom: " . path%A_Index%) Break ; stop looking for a correct romPath } } If !romPathFound ; if demul doesn't have the romPath in its ini, add it { RLLog.Warning("Module - Demul does not have this romPath in Demul.ini, adding it for you.") nextPath := romPathCount + 1 ; add 1 to the romPathCount and write that to the ini DemuleIni.Write(nextPath, "files", "romsPathsCount") DemuleIni.Write(romPath , "\", "files", "roms" . romPathCount) ; write the rompath to the ini } BezelStart("FixResMode") ; Force Fade_Out to disabled as it causes demul to not close properly fadeOut := "false" RLLog.Warning("Module - Turning off Fade_Out because it doesn't let Demul exit properly.") ; check for the specified gpu plugin GpuIni := new IniFile(emuPath . "\" . plugin . ".ini") GpuIni.CheckFile("Please run Demul manually first and select the " . plugin . " gpu plugin so it creates this file for you: " . GpuIni.FileFullPath) demulFileEncoding := RLObject.getFileEncoding(GpuIni.FileFullPath) If demulFileEncoding { If (demulFileEncoding = "ERROR") RLLog.Warning("Module - GPU ini set to Read-only and BOM cannot be changed. Check the DLL log for further details: " . GpuIni.FileFullPath) Else { RLLog.Info("Module - Recreating " . GpuIni.FileFullPath . " as ANSI because UTF-8 format cannot be read") If RLObject.removeBOM(GpuIni.FileFullPath) RLLog.Info("Module - Successfully converted " . GpuIni.FileFullPath . " to ANSI") Else RLLog.Error("Module - Failed to convert " . GpuIni.FileFullPath . " to ANSI") } } ; 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 (ListSorting = "true") GpuIni.Write(0, "main", "AutoSort") Else GpuIni.Write(1, "main", "AutoSort") ; This will set the Opaque or Trans modifier for each game If (OpaqueMod = "true") GpuIni.Write(0, "main", "OModifier") Else GpuIni.Write(1, "main", "OModifier") If (TransMod = "true") GpuIni.Write(0, "main", "TModifier") Else GpuIni.Write(1, "main", "TModifier") ; This updates the DX10gpu or DX11gpu ini file to the scale you want to use for this game GpuIni.Write(InternalResolutionScale, "main", "scaling") ; This updates the demul.ini with your gpu plugin choice for the selected rom DemuleIni.Write(plugin . ".dll", "plugins", "gpu") ; This updates the demul.ini with your VMU display choice VMUscreendisable := If (displayVMU="true") ? "false" : "true" DemuleIni.Write(VMUscreendisable, "main", "VMUscreendisable") ; Shader Effects 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 currentusePass%A_Index% := GpuIni.Read("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 !StringUtils.Contains(shaderNamePass%A_Index%,"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) GpuIni.Write(1, "shaders", "usePass" . A_Index) ; turn shader on in gpuDX11 ini GpuIni.Write(shaderNamePass%A_Index%, "shaders", "shaderPass" . A_Index) ; update gpuDX11 ini with the shader name to use }Else If (shaderUsePass%A_Index% != "true" and currentusePass%A_Index% = 1) GpuIni.Write(0, "shaders", "usePass" . A_Index) ; turn shader off in gpuDX11 ini } If (ident = "dc") { 7z(romPath, romName, romExtension, sevenZExtractPath) If (romExtension = ".cdi" || romExtension = ".mds" || romExtension = ".ccd" || romExtension = ".nrg" || romExtension = ".gdi" || romExtension = ".cue") { GdrImageIni := new IniFile(emuPath . "\gdrImage.ini") If !GdrImageIni.Exist() { GdrImageIni.Append(defaultIni) ; Create a default gdrImage.ini in your emu folder if one does not exist already. ; GdrImageIni.Delete(gdrImageFile) ; don't know why this was in the old module, no point in deleting the file I just made } TimerUtils.Sleep(500) DemuleIni.Write("gdrImage.dll", "plugins", "gdr") GdrImageIni.Write("false", "Main", "openDialog") GdrImageIni.Write(romPath . "\" . romName . romExtension, "Main", "imagefilename") } Else If (romExtension = ".chd") { GdrCHDIni := new IniFile(emuPath . "\gdrCHD.ini") If !GdrCHDIni.Exist() { GdrCHDIni.Append(defaultIni) ; Create a default gdrCHD.ini in your emu folder if one does not exist already. ; GdrCHDIni.Delete(gdrCHDFile) ; don't know why this was in the old module, no point in deleting the file I just made } TimerUtils.Sleep(500) GdrCHDIni.Write("false", "Main", "openDialog") DemuleIni.Write("gdrCHD.dll", "plugins", "gdr") GdrCHDIni.Write(romPath . "\" . romName . romExtension, "Main", "imagefilename") } Else ScriptError(romExtension . " is not a supported file type for this " . moduleName . " module.") DemuleIni.Write(1, "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 != "" && Bios != "ERROR") { Bios := StringUtils.RegExReplace(Bios,"\s.*") ; Cleans off the added text from the key's value so only the number is left DemuleIni.Write("false", "main", "naomiBiosAuto") ; turning auto bios off so we can use a specific one instead DemuleIni.Write(Bios, "main", "naomiBios") ; setting specific bios user has set from the moduleName ini } Else DemuleIni.Write("true", "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") { RLLog.Info("Module - This game uses a Mouse or Lightgun control type.") DemuleIni.Write(MouseCode, "PORTB", "device") } Else If (controls = "keyboard") { RLLog.Info("Module - This game uses a Keyboard control type.") DemuleIni.Write(KeyboardCode, "PORTB", "device") } Else { ; accounts for all other control types RLLog.Info("Module - This game uses a standard (controller) control type.") DemuleIni.Write(ControllerCode, "PORTB", "device") } WriteControls(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(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) RLLog.Info("Module - Wrote " . controls . " controls to padDemul.ini.") ; This will check the save game files and create per game ones if enabled. If (PerGameMemoryCards = "true") { MemCardFolder := new Folder(memCardPath) DefaultMemCard := new File(memCardPath . "\default_vms.bin") ; defining default blank VMU file If !DefaultMemCard.Exist("Folder") DefaultMemCard.CreateDir() ; create memcard folder if it doesn't exist If defaultMemCard.Exist() { RLLog.Info("VMU - Default VMU file location - " . defaultMemCard.FileFullPath) Loop, 4 { outerLoop := A_Index If (A_Index = 1) contrPort := "A" Else If (A_Index = 2) contrPort := "B" Else If (A_Index = 3) contrPort := "C" Else If (A_Index = 4) contrPort := "D" controllerPort%contrPort% := DemuleIni.Read("PORT" . contrPort, "device") RLLog.Info("VMU - Config for controller PORT" . contrPort . " = " . controllerPort%contrPort%) If (controllerPort%contrPort% = -1) Continue Loop, 2 { SubCount := A_Index - 1 VMUPort%SubCount% := DemuleIni.Read("PORT" . contrPort, "port" . SubCount) RLLog.Info("VMU - Config Plugin VMUPort" . contrPort . SubCount . " for controller PORT" . contrPort . " = " . VMUPort%SubCount%) If (VMUPort%SubCount% <> -1) { VMUPortFile%SubCount% := DemuleIni.Read("VMS", "VMS" . contrPort . SubCount) RLLog.Info("VMU - VMUPortFile" . contrPort . SubCount . " controllerVMU" . contrPort . SubCount . " " . "VMS" . contrPort . SubCount . " = " . VMUPortFile%SubCount%) memCardName := If romTable[1,5] ? romTable[1,4] : romName ; defining rom name for multi disc rom PerGameVMUBin%A_Index% := new File(memCardPath . "\" . memCardName . "_vms_" . contrPort . SubCount . ".bin") RLLog.Info("VMU - PerGameVMUBin = " . PerGameVMUBin%A_Index%.FileFullPath) If PerGameVMUBin%A_Index%.Exist() { RLLog.Info("VMU - PerGameVMU file exists at " . PerGameVMUBin%A_Index%.FileFullPath) } Else { RLLog.Info("VMU - PerGameVMU file does not exist. So we will create one at " . PerGameVMUBin%A_Index%.FileFullPath) DefaultMemCard.Copy(PerGameVMUBin%A_Index%.FileFullPath) } DemuleIni.Write(PerGameVMUBin%A_Index%.FileFullPath, "VMS", "VMS" . contrPort . SubCount) RLLog.Info("VMU - PerGameVMU file written to " . DemuleIni.FileFullPath . " at section VMS to variable VMS" . contrPort . SubCount . " as " . PerGameVMUBin%A_Index%.FileFullPath) } Else { RLLog.Info("VMU - No VMU Plugged In.") } } } } Else { RLLog.Info("VMU - No default VMU file at " . DefaultMemCard.FileFullPath) } } ; 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 (fullscreen = "truefullscreen") GpuIni.Write(1, "main", "UseFullscreen") Else GpuIni.Write(0, "main", "UseFullscreen") If (fullscreen = "windowedfullscreen") { If (maxHideTaskbar = "true") { RLLog.Info("Module - Hiding Taskbar and Start Button.") MiscUtils.TaskBar("off") } ; Create black background to give the emu the fullscreen look RLLog.Info("Module - Creating black background to simulate a fullscreen look.") Gui demulGUI: -Caption +ToolWindow Gui demulGUI: Color, Black Gui demulGUI: Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth% } If (ident != "dc" && demulShooterEnabled = "true") { ; If demulshooter is enabled for this game, launch it with relevant options DemulShooterExe := New DemulShooter() DemulShooterExe.Launch("demul058",romName,"-noresize") } TimerUtils.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 hideEmuObj := Object(emuLCD0Window,0,emuPrimaryWindow,1) HideAppStart(hideEmuObj,hideEmu) primaryExe.Run(" -run=" . ident . " " . romCLI, (If hideDemulGUI = "true" ? "min" : "")) ; launching minimized, then restoring later hides the launch completely TimerUtils.Sleep(1000) ; Need a second for demul to launch, increase if yours takes longer and the emu is NOT appearing and staying minimized. This is required otherwise bezel backgrounds do not appear DetectHiddenWindows, On If (hideDemulGUI = "true") { emuPrimaryWindow.Restore() emuPrimaryWindow.Activate() } RLLog.Info("Module - Waiting for Demul to finish loading game.") Loop { ; looping until demul is done loading rom and gpu starts showing frames TimerUtils.Sleep(200) winTitle := emuPrimaryWindow.GetTitle(0) winTextSplit := StringUtils.Split(winTitle, A_Space) If (winTextSplit[5] = "gpu:" And winTextSplit[6] != "0" And winTextSplit[6] != "1") Break } RLLog.Info("Module - Demul finished loading game.") If (StringUtils.Contains(systemName, "Gaelco|Hikaru") && fullscreen = "truefullscreen") KeyUtils.Send("!{Enter}") ; Automatic fullscreen seems to be broken in the Gaelco driver, must alt+Enter to get fullscreen ; This is where we calculate and maximize demul's window using our pseudo fullscreen code If (fullscreen = "windowedfullscreen") { ;KeyUtils.Send("{F3}") ; Removes the MenuBar emuPrimaryWindow.Maximize() ; this will take effect after you run demul once because we cannot stretch demul's screen while it is running. If (plugin = "gpuDX11") { GpuIni.Write(appWidthNew, "resolution", "Width") GpuIni.Write(appHeightNew, "resolution", "Height") } Else { GpuIni.Write(appWidthNew, "resolution", "wWidth") GpuIni.Write(appHeightNew, "resolution", "wHeight") } } BezelDraw() If (displayVMU = "true"){ VMUWindowID := emuLCD0Window.Get("ID") ExtraFixedResBezelDraw(VMUWindowID, "VMU", VMUPos, 144, 96, 8, 8, 28, ? VMUHideKey := xHotKeyVarEdit(VMUHideKey,"VMUHideKey","~","Add") xHotKeywrapper(VMUHideKey,"VMUHide") } HideEmuEnd() FadeInExit() primaryExe.Process("WaitClose") If (fullscreen = "windowedfullscreen") { Gui demulGUI: Destroy RLLog.Info("Module - Destroyed black gui background.") } If (ident = "dc") 7zCleanUp() BezelExit() ExtraFixedResBezelExit() FadeOutExit() If (fullscreen = "windowedfullscreen" && maxHideTaskbar = "true") { RLLog.Info("Module - Showing Taskbar and Start Button.") MiscUtils.TaskBar("on") } ExitModule() ; Write new controls to padDemul.ini WriteControls(player,push1,push2,push3,push4,push5,push6,push7,push8,service,start,coin,digitalup,digitaldown,digitalleft,digitalright,analogup,analogdown,analogleft,analogright,analogup2,analogdown2,analogleft2,analogright2) { Global PadIni PadIni.Write(push1, "JAMMA0_" . player, "PUSH1") PadIni.Write(push2, "JAMMA0_" . player, "PUSH2") PadIni.Write(push3, "JAMMA0_" . player, "PUSH3") PadIni.Write(push4, "JAMMA0_" . player, "PUSH4") PadIni.Write(push5, "JAMMA0_" . player, "PUSH5") PadIni.Write(push6, "JAMMA0_" . player, "PUSH6") PadIni.Write(push7, "JAMMA0_" . player, "PUSH7") PadIni.Write(push8, "JAMMA0_" . player, "PUSH8") PadIni.Write(service, "JAMMA0_" . player, "SERVICE") PadIni.Write(start, "JAMMA0_" . player, "START") PadIni.Write(coin, "JAMMA0_" . player, "COIN") PadIni.Write(digitalup, "JAMMA0_" . player, "DIGITALUP") PadIni.Write(digitaldown, "JAMMA0_" . player, "DIGITALDOWN") PadIni.Write(digitalleft, "JAMMA0_" . player, "DIGITALLEFT") PadIni.Write(digitalright, "JAMMA0_" . player, "DIGITALRIGHT") PadIni.Write(analogup, "JAMMA0_" . player, "ANALOGUP") PadIni.Write(analogdown, "JAMMA0_" . player, "ANALOGDOWN") PadIni.Write(analogleft, "JAMMA0_" . player, "ANALOGLEFT") PadIni.Write(analogright, "JAMMA0_" . player, "ANALOGRIGHT") PadIni.Write(analogup2, "JAMMA0_" . player, "ANALOGUP2") PadIni.Write(analogdown2, "JAMMA0_" . player, "ANALOGDOWN2") PadIni.Write(analogleft2, "JAMMA0_" . player, "ANALOGLEFT2") PadIni.Write(analogright2, "JAMMA0_" . player, "ANALOGRIGHT2") } HaltEmu: If (fullscreen = "truefullscreen") KeyUtils.Send("!{Enter}") If VMUHideKey XHotKeywrapper(VMUHideKey,"VMUHide","OFF") Return RestoreEmu: If (fullscreen = "truefullscreen") KeyUtils.Send("!{Enter}") If (displayVMU = "true") { If !IsObject(VMUWindow) VMUWindow := new Window("ahk_ID " . VMUWindowID) If !IsObject(ExtraFixedResBezel) ExtraFixedResBezel := new Window("ahk_ID " . extraFixedRes_Bezel_hwnd) VMUWindow.Set("Transparent", 0) VMUWindow.Set("AlwaysOnTop", "On") VMUWindow.Show() VMUWindow.Set("AlwaysOnTop", "On") ExtraFixedResBezel.Set("AlwaysOnTop", "On") ExtraFixedResBezel.Show() If !(VMUHidden) VMUWindow.Set("Transparent", "off") } If VMUHideKey XHotKeywrapper(VMUHideKey,"VMUHide","ON") Return HideGUIWindow: emuPrimaryWindow.Set("Transparent", "On") emuPrimaryWindow.Activate() ; once activated, demul starts loading the rom Return VMUHide: If VMUHidden { Loop, 4 VMUWindow.Set("Transparent", "off") UpdateLayeredWindow(extraFixedRes_Bezel_hwnd, extraFixedRes_Bezel_hdc,0,0, A_ScreenWidth, A_ScreenHeight,255) VMUHidden := false } Else { Loop, 4 VMUWindow.Set("Transparent", 0) UpdateLayeredWindow(extraFixedRes_Bezel_hwnd, extraFixedRes_Bezel_hdc,0,0, A_ScreenWidth, A_ScreenHeight,0) VMUHidden := true } Return CloseProcess: FadeOutStart() If (demulShooterEnabled = "true") { DemulShooterExe.Close() } emuPrimaryWindow.PostMessage("0x111", "40085") ; Stop emulation first for a clean exit TimerUtils.Sleep(5) ; just like to give a little time before closing emuPrimaryWindow.PostMessage("0x111", "40080") ; Exit Return 15:19:27:836 | RL | INFO | +0 | BuildScript - Loaded Pause scripts 15:19:27:836 | RL | INFO | +0 | BuildScript - Loaded Multi-Player scripts 15:19:27:836 | RL | INFO | +0 | BuildScript - Loaded Statistics.ahk script 15:19:27:836 | RL | INFO | +0 | BuildScript - "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Lib\User Functions\Global.ahk" not found 15:19:27:836 | RL | INFO | +0 | BuildScript - "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Lib\User Functions\Sega Naomi 2.ahk" not found 15:19:27:836 | RL | INFO | +0 | BuildScript - "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Lib\User Functions\Emulators\Demul.ahk" not found 15:19:27:836 | RL | INFO | +0 | BuildScript - "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Lib\User Functions\Sega Naomi 2\Emulators\Demul.ahk" not found 15:19:27:836 | RL | INFO | +0 | BuildScript - "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Lib\User Functions\Sega Naomi 2\vf4evo.ahk" not found 15:19:27:836 | RL | INFO | +0 | BuildScript - Finished injecting functions into module 15:19:27:836 | RL | INFO | +0 | Main - Module is built 15:19:27:836 | RL | INFO | +0 | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\RocketLauncher\AutoHotkey.dll exists 15:19:27:836 | RL | INFO | +0 | Main - Hiding taskbar 15:19:28:055 | RL | INFO | +218 | Main - Starting timer to watch if Front End gets displaced and restore it if it does. 15:19:28:055 | RL | INFO | +0 | Main - Running module 15:20:28:193 | RL | ERROR | +60139 | ExitScript - User pressed Exit_Script_Key to force RocketLauncher shutdown 15:20:28:193 | RL | INFO | +0 | ExitScript - Started 15:20:28:193 | RL | INFO | +0 | RunAHKKeymapper - Started 15:20:28:193 | RL | INFO | +0 | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\AhkLauncher.exe exists 15:20:28:193 | RL | INFO | +0 | RunAHKKeymapper - Ended 15:20:28:193 | RL | INFO | +0 | ExitScript - Restoring taskbar 15:20:28:427 | RL | INFO | +234 | SystemCursor - Restoring mouse cursor 15:20:28:427 | RL | INFO | +0 | ExitScript - Restored cursor 15:20:28:427 | RL | INFO | +0 | ExitScript - Ended
Creezz67 Posted December 23, 2019 Posted December 23, 2019 14 hours ago, Visitor Q said: I am trying to setup a wheel for Sega Naomi 2 roms because I need to use Demul v0.5.8.2 due to graphic issues. I am using the module "Demul (v0.5.8).ahk" but for whatever reason it will not launch any games. I can run the games just find out side of HS but for some reason and I haven no clue why, they will not launch with Rocker Launcher. Oddly enough I am running Demul v0.7 Sega Naomi with ZERO issues. Here is my log, any help would be greatly appreciated! 15:19:27:602 | RL | INFO | +N/A | Main - RocketLauncher v1.2.0.1 (www.rlauncher.com) 15:19:27:789 | RL | INFO | +187 | Main - System Specs: RocketLauncher Dir: C:\Emulation\Front Ends\HyperSpin\RocketLauncher RocketLauncher is: 32-bit OS: Microsoft Windows 7 Ultimate SKU: Ultimate Total Memory: 6143.11 MB Free Memory: 1244.07 MB Used Memory: 4899.035 MB SystemType: 64-bit Physical Processors: 1 Logical Processors: 2 GPU 1 Name: AMD FirePro V5900 GPU 1 RAM: -2048.00 MB GPU 1 Driver Version: 15.201.2401.1009 GPU 2 Name: AMD FirePro V5900 GPU 2 RAM: -2048.00 MB GPU 2 Driver Version: 15.201.2401.1009 Sound 1 Device: AMD High Definition Audio Device Sound 1 Status: Enabled Sound 2 Device: High Definition Audio Device Sound 2 Status: Enabled OS Language: English_United_States System Locale: en-US Formats Locale: en-US Windows UI Language: en-US Text Encoding: Windows-1252 OS Admin Status: Yes RL Compatibility Flags: Latest .Net Version: v4.0.30319 Monitor #1 (\\.\DISPLAY1): 1024x768 (1024x728 work) [32bit] [60hz] [Landscape] (Primary) Monitor #2 (\\.\DISPLAY2): 1280x768 (1280x768 work) [32bit] [60hz] [Landscape] Current AHK Desktop Width: 1024 Current AHK Desktop Height: 768 Monitor #1 DPI: 100 Monitor #2 DPI: 100 ErrorMode: 0 AutoHotkey Path: C:\Program Files\AutoHotkey\AutoHotkey.exe AHK Version: 1.1.13.00 Unicode: No 15:19:27:789 | RL | INFO | +0 | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\RocketLauncher\RocketLauncher.exe exists 15:19:27:789 | RL | INFO | +0 | Main - Raw CLI received: "-s Sega Naomi 2 -r vf4evo -f C:\Emulation\Front Ends\HyperSpin\HyperSpin.exe -p HyperSpin -c 1 -o 1" 15:19:27:789 | RL | INFO | +0 | Main - Loading Front End Plugin: "HyperSpin" 15:19:27:789 | RL | INFO | +0 | Main - RocketLauncher received "Sega Naomi 2" and "vf4evo" 15:19:27:789 | RL | INFO | +0 | Main - Did not find a "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Settings\Sega Naomi 2\Game Options.ini" file, skipping any game-specific options. 15:19:27:789 | RL | INFO | +0 | Main - vf4evo is using the default emulator: Demul 15:19:27:789 | RL | INFO | +0 | Main - Checking for a [Demul] section in C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Settings\Sega Naomi 2\Emulators.ini 15:19:27:789 | RL | INFO | +0 | Main - Found [Demul] in C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Settings\Sega Naomi 2\Emulators.ini 15:19:27:789 | RL | INFO | +0 | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Modules\Demul\Demul (v0.5.8).ahk exists 15:19:27:805 | RL | INFO | +16 | Main - CRC Check - CRC matches, this is an official unedited module. 15:19:27:805 | RL | INFO | +0 | Main - vf4evo will use module: C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Modules\Demul\Demul (v0.5.8).ahk 15:19:27:821 | RL | INFO | +15 | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks. 15:19:27:821 | RL | INFO | +0 | CheckFile - Checking if C:\Emulation\Emulators\Demul0582\demul.exe exists 15:19:27:821 | RL | INFO | +0 | Main - INI Keys read 15:19:27:821 | RL | INFO | +0 | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\7z.exe exists 15:19:27:821 | RL | INFO | +0 | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\7z.dll exists 15:19:27:821 | RL | INFO | +0 | Main - "vf4evo" does not qualify for MultiGame. Only roms with any of these strings in their name are acceptable: \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side 15:19:27:821 | RL | INFO | +0 | CheckPaths - Started 15:19:27:821 | RL | INFO | +0 | CheckPaths - Looking for rom: E:\Emulation\Roms\Sega Naomi\Demul v0.7 180428 WIP\vf4evo.zip 15:19:27:821 | RL | INFO | +0 | CheckPaths - Found rom: E:\Emulation\Roms\Sega Naomi\Demul v0.7 180428 WIP\vf4evo.zip 15:19:27:821 | RL | INFO | +0 | CheckPaths - Ended 15:19:27:821 | RL | INFO | +0 | BuildScript - User Variables: ;---------------------------------------------------------------------------- ; INJECTED VARIABLES ;---------------------------------------------------------------------------- #NoTrayIcon #InstallKeybdHook MiscUtils.DetectHiddenWindows("On") SetTitleMatchMode, 2 SendMode, Event Global RLLog Global RLObject 0 := "12" rlPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher" pluginPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Plugins" pluginName := "HyperSpin" pluginExt := ".plugin" contextOnExit := "1" rlMode := "" rlTitle := "RocketLauncher" rlVersion := "1.2.0.1" rlAuthor := "djvj" rlURL := "www.rlauncher.com" langFile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Data\Language\Localization.ini" primMonitor := "1" frontendPID := "" frontendPath := "C:\Emulation\Front Ends\HyperSpin" frontendExe := "HyperSpin.exe" frontendExt := "exe" frontendName := "HyperSpin" frontendDrive := "C" exitEmulatorKey := "~Esc" restoreFE := "true" exitScriptKey := "`" toggleCursorKey := "~e & ~t" emuFullPath := "C:\Emulation\Emulators\Demul0582\demul.exe" emuPath := "C:\Emulation\Emulators\Demul0582" emuName := "Demul" emuExt := "exe" baseRomPath := "" romPath := "E:\Emulation\Roms\Sega Naomi\Demul v0.7 180428 WIP" romPathFromIni := "E:\Emulation\Roms\Sega Naomi\Demul v0.7 180428 WIP" romExtension := ".zip" romExtensionOrig := ".zip" romExtensions := "zip" executable := "demul.exe" systemDbName := "Sega Naomi 2" systemName := "Sega Naomi 2" dbPath := "" dbName := "vf4evo" dbExt := "" romFoundByExt := "" romName := "vf4evo" romMapPath := "" romMappingEnabled := "false" romMappingLaunchMenuEnabled := "false" romMappingFirstMatchingExt := "false" romMappingShowAllRomsInArchive := "false" romMappingNumberOfGamesByScreen := "7" romMappingHideParent := "false" 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" romMappingGameNameTextFont := "Bebas Neue" romMappingGameNameTextOptions := "cFFFFFFFF r4 s40 Regular" romMappingBackgroundBrush := "aa000000" romMappingColumnBrush := "33000000" romMappingButtonBrush1 := "6f000000" romMappingButtonBrush2 := "33000000" romMappingBackgroundAlign := "Stretch and Lose Aspect" romMappingMenuFlagWidth := "40" romMappingMenuFlagSeparation := "5" romMappingDefaultMenuList := "FullList" romMappingSingleFilteredRomAutomaticLaunch := "false" altArchiveNameOnly := "" altRomNameOnly := "" altArchiveAndRomName := "" altArchiveAndManyRomNames := "" altRomNamesOnly := "" romMapScenario := "" skipchecks := "false" romMatchExt := "true" blockInputTime := "0" blockInputFile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\BlockInput.exe" errorLevelReporting := "false" lockLaunch := "false" lockLaunchGame := "" screenRotationAngle := "0" screenRotationAngleGame := "" setResolution := "" logFile := "" logLabel := [" INFO"," WARNING"," ERROR"," DEBUG"," TRACE"] logLevel := "1" logShowDebugConsole := "false" logShowCommandWindow := "false" logCommandWindow := "false" logIncludeModule := "true" logIncludeFileProperties := "true" logIncludeDLLLogs := "false" errorSounds := "true" rlDebugConsoleStdout := "" sysLang := "English_United_States" sysType := "64-bit" broadcastWindowTitle := "" navUpKey := "Numpad1" navDownKey := "Numpad3" navLeftKey := "Numpad4" navRightKey := "Numpad2" navSelectKey := "a" navP2UpKey := "Numpad5" navP2DownKey := "Numpad7" navP2LeftKey := "Numpad8" navP2RightKey := "Numpad6" navP2SelectKey := "I" originalWidth := "1024" originalHeight := "768" vdEnabled := "false" vdFullPath := "C:\Program Files (x86)\DAEMON Tools Lite\DTLite.exe" vdUseSCSI := "false" vdDriveLetter := "" vdDriveLetterScsi := "" vdAddDrive := "true" demulShooterPath := "" servoStikEnabled := "false" servoStikExitMode := "false" ledblinkyEnabled := "true" ledblinkySystemName := "" ledblinkyFullPath := "C:\Emulation\Utilities\LEDBlinky\LEDBlinky\LEDBlinky.exe" ledblinkyProfilePath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\LEDBlinky" ledblinkyRLProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\LEDBlinky\RocketLauncher" winIPACFullPath := "" ultraMapEnabled := "false" ultraMapFullPath := "" emuIdleShutdown := "0" launchPasswordHash := "zQJHGuIBD6bt2rEoPola0Rbrl81Ci3lgdm1mxbcm+QfXe+SDPHV0ig==" cursorSize := "" hideCursor := "true" hideEmu := "false" hideFE := "true" suspendFE := "false" fadeIn := "true" fadeInDuration := "500" fadeInTransitionAnimation := "DefaultAnimateFadeIn" fadeInDelay := "2000" fadeInExitDelay := "0" fadeOutExitDelay := "3000" fadeOut := "true" fadeOutExtraScreen := "false" fadeOutDuration := "500" fadeOutTransitionAnimation := "DefaultAnimateFadeOut" fadeOutDelay := "0" fadeLyrInterpolation := "7" fadeMuteEmulator := "false" fadeUseBackgrounds := "false" fadeClickThrough := "false" fadeSounds := "true" fade7zProgressMode := "extraction" fadeWidthBaseRes := "1920" fadeHeightBaseRes := "1080" fadeLyr1Color := "FF000000" fadeLyr1AlignImage := "Stretch and Lose Aspect" fadeLyr2Pos := "No Alignment" fadeLyr2X := "0" fadeLyr2Y := "300" fadeLyr2W := "" fadeLyr2H := "1070" fadeLyr2Adjust := "1" fadeLyr2PicPad := "0" fadeLyr2Prefix := "Extra Layer 1 - Console" fadeLyr3Pos := "Center" fadeLyr3X := "300" fadeLyr3Y := "300" fadeLyr3W := "" fadeLyr3H := "" fadeLyr3Adjust := "0.75" fadeLyr3PicPad := "0" fadeLyr3Speed := "750" fadeLyr3Animation := "DefaultFadeAnimation" fadeLyr37zAnimation := "DefaultFadeAnimation" fadeLyr3Type := "imageandbar" fadeLyr3ImgFollow7zProgress := "true" fadeLyr3Repeat := "1" fadeLyr3BackImageTransparency := "30" fadeLyr3StaticPos := "No Alignment" fadeLyr3StaticX := "0" fadeLyr3StaticY := "870|1575" fadeLyr3StaticW := "" fadeLyr3StaticH := "" fadeLyr3StaticAdjust := "1" fadeLyr3StaticPicPad := "0" fadeLyr3StaticPrefix := "Info Bar" fadeLyr4Adjust := ".35" fadeLyr4X := "1715|952" fadeLyr4Y := "720|1596" fadeLyr4W := "" fadeLyr4H := "" fadeLyr4Pos := "Bottom Center" fadeLyr4FPS := "200" fadeLyr4PicPad := "0" fadeTranspGifColor := "FFFFFF" fadeBarWindow := "false" fadeBarWindowX := "" fadeBarWindowY := "" fadeBarWindowW := "600" fadeBarWindowH := "120" fadeBarWindowR := "20" fadeBarWindowM := "20" fadeBarWindowHatchStyle := "8" fadeBar := "7zOnly" fadeProgressDuration := "0" 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" fadeRomInfoDeveloper := "text with label" fadeRomInfoPublisher := "text with label" fadeRomInfoGenre := "text" fadeRomInfoRating := "text" fadeRomInfoOrder := "Description|SystemName|Year|Manufacturer|Genre|Rating" fadeRomInfoTextPlacement := "topRight" fadeRomInfoTextMargin := "5" fadeRomInfoText1Options := "cFFFF0000 r4 s20 Bold" fadeRomInfoText2Options := "cFFFF0000 r4 s20 Bold" fadeRomInfoText3Options := "cFFFF0000 r4 s20 Bold" fadeRomInfoText4Options := "cFFFF0000 r4 s20 Bold" fadeRomInfoText5Options := "cFFFF0000 r4 s20 Bold" fadeRomInfoText6Options := "cFFFF0000 r4 s20 Bold" fadeRomInfoText7Options := "h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular" 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 := "cFFFF0000 r4 s20 Bold" fadeStatsInfoText2Options := "cFFFF0000 r4 s20 Bold" fadeStatsInfoText3Options := "cFFFF0000 r4 s20 Bold" fadeStatsInfoText4Options := "cFFFF0000 r4 s20 Bold" fadeStatsInfoText5Options := "cFFFF0000 r4 s20 Bold" fadeStatsInfoText6Options := "cFFFF0000 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" fadeText3 := "Loading Game" fadeText4 := "Loading Complete" fadeFont := "Arial" fadeSystemAndRomLayersOnly := "true" fadeExtractionTime := "disabled" fadeExtractionTimeTextX := "0" fadeExtractionTimeTextY := "0" fadeExtractionTimeTextOptions := "cFF555555 r4 s20 Bold" fadeInterruptKey := "" detectFadeErrorEnabled := "true" fadeImgPath := "X:\RocketLauncher\Media\Fade" RLDataPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Data" RLMediaPath := "X:\RocketLauncher\Media" RLErrSoundPath := "X:\RocketLauncher\Media\Sounds\Error" modulesPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Modules" moduleFullName := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Modules\Demul\Demul (v0.5.8).ahk" moduleName := "Demul (v0.5.8)" modulePath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Modules\Demul" moduleExtension := "ahk" moduleExtensionsPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions" libPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Lib" sevenZEnabled := "false" sevenZPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\7z.exe" sevenZDllPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\7z.dll" sevenZExtractPath := "C:\Emulation\Front Ends\HyperSpin\Zip Dump" sevenZExtractPathOrig := "" sevenZAttachSystemName := "true" sevenZDelTemp := "true" sevenZFormats := ".zip|.rar|.7z|.lha|.lzh|.gzip|.tar" sevenZFormatsNoP := "zip|rar|7z|lha|lzh|gzip|tar" sevenZFormatsRegEx := "\.zip|\.rar|\.7z|\.lha|\.lzh|\.gzip|\.tar" sevenZGamesToKeep := "" sevenZDeletePerSystem := "false" sevenZExtensions := "zip|rar|7z|lha|lzh|gzip|tar" 7zExtractPath := "C:\Emulation\Front Ends\HyperSpin\Zip Dump" mgEnabled := "false" mgKey := "~NumpadSub" mgBackgroundColor := "FF000000" mgSidePadding := "0.2" mgWidthBaseRes := "1920" mgHeightBaseRes := "1080" mgYOffset := "500" 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" mgCandidate := "" mgValidTypes := "\(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side" mgOnLaunch := "false" pauseEnabled := "true" pauseKey := "p" pauseBackToMenuBarKey := "b" pauseZoomInKey := "d" pauseZoomOutKey := "e" pauseScreenshotKey := "~PrintScreen" pauseHiToTextPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\HiToText.exe" pauseSaveStateKeyCodes := "" pauseLoadStateKeyCodes := "" keyboardEncoder := "" keyboardEncoderEnabled := "false" keymapperEnabled := "false" keymapperAHKMethod := "External" keymapper := "ahk" xpadderFullPath := "C:\Program Files (x86)\Xpadder\Xpadder.exe" joyToKeyFullPath := "C:\Program Files (x86)\JoyToKey\JoyToKey.exe" profilePath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles" keymapperProfilePath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk" keymapperFrontEndProfileName := "HyperSpin" keymapperFrontEndProfile := "false" keymapperRocketLauncherProfileEnabled := "false" joyIDsEnabled := "false" joyIDsPreferredControllersGlobal := "" joyIDsPreferredControllersSystem := "use_global" joyIDsPreferredControllersOnExit := "" CustomJoyNamesEnabled := "false" CustomJoyNames := "" rotateMethod := "false" FEProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk\HyperSpin" defaultProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk\_Default" systemProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk\Sega Naomi 2" xPadderSystemProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk\Sega Naomi 2\_Default" emuProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk\Sega Naomi 2\Demul" romProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk\Sega Naomi 2\vf4evo" RocketLauncherProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk\RocketLauncher" blankProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\ahk\blank" ahkFEProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\AHK\HyperSpin" ahkDefaultProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\AHK\_Default" ahkSystemProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\AHK\Sega Naomi 2" ahkEmuProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\AHK\Sega Naomi 2\Demul" ahkRomProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\AHK\Sega Naomi 2\vf4evo" ahkRocketLauncherProfile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Profiles\AHK\RocketLauncher" bezelEnabled := "false" bezelICEnabled := "false" shaderName := "false" shaderColor := "" shaderTransparency := "" statisticsEnabled := "true" pressDuration := "-1" emuVolume := "1" dxwndIni := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini" dxwndFullPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe" qResFullPath := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\QRes.exe" mon1O := "" pacDrivedllFile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\PacDrive32.dll" userFadeAnimIniFile := "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Lib\User Fade Animations.ini" testFile := "" testDuration := "" initialErrorMode := "0" 15:19:27:821 | RL | INFO | +0 | BuildScript - Loaded XHotkey Init.ahk scripts 15:19:27:821 | RL | INFO | +0 | BuildScript - Loaded Keymapper Init.ahk scripts 15:19:27:821 | RL | INFO | +0 | BuildScript - Loaded Fade Init.ahk scripts 15:19:27:821 | RL | INFO | +0 | BuildScript - Loaded Pause Init.ahk scripts 15:19:27:821 | RL | INFO | +0 | BuildScript - Loaded Statistics Init.ahk scripts 15:19:27:821 | RL | INFO | +0 | BuildScript - Validating module 15:19:27:836 | RL | INFO | +16 | BuildScript - Validation complete 15:19:27:836 | RL | INFO | +0 | BuildScript - Module: MEmu := "Demul" MEmuV := "v0.5.8.2" MURL := ["http://demul.emulation64.com/"] MAuthor := ["djvj"] MVersion := "2.1.7" MCRC := "CE5A6607" iCRC := "8615E590" MID := "635211874656892855" MSystem := ["Gaelco","Gaelco 3D","Sammy Atomiswave","Sega Dreamcast","Sega Hikaru","Sega Naomi","Sega Naomi 2"] ;---------------------------------------------------------------------------- ; Notes: ; Required - control and nvram files setup for each game/control type ; Required - moduleName ini example can be found on GIT in the Demul module folder ; moduleName ini must be placed in same folder as this module if you use the provided example, just be sure to rename it to just Demul.ini first so it matches the module's name ; GDI images must match mame zip names and be extracted and have a .dat extension ; Rom_Extension should include 7z|zip|gdi|cue|cdi|chd|mds|ccd|nrg ; Module will automatically set your rom path for you on first launch ; ; Make sure the awbios, dc, hikaru, naomi, naomi2, saturn.zip bios archives are in any of your rom paths as they are needed to play all the games. ; Set your Video Plugin to gpuDX11 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 ; gpuDX10 and gpuDX11 are the only supported plugins. You can define what plugin you want to use for each game in the module settings in RocketLauncherUI ; Read the tooltip for the Fullscreen module setting in RocketLauncherUI 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 RocketLauncherUI's module settings for these types, they all have their own tabs) and configure your controls to play the game. After configuring your controls manually in Demul, open padDemul.ini and Copy/paste the JAMMA0_0 and JAMMA0_1 (for naomi) or the ATOMISWAVE0_0 and ATOMISWAVE0_1 (for atomiswave) into RocketLauncherUI's module settings for each controls tab (standard, sfstyle, etc). ; Each pair of control tabs designates another real arcade control schema for a grouping of games. Demul does not handle this like MAME, so the module does instead. ; ; Gaelco: ; There is no known way to launch the desired Gaelco rom from CLI. You will always be presented with the rom selection window on launch. ; ; Sega Hikaru: ; Windowed Fullscreen doesn't seem to work as demul does not allow stretching of its window ; ; 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 disable it. Demul crashes when Fade tries to draw on top of it in windowed and fullscreen modes. ;---------------------------------------------------------------------------- StartModule() BezelGUI() ExtraFixedResBezelGUI() FadeInStart() primaryExe := new Emulator(emuPath . "\" . executable) ; instantiate emulator executable object emuPrimaryWindow := new Window(new WindowTitle(,"window")) ; instantiate primary emulator window object emuLCD0Window := new Window(new WindowTitle("LCD 0","LCD 0")) ; 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("Gaelco","gaelco","Gaelco 3D","gaelco","Sammy Atomiswave","atomiswave","Sega Dreamcast","dc","Sega Hikaru","hikaru","Sega Naomi","naomi","Sega Naomi 2","naomi2") ident := mType[systemName] ; search object for the systemName identifier Demul uses If !ident ScriptError("Your systemName is: " . systemName . "`nIt is not one of the known supported systems for this Demul module: " . moduleName) DemuleIni := new IniFile(emuPath . "\Demul.ini") PadIni := new IniFile(emuPath . "\padDemul.ini") DemuleIni.CheckFile("Could not find Demul's ini. Please run Demul manually first and each of it's settings sections so the appropriate inis are created for you: " . DemuleIni.FileFullPath) PadIni.CheckFile("Could not find Demul's control ini. Please run Demul manually first and set up your controls so this file is created for you: " . PadIni.FileFullPath) demuleIniEncoding := RLObject.getFileEncoding(DemuleIni.FileFullPath) If demuleIniEncoding { If (demuleIniEncoding = "ERROR") RLLog.Warning("Module - Demul.ini set to Read-only and BOM cannot be changed. Check the DLL log for further details: " . DemuleIni.FileFullPath) Else { RLLog.Warning("Module - Recreating " . DemuleIni.FileFullPath . " as ANSI because UTF-8 format cannot be read") If RLObject.removeBOM(DemuleIni.FileFullPath) RLLog.Info("Module - Successfully converted " . DemuleIni.FileFullPath . " to ANSI") Else RLLog.Error("Module - Failed to convert " . DemuleIni.FileFullPath . " to ANSI") } } maxHideTaskbar := moduleIni.Read("Settings", "MaxHideTaskbar", "true",,1) controllerCode := moduleIni.Read("Settings", "ControllerCode", "16777216",,1) mouseCode := moduleIni.Read("Settings", "MouseCode", "131072",,1) keyboardCode := moduleIni.Read("Settings", "KeyboardCode", "1073741824",,1) lightgunCode := moduleIni.Read("Settings", "LightgunCode", "-2147483648",,1) hideDemulGUI := moduleIni.Read("Settings", "HideDemulGUI", "true",,1) PerGameMemoryCards := moduleIni.Read("Settings", "PerGameMemoryCards", "true",,1) memCardPath := moduleIni.Read("Settings", "MemCardPath", emuPath . "\memsaves",,1) memCardPath := AbsoluteFromRelative(emuPath, memCardPath) fullscreen := moduleIni.Read(romName . "|Settings", "Fullscreen", "windowedfullscreen",,1) plugin := moduleIni.Read(romName . "|Settings", "Plugin", "gpuDX11",,1) shaderUsePass1 := moduleIni.Read(romName . "|Settings", "ShaderUsePass1", "false",,1) shaderUsePass2 := moduleIni.Read(romName . "|Settings", "ShaderUsePass2", "false",,1) shaderNamePass1 := moduleIni.Read(romName . "|Settings", "ShaderNamePass1",,,1) shaderNamePass2 := moduleIni.Read(romName . "|Settings", "ShaderNamePass2",,,1) listSorting := moduleIni.Read(romName . "|Settings", "ListSorting", "true",,1) OpaqueMod := moduleIni.Read(romName . "|Settings", "OModifier", "true",,1) TransMod := moduleIni.Read(romName . "|Settings", "TModifier", "true",,1) internalResolutionScale := moduleIni.Read(romName . "|Settings", "InternalResolutionScale", "1",,1) videomode := moduleIni.Read(romName . "|Settings", "VideoMode", "0",,1) demulShooterEnabled := moduleIni.Read(romName . "|Settings", "DemulShooterEnabled", "false",,1) displayVMU := moduleIni.Read("Settings", "DisplayVMU", "true",,1) VMUPos := moduleIni.Read("Settings", "VMUPos", "topRight",,1) ; topRight, topCenter, topLeft, leftCenter, bottomLeft, bottomCenter, bottomRight, rightCenter VMUHideKey := moduleIni.Read("Settings", "VMUHideKey","F10",,1) Bios := moduleIni.Read(romName, "Bios",,,1) LoadDecrypted := moduleIni.Read(romName, "LoadDecrypted",,,1) ; not currently supported ; Read all the control values controls := moduleIni.Read(romname, "Controls", "standard",,1) ; have to read this first so the below ini reads work push1_0 := moduleIni.Read(controls . "_JAMMA0_0", "push1",,,1) push2_0 := moduleIni.Read(controls . "_JAMMA0_0", "push2",,,1) push3_0 := moduleIni.Read(controls . "_JAMMA0_0", "push3",,,1) push4_0 := moduleIni.Read(controls . "_JAMMA0_0", "push4",,,1) push5_0 := moduleIni.Read(controls . "_JAMMA0_0", "push5",,,1) push6_0 := moduleIni.Read(controls . "_JAMMA0_0", "push6",,,1) push7_0 := moduleIni.Read(controls . "_JAMMA0_0", "push7",,,1) push8_0 := moduleIni.Read(controls . "_JAMMA0_0", "push8",,,1) service_0 := moduleIni.Read(controls . "_JAMMA0_0", "SERVICE",,,1) start_0 := moduleIni.Read(controls . "_JAMMA0_0", "START",,,1) coin_0 := moduleIni.Read(controls . "_JAMMA0_0", "COIN",,,1) digitalup_0 := moduleIni.Read(controls . "_JAMMA0_0", "DIGITALUP",,,1) digitaldown_0 := moduleIni.Read(controls . "_JAMMA0_0", "DIGITALDOWN",,,1) digitalleft_0 := moduleIni.Read(controls . "_JAMMA0_0", "DIGITALLEFT",,,1) digitalright_0 := moduleIni.Read(controls . "_JAMMA0_0", "DIGITALRIGHT",,,1) analogup_0 := moduleIni.Read(controls . "_JAMMA0_0", "ANALOGUP",,,1) analogdown_0 := moduleIni.Read(controls . "_JAMMA0_0", "ANALOGDOWN",,,1) analogleft_0 := moduleIni.Read(controls . "_JAMMA0_0", "ANALOGLEFT",,,1) analogright_0 := moduleIni.Read(controls . "_JAMMA0_0", "ANALOGRIGHT",,,1) analogup2_0 := moduleIni.Read(controls . "_JAMMA0_0", "ANALOGUP2",,,1) analogdown2_0 := moduleIni.Read(controls . "_JAMMA0_0", "ANALOGDOWN2",,,1) analogleft2_0 := moduleIni.Read(controls . "_JAMMA0_0", "ANALOGLEFT2",,,1) analogright2_0 := moduleIni.Read(controls . "_JAMMA0_0", "ANALOGRIGHT2",,,1) push1_1 := moduleIni.Read(controls . "_JAMMA0_1", "push1",,,1) push2_1 := moduleIni.Read(controls . "_JAMMA0_1", "push2",,,1) push3_1 := moduleIni.Read(controls . "_JAMMA0_1", "push3",,,1) push4_1 := moduleIni.Read(controls . "_JAMMA0_1", "push4",,,1) push5_1 := moduleIni.Read(controls . "_JAMMA0_1", "push5",,,1) push6_1 := moduleIni.Read(controls . "_JAMMA0_1", "push6",,,1) push7_1 := moduleIni.Read(controls . "_JAMMA0_1", "push7",,,1) push8_1 := moduleIni.Read(controls . "_JAMMA0_1", "push8",,,1) service_1 := moduleIni.Read(controls . "_JAMMA0_1", "SERVICE",,,1) start_1 := moduleIni.Read(controls . "_JAMMA0_1", "START",,,1) coin_1 := moduleIni.Read(controls . "_JAMMA0_1", "COIN",,,1) digitalup_1 := moduleIni.Read(controls . "_JAMMA0_1", "DIGITALUP",,,1) digitaldown_1 := moduleIni.Read(controls . "_JAMMA0_1", "DIGITALDOWN",,,1) digitalleft_1 := moduleIni.Read(controls . "_JAMMA0_1", "DIGITALLEFT",,,1) digitalright_1 := moduleIni.Read(controls . "_JAMMA0_1", "DIGITALRIGHT",,,1) analogup_1 := moduleIni.Read(controls . "_JAMMA0_1", "ANALOGUP",,,1) analogdown_1 := moduleIni.Read(controls . "_JAMMA0_1", "ANALOGDOWN",,,1) analogleft_1 := moduleIni.Read(controls . "_JAMMA0_1", "ANALOGLEFT",,,1) analogright_1 := moduleIni.Read(controls . "_JAMMA0_1", "ANALOGRIGHT",,,1) analogup2_1 := moduleIni.Read(controls . "_JAMMA0_1", "ANALOGUP2",,,1) analogdown2_1 := moduleIni.Read(controls . "_JAMMA0_1", "ANALOGDOWN2",,,1) analogleft2_1 := moduleIni.Read(controls . "_JAMMA0_1", "ANALOGLEFT2",,,1) analogright2_1 := moduleIni.Read(controls . "_JAMMA0_1", "ANALOGRIGHT2",,,1) If (InStr(systemName, "Hikaru") && plugin != "gpuDX11") plugin := "gpuDX11" ; Hikaru does not work with gpuDX10 gpu plugin, setting it dumps an error ; Verify user set desired gpu plugin name correctly If (plugin != "gpuDX11" && plugin != "gpuDX10" && plugin != "") ScriptError(plugin . " is not a supported gpu plugin.`nLeave the plugin blank to use the default ""gpuDX11"".`nValid options are gpuDX11 or gpuDX10.") ; Read and write videomode value for cable type rvideomode := DemuleIni.Read("main", "videomode") RLLog.Info("Module - Demul is reading the config with videomode = " . rvideomode) DemuleIni.Write(videomode, "main", "videomode") RLLog.Info("Module - Demul is updating the config with videomode = " . videomode) ;ExitApp ; Handle Demul's rom paths so the user doesn't have to romPathCount := DemuleIni.Read("files", "romsPathsCount") RLLog.Info("Module - Demul is configured with " . romPathCount . " rom path(s). Scanning these for a romPath to this rom.") Loop, %romPathCount% { demulRomPath := A_Index - 1 ; rompaths in demul start with 0 path%A_Index% := DemuleIni.Read("files", "roms" . demulRomPath) RLLog.Info("Module - Path" . demulRomPath . ": " . path%A_Index%) ; msgbox % path%A_Index% If (path%A_Index% = romPath . "\") ; demul tacks on the backslash at the end { romPathFound := 1 ; flag that demul has this romPath in its config and no need to add it RLLog.Info("Module - Stopping search because Demul is already configured with the correct romPath to this rom: " . path%A_Index%) Break ; stop looking for a correct romPath } } If !romPathFound ; if demul doesn't have the romPath in its ini, add it { RLLog.Warning("Module - Demul does not have this romPath in Demul.ini, adding it for you.") nextPath := romPathCount + 1 ; add 1 to the romPathCount and write that to the ini DemuleIni.Write(nextPath, "files", "romsPathsCount") DemuleIni.Write(romPath , "\", "files", "roms" . romPathCount) ; write the rompath to the ini } BezelStart("FixResMode") ; Force Fade_Out to disabled as it causes demul to not close properly fadeOut := "false" RLLog.Warning("Module - Turning off Fade_Out because it doesn't let Demul exit properly.") ; check for the specified gpu plugin GpuIni := new IniFile(emuPath . "\" . plugin . ".ini") GpuIni.CheckFile("Please run Demul manually first and select the " . plugin . " gpu plugin so it creates this file for you: " . GpuIni.FileFullPath) demulFileEncoding := RLObject.getFileEncoding(GpuIni.FileFullPath) If demulFileEncoding { If (demulFileEncoding = "ERROR") RLLog.Warning("Module - GPU ini set to Read-only and BOM cannot be changed. Check the DLL log for further details: " . GpuIni.FileFullPath) Else { RLLog.Info("Module - Recreating " . GpuIni.FileFullPath . " as ANSI because UTF-8 format cannot be read") If RLObject.removeBOM(GpuIni.FileFullPath) RLLog.Info("Module - Successfully converted " . GpuIni.FileFullPath . " to ANSI") Else RLLog.Error("Module - Failed to convert " . GpuIni.FileFullPath . " to ANSI") } } ; 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 (ListSorting = "true") GpuIni.Write(0, "main", "AutoSort") Else GpuIni.Write(1, "main", "AutoSort") ; This will set the Opaque or Trans modifier for each game If (OpaqueMod = "true") GpuIni.Write(0, "main", "OModifier") Else GpuIni.Write(1, "main", "OModifier") If (TransMod = "true") GpuIni.Write(0, "main", "TModifier") Else GpuIni.Write(1, "main", "TModifier") ; This updates the DX10gpu or DX11gpu ini file to the scale you want to use for this game GpuIni.Write(InternalResolutionScale, "main", "scaling") ; This updates the demul.ini with your gpu plugin choice for the selected rom DemuleIni.Write(plugin . ".dll", "plugins", "gpu") ; This updates the demul.ini with your VMU display choice VMUscreendisable := If (displayVMU="true") ? "false" : "true" DemuleIni.Write(VMUscreendisable, "main", "VMUscreendisable") ; Shader Effects 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 currentusePass%A_Index% := GpuIni.Read("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 !StringUtils.Contains(shaderNamePass%A_Index%,"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) GpuIni.Write(1, "shaders", "usePass" . A_Index) ; turn shader on in gpuDX11 ini GpuIni.Write(shaderNamePass%A_Index%, "shaders", "shaderPass" . A_Index) ; update gpuDX11 ini with the shader name to use }Else If (shaderUsePass%A_Index% != "true" and currentusePass%A_Index% = 1) GpuIni.Write(0, "shaders", "usePass" . A_Index) ; turn shader off in gpuDX11 ini } If (ident = "dc") { 7z(romPath, romName, romExtension, sevenZExtractPath) If (romExtension = ".cdi" || romExtension = ".mds" || romExtension = ".ccd" || romExtension = ".nrg" || romExtension = ".gdi" || romExtension = ".cue") { GdrImageIni := new IniFile(emuPath . "\gdrImage.ini") If !GdrImageIni.Exist() { GdrImageIni.Append(defaultIni) ; Create a default gdrImage.ini in your emu folder if one does not exist already. ; GdrImageIni.Delete(gdrImageFile) ; don't know why this was in the old module, no point in deleting the file I just made } TimerUtils.Sleep(500) DemuleIni.Write("gdrImage.dll", "plugins", "gdr") GdrImageIni.Write("false", "Main", "openDialog") GdrImageIni.Write(romPath . "\" . romName . romExtension, "Main", "imagefilename") } Else If (romExtension = ".chd") { GdrCHDIni := new IniFile(emuPath . "\gdrCHD.ini") If !GdrCHDIni.Exist() { GdrCHDIni.Append(defaultIni) ; Create a default gdrCHD.ini in your emu folder if one does not exist already. ; GdrCHDIni.Delete(gdrCHDFile) ; don't know why this was in the old module, no point in deleting the file I just made } TimerUtils.Sleep(500) GdrCHDIni.Write("false", "Main", "openDialog") DemuleIni.Write("gdrCHD.dll", "plugins", "gdr") GdrCHDIni.Write(romPath . "\" . romName . romExtension, "Main", "imagefilename") } Else ScriptError(romExtension . " is not a supported file type for this " . moduleName . " module.") DemuleIni.Write(1, "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 != "" && Bios != "ERROR") { Bios := StringUtils.RegExReplace(Bios,"\s.*") ; Cleans off the added text from the key's value so only the number is left DemuleIni.Write("false", "main", "naomiBiosAuto") ; turning auto bios off so we can use a specific one instead DemuleIni.Write(Bios, "main", "naomiBios") ; setting specific bios user has set from the moduleName ini } Else DemuleIni.Write("true", "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") { RLLog.Info("Module - This game uses a Mouse or Lightgun control type.") DemuleIni.Write(MouseCode, "PORTB", "device") } Else If (controls = "keyboard") { RLLog.Info("Module - This game uses a Keyboard control type.") DemuleIni.Write(KeyboardCode, "PORTB", "device") } Else { ; accounts for all other control types RLLog.Info("Module - This game uses a standard (controller) control type.") DemuleIni.Write(ControllerCode, "PORTB", "device") } WriteControls(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(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) RLLog.Info("Module - Wrote " . controls . " controls to padDemul.ini.") ; This will check the save game files and create per game ones if enabled. If (PerGameMemoryCards = "true") { MemCardFolder := new Folder(memCardPath) DefaultMemCard := new File(memCardPath . "\default_vms.bin") ; defining default blank VMU file If !DefaultMemCard.Exist("Folder") DefaultMemCard.CreateDir() ; create memcard folder if it doesn't exist If defaultMemCard.Exist() { RLLog.Info("VMU - Default VMU file location - " . defaultMemCard.FileFullPath) Loop, 4 { outerLoop := A_Index If (A_Index = 1) contrPort := "A" Else If (A_Index = 2) contrPort := "B" Else If (A_Index = 3) contrPort := "C" Else If (A_Index = 4) contrPort := "D" controllerPort%contrPort% := DemuleIni.Read("PORT" . contrPort, "device") RLLog.Info("VMU - Config for controller PORT" . contrPort . " = " . controllerPort%contrPort%) If (controllerPort%contrPort% = -1) Continue Loop, 2 { SubCount := A_Index - 1 VMUPort%SubCount% := DemuleIni.Read("PORT" . contrPort, "port" . SubCount) RLLog.Info("VMU - Config Plugin VMUPort" . contrPort . SubCount . " for controller PORT" . contrPort . " = " . VMUPort%SubCount%) If (VMUPort%SubCount% <> -1) { VMUPortFile%SubCount% := DemuleIni.Read("VMS", "VMS" . contrPort . SubCount) RLLog.Info("VMU - VMUPortFile" . contrPort . SubCount . " controllerVMU" . contrPort . SubCount . " " . "VMS" . contrPort . SubCount . " = " . VMUPortFile%SubCount%) memCardName := If romTable[1,5] ? romTable[1,4] : romName ; defining rom name for multi disc rom PerGameVMUBin%A_Index% := new File(memCardPath . "\" . memCardName . "_vms_" . contrPort . SubCount . ".bin") RLLog.Info("VMU - PerGameVMUBin = " . PerGameVMUBin%A_Index%.FileFullPath) If PerGameVMUBin%A_Index%.Exist() { RLLog.Info("VMU - PerGameVMU file exists at " . PerGameVMUBin%A_Index%.FileFullPath) } Else { RLLog.Info("VMU - PerGameVMU file does not exist. So we will create one at " . PerGameVMUBin%A_Index%.FileFullPath) DefaultMemCard.Copy(PerGameVMUBin%A_Index%.FileFullPath) } DemuleIni.Write(PerGameVMUBin%A_Index%.FileFullPath, "VMS", "VMS" . contrPort . SubCount) RLLog.Info("VMU - PerGameVMU file written to " . DemuleIni.FileFullPath . " at section VMS to variable VMS" . contrPort . SubCount . " as " . PerGameVMUBin%A_Index%.FileFullPath) } Else { RLLog.Info("VMU - No VMU Plugged In.") } } } } Else { RLLog.Info("VMU - No default VMU file at " . DefaultMemCard.FileFullPath) } } ; 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 (fullscreen = "truefullscreen") GpuIni.Write(1, "main", "UseFullscreen") Else GpuIni.Write(0, "main", "UseFullscreen") If (fullscreen = "windowedfullscreen") { If (maxHideTaskbar = "true") { RLLog.Info("Module - Hiding Taskbar and Start Button.") MiscUtils.TaskBar("off") } ; Create black background to give the emu the fullscreen look RLLog.Info("Module - Creating black background to simulate a fullscreen look.") Gui demulGUI: -Caption +ToolWindow Gui demulGUI: Color, Black Gui demulGUI: Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth% } If (ident != "dc" && demulShooterEnabled = "true") { ; If demulshooter is enabled for this game, launch it with relevant options DemulShooterExe := New DemulShooter() DemulShooterExe.Launch("demul058",romName,"-noresize") } TimerUtils.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 hideEmuObj := Object(emuLCD0Window,0,emuPrimaryWindow,1) HideAppStart(hideEmuObj,hideEmu) primaryExe.Run(" -run=" . ident . " " . romCLI, (If hideDemulGUI = "true" ? "min" : "")) ; launching minimized, then restoring later hides the launch completely TimerUtils.Sleep(1000) ; Need a second for demul to launch, increase if yours takes longer and the emu is NOT appearing and staying minimized. This is required otherwise bezel backgrounds do not appear DetectHiddenWindows, On If (hideDemulGUI = "true") { emuPrimaryWindow.Restore() emuPrimaryWindow.Activate() } RLLog.Info("Module - Waiting for Demul to finish loading game.") Loop { ; looping until demul is done loading rom and gpu starts showing frames TimerUtils.Sleep(200) winTitle := emuPrimaryWindow.GetTitle(0) winTextSplit := StringUtils.Split(winTitle, A_Space) If (winTextSplit[5] = "gpu:" And winTextSplit[6] != "0" And winTextSplit[6] != "1") Break } RLLog.Info("Module - Demul finished loading game.") If (StringUtils.Contains(systemName, "Gaelco|Hikaru") && fullscreen = "truefullscreen") KeyUtils.Send("!{Enter}") ; Automatic fullscreen seems to be broken in the Gaelco driver, must alt+Enter to get fullscreen ; This is where we calculate and maximize demul's window using our pseudo fullscreen code If (fullscreen = "windowedfullscreen") { ;KeyUtils.Send("{F3}") ; Removes the MenuBar emuPrimaryWindow.Maximize() ; this will take effect after you run demul once because we cannot stretch demul's screen while it is running. If (plugin = "gpuDX11") { GpuIni.Write(appWidthNew, "resolution", "Width") GpuIni.Write(appHeightNew, "resolution", "Height") } Else { GpuIni.Write(appWidthNew, "resolution", "wWidth") GpuIni.Write(appHeightNew, "resolution", "wHeight") } } BezelDraw() If (displayVMU = "true"){ VMUWindowID := emuLCD0Window.Get("ID") ExtraFixedResBezelDraw(VMUWindowID, "VMU", VMUPos, 144, 96, 8, 8, 28, VMUHideKey := xHotKeyVarEdit(VMUHideKey,"VMUHideKey","~","Add") xHotKeywrapper(VMUHideKey,"VMUHide") } HideEmuEnd() FadeInExit() primaryExe.Process("WaitClose") If (fullscreen = "windowedfullscreen") { Gui demulGUI: Destroy RLLog.Info("Module - Destroyed black gui background.") } If (ident = "dc") 7zCleanUp() BezelExit() ExtraFixedResBezelExit() FadeOutExit() If (fullscreen = "windowedfullscreen" && maxHideTaskbar = "true") { RLLog.Info("Module - Showing Taskbar and Start Button.") MiscUtils.TaskBar("on") } ExitModule() ; Write new controls to padDemul.ini WriteControls(player,push1,push2,push3,push4,push5,push6,push7,push8,service,start,coin,digitalup,digitaldown,digitalleft,digitalright,analogup,analogdown,analogleft,analogright,analogup2,analogdown2,analogleft2,analogright2) { Global PadIni PadIni.Write(push1, "JAMMA0_" . player, "PUSH1") PadIni.Write(push2, "JAMMA0_" . player, "PUSH2") PadIni.Write(push3, "JAMMA0_" . player, "PUSH3") PadIni.Write(push4, "JAMMA0_" . player, "PUSH4") PadIni.Write(push5, "JAMMA0_" . player, "PUSH5") PadIni.Write(push6, "JAMMA0_" . player, "PUSH6") PadIni.Write(push7, "JAMMA0_" . player, "PUSH7") PadIni.Write(push8, "JAMMA0_" . player, "PUSH8") PadIni.Write(service, "JAMMA0_" . player, "SERVICE") PadIni.Write(start, "JAMMA0_" . player, "START") PadIni.Write(coin, "JAMMA0_" . player, "COIN") PadIni.Write(digitalup, "JAMMA0_" . player, "DIGITALUP") PadIni.Write(digitaldown, "JAMMA0_" . player, "DIGITALDOWN") PadIni.Write(digitalleft, "JAMMA0_" . player, "DIGITALLEFT") PadIni.Write(digitalright, "JAMMA0_" . player, "DIGITALRIGHT") PadIni.Write(analogup, "JAMMA0_" . player, "ANALOGUP") PadIni.Write(analogdown, "JAMMA0_" . player, "ANALOGDOWN") PadIni.Write(analogleft, "JAMMA0_" . player, "ANALOGLEFT") PadIni.Write(analogright, "JAMMA0_" . player, "ANALOGRIGHT") PadIni.Write(analogup2, "JAMMA0_" . player, "ANALOGUP2") PadIni.Write(analogdown2, "JAMMA0_" . player, "ANALOGDOWN2") PadIni.Write(analogleft2, "JAMMA0_" . player, "ANALOGLEFT2") PadIni.Write(analogright2, "JAMMA0_" . player, "ANALOGRIGHT2") } HaltEmu: If (fullscreen = "truefullscreen") KeyUtils.Send("!{Enter}") If VMUHideKey XHotKeywrapper(VMUHideKey,"VMUHide","OFF") Return RestoreEmu: If (fullscreen = "truefullscreen") KeyUtils.Send("!{Enter}") If (displayVMU = "true") { If !IsObject(VMUWindow) VMUWindow := new Window("ahk_ID " . VMUWindowID) If !IsObject(ExtraFixedResBezel) ExtraFixedResBezel := new Window("ahk_ID " . extraFixedRes_Bezel_hwnd) VMUWindow.Set("Transparent", 0) VMUWindow.Set("AlwaysOnTop", "On") VMUWindow.Show() VMUWindow.Set("AlwaysOnTop", "On") ExtraFixedResBezel.Set("AlwaysOnTop", "On") ExtraFixedResBezel.Show() If !(VMUHidden) VMUWindow.Set("Transparent", "off") } If VMUHideKey XHotKeywrapper(VMUHideKey,"VMUHide","ON") Return HideGUIWindow: emuPrimaryWindow.Set("Transparent", "On") emuPrimaryWindow.Activate() ; once activated, demul starts loading the rom Return VMUHide: If VMUHidden { Loop, 4 VMUWindow.Set("Transparent", "off") UpdateLayeredWindow(extraFixedRes_Bezel_hwnd, extraFixedRes_Bezel_hdc,0,0, A_ScreenWidth, A_ScreenHeight,255) VMUHidden := false } Else { Loop, 4 VMUWindow.Set("Transparent", 0) UpdateLayeredWindow(extraFixedRes_Bezel_hwnd, extraFixedRes_Bezel_hdc,0,0, A_ScreenWidth, A_ScreenHeight,0) VMUHidden := true } Return CloseProcess: FadeOutStart() If (demulShooterEnabled = "true") { DemulShooterExe.Close() } emuPrimaryWindow.PostMessage("0x111", "40085") ; Stop emulation first for a clean exit TimerUtils.Sleep(5) ; just like to give a little time before closing emuPrimaryWindow.PostMessage("0x111", "40080") ; Exit Return 15:19:27:836 | RL | INFO | +0 | BuildScript - Loaded Pause scripts 15:19:27:836 | RL | INFO | +0 | BuildScript - Loaded Multi-Player scripts 15:19:27:836 | RL | INFO | +0 | BuildScript - Loaded Statistics.ahk script 15:19:27:836 | RL | INFO | +0 | BuildScript - "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Lib\User Functions\Global.ahk" not found 15:19:27:836 | RL | INFO | +0 | BuildScript - "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Lib\User Functions\Sega Naomi 2.ahk" not found 15:19:27:836 | RL | INFO | +0 | BuildScript - "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Lib\User Functions\Emulators\Demul.ahk" not found 15:19:27:836 | RL | INFO | +0 | BuildScript - "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Lib\User Functions\Sega Naomi 2\Emulators\Demul.ahk" not found 15:19:27:836 | RL | INFO | +0 | BuildScript - "C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Lib\User Functions\Sega Naomi 2\vf4evo.ahk" not found 15:19:27:836 | RL | INFO | +0 | BuildScript - Finished injecting functions into module 15:19:27:836 | RL | INFO | +0 | Main - Module is built 15:19:27:836 | RL | INFO | +0 | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\RocketLauncher\AutoHotkey.dll exists 15:19:27:836 | RL | INFO | +0 | Main - Hiding taskbar 15:19:28:055 | RL | INFO | +218 | Main - Starting timer to watch if Front End gets displaced and restore it if it does. 15:19:28:055 | RL | INFO | +0 | Main - Running module 15:20:28:193 | RL | ERROR | +60139 | ExitScript - User pressed Exit_Script_Key to force RocketLauncher shutdown 15:20:28:193 | RL | INFO | +0 | ExitScript - Started 15:20:28:193 | RL | INFO | +0 | RunAHKKeymapper - Started 15:20:28:193 | RL | INFO | +0 | CheckFile - Checking if C:\Emulation\Front Ends\HyperSpin\RocketLauncher\Module Extensions\AhkLauncher.exe exists 15:20:28:193 | RL | INFO | +0 | RunAHKKeymapper - Ended 15:20:28:193 | RL | INFO | +0 | ExitScript - Restoring taskbar 15:20:28:427 | RL | INFO | +234 | SystemCursor - Restoring mouse cursor 15:20:28:427 | RL | INFO | +0 | ExitScript - Restored cursor 15:20:28:427 | RL | INFO | +0 | ExitScript - Ended It may be down to the format your files are in. Try using the latest MAME roms (depending on game) to see if they work.
Visitor Q Posted December 25, 2019 Author Posted December 25, 2019 The games load fine in Demul outside of HS, they just don't load inside of it or with Rocket Launcher. It's not a emulator problem, it's either a problem with RL or the Module.
Creezz67 Posted December 26, 2019 Posted December 26, 2019 18 hours ago, Visitor Q said: The games load fine in Demul outside of HS, they just don't load inside of it or with Rocket Launcher. It's not a emulator problem, it's either a problem with RL or the Module. Use version Demul 0.7a emulator. Set skip checks to false in RL, 7z false. If you have Demul (v0.7).ahk in your modules it should work (Make sure you add Sega Naomi 2 to MSystem games list at top of module). As I said, I point my rom path to my MAME romset and they all load/play fine.
Visitor Q Posted December 27, 2019 Author Posted December 27, 2019 On 12/26/2019 at 3:20 AM, Creezz67 said: Use version Demul 0.7a emulator. Set skip checks to false in RL, 7z false. If you have Demul (v0.7).ahk in your modules it should work (Make sure you add Sega Naomi 2 to MSystem games list at top of module). As I said, I point my rom path to my MAME romset and they all load/play fine. I can't use Demul 0.7a for Naomi 2... " I am trying to setup a wheel for Sega Naomi 2 roms because I need to use Demul v0.5.8.2 due to graphic issues. " I am using Demul 0.7a for everything else, ie Naomi and Atomiswave. Again... The roms load fine outside of HS, it is not a rom or emulator issue.
Visitor Q Posted December 29, 2019 Author Posted December 29, 2019 This was a module issue. http://www.rlauncher.com/forum/showthread.php?3989-Demul-07a-and-Sega-Naomi-2&p=31727&viewfull=1#post31727
Recommended Posts
Archived
This topic is now archived and is closed to further replies.