· 9 years ago · Jan 16, 2017, 03:54 AM
1[code]
222:49:22:905 | RL | INFO | +N/A | Main - RocketLauncher v1.2.0.0 (www.rlauncher.com)
322:49:22:948 | RL | WARNING | +47 | Main - Logging level is debug or higher and will cause slowdowns to RocketLauncher's performance. When troubleshooting is finished, please lower logging level to restore proper performance.
422:49:23:631 | RL | DEBUG | +672 | Registry.Read - Reading from Registry : RootKey=HKEY_LOCAL_MACHINE, SubKey=System\CurrentControlSet\Control\Windows, ValueName=ErrorMode,RegistryVersion=32
522:49:23:631 | RL | DEBUG | +0 | Registry.Read - Registry Read finished, returning 0
622:49:23:632 | RL | INFO | +15 | Main - System Specs:
7 RocketLauncher Dir: S:\Hyperspin\RocketLauncher
8 RocketLauncher is: 32-bit
9 OS: Microsoft Windows 10 Pro
10 SKU: Professional
11 Total Memory: 63333.40 MB
12 Free Memory: 60472.49 MB
13 Used Memory: 2860.910 MB
14 SystemType: 64-bit
15 Physical Processors: 1
16 Logical Processors: 8
17 GPU 1 Name: Intel(R) HD Graphics 530
18 GPU 1 RAM: 1024.00 MB
19 GPU 1 Driver Version: 21.20.16.4534
20 GPU 2 Name: NVIDIA GeForce GTX 980 Ti
21 GPU 2 RAM: -1.00 MB
22 GPU 2 Driver Version: 21.21.13.7633
23 Sound 1 Device: Realtek High Definition Audio
24 Sound 1 Status: Enabled
25 Sound 2 Device: NVIDIA High Definition Audio
26 Sound 2 Status: Enabled
27 Sound 3 Device: Intel(R) Display Audio
28 Sound 3 Status: Enabled
29 Sound 4 Device: NVIDIA Virtual Audio Device (Wave Extensible) (WDM)
30 Sound 4 Status: Enabled
31 OS Language: English_United_States
32 System Locale: en-US
33 Formats Locale: en-US
34 Windows UI Language: en-US
35 Text Encoding: Windows-1252
36 OS Admin Status: No
37 RL Compatibility Flags:
38 Latest .Net Version: v4.0.30319
39 Monitor #1 (\\.\DISPLAY1): 3840x2160 (3840x2120 work) [32bit] [60hz] [Landscape] (Primary)
40 Monitor #2 (\\.\DISPLAY2): 800x600 (800x600 work) [32bit] [60hz] [Landscape]
41 Current AHK Desktop Width: 3840
42 Current AHK Desktop Height: 2160
43 Monitor #1 DPI: 100
44 Monitor #2 DPI: 100
45 ErrorMode: 0
46 AutoHotkey Path:
47 AHK Version: 1.1.13.00
48 Unicode: No
4922:49:23:635 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\RocketLauncher.exe exists
5022:49:23:636 | RL | INFO | +0 | Main - Raw CLI received: "-s Sega Genesis -r Sonic & Knuckles + Sonic the Hedgehog 3 (World) -f S:\Hyperspin\HyperSpin.exe -p HyperSpin -c 1 -o 1"
5122:49:23:637 | RL | TRACE | +0 | File.__New - Creating new file object of: "S:\Hyperspin\RocketLauncher\Module Extensions\RocketLauncher.dll"
5222:49:23:638 | RL | INFO | +0 | File.CheckFile - Checking if "S:\Hyperspin\RocketLauncher\Module Extensions\RocketLauncher.dll" exists
5322:49:23:639 | RL | TRACE | +0 | File.Exist - This file exists: S:\Hyperspin\RocketLauncher\Module Extensions\RocketLauncher.dll
5422:49:23:644 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: S:\Hyperspin\RocketLauncher\Module Extensions\Array.ahk
5522:49:23:646 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Module Extensions\BinHexRW.ahk
5622:49:23:646 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\Module Extensions\BlockInput.exe exists
5722:49:23:648 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Extension: S:\Hyperspin\RocketLauncher\Module Extensions\CLR_L.ahk | vInterop
5822:49:23:649 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: S:\Hyperspin\RocketLauncher\Module Extensions\Control_AniGif.ahk | vAniGif.ahk
5922:49:23:652 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: S:\Hyperspin\RocketLauncher\Module Extensions\gdip.ahk
6022:49:23:654 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Module Extensions\gdip_alt.ahk
6122:49:23:654 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\Module Extensions\gsdll32.dll exists
6222:49:23:656 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\Module Extensions\itextsharp.dll exists
6322:49:23:658 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Module Extensions\Java.ahk
6422:49:23:659 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: S:\Hyperspin\RocketLauncher\Module Extensions\JSON.ahk
6522:49:23:661 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Module Extensions\Origin.ahk
6622:49:23:662 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: S:\Hyperspin\RocketLauncher\Module Extensions\RegRW64.ahk
6722:49:23:666 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Extension: S:\Hyperspin\RocketLauncher\Module Extensions\RIni.ahk | v1.7
6822:49:23:666 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\Module Extensions\SevenZipSharp.dll exists
6922:49:23:668 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Module Extensions\Steam.ahk
7022:49:23:669 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: S:\Hyperspin\RocketLauncher\Module Extensions\VA.ahk
7122:49:23:670 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Module Extensions\VA_Extension.ahk
7222:49:23:672 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\7z.ahk
7322:49:23:679 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Bezel.ahk
7422:49:23:680 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Fade.ahk
7522:49:23:681 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Fade Init.ahk
7622:49:23:685 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Fade Animations.ahk
7722:49:23:686 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Keymapper.ahk
7822:49:23:687 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Keymapper Init.ahk
7922:49:23:690 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\MultiGame.ahk
8022:49:23:691 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\MultiGame Init.ahk
8122:49:23:693 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\MultiPlayer.ahk
8222:49:23:703 | RL | ERROR | +16 | CRC Check - No CRC defined on the header for: S:\Hyperspin\RocketLauncher\Lib\Pause.ahk
8322:49:23:703 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Pause Init.ahk
8422:49:23:704 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Password.ahk
8522:49:23:706 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\DLL\RocketLauncher.ahk
8622:49:23:708 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Log\Logger.ahk
8722:49:23:709 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\MiscUtils.ahk
8822:49:23:710 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\Environment\Registry.ahk
8922:49:23:712 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\Environment\StringUtils.ahk
9022:49:23:713 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\Environment\TimerUtils.ahk
9122:49:23:714 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\File\File.ahk
9222:49:23:715 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\File\Folder.ahk
9322:49:23:717 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\File\IniFile.ahk
9422:49:23:718 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\File\RIniFile.ahk
9522:49:23:719 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\File\Process.ahk
9622:49:23:720 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\File\Emulator.ahk
9722:49:23:722 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\File\DemulShooter.ahk
9822:49:23:723 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\Input\KeyUtils.ahk
9922:49:23:724 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\UI\Control.ahk
10022:49:23:726 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\UI\Window.ahk
10122:49:23:727 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\UI\WindowTitle.ahk
10222:49:23:731 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Rom Mapping Launch Menu.ahk
10322:49:23:733 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Shader.ahk
10422:49:23:733 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Shader Init.ahk
10522:49:23:737 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Shared.ahk
10622:49:23:739 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Statistics.ahk
10722:49:23:740 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Statistics Init.ahk
10822:49:23:742 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Virtual Drive.ahk
10922:49:23:744 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\XHotkey.ahk
11022:49:23:745 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\XHotkey Init.ahk
11122:49:23:745 | RL | DEBUG | +0 | Main - Received this dbName with no path via CLI: "Sonic & Knuckles + Sonic the Hedgehog 3 (World)"
11222:49:23:746 | RL | DEBUG | +0 | Main - dbName: Sonic & Knuckles + Sonic the Hedgehog 3 (World)
11322:49:23:746 | RL | INFO | +0 | Main - Loading Front End Plugin: "HyperSpin"
11422:49:23:748 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Plugins\HyperSpin.plugin
11522:49:23:748 | RL | TRACE | +0 | Process.__New - Creating new process object for: "S:\Hyperspin\HyperSpin.exe"
11622:49:23:749 | RL | TRACE | +0 | File.__New - Creating new file object of: "S:\Hyperspin\HyperSpin.exe"
11722:49:23:750 | RL | INFO | +0 | Main - RocketLauncher received "Sega Genesis" and "Sonic & Knuckles + Sonic the Hedgehog 3 (World)"
11822:49:23:759 | RL | INFO | +15 | Main - Found a "Games Options.ini" file, loading it into memory.
11922:49:23:760 | RL | INFO | +0 | Main - Sonic & Knuckles + Sonic the Hedgehog 3 (World) is using the default emulator: Mednafen
12022:49:23:761 | RL | INFO | +0 | Main - Checking for a [Mednafen] section in S:\Hyperspin\RocketLauncher\Settings\Sega Genesis\Emulators.ini
12122:49:23:761 | RL | INFO | +0 | Main - Found [Mednafen] in S:\Hyperspin\RocketLauncher\Settings\Sega Genesis\Emulators.ini
12222:49:23:763 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\Modules\Mednafen\Mednafen.ahk exists
12322:49:23:765 | RL | INFO | +0 | Main - CRC Check - CRC matches, this is an official unedited module.
12422:49:23:765 | RL | INFO | +0 | Main - Sonic & Knuckles + Sonic the Hedgehog 3 (World) will use module: S:\Hyperspin\RocketLauncher\Modules\Mednafen\Mednafen.ahk
12522:49:23:775 | RL | WARNING | +16 | RIniLoadVar - Created missing Global ini key: "Fade_Click_Through " in section: "Fade" in "S:\Hyperspin\RocketLauncher\Settings\Global RocketLauncher.ini"
12622:49:23:775 | RL | WARNING | +0 | RIniLoadVar - Created missing System ini key: "Fade_Click_Through " in section: "Fade" in "S:\Hyperspin\RocketLauncher\Settings\Sega Genesis\RocketLauncher.ini"
12722:49:23:808 | RL | INFO | +31 | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
12822:49:23:811 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\Emulators\Sega Genesis\mednafen.exe exists
12922:49:23:812 | RL | INFO | +0 | Main - INI Keys read
13022:49:23:814 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\Module Extensions\7z.exe exists
13122:49:23:814 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\Module Extensions\7z.dll exists
13222:49:23:819 | RL | INFO | +16 | Main - "Sonic & Knuckles + Sonic the Hedgehog 3 (World)" does not qualify for MultiGame. Only roms with any of these strings in their name are acceptable: \(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side
13322:49:23:820 | RL | INFO | +0 | CheckPaths - Started
13422:49:23:821 | RL | INFO | +0 | CheckPaths - Looking for rom: S:\Hyperspin\Emulators\Sega Genesis\ROMS\Sonic & Knuckles + Sonic the Hedgehog 3 (World).7z
13522:49:23:822 | RL | INFO | +0 | CheckPaths - Found rom: S:\Hyperspin\Emulators\Sega Genesis\ROMS\Sonic & Knuckles + Sonic the Hedgehog 3 (World).7z
13622:49:23:823 | RL | DEBUG | +0 | CheckPaths - Current romName: Sonic & Knuckles + Sonic the Hedgehog 3 (World)
13722:49:23:824 | RL | DEBUG | +0 | CheckPaths - Current romPath: S:\Hyperspin\Emulators\Sega Genesis\ROMS
13822:49:23:824 | RL | DEBUG | +0 | CheckPaths - Current romExtension: .7z
13922:49:23:824 | RL | INFO | +0 | CheckPaths - Ended
14022:49:23:826 | RL | INFO | +0 | BuildScript - User Variables:
141 ;----------------------------------------------------------------------------
142 ; INJECTED VARIABLES
143 ;----------------------------------------------------------------------------
144
145 #NoTrayIcon
146 #InstallKeybdHook
147 MiscUtils.DetectHiddenWindows("On")
148 SetTitleMatchMode, 2
149 SendMode, Event
150 Global RLLog
151 Global RLObject
152 0 := "12"
153 rlPath := "S:\Hyperspin\RocketLauncher"
154 pluginPath := "S:\Hyperspin\RocketLauncher\Plugins"
155 pluginName := "HyperSpin"
156 pluginExt := ".plugin"
157 contextOnExit := "1"
158 rlMode := ""
159 rlTitle := "RocketLauncher"
160 rlVersion := "1.2.0.0"
161 rlAuthor := "djvj"
162 rlURL := "www.rlauncher.com"
163 langFile := "S:\Hyperspin\RocketLauncher\Data\Language\Localization.ini"
164 primMonitor := "1"
165 frontendPID := ""
166 frontendPath := "S:\Hyperspin"
167 frontendExe := "HyperSpin.exe"
168 frontendExt := "exe"
169 frontendName := "HyperSpin"
170 frontendDrive := "S"
171 exitEmulatorKey := "~Esc"
172 restoreFE := "false"
173 exitScriptKey := "~PGUP & ~PGDN"
174 toggleCursorKey := "~e & ~t"
175 emuFullPath := "S:\Hyperspin\Emulators\Sega Genesis\mednafen.exe"
176 emuPath := "S:\Hyperspin\Emulators\Sega Genesis"
177 emuName := "Mednafen"
178 emuExt := "exe"
179 baseRomPath := ""
180 romPath := "S:\Hyperspin\Emulators\Sega Genesis\ROMS"
181 romPathFromIni := "S:\Hyperspin\Emulators\Sega Genesis\ROMS"
182 romExtension := ".7z"
183 romExtensionOrig := ".7z"
184 romExtensions := "7z|smd"
185 executable := "mednafen.exe"
186 systemDbName := "Sega Genesis"
187 systemName := "Sega Genesis"
188 dbPath := ""
189 dbName := "Sonic & Knuckles + Sonic the Hedgehog 3 (World)"
190 dbExt := ""
191 romName := "Sonic & Knuckles + Sonic the Hedgehog 3 (World)"
192 romMapPath := ""
193 romMappingEnabled := "false"
194 romMappingLaunchMenuEnabled := "false"
195 romMappingFirstMatchingExt := "false"
196 romMappingShowAllRomsInArchive := "true"
197 romMappingNumberOfGamesByScreen := "7"
198 romMappingHideParent := "false"
199 romMappingMenuWidth := "400"
200 romMappingMenuMargin := "65"
201 romMappingTextFont := "Bebas Neue"
202 romMappingTextOptions := "cFFFFFFFF r4 s60 Bold"
203 romMappingDisabledTextColor := "ff888888"
204 romMappingTextSizeDifference := "7"
205 romMappingTextMargin := "15"
206 romMappingTitleTextFont := "Bebas Neue"
207 romMappingTitleTextOptions := "cFFFFFFFF r4 s90 Bold"
208 romMappingTitle2TextFont := "Bebas Neue"
209 romMappingTitle2TextOptions := "cFFFFFFFF r4 s22 Bold"
210 romMappingGameInfoTextFont := "Bebas Neue"
211 romMappingGameInfoTextOptions := "cFFFFFFFF r4 s22 Regular"
212 romMappingGameNameTextFont := "Bebas Neue"
213 romMappingGameNameTextOptions := "cFFFFFFFF r4 s40 Regular"
214 romMappingBackgroundBrush := "aa000000"
215 romMappingColumnBrush := "33000000"
216 romMappingButtonBrush1 := "6f000000"
217 romMappingButtonBrush2 := "33000000"
218 romMappingBackgroundAlign := "Stretch and Lose Aspect"
219 romMappingMenuFlagWidth := "55"
220 romMappingMenuFlagSeparation := "7"
221 romMappingDefaultMenuList := "FullList"
222 romMappingSingleFilteredRomAutomaticLaunch := "false"
223 altArchiveNameOnly := ""
224 altRomNameOnly := ""
225 altArchiveAndRomName := ""
226 altArchiveAndManyRomNames := ""
227 altRomNamesOnly := ""
228 romMapScenario := ""
229 skipchecks := "false"
230 romMatchExt := "false"
231 blockInputTime := "0"
232 blockInputFile := "S:\Hyperspin\RocketLauncher\Module Extensions\BlockInput.exe"
233 errorLevelReporting := "false"
234 lockLaunch := "false"
235 lockLaunchGame := ""
236 screenRotationAngle := "0"
237 screenRotationAngleGame := ""
238 setResolution := ""
239 logFile := ""
240 logLabel := [" INFO"," WARNING"," ERROR"," DEBUG"," TRACE"]
241 logLevel := "10"
242 logShowDebugConsole := "true"
243 logShowCommandWindow := "false"
244 logCommandWindow := "false"
245 logIncludeModule := "true"
246 logIncludeFileProperties := "false"
247 logIncludeDLLLogs := "false"
248 errorSounds := "true"
249 rlDebugConsoleStdout := "684"
250 sysLang := "English_United_States"
251 sysType := "64-bit"
252 broadcastWindowTitle := ""
253 navUpKey := "Up"
254 navDownKey := "Down"
255 navLeftKey := "Left"
256 navRightKey := "Right"
257 navSelectKey := "Enter"
258 navP2UpKey := "Numpad8"
259 navP2DownKey := "Numpad2"
260 navP2LeftKey := "Numpad4"
261 navP2RightKey := "Numpad6"
262 navP2SelectKey := "NumpadEnter"
263 originalWidth := "3840"
264 originalHeight := "2160"
265 vdEnabled := "false"
266 vdFullPath := "S:\Hyperspin\Utilities\Daemon Tools Lite\DTAgent.exe"
267 vdUseSCSI := "false"
268 vdDriveLetter := "G"
269 vdDriveLetterScsi := ""
270 vdAddDrive := "true"
271 demulShooterPath := ""
272 servoStikEnabled := "false"
273 servoStikExitMode := "false"
274 ledblinkyEnabled := "false"
275 ledblinkySystemName := ""
276 ledblinkyFullPath := ""
277 ledblinkyProfilePath := "S:\Hyperspin\RocketLauncher\Profiles\LEDBlinky"
278 ledblinkyRLProfile := "S:\Hyperspin\RocketLauncher\Profiles\LEDBlinky\RocketLauncher"
279 winIPACFullPath := ""
280 ultraMapEnabled := "false"
281 ultraMapFullPath := ""
282 emuIdleShutdown := "0"
283 launchPasswordHash := "zQJHGuIBD6bt2rEoPola0Rbrl81Ci3lgdm1mxbcm+QfXe+SDPHV0ig=="
284 cursorSize := ""
285 hideCursor := "false"
286 hideEmu := "false"
287 hideFE := "false"
288 suspendFE := "false"
289 fadeIn := "true"
290 fadeInDuration := "1000"
291 fadeInTransitionAnimation := "DefaultAnimateFadeIn"
292 fadeInDelay := "5000"
293 fadeInExitDelay := "0000"
294 fadeOutExitDelay := "0"
295 fadeOut := "false"
296 fadeOutExtraScreen := "false"
297 fadeOutDuration := "500"
298 fadeOutTransitionAnimation := "DefaultAnimateFadeOut"
299 fadeOutDelay := "0"
300 fadeLyrInterpolation := "2"
301 fadeMuteEmulator := "false"
302 fadeUseBackgrounds := "false"
303 fadeClickThrough := "false"
304 fadeSounds := "true"
305 fade7zProgressMode := "extraction"
306 fadeWidthBaseRes := "1920"
307 fadeHeightBaseRes := "1080"
308 fadeLyr1Color := "FF000000"
309 fadeLyr1AlignImage := "Center"
310 fadeLyr2Pos := "Center"
311 fadeLyr2X := "0"
312 fadeLyr2Y := "0"
313 fadeLyr2W := ""
314 fadeLyr2H := ""
315 fadeLyr2Adjust := "1"
316 fadeLyr2PicPad := "0"
317 fadeLyr2Prefix := "Extra Layer 1 - Console"
318 fadeLyr3Pos := "No Alignment"
319 fadeLyr3X := "510"
320 fadeLyr3Y := "775"
321 fadeLyr3W := ""
322 fadeLyr3H := ""
323 fadeLyr3Adjust := "1"
324 fadeLyr3PicPad := "0"
325 fadeLyr3Speed := "750"
326 fadeLyr3Animation := "DefaultFadeAnimation"
327 fadeLyr37zAnimation := "DefaultFadeAnimation"
328 fadeLyr3Type := "image"
329 fadeLyr3ImgFollow7zProgress := "true"
330 fadeLyr3Repeat := "1"
331 fadeLyr3BackImageTransparency := "30"
332 fadeLyr3StaticPos := "No Alignment"
333 fadeLyr3StaticX := "0"
334 fadeLyr3StaticY := "870|1575"
335 fadeLyr3StaticW := ""
336 fadeLyr3StaticH := ""
337 fadeLyr3StaticAdjust := "1"
338 fadeLyr3StaticPicPad := "0"
339 fadeLyr3StaticPrefix := "Info Bar"
340 fadeLyr4Adjust := "1"
341 fadeLyr4X := "1792|952"
342 fadeLyr4Y := "891|1596"
343 fadeLyr4W := "128"
344 fadeLyr4H := ""
345 fadeLyr4Pos := "No Alignment"
346 fadeLyr4FPS := "50"
347 fadeLyr4PicPad := "0"
348 fadeTranspGifColor := "FFFFFF"
349 fadeBarWindow := "Image"
350 fadeBarWindowX := ""
351 fadeBarWindowY := ""
352 fadeBarWindowW := "900"
353 fadeBarWindowH := ""
354 fadeBarWindowR := "30"
355 fadeBarWindowM := "30"
356 fadeBarWindowHatchStyle := "8"
357 fadeBar := "true"
358 fadeProgressDuration := "0"
359 fadeBarBack := "true"
360 fadeBarBackColor := "FF555555"
361 fadeBarH := "30"
362 fadeBarR := "10"
363 fadeBarColor := "DD00BFFF"
364 fadeBarHatchStyle := "8"
365 fadeBarPercentageText := "false"
366 fadeBarInfoText := "false"
367 fadeBarXOffset := "0"
368 fadeBarYOffset := "150"
369 fadeRomInfoDescription := "filtered text"
370 fadeRomInfoSystemName := "disabled"
371 fadeRomInfoYear := "filtered text with label"
372 fadeRomInfoDeveloper := "text with label"
373 fadeRomInfoPublisher := "text with label"
374 fadeRomInfoGenre := "image"
375 fadeRomInfoRating := "image"
376 fadeRomInfoOrder := "Description|SystemName|Year|Manufacturer|Genre|Rating"
377 fadeRomInfoTextPlacement := "User Defined"
378 fadeRomInfoTextMargin := "7"
379 fadeRomInfoText1Options := "w1600|787 h90 x160 y870|1575 cFFE1E1E1 r4 s90 Left Regular"
380 fadeRomInfoText2Options := "w400 x8 y15 cFF555555 r4 s60 Bold"
381 fadeRomInfoText3Options := "w310 x165 y960|1665 cFFE1E1E1 r4 s66 Left Regular"
382 fadeRomInfoText4Options := "w1305|492 h66 x460 y960|1665 cFFE1E1E1 r4 s66 Left Regular"
383 fadeRomInfoText5Options := "cFF555555 r4 s42 Bold"
384 fadeRomInfoText6Options := "h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular"
385 fadeRomInfoText7Options := "h135 x15 y885|1590 cFFCFCFCA r4 s120 Regular"
386 fadeStats_Number_of_Times_Played := "text with label"
387 fadeStats_Last_Time_Played := "text with label"
388 fadeStats_Average_Time_Played := "disabled"
389 fadeStats_Total_Time_Played := "text with label"
390 fadeStats_System_Total_Played_Time := "text with label"
391 fadeStats_Total_Global_Played_Time := "disabled"
392 fadeStatsInfoOrder := "Number_of_Times_Played|Last_Time_Played|Total_Time_Played|System_Total_Played_Time|Average_Time_Played|Total_Global_Played_Time"
393 fadeStatsInfoTextPlacement := "bottomRight"
394 fadeStatsInfoTextMargin := "7"
395 fadeStatsInfoText1Options := "cFFB4B4B4 r4 s22 Bold"
396 fadeStatsInfoText2Options := "cFFB4B4B4 r4 s22 Bold"
397 fadeStatsInfoText3Options := "cFFB4B4B4 r4 s22 Bold"
398 fadeStatsInfoText4Options := "cFFB4B4B4 r4 s22 Bold"
399 fadeStatsInfoText5Options := "cFFB4B4B4 r4 s22 Bold"
400 fadeStatsInfoText6Options := "cFFB4B4B4 r4 s22 Bold"
401 fadeText1X := "0"
402 fadeText1Y := "0"
403 fadeText1Options := "cFFB4B4B4 r4 s30 Right Bold"
404 fadeText1 := "Loading Game"
405 fadeText2X := "0"
406 fadeText2Y := "0"
407 fadeText2Options := "cFFB4B4B4 r4 s30 Right Bold"
408 fadeText2 := "Extraction Complete, Ready"
409 fadeText3 := "Loading Game"
410 fadeText4 := "Loading Complete"
411 fadeFont := "Bebas Neue"
412 fadeSystemAndRomLayersOnly := "false"
413 fadeExtractionTime := "disabled"
414 fadeExtractionTimeTextX := "0"
415 fadeExtractionTimeTextY := "0"
416 fadeExtractionTimeTextOptions := "cFF555555 r4 s20 Bold"
417 fadeInterruptKey := ""
418 detectFadeErrorEnabled := "true"
419 fadeImgPath := "S:\Hyperspin\RocketLauncher\Media\Fade"
420 RLDataPath := "S:\Hyperspin\RocketLauncher\Data"
421 RLMediaPath := "S:\Hyperspin\RocketLauncher\Media"
422 RLErrSoundPath := "S:\Hyperspin\RocketLauncher\Media\Sounds\Error"
423 modulesPath := "S:\Hyperspin\RocketLauncher\Modules"
424 moduleFullName := "S:\Hyperspin\RocketLauncher\Modules\Mednafen\Mednafen.ahk"
425 moduleName := "Mednafen"
426 modulePath := "S:\Hyperspin\RocketLauncher\Modules\Mednafen"
427 moduleExtension := "ahk"
428 moduleExtensionsPath := "S:\Hyperspin\RocketLauncher\Module Extensions"
429 libPath := "S:\Hyperspin\RocketLauncher\Lib"
430 sevenZEnabled := "true"
431 sevenZPath := "S:\Hyperspin\RocketLauncher\Module Extensions\7z.exe"
432 sevenZDllPath := "S:\Hyperspin\RocketLauncher\Module Extensions\7z.dll"
433 sevenZExtractPath := "C:\Users\HTPC\AppData\Local\Temp"
434 sevenZExtractPathOrig := ""
435 sevenZAttachSystemName := "false"
436 sevenZDelTemp := "true"
437 sevenZFormats := ".zip|.rar|.7z|.lzh|.gzip|.tar"
438 sevenZFormatsNoP := "zip|rar|7z|lzh|gzip|tar"
439 sevenZFormatsRegEx := "\.zip|\.rar|\.7z|\.lzh|\.gzip|\.tar"
440 sevenZGamesToKeep := ""
441 sevenZDeletePerSystem := "false"
442 7zExtractPath := "C:\Users\HTPC\AppData\Local\Temp"
443 mgEnabled := "false"
444 mgKey := "~NumpadSub"
445 mgBackgroundColor := "FF000000"
446 mgSidePadding := "0.2"
447 mgWidthBaseRes := "1920"
448 mgHeightBaseRes := "1080"
449 mgYOffset := "500|800"
450 mgFont := "Arial"
451 mgText1Options := "x10p y250|500 w80p Center cBBFFFFFF r4 s100 BoldItalic"
452 mgText1Text := "Please select a game"
453 mgText2Options := "w96p cFFFFFFFF r4 s50 Center BoldItalic"
454 mgText2Offset := "100"
455 mgUseSound := "true"
456 mgSoundfreq := "300"
457 mgExitEffect := "none"
458 mgSelectedEffect := "rotate"
459 mgUseGameArt := "false"
460 mgCandidate := ""
461 mgValidTypes := "\(Disc|\(Disk|\(Cart|\(Tape|\(Cassette|\(Part|\(Side"
462 mgOnLaunch := "false"
463 pauseEnabled := "true"
464 pauseKey := "H3:1joy8|H3:vk20sc039&Space"
465 pauseBackToMenuBarKey := "X"
466 pauseZoomInKey := "C"
467 pauseZoomOutKey := "V"
468 pauseScreenshotKey := "~PrintScreen"
469 pauseHiToTextPath := "S:\Hyperspin\RocketLauncher\Module Extensions\HiToText.exe"
470 pauseSaveStateKeyCodes := "{1 down}{1 up}{F5 down}{F5 up}|{2 down}{2 up}{F5 down}{F5 up}|{3 down}{3 up}{F5 down}{F5 up}"
471 pauseLoadStateKeyCodes := "{1 down}{1 up}{F7 down}{F7 up}|{2 down}{2 up}{F7 down}{F7 up}|{3 down}{3 up}{F7 down}{F7 up}"
472 keyboardEncoder := ""
473 keyboardEncoderEnabled := "false"
474 keymapperEnabled := "true"
475 keymapperAHKMethod := "false"
476 keymapper := "xpadder"
477 xpadderFullPath := "S:\Hyperspin\Utilities\Xpadder\Xpadder.exe"
478 joyToKeyFullPath := "S:\Hyperspin\Utilities\JoyToKey\JoyToKey.exe"
479 profilePath := "S:\Hyperspin\RocketLauncher\Profiles"
480 keymapperProfilePath := "S:\Hyperspin\RocketLauncher\Profiles\xpadder"
481 keymapperFrontEndProfileName := "HyperSpin"
482 keymapperFrontEndProfile := "xpadder"
483 keymapperRocketLauncherProfileEnabled := "false"
484 joyIDsEnabled := "false"
485 joyIDsPreferredControllersGlobal := "Controller (Xbox One For Windows)"
486 joyIDsPreferredControllersSystem := "use_global"
487 joyIDsPreferredControllersOnExit := ""
488 CustomJoyNamesEnabled := "false"
489 CustomJoyNames := ""
490 rotateMethod := "false"
491 FEProfile := "S:\Hyperspin\RocketLauncher\Profiles\xpadder\HyperSpin"
492 defaultProfile := "S:\Hyperspin\RocketLauncher\Profiles\xpadder\_Default"
493 systemProfile := "S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis"
494 xPadderSystemProfile := "S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\_Default"
495 emuProfile := "S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\Mednafen"
496 romProfile := "S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\Sonic & Knuckles + Sonic the Hedgehog 3 (World)"
497 RocketLauncherProfile := "S:\Hyperspin\RocketLauncher\Profiles\xpadder\RocketLauncher"
498 blankProfile := "S:\Hyperspin\RocketLauncher\Profiles\xpadder\_Default\blank"
499 ahkFEProfile := "S:\Hyperspin\RocketLauncher\Profiles\AHK\HyperSpin"
500 ahkDefaultProfile := "S:\Hyperspin\RocketLauncher\Profiles\AHK\_Default"
501 ahkSystemProfile := "S:\Hyperspin\RocketLauncher\Profiles\AHK\Sega Genesis"
502 ahkEmuProfile := "S:\Hyperspin\RocketLauncher\Profiles\AHK\Sega Genesis\Mednafen"
503 ahkRomProfile := "S:\Hyperspin\RocketLauncher\Profiles\AHK\Sega Genesis\Sonic & Knuckles + Sonic the Hedgehog 3 (World)"
504 ahkRocketLauncherProfile := "S:\Hyperspin\RocketLauncher\Profiles\AHK\RocketLauncher"
505 bezelEnabled := "false"
506 bezelICEnabled := "false"
507 shaderName := "false"
508 shaderColor := ""
509 shaderTransparency := ""
510 statisticsEnabled := "true"
511 pressDuration := "-1"
512 emuVolume := "1"
513 dxwndIni := "S:\Hyperspin\RocketLauncher\Module Extensions\dxwnd\dxwnd.ini"
514 dxwndFullPath := "S:\Hyperspin\RocketLauncher\Module Extensions\dxwnd\dxwnd.exe"
515 qResFullPath := "S:\Hyperspin\RocketLauncher\Module Extensions\QRes.exe"
516 mon1O := ""
517 pacDrivedllFile := "S:\Hyperspin\RocketLauncher\Module Extensions\PacDrive32.dll"
518 userFadeAnimIniFile := "S:\Hyperspin\RocketLauncher\Lib\User Fade Animations.ini"
519 testFile := ""
520 testDuration := ""
521 initialErrorMode := "0"
522
52322:49:23:831 | RL | INFO | +0 | BuildScript - Loaded XHotkey Init.ahk scripts
52422:49:23:832 | RL | INFO | +0 | BuildScript - Loaded Keymapper Init.ahk scripts
52522:49:23:832 | RL | INFO | +0 | BuildScript - Loaded Fade Init.ahk scripts
52622:49:23:833 | RL | INFO | +0 | BuildScript - Loaded Pause Init.ahk scripts
52722:49:23:833 | RL | INFO | +0 | BuildScript - Loaded Statistics Init.ahk scripts
52822:49:23:834 | RL | DEBUG | +0 | BuildScript - Module starts on line: 2
52922:49:23:834 | RL | INFO | +0 | BuildScript - Validating module
53022:49:23:837 | RL | INFO | +15 | BuildScript - Validation complete
53122:49:23:838 | RL | INFO | +0 | BuildScript - Module:
532 MEmu := "Mednafen"
533 MEmuV := "v0.9.39.2"
534 MURL := ["http://mednafen.sourceforge.net/"]
535 MAuthor := ["djvj"]
536 MVersion := "2.1.6"
537 MCRC := "8CEC2BBA"
538 iCRC := "70EB0F47"
539 MID := "635038268903923913"
540 MSystem := ["Atari Lynx","Bandai Wonderswan","Bandai Wonderswan Color","NEC PC Engine","NEC PC Engine-CD","NEC PC-FX","NEC SuperGrafx","NEC TurboGrafx-16","NEC TurboGrafx-CD","Nintendo BS-X Satellaview","Nintendo Entertainment System","Nintendo Famicom","Nintendo Famicom Disk System","Nintendo Game Boy","Nintendo Game Boy Advance","Nintendo Game Boy Color","Nintendo Sufami Turbo","Nintendo Super Famicom","Nintendo Virtual Boy","Sega Game Gear","Sega Genesis","Sega Master System","Sega Mega Drive","Sega Saturn","ss","SNK Neo Geo Pocket","SNK Neo Geo Pocket Color","Sony PlayStation","Super Nintendo Entertainment System"]
541 ;----------------------------------------------------------------------------
542 ; Notes:
543 ; Below are some basic params you can change, there are many other params
544 ; located in the mednafen documentation that you can add If needed.
545 ;
546 ; Some people experience screen flickering and mednafen will not stay in
547 ; fullscreen, you can changed vDriver below to -vdriver sdl and it will
548 ; possibly fix the issue.
549 ;
550 ; There is no error checking If mednafen fails, so If you try to launch
551 ; your game and nothing happens, then check the stdout.txt in your mednafen
552 ; installation directory to see what went wrong.
553 ;
554 ; To remap your keys, start a game then press alt + shift + 1 to enter
555 ; the key configuration for player 1. Similarly press alt + shift + 2 for player 2.
556 ; To reconfigure hotkeys such as the exit key press F2 and then the hotkey whose mapping you wish to change.
557 ; You can also edit the mednafen.cfg to change these keys directly there.
558 ;
559 ; Windows Aero:
560 ; Since v0.9.33, the emu disables aero when launching mednafen in an effort to improve performance. This can also cause flashing among other issues namely bezel support not working.
561 ; http://forum.fobby.net/index.php?t=msg&goto=3411&
562 ; You can disable Desktop Composition by editing mednafen.cfg and adding this line to it:
563 ; video.disable_composition 0
564
565 ; Atari Lynx:
566 ; Create a folder called "firmware" in your mednafen folder and place lynxboot.img in there
567 ; If games are not rotating and the CLI command is being sent to the emu, your roms have bad headers
568 ;
569 ; Nintendo Virtual Boy:
570 ; For Virtual Boy you might not be able to get in game and get stuck
571 ; on the intro screen, so open your cfg file and change these settings
572 ; to allow you to play. There are some extra options here to.
573 ; vb.anaglyph.lcolor 0xFF0000
574 ; vb.anaglyph.preset disabled
575 ; vb.anaglyph.rcolor 0x000000
576 ; vb.default_color 0xFFFFFF
577 ; vb.disable_parallax 0
578 ; vb.input.builtin.gamepad.a keyboard 109
579 ; vb.input.builtin.gamepad.b keyboard 110
580 ; vb.input.builtin.gamepad.down-l keyboard 100
581 ; vb.input.builtin.gamepad.down-r keyboard 107
582 ; vb.input.builtin.gamepad.left-l keyboard 115
583 ; vb.input.builtin.gamepad.left-r keyboard 106
584 ; vb.input.builtin.gamepad.lt keyboard 103
585 ; vb.input.builtin.gamepad.rapid_a keyboard 46
586 ; vb.input.builtin.gamepad.rapid_b keyboard 44
587 ; vb.input.builtin.gamepad.right-l keyboard 102
588 ; vb.input.builtin.gamepad.right-r keyboard 108
589 ; vb.input.builtin.gamepad.rt keyboard 104
590 ; vb.input.builtin.gamepad.select keyboard 118
591 ; vb.input.builtin.gamepad.start keyboard 13
592 ; vb.input.builtin.gamepad.up-l keyboard 101
593 ; vb.input.builtin.gamepad.up-r keyboard 105
594
595 ; Sony PlayStation Info:
596 ; Create a folder called "firmware" in your mednafen folder and place all your bios files (ex. scph5501.bin) in there. Set the options in RLUI so mednafen can find them if needed
597 ; This module only supports Virtual Drive when mounting with a cue extension for psx.
598 ; Set your rom extension to cue
599 ; Multi-Disc games REQUIRES Virtual Drive, do not attempt to swap discs any other way as it is not supported by this module.
600 ;
601 ; Sega Saturn Info:
602 ; Create a folder called "firmware" in your mednafen folder and place all your bios files (ex. scph5501.bin) in there. Set the options in RLUI so mednafen can find them if needed
603 ;----------------------------------------------------------------------------
604 StartModule()
605 BezelGUI()
606 FadeInStart()
607
608 primaryExe := new Emulator(emuPath . "\" . executable) ; instantiate emulator executable object
609 emuPrimaryWindow := new Window(new WindowTitle(,"SDL_app")) ; instantiate primary emulator window object
610
611 ; The next 2 objects control how the module reacts to different systems. Mednafen can play a lot of systems, but changes itself slightly so this module has to adapt
612 mType1 := Object("Atari Lynx","lynx","Bandai Wonderswan","wswan","Bandai Wonderswan Color","wswan","NEC PC Engine","pce","NEC PC-FX","pcfx","NEC SuperGrafx","pce","NEC TurboGrafx-16","pce","Nintendo BS-X Satellaview","bsx","Nintendo Entertainment System","nes","Nintendo Famicom","nes","Nintendo Famicom Disk System","nes","Nintendo Game Boy","gb","Nintendo Game Boy Advance","gba","Nintendo Game Boy Color","gb","Nintendo Sufami Turbo","nst","Nintendo Super Famicom","snes","Nintendo Virtual Boy","vb","Samsung Gam Boy","sms","Sega Game Gear","gg","Sega Genesis","md","Sega Mega Drive","md","Sega Master System","sms","SNK Neo Geo Pocket","ngp","SNK Neo Geo Pocket Color","ngp","Super Nintendo Entertainment System","snes")
613 mType2 := Object("NEC PC Engine-CD","pce","NEC TurboGrafx-CD","pce","Sega Saturn","ss","Sony PlayStation","psx") ; these systems change Mednafen's window name, so it needs to be separate from the rest
614
615 ident1 := mType1[systemName] ; search 1st array for the systemName identifier mednafen uses
616 ident2 := mType2[systemName] ; search 2nd array for the systemName identifier mednafen uses
617 ident := If (!ident1 && !ident2) ? ("") : (ident1 . ident2)
618 If !ident
619 ScriptError("Your systemName is: " . systemName . "`nIt is not one of the known supported systems for this Mednafen module: " . moduleName)
620
621 ; Settings used for all systems
622 Fullscreen := moduleIni.Read("Settings", "Fullscreen","true",,1)
623 Stretch := moduleIni.Read("Settings", "Stretch","aspect",,1) ; 0, aspect, or full
624 vDriver := moduleIni.Read("Settings", "vDriver","opengl",,1) ; opengl or sdl
625 xRes := moduleIni.Read("Settings", "xRes",0,,1)
626 yRes := moduleIni.Read("Settings", "yRes",0,,1)
627 Params := moduleIni.Read(romName . "|Settings", "Params",,,1)
628
629 stretch := " -" . ident . ".stretch " . Stretch
630 vDriver := If vDriver ? (" -vdriver " . vDriver) : ""
631 xRes := If xRes ? (" -" . ident . ".xres " . xRes) : ""
632 yRes := If yRes ? (" -" . ident . ".yres " yRes) : ""
633 Params := If Params ? (" " . Params) : ""
634
635 ;Defining screen orientation
636 resolutionsIni := new IniFile(A_ScriptDir . "\Settings\" systemName . "\resolutions.ini")
637 gameRes := resolutionsIni.ReadCheck(dbname,"Resolution",,,1)
638 res := StringUtils.Split(gameRes,x) ; res[1]=Width, res[2]=Height
639
640 If (ident = "lynx" or ident = "wsan")
641 rotateScreen := If ((moduleIni.Read(romName, "RotateScreen",,,1) = "true") or (res[2]>res[1])) ? " -" . ident . ".rotateinput 1" : ""
642
643 If (ident = "lynx") { ; this needs to be before BezelStart so we can tell it if we need to rotate the screen or not
644 lynxbootImgFile := new File(emuPath . "\firmware\lynxboot.img")
645 lynxbootImgFile.CheckFile("Cannot find the Atari Lynx bios file required to use this system:`n" . lynxbootImgFile.FileFullPath)
646 }
647
648 BezelStart(,,(If rotateScreen ? 1:""))
649
650 emuFullscreen := If Fullscreen = "true" ? " -fs 1" : " -fs 0" ; This needs to stay after BezelStart
651
652 If (ident1 = "pce")
653 sgfxMode := If (systemName = "NEC SuperGrafx" && romExtension != sgx) ? " -pce.forcesgx 1" : ""
654
655 If (ident2 = "pce")
656 { PCE_CD_Bios := moduleIni.Read("Bios", "PCE_CD_Bios","syscard3.pce",,1) ; Bios, placed in the firmware subfolder of the emu, required for these systems: NEC PC Engine-CD & NEC TurboGrafx-CD
657 pceCDBiosFile := new File(emuPath . "\firmware\" . PCE_CD_Bios)
658 pceCDBiosFile.CheckFile("Cannot find the PCE_CD_Bios file you have defined in the module:`n" . pceCDBiosFile.FileFullPath)
659 pceCDBios := If PCE_CD_Bios ? (" -pce.cdbios ""firmware\" . PCE_CD_Bios . """") : ""
660 }
661 If (ident = "pcfx")
662 { PCFX_Bios := moduleIni.Read("Bios", "PCFX_Bios","pcfxbios.bin",,1) ; Bios, placed in the firmware subfolder of the emu, required for NEC PC-FX
663 pcfxBiosFile := new File(emuPath . "\firmware\" . PCFX_Bios)
664 pcfxBiosFile.CheckFile("Cannot find the PCFX_Bios file you have defined in the module:`n" . pcfxBiosFile.FileFullPath)
665 pcfxBios := If PCFX_Bios ? (" -pcfx.bios ""firmware\" . PCFX_Bios . """") : ""
666 }
667
668 If (ident = "psx") ; only need these for Sony PlayStation, must check If these files exist, otherwise mednafan doesn't launch and RocketLauncher gets stuck
669 { NA_Bios := moduleIni.Read("Bios", "NA_Bios","PSX - SCPH1001.bin",,1) ; Sony PlayStation only - this is the bios you want to use for North American games - place this in a "firmware" subfolder where Mednafen is
670 EU_Bios := moduleIni.Read("Bios", "EU_Bios","PSX - SCPH5502.bin",,1) ; Sony PlayStation only - this is the bios you want to use for European games - place this in a "firmware" subfolder where Mednafen is
671 JP_Bios := moduleIni.Read("Bios", "JP_Bios","PSX - SCPH5500.bin",,1) ; Sony PlayStation only - this is the bios you want to use for Japanese games - place this in a "firmware" subfolder where Mednafen is
672 naBiosFile := new File(emuPath . "\firmware\" . NA_Bios)
673 euBiosFile := new File(emuPath . "\firmware\" . EU_Bios)
674 jpBiosFile := new File(emuPath . "\firmware\" . JP_Bios)
675 naBiosFile.CheckFile("Cannot find the PSX NA_Bios file you have defined in the module:`n" . naBiosFile.FileFullPath)
676 euBiosFile.CheckFile("Cannot find the PSX EU_Bios file you have defined in the module:`n" . euBiosFile.FileFullPath)
677 jpBiosFile.CheckFile("Cannot find the PSX JP_Bios file you have defined in the module:`n" . jpBiosFile.FileFullPath)
678 naBios := If NA_Bios ? " -psx.bios_na ""firmware\" . NA_Bios . """" : ""
679 euBios := If EU_Bios ? " -psx.bios_eu ""firmware\" . EU_Bios . """" : ""
680 jpBios := If JP_Bios ? " -psx.bios_jp ""firmware\" . JP_Bios . """" : ""
681 }
682
683 If (ident = "ss") ; only need these for Sega Saturn, must check If these files exist, otherwise mednafan doesn't launch and RocketLauncher gets stuck
684 { NA_Bios := moduleIni.Read("Bios", "Saturn_NA_Bios","mpr-17933.bin",,1) ; Sega Saturn only - this is the bios you want to use for North American games - place this in a "firmware" subfolder where Mednafen is
685 EU_Bios := moduleIni.Read("Bios", "Saturn_EU_Bios","sega_101.bin",,1) ; Sega Saturn only - this is the bios you want to use for European games - place this in a "firmware" subfolder where Mednafen is
686 JP_Bios := moduleIni.Read("Bios", "Saturn_JP_Bios","sega_101.bin",,1) ; Sega Saturn only - this is the bios you want to use for Japanese games - place this in a "firmware" subfolder where Mednafen is
687 naBiosFile := new File(emuPath . "\firmware\" . NA_Bios)
688 ; euBiosFile := new File(emuPath . "\firmware\" . EU_Bios)
689 jpBiosFile := new File(emuPath . "\firmware\" . JP_Bios)
690 naBiosFile.CheckFile("Cannot find the Saturn NA_Bios file you have defined in the module:`n" . naBiosFile.FileFullPath)
691 ; euBiosFile.CheckFile("Cannot find the Saturn EU_Bios file you have defined in the module:`n" . euBiosFile.FileFullPath)
692 jpBiosFile.CheckFile("Cannot find the Saturn JP_Bios file you have defined in the module:`n" . jpBiosFile.FileFullPath)
693 naBios := If NA_Bios ? " -ss.bios_na_eu ""firmware\" . NA_Bios . """" : ""
694 ; euBios := If EU_Bios ? " -ss.bios_eu ""firmware\" . EU_Bios . """" : "" ; mednafen doesn't support PAL yet so this setting will use the NA bios CLI until it does
695 euBios := ""
696 jpBios := If JP_Bios ? " -ss.bios_jp ""firmware\" . JP_Bios . """" : ""
697 }
698
699 If bezelPath ; defining xscale and yscale relative to the bezel windowed mode
700 {
701 If res[1] {
702 baseWidth := res[1]
703 baseHeight := res[2]
704 } Else {
705 baseWidthArray := []
706 baseWidthArray["lynx", "width"] := 160 , baseWidthArray["lynx", "height"] := 102
707 baseWidthArray["wswan", "width"] := 224 , baseWidthArray["wswan", "height"] := 144
708 baseWidthArray["pce", "width"] := 288 , baseWidthArray["pce", "height"] := 231
709 baseWidthArray["pcfx", "width"] := 341 , baseWidthArray["pcfx", "height"] := 480
710 baseWidthArray["nes", "width"] := 298 , baseWidthArray["nes", "height"] := 240
711 baseWidthArray["gb", "width"] := 160 , baseWidthArray["gb", "height"] := 144
712 baseWidthArray["gba", "width"] := 240 , baseWidthArray["gba", "height"] := 160
713 baseWidthArray["snes", "width"] := 256 , baseWidthArray["snes", "height"] := 224
714 baseWidthArray["vb", "width"] := 384 , baseWidthArray["vb", "height"] := 224
715 baseWidthArray["gg", "width"] := 160 , baseWidthArray["gg", "height"] := 144
716 baseWidthArray["md", "width"] := 320 , baseWidthArray["md", "height"] := 480
717 baseWidthArray["sms", "width"] := 256 , baseWidthArray["sms", "height"] := 240
718 baseWidthArray["ngp", "width"] := 160 , baseWidthArray["ngp", "height"] := 152
719 baseWidthArray["psx", "width"] := 320 , baseWidthArray["psx", "height"] := 240
720 baseWidthArray["ss", "width"] := 301 , baseWidthArray["ss", "height"] := 240
721 baseWidth := (If rotateScreen ? baseWidthArray[ident,"height"]:baseWidthArray[ident,"width"])
722 baseHeight := (If rotateScreen ? baseWidthArray[ident,"width"]:baseWidthArray[ident,"height"])
723 }
724 bezelXres := moduleIni.Read(romName . "|Settings", "Bezel_X_Res",baseWidth,,1) ; Controls width of the emu's window, relative to the bezel's window
725 bezelYres := moduleIni.Read(romName . "|Settings", "Bezel_Y_Res",baseHeight,,1) ; Controls height of the emu's window, relative to the bezel's window
726 xscale := round(bezelScreenWidth / bezelXres,2)
727 yscale := round(bezelScreenHeight / bezelYres,2)
728 xscale := " -" . ident . ".xscale " . xscale
729 yscale := " -" . ident . ".yscale " . yscale
730 }
731
732 ;----------------------------------------------------------------------------
733
734 hideEmuObj := Object(emuPrimaryWindow,1)
735 7z(romPath, romName, romExtension, sevenZExtractPath)
736
737 ; Mount the CD using Virtual Drive
738 If ((romExtension = ".cue" || romExtension = ".ccd" || romExtension = ".iso") && vdEnabled = "true" && (ident = "psx" || ident = "pce")) { ; only Sony PlayStation tested
739 RLLog.Info("Module - Mounting rom in Virtual Drive")
740 VirtualDrive("get")
741 VirtualDrive("mount",romPath . "\" . romName . romExtension)
742 usedVD := 1
743 }
744
745 HideAppStart(hideEmuObj,hideEmu)
746 primaryExe.Run(" " . emuFullscreen . stretch . vDriver . (If Fullscreen = "true" ? xRes . " " . yRes : xscale . " " . yscale) . sgfxMode . naBios . euBios . jpBios . pceCDBios . pcfxBios . rotateScreen . Params . (If usedVD ? " -physcd " . vdDriveLetter . ":" : " """ . romPath . "\" . romName . romExtension . """"))
747
748 ; WinWait, % (If ident2 ? ("Mednafen") : (romName)) . " ahk_class SDL_app"
749 ; WinWaitActive, % (If ident2 ? ("Mednafen") : (romName)) . " ahk_class SDL_app"
750 emuPrimaryWindow.Wait()
751 emuPrimaryWindow.WaitActive()
752 BezelDraw()
753 HideAppEnd(hideEmuObj,hideEmu)
754 FadeInExit()
755
756 errorLvl := primaryExe.Process("Exist")
757 If errorLvl != 0
758 primaryExe.Process("WaitClose")
759
760 If usedVD
761 VirtualDrive("unmount")
762
763 7zCleanUp()
764 BezelExit()
765 FadeOutExit()
766 ExitModule()
767
768
769 MultiGame:
770 If usedVD {
771 KeyUtils.SetKeyDelay(50)
772 KeyUtils.Send("{F8 down}{F8 up}") ; eject disc in mednafen - MIGHT WANT TO TRY DOING A CONTROLSEND
773 VirtualDrive("unmount")
774 TimerUtils.Sleep(500) ; Required to prevent your Virtual Drive from bugging
775 VirtualDrive("mount",selectedRom)
776 emuPrimaryWindow.Activate()
777 KeyUtils.Send("{F8 down}{F8 up}") ; eject disc in mednafen
778 }
779 Return
780 RestoreEmu:
781 If (fullscreen = "true")
782 emuPrimaryWindow.Maximize() ; mednafen will not restore unless this command is used
783 emuPrimaryWindow.Activate()
784 Return
785
786 CloseProcess:
787 FadeOutStart()
788 emuPrimaryWindow.Close()
789 ; WinClose, % (If ident2 ? ("Mednafen") : (romName)) . " ahk_class SDL_app"
790 Return
791
79222:49:23:844 | RL | INFO | +0 | BuildScript - Loaded Pause scripts
79322:49:23:844 | RL | INFO | +0 | BuildScript - Loaded Multi-Player scripts
79422:49:23:845 | RL | INFO | +0 | BuildScript - Loaded Statistics.ahk script
79522:49:23:846 | RL | WARNING | +0 | BuildScript - "S:\Hyperspin\RocketLauncher\Lib\User Functions\Global.ahk" not found
79622:49:23:847 | RL | WARNING | +0 | BuildScript - "S:\Hyperspin\RocketLauncher\Lib\User Functions\Sega Genesis.ahk" not found
79722:49:23:847 | RL | WARNING | +0 | BuildScript - "S:\Hyperspin\RocketLauncher\Lib\User Functions\Emulators\Mednafen.ahk" not found
79822:49:23:848 | RL | WARNING | +0 | BuildScript - "S:\Hyperspin\RocketLauncher\Lib\User Functions\Sega Genesis\Emulators\Mednafen.ahk" not found
79922:49:23:848 | RL | WARNING | +0 | BuildScript - "S:\Hyperspin\RocketLauncher\Lib\User Functions\Sega Genesis\Sonic & Knuckles + Sonic the Hedgehog 3 (World).ahk" not found
80022:49:23:848 | RL | INFO | +0 | BuildScript - Finished injecting functions into module
80122:49:23:849 | RL | INFO | +0 | Main - Module is built
80222:49:23:849 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\AutoHotkey.dll exists
80322:49:23:851 | RL | INFO | +16 | Main - Starting timer to watch if Front End gets displaced and restore it if it does.
80422:49:23:853 | RL | INFO | +0 | Main - Running module
80522:49:24:081 | MD | INFO | +N/A | Module initialized
80622:49:24:083 | MD | DEBUG | +0 | XHotkeyTableCreation - Started
80722:49:24:084 | MD | DEBUG | +0 | XHotkeyTableCreation - KeyGroup ~Esc not in TableKeyGroups
80822:49:24:085 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 1 check
80922:49:24:085 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 2 check
81022:49:24:108 | MD | DEBUG | +31 | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~Esc" to call label: "CloseProcess"
81122:49:24:109 | MD | DEBUG | +0 | XHotkeyTableCreation - Ended
81222:49:24:139 | MD | INFO | +31 | CheckFile - Checking if S:\Hyperspin\Utilities\Xpadder\Xpadder.exe exists
81322:49:24:140 | MD | INFO | +0 | Keymapper - Loading xpadder
81422:49:24:143 | MD | INFO | +0 | RunKeymapper - Started, using method "load"
81522:49:24:144 | MD | INFO | +0 | GetJoystickArray - Started
81622:49:24:212 | MD | TRACE | +78 | GetJoystickArray - Joysticks Detected: 0100000000000000
81722:49:24:214 | MD | INFO | +0 | GetJoystickGUID - Started
81822:49:24:215 | MD | INFO | +0 | GetJoystickGUID - Ended and found GUID: 40C6450E88DAE6118001444553540000
81922:49:24:215 | MD | TRACE | +0 | GetJoystickArray - ID: 2 | Port: 1 | Name: Controller (Xbox One For Windows) | MID: 045e | PID: 02ff | GUID: 40C6450E88DAE6118001444553540000
82022:49:24:216 | MD | INFO | +0 | GetJoystickArray - Ended
82122:49:24:216 | MD | TRACE | +0 | RunKeymapper - Found your keymapper application here: "S:\Hyperspin\Utilities\Xpadder\Xpadder.exe"
82222:49:24:216 | MD | TRACE | +0 | RunKeymapper - Looping through controllers to find xpadder profiles for each one
82322:49:24:217 | MD | TRACE | +0 | RunKeymapper - ID: 2 Now searching for a matching profile for this controller: "Controller (Xbox One For Windows)"
82422:49:24:217 | MD | TRACE | +0 | GetProfile - Searching for these profiles (| delimited): S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\Sonic & Knuckles + Sonic the Hedgehog 3 (World)|S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\Mednafen|S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\_Default|S:\Hyperspin\RocketLauncher\Profiles\xpadder\_Default|S:\Hyperspin\RocketLauncher\Profiles\xpadder\_Default\blank
82522:49:24:217 | MD | TRACE | +0 | GetProfile - Searching for a Player 1 profile -> S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\Sonic & Knuckles + Sonic the Hedgehog 3 (World)\Controller (Xbox One For Windows)\p1.xpadderprofile
82622:49:24:218 | MD | TRACE | +0 | GetProfile - Searching for a Player 1 profile -> S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\Sonic & Knuckles + Sonic the Hedgehog 3 (World)\p1.xpadderprofile
82722:49:24:218 | MD | TRACE | +0 | GetProfile - Searching for a Player 1 profile -> S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\Mednafen\Controller (Xbox One For Windows)\p1.xpadderprofile
82822:49:24:218 | MD | TRACE | +0 | GetProfile - Searching for a Player 1 profile -> S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\Mednafen\p1.xpadderprofile
82922:49:24:219 | MD | TRACE | +0 | GetProfile - Searching for a Player 1 profile -> S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\_Default\Controller (Xbox One For Windows)\p1.xpadderprofile
83022:49:24:219 | MD | TRACE | +0 | GetProfile - Searching for a Player 1 profile -> S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\_Default\p1.xpadderprofile
83122:49:24:219 | MD | INFO | +0 | GetProfile - Loading Player 1 Profile -> S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\_Default\p1.xpadderprofile
83222:49:24:219 | MD | INFO | +0 | RunXpadder - Started
83322:49:24:220 | MD | INFO | +0 | Process - Exist JoyToKey.exe
83422:49:24:222 | MD | TRACE | +0 | RunXpadder - Closing xpadder to refresh controllers seen by xpadder
83522:49:24:222 | MD | INFO | +0 | Run - Running: S:\Hyperspin\Utilities\Xpadder\Xpadder.exe /C
83622:49:24:260 | MD | DEBUG | +47 | Run - "Xpadder.exe /C" Process ID: 1152
83722:49:24:261 | MD | TRACE | +0 | RunXpadder - Creating an array of connected controllers and profiles to arrange according to the order found in S:\Hyperspin\Utilities\Xpadder\xpadder.ini
83822:49:24:263 | MD | INFO | +0 | Process - WaitClose Xpadder.exe 2
83922:49:24:486 | MD | TRACE | +219 | RunXpadder - Reading the order in S:\Hyperspin\Utilities\Xpadder\xpadder.ini and arranging profiles found to match that order
84022:49:24:488 | MD | TRACE | +0 | RunXpadder - No more controllers to be found
84122:49:24:489 | MD | INFO | +0 | Run - Running: S:\Hyperspin\Utilities\Xpadder\Xpadder.exe "S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\_Default\p1.xpadderprofile" "S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\_Default\p1.xpadderprofile" "S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\_Default\p1.xpadderprofile" /M
84222:49:24:512 | MD | DEBUG | +31 | Run - "Xpadder.exe "S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\_Default\p1.xpadderprofile" "S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\_Default\p1.xpadderprofile" "S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\_Default\p1.xpadderprofile" /M" Process ID: 8024
84322:49:24:513 | MD | INFO | +0 | RunXpadder - Ended
84422:49:24:515 | MD | INFO | +0 | RunKeymapper - Ended
84522:49:24:516 | MD | DEBUG | +0 | fadeInTransitionAnimation: DefaultAnimateFadeIn
84622:49:24:517 | MD | DEBUG | +0 | fadeOutTransitionAnimation: DefaultAnimateFadeOut
84722:49:24:518 | MD | DEBUG | +0 | fadeLyr3Animation: DefaultFadeAnimation
84822:49:24:518 | MD | DEBUG | +0 | fadeLyr37zAnimation: DefaultFadeAnimation
84922:49:24:520 | MD | DEBUG | +0 | XHotkeyTableCreation - Started
85022:49:24:521 | MD | DEBUG | +0 | XHotkeyTableCreation - KeyGroup ~1joy8 not in TableKeyGroups ~Esc,
85122:49:24:545 | MD | DEBUG | +31 | XHotkeyTableCreation - Post loop 1 check
85222:49:24:545 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 2 check
85322:49:24:546 | MD | DEBUG | +0 | XHotkeyTableCreation - Using extended Hotkey method for key(s): "~1joy8" to call a group label
85422:49:24:546 | MD | DEBUG | +0 | XHotkeyTableCreation - Ended
85522:49:24:547 | MD | DEBUG | +0 | XHotkeyTableCreation - Started
85622:49:24:547 | MD | DEBUG | +0 | XHotkeyTableCreation - KeyGroup ~Space&~vk20sc039 not in TableKeyGroups ~Esc,~1joy8,
85722:49:24:550 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 1 check
85822:49:24:550 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 2 check
85922:49:24:551 | MD | DEBUG | +0 | XHotkeyTableCreation - Using extended Hotkey method for key(s): "~Space&~vk20sc039" to call a group label
86022:49:24:552 | MD | DEBUG | +0 | XHotkeyTableCreation - Ended
86122:49:24:552 | MD | DEBUG | +0 | XHotkeyTableCreation - Started
86222:49:24:553 | MD | DEBUG | +0 | XHotkeyTableCreation - KeyGroup PrintScreen not in TableKeyGroups ~Esc,~1joy8,~Space&~vk20sc039,
86322:49:24:553 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 1 check
86422:49:24:553 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 2 check
86522:49:24:554 | MD | DEBUG | +0 | XHotkeyTableCreation - Using standard Hotkey method for key(s): "PrintScreen" to call label: "SaveScreenshot"
86622:49:24:554 | MD | DEBUG | +0 | XHotkeyTableCreation - Ended
86722:49:24:554 | MD | TRACE | +0 | CustomFunction.Init - Starting
86822:49:24:621 | MD | TRACE | +79 | CustomFunction.Init - Ending
86922:49:24:621 | MD | INFO | +0 | StartModule - Started
87022:49:24:623 | MD | INFO | +0 | StartModule - MEmu: Mednafen
871 MEmuV: v0.9.39.2
872 MURL:
873 MAuthor:
874 MVersion: 2.1.6
875 MCRC: 8CEC2BBA
876 iCRC: 70EB0F47
877 MID:
878 MSystem:
87922:49:24:624 | MD | WARNING | +0 | StartModule - You have an unsupported System Name for this module: "Sega Genesis". Only the following System Names are suppported: ""
88022:49:24:626 | MD | INFO | +0 | PluginInit - Started
88122:49:24:626 | MD | DEBUG | +0 | BuildDatabaseTable - Started - Building Table for: Name|Cloneof|Publisher|Year|Genre|Rating
88222:49:24:627 | MD | INFO | +0 | CheckFile - Checking if S:\Hyperspin\Databases\Sega Genesis\Sega Genesis.xml exists
88322:49:24:628 | MD | DEBUG | +0 | BuildDatabaseTable - Searching for a "Game Name" in the database
88422:49:24:628 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Game Name" in the database!
88522:49:24:630 | MD | DEBUG | +0 | BuildDatabaseTable - Searching database for: Name
88622:49:24:630 | MD | DEBUG | +0 | BuildDatabaseTable - Found "Name" with a value: "Sonic & Knuckles + Sonic the Hedgehog 3 (World)"