· 9 years ago · Jan 16, 2017, 04:00 AM
1[code]
222:58:44:445 | RL | INFO | +N/A | Main - RocketLauncher v1.2.0.0 (www.rlauncher.com)
322:58:44:480 | RL | WARNING | +31 | 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:58:45:027 | RL | DEBUG | +547 | Registry.Read - Reading from Registry : RootKey=HKEY_LOCAL_MACHINE, SubKey=System\CurrentControlSet\Control\Windows, ValueName=ErrorMode,RegistryVersion=32
522:58:45:028 | RL | DEBUG | +0 | Registry.Read - Registry Read finished, returning 0
622:58:45:028 | RL | INFO | +0 | 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: 60422.61 MB
13 Used Memory: 2910.797 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:58:45:031 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\RocketLauncher.exe exists
5022:58:45:031 | 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:58:45:032 | RL | TRACE | +0 | File.__New - Creating new file object of: "S:\Hyperspin\RocketLauncher\Module Extensions\RocketLauncher.dll"
5222:58:45:032 | RL | INFO | +0 | File.CheckFile - Checking if "S:\Hyperspin\RocketLauncher\Module Extensions\RocketLauncher.dll" exists
5322:58:45:033 | RL | TRACE | +0 | File.Exist - This file exists: S:\Hyperspin\RocketLauncher\Module Extensions\RocketLauncher.dll
5422:58:45:037 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: S:\Hyperspin\RocketLauncher\Module Extensions\Array.ahk
5522:58:45:039 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Module Extensions\BinHexRW.ahk
5622:58:45:039 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\Module Extensions\BlockInput.exe exists
5722:58:45:041 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: S:\Hyperspin\RocketLauncher\Module Extensions\CLR_L.ahk | vInterop
5822:58:45:042 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: S:\Hyperspin\RocketLauncher\Module Extensions\Control_AniGif.ahk | vAniGif.ahk
5922:58:45:044 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: S:\Hyperspin\RocketLauncher\Module Extensions\gdip.ahk
6022:58:45:045 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Module Extensions\gdip_alt.ahk
6122:58:45:045 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\Module Extensions\gsdll32.dll exists
6222:58:45:046 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\Module Extensions\itextsharp.dll exists
6322:58:45:049 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Module Extensions\Java.ahk
6422:58:45:050 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: S:\Hyperspin\RocketLauncher\Module Extensions\JSON.ahk
6522:58:45:051 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Module Extensions\Origin.ahk
6622:58:45:052 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: S:\Hyperspin\RocketLauncher\Module Extensions\RegRW64.ahk
6722:58:45:055 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Extension: S:\Hyperspin\RocketLauncher\Module Extensions\RIni.ahk | v1.7
6822:58:45:055 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\Module Extensions\SevenZipSharp.dll exists
6922:58:45:056 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Module Extensions\Steam.ahk
7022:58:45:058 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Extension: S:\Hyperspin\RocketLauncher\Module Extensions\VA.ahk
7122:58:45:059 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Module Extensions\VA_Extension.ahk
7222:58:45:061 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\7z.ahk
7322:58:45:064 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Bezel.ahk
7422:58:45:065 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Fade.ahk
7522:58:45:066 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Fade Init.ahk
7622:58:45:070 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Fade Animations.ahk
7722:58:45:071 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Keymapper.ahk
7822:58:45:072 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Keymapper Init.ahk
7922:58:45:074 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\MultiGame.ahk
8022:58:45:075 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\MultiGame Init.ahk
8122:58:45:076 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\MultiPlayer.ahk
8222:58:45:085 | RL | ERROR | +15 | CRC Check - No CRC defined on the header for: S:\Hyperspin\RocketLauncher\Lib\Pause.ahk
8322:58:45:086 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Pause Init.ahk
8422:58:45:089 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Password.ahk
8522:58:45:091 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\DLL\RocketLauncher.ahk
8622:58:45:093 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Log\Logger.ahk
8722:58:45:094 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\MiscUtils.ahk
8822:58:45:096 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\Environment\Registry.ahk
8922:58:45:097 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\Environment\StringUtils.ahk
9022:58:45:099 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\Environment\TimerUtils.ahk
9122:58:45:100 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\File\File.ahk
9222:58:45:102 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\File\Folder.ahk
9322:58:45:103 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\File\IniFile.ahk
9422:58:45:105 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\File\RIniFile.ahk
9522:58:45:106 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\File\Process.ahk
9622:58:45:107 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\File\Emulator.ahk
9722:58:45:110 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\File\DemulShooter.ahk
9822:58:45:112 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\Input\KeyUtils.ahk
9922:58:45:113 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\UI\Control.ahk
10022:58:45:114 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\UI\Window.ahk
10122:58:45:115 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Classes\Util\UI\WindowTitle.ahk
10222:58:45:118 | RL | INFO | +16 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Rom Mapping Launch Menu.ahk
10322:58:45:120 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Shader.ahk
10422:58:45:121 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Shader Init.ahk
10522:58:45:124 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Shared.ahk
10622:58:45:126 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Statistics.ahk
10722:58:45:127 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Statistics Init.ahk
10822:58:45:129 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\Virtual Drive.ahk
10922:58:45:131 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\XHotkey.ahk
11022:58:45:132 | RL | INFO | +15 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Lib\XHotkey Init.ahk
11122:58:45:132 | RL | DEBUG | +0 | Main - Received this dbName with no path via CLI: "Sonic & Knuckles + Sonic the Hedgehog 3 (World)"
11222:58:45:133 | RL | DEBUG | +0 | Main - dbName: Sonic & Knuckles + Sonic the Hedgehog 3 (World)
11322:58:45:133 | RL | INFO | +0 | Main - Loading Front End Plugin: "HyperSpin"
11422:58:45:135 | RL | INFO | +0 | CRC Check - CRC matches, this is an official unedited Library: S:\Hyperspin\RocketLauncher\Plugins\HyperSpin.plugin
11522:58:45:135 | RL | TRACE | +0 | Process.__New - Creating new process object for: "S:\Hyperspin\HyperSpin.exe"
11622:58:45:136 | RL | TRACE | +0 | File.__New - Creating new file object of: "S:\Hyperspin\HyperSpin.exe"
11722:58:45:137 | RL | INFO | +0 | Main - RocketLauncher received "Sega Genesis" and "Sonic & Knuckles + Sonic the Hedgehog 3 (World)"
11822:58:45:145 | RL | INFO | +0 | Main - Found a "Games Options.ini" file, loading it into memory.
11922:58:45:146 | RL | INFO | +0 | Main - Sonic & Knuckles + Sonic the Hedgehog 3 (World) is using the default emulator: Mednafen
12022:58:45:146 | RL | INFO | +0 | Main - Checking for a [Mednafen] section in S:\Hyperspin\RocketLauncher\Settings\Sega Genesis\Emulators.ini
12122:58:45:148 | RL | INFO | +16 | Main - Found [Mednafen] in S:\Hyperspin\RocketLauncher\Settings\Sega Genesis\Emulators.ini
12222:58:45:150 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\Modules\Mednafen\Mednafen.ahk exists
12322:58:45:151 | RL | INFO | +0 | Main - CRC Check - CRC matches, this is an official unedited module.
12422:58:45:151 | RL | INFO | +0 | Main - Sonic & Knuckles + Sonic the Hedgehog 3 (World) will use module: S:\Hyperspin\RocketLauncher\Modules\Mednafen\Mednafen.ahk
12522:58:45:160 | RL | WARNING | +0 | RIniLoadVar - Created missing Global ini key: "Fade_Click_Through " in section: "Fade" in "S:\Hyperspin\RocketLauncher\Settings\Global RocketLauncher.ini"
12622:58:45:160 | 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:58:45:190 | RL | INFO | +31 | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
12822:58:45:194 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\Emulators\Sega Genesis\mednafen.exe exists
12922:58:45:195 | RL | INFO | +16 | Main - INI Keys read
13022:58:45:196 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\Module Extensions\7z.exe exists
13122:58:45:196 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\Module Extensions\7z.dll exists
13222:58:45:201 | RL | INFO | +0 | 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:58:45:202 | RL | INFO | +0 | CheckPaths - Started
13422:58:45:202 | RL | INFO | +0 | CheckPaths - Looking for rom: S:\Hyperspin\Emulators\Sega Genesis\ROMS\Sonic & Knuckles + Sonic the Hedgehog 3 (World).7z
13522:58:45:203 | RL | INFO | +0 | CheckPaths - Found rom: S:\Hyperspin\Emulators\Sega Genesis\ROMS\Sonic & Knuckles + Sonic the Hedgehog 3 (World).7z
13622:58:45:203 | RL | DEBUG | +0 | CheckPaths - Current romName: Sonic & Knuckles + Sonic the Hedgehog 3 (World)
13722:58:45:204 | RL | DEBUG | +0 | CheckPaths - Current romPath: S:\Hyperspin\Emulators\Sega Genesis\ROMS
13822:58:45:204 | RL | DEBUG | +0 | CheckPaths - Current romExtension: .7z
13922:58:45:205 | RL | INFO | +0 | CheckPaths - Ended
14022:58:45:206 | 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 := "false"
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:58:45:209 | RL | INFO | +0 | BuildScript - Loaded XHotkey Init.ahk scripts
52422:58:45:209 | RL | INFO | +0 | BuildScript - Loaded Keymapper Init.ahk scripts
52522:58:45:212 | RL | INFO | +15 | BuildScript - Loaded Pause Init.ahk scripts
52622:58:45:212 | RL | INFO | +0 | BuildScript - Loaded Statistics Init.ahk scripts
52722:58:45:213 | RL | DEBUG | +0 | BuildScript - Module starts on line: 2
52822:58:45:213 | RL | INFO | +0 | BuildScript - Validating module
52922:58:45:216 | RL | INFO | +0 | BuildScript - Validation complete
53022:58:45:216 | RL | INFO | +0 | BuildScript - Module:
531 MEmu := "Mednafen"
532 MEmuV := "v0.9.39.2"
533 MURL := ["http://mednafen.sourceforge.net/"]
534 MAuthor := ["djvj"]
535 MVersion := "2.1.6"
536 MCRC := "8CEC2BBA"
537 iCRC := "70EB0F47"
538 MID := "635038268903923913"
539 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"]
540 ;----------------------------------------------------------------------------
541 ; Notes:
542 ; Below are some basic params you can change, there are many other params
543 ; located in the mednafen documentation that you can add If needed.
544 ;
545 ; Some people experience screen flickering and mednafen will not stay in
546 ; fullscreen, you can changed vDriver below to -vdriver sdl and it will
547 ; possibly fix the issue.
548 ;
549 ; There is no error checking If mednafen fails, so If you try to launch
550 ; your game and nothing happens, then check the stdout.txt in your mednafen
551 ; installation directory to see what went wrong.
552 ;
553 ; To remap your keys, start a game then press alt + shift + 1 to enter
554 ; the key configuration for player 1. Similarly press alt + shift + 2 for player 2.
555 ; To reconfigure hotkeys such as the exit key press F2 and then the hotkey whose mapping you wish to change.
556 ; You can also edit the mednafen.cfg to change these keys directly there.
557 ;
558 ; Windows Aero:
559 ; 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.
560 ; http://forum.fobby.net/index.php?t=msg&goto=3411&
561 ; You can disable Desktop Composition by editing mednafen.cfg and adding this line to it:
562 ; video.disable_composition 0
563
564 ; Atari Lynx:
565 ; Create a folder called "firmware" in your mednafen folder and place lynxboot.img in there
566 ; If games are not rotating and the CLI command is being sent to the emu, your roms have bad headers
567 ;
568 ; Nintendo Virtual Boy:
569 ; For Virtual Boy you might not be able to get in game and get stuck
570 ; on the intro screen, so open your cfg file and change these settings
571 ; to allow you to play. There are some extra options here to.
572 ; vb.anaglyph.lcolor 0xFF0000
573 ; vb.anaglyph.preset disabled
574 ; vb.anaglyph.rcolor 0x000000
575 ; vb.default_color 0xFFFFFF
576 ; vb.disable_parallax 0
577 ; vb.input.builtin.gamepad.a keyboard 109
578 ; vb.input.builtin.gamepad.b keyboard 110
579 ; vb.input.builtin.gamepad.down-l keyboard 100
580 ; vb.input.builtin.gamepad.down-r keyboard 107
581 ; vb.input.builtin.gamepad.left-l keyboard 115
582 ; vb.input.builtin.gamepad.left-r keyboard 106
583 ; vb.input.builtin.gamepad.lt keyboard 103
584 ; vb.input.builtin.gamepad.rapid_a keyboard 46
585 ; vb.input.builtin.gamepad.rapid_b keyboard 44
586 ; vb.input.builtin.gamepad.right-l keyboard 102
587 ; vb.input.builtin.gamepad.right-r keyboard 108
588 ; vb.input.builtin.gamepad.rt keyboard 104
589 ; vb.input.builtin.gamepad.select keyboard 118
590 ; vb.input.builtin.gamepad.start keyboard 13
591 ; vb.input.builtin.gamepad.up-l keyboard 101
592 ; vb.input.builtin.gamepad.up-r keyboard 105
593
594 ; Sony PlayStation Info:
595 ; 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
596 ; This module only supports Virtual Drive when mounting with a cue extension for psx.
597 ; Set your rom extension to cue
598 ; Multi-Disc games REQUIRES Virtual Drive, do not attempt to swap discs any other way as it is not supported by this module.
599 ;
600 ; Sega Saturn Info:
601 ; 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
602 ;----------------------------------------------------------------------------
603 StartModule()
604 BezelGUI()
605 FadeInStart()
606
607 primaryExe := new Emulator(emuPath . "\" . executable) ; instantiate emulator executable object
608 emuPrimaryWindow := new Window(new WindowTitle(,"SDL_app")) ; instantiate primary emulator window object
609
610 ; 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
611 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")
612 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
613
614 ident1 := mType1[systemName] ; search 1st array for the systemName identifier mednafen uses
615 ident2 := mType2[systemName] ; search 2nd array for the systemName identifier mednafen uses
616 ident := If (!ident1 && !ident2) ? ("") : (ident1 . ident2)
617 If !ident
618 ScriptError("Your systemName is: " . systemName . "`nIt is not one of the known supported systems for this Mednafen module: " . moduleName)
619
620 ; Settings used for all systems
621 Fullscreen := moduleIni.Read("Settings", "Fullscreen","true",,1)
622 Stretch := moduleIni.Read("Settings", "Stretch","aspect",,1) ; 0, aspect, or full
623 vDriver := moduleIni.Read("Settings", "vDriver","opengl",,1) ; opengl or sdl
624 xRes := moduleIni.Read("Settings", "xRes",0,,1)
625 yRes := moduleIni.Read("Settings", "yRes",0,,1)
626 Params := moduleIni.Read(romName . "|Settings", "Params",,,1)
627
628 stretch := " -" . ident . ".stretch " . Stretch
629 vDriver := If vDriver ? (" -vdriver " . vDriver) : ""
630 xRes := If xRes ? (" -" . ident . ".xres " . xRes) : ""
631 yRes := If yRes ? (" -" . ident . ".yres " yRes) : ""
632 Params := If Params ? (" " . Params) : ""
633
634 ;Defining screen orientation
635 resolutionsIni := new IniFile(A_ScriptDir . "\Settings\" systemName . "\resolutions.ini")
636 gameRes := resolutionsIni.ReadCheck(dbname,"Resolution",,,1)
637 res := StringUtils.Split(gameRes,x) ; res[1]=Width, res[2]=Height
638
639 If (ident = "lynx" or ident = "wsan")
640 rotateScreen := If ((moduleIni.Read(romName, "RotateScreen",,,1) = "true") or (res[2]>res[1])) ? " -" . ident . ".rotateinput 1" : ""
641
642 If (ident = "lynx") { ; this needs to be before BezelStart so we can tell it if we need to rotate the screen or not
643 lynxbootImgFile := new File(emuPath . "\firmware\lynxboot.img")
644 lynxbootImgFile.CheckFile("Cannot find the Atari Lynx bios file required to use this system:`n" . lynxbootImgFile.FileFullPath)
645 }
646
647 BezelStart(,,(If rotateScreen ? 1:""))
648
649 emuFullscreen := If Fullscreen = "true" ? " -fs 1" : " -fs 0" ; This needs to stay after BezelStart
650
651 If (ident1 = "pce")
652 sgfxMode := If (systemName = "NEC SuperGrafx" && romExtension != sgx) ? " -pce.forcesgx 1" : ""
653
654 If (ident2 = "pce")
655 { 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
656 pceCDBiosFile := new File(emuPath . "\firmware\" . PCE_CD_Bios)
657 pceCDBiosFile.CheckFile("Cannot find the PCE_CD_Bios file you have defined in the module:`n" . pceCDBiosFile.FileFullPath)
658 pceCDBios := If PCE_CD_Bios ? (" -pce.cdbios ""firmware\" . PCE_CD_Bios . """") : ""
659 }
660 If (ident = "pcfx")
661 { PCFX_Bios := moduleIni.Read("Bios", "PCFX_Bios","pcfxbios.bin",,1) ; Bios, placed in the firmware subfolder of the emu, required for NEC PC-FX
662 pcfxBiosFile := new File(emuPath . "\firmware\" . PCFX_Bios)
663 pcfxBiosFile.CheckFile("Cannot find the PCFX_Bios file you have defined in the module:`n" . pcfxBiosFile.FileFullPath)
664 pcfxBios := If PCFX_Bios ? (" -pcfx.bios ""firmware\" . PCFX_Bios . """") : ""
665 }
666
667 If (ident = "psx") ; only need these for Sony PlayStation, must check If these files exist, otherwise mednafan doesn't launch and RocketLauncher gets stuck
668 { 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
669 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
670 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
671 naBiosFile := new File(emuPath . "\firmware\" . NA_Bios)
672 euBiosFile := new File(emuPath . "\firmware\" . EU_Bios)
673 jpBiosFile := new File(emuPath . "\firmware\" . JP_Bios)
674 naBiosFile.CheckFile("Cannot find the PSX NA_Bios file you have defined in the module:`n" . naBiosFile.FileFullPath)
675 euBiosFile.CheckFile("Cannot find the PSX EU_Bios file you have defined in the module:`n" . euBiosFile.FileFullPath)
676 jpBiosFile.CheckFile("Cannot find the PSX JP_Bios file you have defined in the module:`n" . jpBiosFile.FileFullPath)
677 naBios := If NA_Bios ? " -psx.bios_na ""firmware\" . NA_Bios . """" : ""
678 euBios := If EU_Bios ? " -psx.bios_eu ""firmware\" . EU_Bios . """" : ""
679 jpBios := If JP_Bios ? " -psx.bios_jp ""firmware\" . JP_Bios . """" : ""
680 }
681
682 If (ident = "ss") ; only need these for Sega Saturn, must check If these files exist, otherwise mednafan doesn't launch and RocketLauncher gets stuck
683 { 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
684 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
685 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
686 naBiosFile := new File(emuPath . "\firmware\" . NA_Bios)
687 ; euBiosFile := new File(emuPath . "\firmware\" . EU_Bios)
688 jpBiosFile := new File(emuPath . "\firmware\" . JP_Bios)
689 naBiosFile.CheckFile("Cannot find the Saturn NA_Bios file you have defined in the module:`n" . naBiosFile.FileFullPath)
690 ; euBiosFile.CheckFile("Cannot find the Saturn EU_Bios file you have defined in the module:`n" . euBiosFile.FileFullPath)
691 jpBiosFile.CheckFile("Cannot find the Saturn JP_Bios file you have defined in the module:`n" . jpBiosFile.FileFullPath)
692 naBios := If NA_Bios ? " -ss.bios_na_eu ""firmware\" . NA_Bios . """" : ""
693 ; 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
694 euBios := ""
695 jpBios := If JP_Bios ? " -ss.bios_jp ""firmware\" . JP_Bios . """" : ""
696 }
697
698 If bezelPath ; defining xscale and yscale relative to the bezel windowed mode
699 {
700 If res[1] {
701 baseWidth := res[1]
702 baseHeight := res[2]
703 } Else {
704 baseWidthArray := []
705 baseWidthArray["lynx", "width"] := 160 , baseWidthArray["lynx", "height"] := 102
706 baseWidthArray["wswan", "width"] := 224 , baseWidthArray["wswan", "height"] := 144
707 baseWidthArray["pce", "width"] := 288 , baseWidthArray["pce", "height"] := 231
708 baseWidthArray["pcfx", "width"] := 341 , baseWidthArray["pcfx", "height"] := 480
709 baseWidthArray["nes", "width"] := 298 , baseWidthArray["nes", "height"] := 240
710 baseWidthArray["gb", "width"] := 160 , baseWidthArray["gb", "height"] := 144
711 baseWidthArray["gba", "width"] := 240 , baseWidthArray["gba", "height"] := 160
712 baseWidthArray["snes", "width"] := 256 , baseWidthArray["snes", "height"] := 224
713 baseWidthArray["vb", "width"] := 384 , baseWidthArray["vb", "height"] := 224
714 baseWidthArray["gg", "width"] := 160 , baseWidthArray["gg", "height"] := 144
715 baseWidthArray["md", "width"] := 320 , baseWidthArray["md", "height"] := 480
716 baseWidthArray["sms", "width"] := 256 , baseWidthArray["sms", "height"] := 240
717 baseWidthArray["ngp", "width"] := 160 , baseWidthArray["ngp", "height"] := 152
718 baseWidthArray["psx", "width"] := 320 , baseWidthArray["psx", "height"] := 240
719 baseWidthArray["ss", "width"] := 301 , baseWidthArray["ss", "height"] := 240
720 baseWidth := (If rotateScreen ? baseWidthArray[ident,"height"]:baseWidthArray[ident,"width"])
721 baseHeight := (If rotateScreen ? baseWidthArray[ident,"width"]:baseWidthArray[ident,"height"])
722 }
723 bezelXres := moduleIni.Read(romName . "|Settings", "Bezel_X_Res",baseWidth,,1) ; Controls width of the emu's window, relative to the bezel's window
724 bezelYres := moduleIni.Read(romName . "|Settings", "Bezel_Y_Res",baseHeight,,1) ; Controls height of the emu's window, relative to the bezel's window
725 xscale := round(bezelScreenWidth / bezelXres,2)
726 yscale := round(bezelScreenHeight / bezelYres,2)
727 xscale := " -" . ident . ".xscale " . xscale
728 yscale := " -" . ident . ".yscale " . yscale
729 }
730
731 ;----------------------------------------------------------------------------
732
733 hideEmuObj := Object(emuPrimaryWindow,1)
734 7z(romPath, romName, romExtension, sevenZExtractPath)
735
736 ; Mount the CD using Virtual Drive
737 If ((romExtension = ".cue" || romExtension = ".ccd" || romExtension = ".iso") && vdEnabled = "true" && (ident = "psx" || ident = "pce")) { ; only Sony PlayStation tested
738 RLLog.Info("Module - Mounting rom in Virtual Drive")
739 VirtualDrive("get")
740 VirtualDrive("mount",romPath . "\" . romName . romExtension)
741 usedVD := 1
742 }
743
744 HideAppStart(hideEmuObj,hideEmu)
745 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 . """"))
746
747 ; WinWait, % (If ident2 ? ("Mednafen") : (romName)) . " ahk_class SDL_app"
748 ; WinWaitActive, % (If ident2 ? ("Mednafen") : (romName)) . " ahk_class SDL_app"
749 emuPrimaryWindow.Wait()
750 emuPrimaryWindow.WaitActive()
751 BezelDraw()
752 HideAppEnd(hideEmuObj,hideEmu)
753 FadeInExit()
754
755 errorLvl := primaryExe.Process("Exist")
756 If errorLvl != 0
757 primaryExe.Process("WaitClose")
758
759 If usedVD
760 VirtualDrive("unmount")
761
762 7zCleanUp()
763 BezelExit()
764 FadeOutExit()
765 ExitModule()
766
767
768 MultiGame:
769 If usedVD {
770 KeyUtils.SetKeyDelay(50)
771 KeyUtils.Send("{F8 down}{F8 up}") ; eject disc in mednafen - MIGHT WANT TO TRY DOING A CONTROLSEND
772 VirtualDrive("unmount")
773 TimerUtils.Sleep(500) ; Required to prevent your Virtual Drive from bugging
774 VirtualDrive("mount",selectedRom)
775 emuPrimaryWindow.Activate()
776 KeyUtils.Send("{F8 down}{F8 up}") ; eject disc in mednafen
777 }
778 Return
779 RestoreEmu:
780 If (fullscreen = "true")
781 emuPrimaryWindow.Maximize() ; mednafen will not restore unless this command is used
782 emuPrimaryWindow.Activate()
783 Return
784
785 CloseProcess:
786 FadeOutStart()
787 emuPrimaryWindow.Close()
788 ; WinClose, % (If ident2 ? ("Mednafen") : (romName)) . " ahk_class SDL_app"
789 Return
790
79122:58:45:219 | RL | INFO | +0 | BuildScript - Loaded Pause scripts
79222:58:45:219 | RL | INFO | +0 | BuildScript - Loaded Multi-Player scripts
79322:58:45:221 | RL | INFO | +0 | BuildScript - Loaded Statistics.ahk script
79422:58:45:222 | RL | WARNING | +0 | BuildScript - "S:\Hyperspin\RocketLauncher\Lib\User Functions\Global.ahk" not found
79522:58:45:222 | RL | WARNING | +0 | BuildScript - "S:\Hyperspin\RocketLauncher\Lib\User Functions\Sega Genesis.ahk" not found
79622:58:45:223 | RL | WARNING | +0 | BuildScript - "S:\Hyperspin\RocketLauncher\Lib\User Functions\Emulators\Mednafen.ahk" not found
79722:58:45:223 | RL | WARNING | +0 | BuildScript - "S:\Hyperspin\RocketLauncher\Lib\User Functions\Sega Genesis\Emulators\Mednafen.ahk" not found
79822:58:45:224 | RL | WARNING | +0 | BuildScript - "S:\Hyperspin\RocketLauncher\Lib\User Functions\Sega Genesis\Sonic & Knuckles + Sonic the Hedgehog 3 (World).ahk" not found
79922:58:45:224 | RL | INFO | +0 | BuildScript - Finished injecting functions into module
80022:58:45:225 | RL | INFO | +0 | Main - Module is built
80122:58:45:225 | RL | INFO | +0 | CheckFile - Checking if S:\Hyperspin\RocketLauncher\AutoHotkey.dll exists
80222:58:45:227 | RL | INFO | +16 | Main - Starting timer to watch if Front End gets displaced and restore it if it does.
80322:58:45:227 | RL | INFO | +0 | Main - Running module
80422:58:45:451 | MD | INFO | +N/A | Module initialized
80522:58:45:452 | MD | DEBUG | +0 | XHotkeyTableCreation - Started
80622:58:45:454 | MD | DEBUG | +0 | XHotkeyTableCreation - KeyGroup ~Esc not in TableKeyGroups
80722:58:45:455 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 1 check
80822:58:45:455 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 2 check
80922:58:45:456 | MD | DEBUG | +0 | XHotkeyTableCreation - Using standard Hotkey method for key(s): "~Esc" to call label: "CloseProcess"
81022:58:45:457 | MD | DEBUG | +0 | XHotkeyTableCreation - Ended
81122:58:45:458 | MD | INFO | +0 | CheckFile - Checking if S:\Hyperspin\Utilities\Xpadder\Xpadder.exe exists
81222:58:45:458 | MD | INFO | +0 | Keymapper - Loading xpadder
81322:58:45:459 | MD | INFO | +0 | RunKeymapper - Started, using method "load"
81422:58:45:459 | MD | INFO | +0 | GetJoystickArray - Started
81522:58:45:557 | MD | TRACE | +109 | GetJoystickArray - Joysticks Detected: 0100000000000000
81622:58:45:559 | MD | INFO | +0 | GetJoystickGUID - Started
81722:58:45:559 | MD | INFO | +0 | GetJoystickGUID - Ended and found GUID: 40C6450E88DAE6118001444553540000
81822:58:45:559 | MD | TRACE | +0 | GetJoystickArray - ID: 2 | Port: 1 | Name: Controller (Xbox One For Windows) | MID: 045e | PID: 02ff | GUID: 40C6450E88DAE6118001444553540000
81922:58:45:560 | MD | INFO | +0 | GetJoystickArray - Ended
82022:58:45:561 | MD | TRACE | +0 | RunKeymapper - Found your keymapper application here: "S:\Hyperspin\Utilities\Xpadder\Xpadder.exe"
82122:58:45:561 | MD | TRACE | +0 | RunKeymapper - Looping through controllers to find xpadder profiles for each one
82222:58:45:562 | MD | TRACE | +0 | RunKeymapper - ID: 2 Now searching for a matching profile for this controller: "Controller (Xbox One For Windows)"
82322:58:45:562 | 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
82422:58:45:562 | 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
82522:58:45:563 | 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
82622:58:45:563 | 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
82722:58:45:564 | MD | TRACE | +0 | GetProfile - Searching for a Player 1 profile -> S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\Mednafen\p1.xpadderprofile
82822:58:45:564 | 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
82922:58:45:565 | MD | TRACE | +0 | GetProfile - Searching for a Player 1 profile -> S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\_Default\p1.xpadderprofile
83022:58:45:565 | MD | INFO | +0 | GetProfile - Loading Player 1 Profile -> S:\Hyperspin\RocketLauncher\Profiles\xpadder\Sega Genesis\_Default\p1.xpadderprofile
83122:58:45:566 | MD | INFO | +0 | RunXpadder - Started
83222:58:45:566 | MD | INFO | +0 | Process - Exist JoyToKey.exe
83322:58:45:568 | MD | TRACE | +0 | RunXpadder - Closing xpadder to refresh controllers seen by xpadder
83422:58:45:569 | MD | INFO | +0 | Run - Running: S:\Hyperspin\Utilities\Xpadder\Xpadder.exe /C
83522:58:45:601 | MD | DEBUG | +47 | Run - "Xpadder.exe /C" Process ID: 6112
83622:58:45:601 | 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
83722:58:45:602 | MD | INFO | +0 | Process - WaitClose Xpadder.exe 2
83822:58:45:828 | MD | TRACE | +219 | RunXpadder - Reading the order in S:\Hyperspin\Utilities\Xpadder\xpadder.ini and arranging profiles found to match that order
83922:58:45:832 | MD | TRACE | +0 | RunXpadder - No more controllers to be found
84022:58:45:833 | 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
84122:58:45:874 | MD | DEBUG | +47 | 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: 3356
84222:58:45:875 | MD | INFO | +0 | RunXpadder - Ended
84322:58:45:879 | MD | INFO | +0 | RunKeymapper - Ended
84422:58:45:881 | MD | DEBUG | +0 | XHotkeyTableCreation - Started
84522:58:45:903 | MD | DEBUG | +31 | XHotkeyTableCreation - KeyGroup ~1joy8 not in TableKeyGroups ~Esc,
84622:58:45:904 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 1 check
84722:58:45:906 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 2 check
84822:58:45:907 | MD | DEBUG | +0 | XHotkeyTableCreation - Using extended Hotkey method for key(s): "~1joy8" to call a group label
84922:58:45:910 | MD | DEBUG | +0 | XHotkeyTableCreation - Ended
85022:58:45:911 | MD | DEBUG | +0 | XHotkeyTableCreation - Started
85122:58:45:912 | MD | DEBUG | +0 | XHotkeyTableCreation - KeyGroup ~Space&~vk20sc039 not in TableKeyGroups ~Esc,~1joy8,
85222:58:45:912 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 1 check
85322:58:45:983 | MD | DEBUG | +78 | XHotkeyTableCreation - Post loop 2 check
85422:58:45:984 | MD | DEBUG | +0 | XHotkeyTableCreation - Using extended Hotkey method for key(s): "~Space&~vk20sc039" to call a group label
85522:58:45:985 | MD | DEBUG | +0 | XHotkeyTableCreation - Ended
85622:58:45:985 | MD | DEBUG | +0 | XHotkeyTableCreation - Started
85722:58:45:986 | MD | DEBUG | +0 | XHotkeyTableCreation - KeyGroup PrintScreen not in TableKeyGroups ~Esc,~1joy8,~Space&~vk20sc039,
85822:58:45:986 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 1 check
85922:58:45:986 | MD | DEBUG | +0 | XHotkeyTableCreation - Post loop 2 check
86022:58:45:987 | MD | DEBUG | +0 | XHotkeyTableCreation - Using standard Hotkey method for key(s): "PrintScreen" to call label: "SaveScreenshot"
86122:58:45:987 | MD | DEBUG | +0 | XHotkeyTableCreation - Ended
86222:58:45:987 | MD | TRACE | +0 | CustomFunction.Init - Starting
86322:58:45:988 | MD | TRACE | +0 | CustomFunction.Init - Ending
86422:58:45:988 | MD | INFO | +0 | StartModule - Started
86522:58:45:988 | MD | INFO | +0 | StartModule - MEmu: Mednafen
866 MEmuV: v0.9.39.2
867 MURL:
868 MAuthor:
869 MVersion: 2.1.6
870 MCRC: 8CEC2BBA
871 iCRC: 70EB0F47
872 MID:
873 MSystem:
87422:58:45:988 | MD | WARNING | +0 | StartModule - You have an unsupported System Name for this module: "Sega Genesis". Only the following System Names are suppported: ""
87522:58:45:989 | MD | INFO | +0 | PluginInit - Started
87622:58:45:989 | MD | DEBUG | +0 | BuildDatabaseTable - Started - Building Table for: Name|Cloneof|Publisher|Year|Genre|Rating
87722:58:45:990 | MD | INFO | +0 | CheckFile - Checking if S:\Hyperspin\Databases\Sega Genesis\Sega Genesis.xml exists
87822:58:45:990 | MD | DEBUG | +0 | BuildDatabaseTable - Searching for a "Game Name" in the database