Jump to content
Unfortunately we had to take download section back offline temporarily. We should have it working normally soon.

Cant get Lynx to boot, using Mednafen.


Dr. Willy

Recommended Posts

Ive searched this board high and low, searched google and tried a lot of stuff and cant seem to figure this out.

Here is my stdout log, any help would be greatly appreciated.

Starting Mednafen 0.9.21-WIP

Build information:

Compiled with gcc 4.5.4 20111030 (prerelease) [svn/rev.180676 - mingw-w64/oz]

Compiled against zlib 1.2.6, running with zlib 1.2.6

Compiled against SDL 1.2.15, running with SDL 1.2.15

Running with libsndfile-1.0.25

Compiled against libcdio 0.83 x86_64-unknown-linux-gnu, running with libcdio 0.83 x86_64-unknown-linux-gnu

Base directory: C:\Hyperspin\Emulators\Atair Lynx

Internal emulation modules: nes snes gb gba pce pce_fast lynx md pcfx ngp psx vb wswan sms gg cdplay

External emulation modules:

Loading settings from "C:\Hyperspin\Emulators\Atair Lynx\mednafen-09x.cfg"...

Initializing joysticks...

Loading C:\Users\Schuyler\Desktop\Chip's Challenge (USA, Europe).zip...

Applying IPS file "C:\Users\Schuyler\Desktop\Chip's Challenge (USA, Europe).zip.ips"...

Failed: No such file or directory

Unrecognized file format. Sorry.

I have run my games through clrmamepro with the no intro dat and header and still nothing.....

Link to comment
Share on other sites

oh sorry that was a log from me trying things to make it work after reading about auto ips patching. Here is what the log looks like if i run it from hyperspin.

Starting Mednafen 0.9.21-WIP

Build information:

Compiled with gcc 4.5.4 20111030 (prerelease) [svn/rev.180676 - mingw-w64/oz]

Compiled against zlib 1.2.6, running with zlib 1.2.6

Compiled against SDL 1.2.15, running with SDL 1.2.15

Running with libsndfile-1.0.25

Compiled against libcdio 0.83 x86_64-unknown-linux-gnu, running with libcdio 0.83 x86_64-unknown-linux-gnu

Base directory: C:\Hyperspin\Emulators\Atair Lynx

Internal emulation modules: nes snes gb gba pce pce_fast lynx md pcfx ngp psx vb wswan sms gg cdplay

External emulation modules:

Loading settings from "C:\Hyperspin\Emulators\Atair Lynx\mednafen-09x.cfg"...

Initializing joysticks...

Loading C:\Hyperspin\Emulators\Atair Lynx\ROM\Chip's Challenge (USA, Europe).zip...

Applying IPS file "C:\Hyperspin\Emulators\Atair Lynx\ROM\Chip's Challenge (USA, Europe).zip.ips"...

Failed: No such file or directory

Unrecognized file format. Sorry.

What is an ips file? cause its saying i dont have one (which i dont), also i have the zip extension in my hyperhq, with operation set to normal and use full rom path selected.

Link to comment
Share on other sites

  • 1 year later...

I'm using the no intro set, but having the same problem. It's searching for an ips file. Help! Strangely enough I've found exactly one game (Basketbrawl) that will launch from HyperLaunch.

Starting Mednafen 0.9.36.5

Build information:

Compiled with gcc 4.7.3

Compiled against zlib 1.2.8, running with zlib 1.2.8

Compiled against SDL 1.2.15, running with SDL 1.2.15

Running with libsndfile-1.0.25

Compiled against libcdio 0.92 x86_64-unknown-linux-gnu, running with libcdio 0.92 x86_64-unknown-linux-gnu

Base directory: C:\HyperSpin\Emulators\Mednafen\mednafen-0.9.36.5-win64

Internal emulation modules: nes snes gb gba pce pce_fast lynx md pcfx ngp psx vb wswan sms gg cdplay demo

External emulation modules:

Loading settings from "C:\HyperSpin\Emulators\Mednafen\mednafen-0.9.36.5-win64\mednafen-09x.cfg"...

Initializing joysticks...

Joystick 0 - XInput Unknown Controller - Unique ID: 0000000000010000

Loading Q:\GazelleGames\data\Atari - Lynx\Block Out (USA, Europe).zip...

Applying IPS file "Q:\GazelleGames\data\Atari - Lynx\Block Out (USA, Europe).zip.ips"...

Failed: Error opening file "Q:\GazelleGames\data\Atari - Lynx\Block Out (USA, Europe).zip.ips": No such file or directory

Unrecognized file format.

Link to comment
Share on other sites

I'm using the no intro set, but having the same problem. It's searching for an ips file. Help! Strangely enough I've found exactly one game (Basketbrawl) that will launch from HyperLaunch.

Starting Mednafen 0.9.36.5
Build information:
  Compiled with gcc 4.7.3
  Compiled against zlib 1.2.8, running with zlib 1.2.8
  Compiled against SDL 1.2.15, running with SDL 1.2.15
  Running with libsndfile-1.0.25
  Compiled against libcdio 0.92 x86_64-unknown-linux-gnu, running with libcdio 0.92 x86_64-unknown-linux-gnu
Base directory: C:\HyperSpin\Emulators\Mednafen\mednafen-0.9.36.5-win64
Internal emulation modules: nes snes gb gba pce pce_fast lynx md pcfx ngp psx vb wswan sms gg cdplay demo
External emulation modules: 
Loading settings from "C:\HyperSpin\Emulators\Mednafen\mednafen-0.9.36.5-win64\mednafen-09x.cfg"...
Initializing joysticks...
 Joystick 0 - XInput Unknown Controller - Unique ID: 0000000000010000
Loading Q:\GazelleGames\data\Atari - Lynx\Block Out (USA, Europe).zip...
 Applying IPS file "Q:\GazelleGames\data\Atari - Lynx\Block Out (USA, Europe).zip.ips"...
  Failed: Error opening file "Q:\GazelleGames\data\Atari - Lynx\Block Out (USA, Europe).zip.ips": No such file or directory
Unrecognized file format.

Hi Sea Monkey!

When posting logs, please use code tags as I have done in this post. It prevents the Forum software from screwing up the output. ;)

That is not what is preventing it from working.

Here is a successful launch on my setup:

Starting Mednafen 0.9.36.2
Build information:
  Compiled with gcc 4.7.2
  Compiled against zlib 1.2.8, running with zlib 1.2.8
  Compiled against SDL 1.2.15, running with SDL 1.2.15
  Running with libsndfile-1.0.25
  Compiled against libcdio 0.83 x86_64-unknown-linux-gnu, running with libcdio 0.83 x86_64-unknown-linux-gnu
Base directory: H:\Emulators\mednafen-0.9.36.2
Internal emulation modules: nes snes gb gba pce pce_fast lynx md pcfx ngp psx vb wswan sms gg cdplay demo
External emulation modules: 
Loading settings from "H:\Emulators\mednafen-0.9.36.2\mednafen-09x.cfg"...
Initializing joysticks...
 Joystick 0 - Logitech Dual Action - Unique ID: 080e4a1ee1ed960b
 Joystick 1 - Logitech Dual Action - Unique ID: 080e4a1ee1ed960c
Loading H:\Roms\Atari Lynx\Awesome Golf (USA, Europe).lnx...
 Applying IPS file "H:\Roms\Atari Lynx\Awesome Golf (USA, Europe).lnx.ips"...
  Failed: Error opening file "H:\Roms\Atari Lynx\Awesome Golf (USA, Europe).lnx.ips": No such file or directory
 Using module: lynx(Atari Lynx)

  ROM:       256KiB
  ROM CRC32: 0x2b90e818
  ROM MD5:   0x49d6eeb3c983246ff4d7034497f7095c

 Loading cheats from H:\Emulators\mednafen-0.9.36.2\cheats\lynx.cht...
  Error opening file "H:\Emulators\mednafen-0.9.36.2\cheats\lynx.cht": No such file or directory

Initializing sound...
 Using "WASAPI(Shared mode)" audio driver with SexyAL's default device selection.
  Bits: 16
  Rate: 44100
  Channels: 2
  Byte order: CPU Native
  Buffer size: 1411 sample frames(31.995465 ms)
  Latency: 1667 sample frames(37.800454 ms)
Initializing video...
 Video Driver: OpenGL
 Video Mode: 534 x 353 x 32 bpp
  Pixel shader: none
 Fullscreen: No
 Special Scaler: None
 Scanlines: Off
 Destination Rectangle: X=0, Y=0, W=534, H=353
 OpenGL Implementation: NVIDIA Corporation GeForce GTX 260/PCIe/SSE2 3.3.0
 Checking extensions:
  GL_ARB_texture_non_power_of_two found.
  GL_ARB_sync found.
 Using non-power-of-2 sized textures.
 Checking maximum texture size...
  Apparently it is at least: 8192 x 8192
 Using GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV for texture source data.

As you can see, I get the same error in the log file. But mine works. Is that all you have in your stdout.txt file??

Thanks,

Ron

Link to comment
Share on other sites

lynxboot.img is in the firmware folder and mednafen launches games from the command line fine without unzipping the roms. Mednafen version is 0.9.36.5. Module version is 2.0.9. TurboGrafx 16 is setup to use Mednafen and works fine through HyperLaunch.

As you can see, I get the same error in the log file. But mine works. Is that all you have in your stdout.txt file??

Yes.

Here's the HyperLaunch log file

20:25:59:361 | HL |     INFO  | +N/A   | Main - HyperLaunch v3.0.1.1c
20:25:59:440 | HL |     INFO  | +78    | Main - System Specs:
				HyperLaunch Dir: C:\HyperSpin\HyperLaunch
				OS: Microsoft Windows 7 Ultimate 
				SKU: Ultimate
				Total Memory: 16295.50 MB
				Free Memory: 12191.65 MB
				Used Memory: 4103.855 MB
				SystemType: x64-based PC
				Physical Processors: 1
				Logical Processors: 4
				GPU 1 Name: AMD Radeon HD 7700 Series
				GPU 1 RAM: 1024.00 MB
				GPU 1 Driver Version: 13.251.0.0
				Sound 1 Device: Webcam Pro 9000
				Sound 1 Status: Enabled
				Sound 2 Device: AMD High Definition Audio Device
				Sound 2 Status: Enabled
				Sound 3 Device: Realtek High Definition Audio
				Sound 3 Status: Enabled
				OS Language: English_United_States
				OS Admin Status: Yes
				Monitor #1 (\\.\DISPLAY1): 1920x1080 (1920x1050 work)
				AutoHotkey Path: 
				AHK Version: 1.1.09.04
				Unicode: No
20:25:59:440 | HL |     INFO  | +0     | Main - HyperSpin.exe coordinates are x y w h
20:25:59:440 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\HyperLaunch\HyperLaunch.exe exists
20:25:59:440 | HL |     INFO  | +0     | Main - HyperLaunch received "Atari Lynx" and "A.P.B. - All Points Bulletin (USA, Europe)"
20:25:59:444 | HL |     INFO  | +0     | Main - A.P.B. - All Points Bulletin (USA, Europe) is using the default emulator: Mednafen
20:25:59:444 | HL |     INFO  | +0     | Main - Checking for a [Mednafen] section in C:\HyperSpin\HyperLaunch\Settings\Atari Lynx\Emulators.ini
20:25:59:444 | HL |     INFO  | +0     | Main - Checking for a [Mednafen] section in C:\HyperSpin\HyperLaunch\Settings\Global Emulators.ini
20:25:59:444 | HL |     INFO  | +0     | Main - Found [Mednafen] in C:\HyperSpin\HyperLaunch\Settings\Global Emulators.ini
20:25:59:444 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\HyperLaunch\Modules\Mednafen\Mednafen.ahk exists
20:25:59:448 | HL |     INFO  | +0     | Main - CRC Check - CRC matches, this is an official unedited module.
20:25:59:448 | HL |     INFO  | +0     | Main - A.P.B. - All Points Bulletin (USA, Europe) will use module: C:\HyperSpin\HyperLaunch\Modules\Mednafen\Mednafen.ahk
20:25:59:454 | HL |     INFO  | +15    | Main - Using standard method with "Rom Extension" SkipChecks or without any SkipChecks.
20:25:59:455 | HL |     INFO  | +0     | Main - INI Keys read
20:25:59:455 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\HyperLaunch\Module Extensions\7z.exe exists
20:25:59:456 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\HyperLaunch\Module Extensions\7z.dll exists
20:25:59:457 | HL |     INFO  | +0     | CheckPaths - Started
20:25:59:457 | HL |     INFO  | +0     | CheckPaths - Found rom: Q:\GazelleGames\data\Atari - Lynx\A.P.B. - All Points Bulletin (USA, Europe).zip
20:25:59:457 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\Emulators\Mednafen\mednafen-0.9.36.5-win64\mednafen.exe exists
20:25:59:458 | HL |     INFO  | +0     | CheckPaths - Ended
20:25:59:458 | HL |     INFO  | +0     | BuildScript - User Variables:
				;----------------------------------------------------------------------------
				; INJECTED VARIABLES
				;----------------------------------------------------------------------------

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

20:25:59:458 | HL |     INFO  | +0     | BuildScript - Loaded XHotkey Init.ahk scripts
20:25:59:458 | HL |     INFO  | +0     | BuildScript - Loaded Keymapper Init.ahk scripts
20:25:59:458 | HL |     INFO  | +0     | BuildScript - Loaded Statistics Init.ahk scripts
20:25:59:459 | HL |     INFO  | +0     | BuildScript - Module:
				MEmu = Mednafen
				MEmuV =  v0.9.31 WIP
				MURL = http://mednafen.sourceforge.net/
				MAuthor = djvj
				MVersion = 2.0.9
				MCRC = DAAB2BB2
				iCRC = 1ECCF5E8
				MID = 635038268903923913
				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 Entertainment System","Nintendo Famicom","Nintendo Famicom Disk System","Nintendo Game Boy","Nintendo Game Boy Advance","Nintendo Game Boy Color","Nintendo Super Famicom","Nintendo Virtual Boy","Sega Game Gear","Sega Genesis","Sega Master System","Sega Mega Drive","SNK Neo Geo Pocket","SNK Neo Geo Pocket Color","Sony PlayStation","Super Nintendo Entertainment System"
				;----------------------------------------------------------------------------
				; Notes:
				; Below are some basic params you can change, there are many other params
				; located in the mednafen documentation that you can add If needed.
				;
				; Some people experience screen flickering and mednafen will not stay in 
				; fullscreen, you can changed vDriver below to -vdriver sdl and it will
				; possibly fix the issue.
				;
				; There is no error checking If mednafen fails, so If you try to launch
				; your game and nothing happens, then check the stdout.txt in your mednafen
				; installation directory to see what went wrong.
				;
				; To remap your keys, start a game then press alt + shift + 1 to enter
				; the key configuration.  Also see mednafen.cfg to change other keys such
				; as the exit key.
				;
				; Atari Lynx:
				; Create a folder called "firmware" in your mednafen folder and place lynxboot.img in there
				;
				; Nintendo Virtual Boy:
				; For Virtual Boy you might not be able to get in game and get stuck
				; on the intro screen, so open your cfg file and change these settings
				; to allow you to play. There are some extra options here to.
				; vb.anaglyph.lcolor 0xFF0000
				; vb.anaglyph.preset disabled
				; vb.anaglyph.rcolor 0x000000
				; vb.default_color 0xFFFFFF
				; vb.disable_parallax 0
				; vb.input.builtin.gamepad.a keyboard 109
				; vb.input.builtin.gamepad.b keyboard 110
				; vb.input.builtin.gamepad.down-l keyboard 100
				; vb.input.builtin.gamepad.down-r keyboard 107
				; vb.input.builtin.gamepad.left-l keyboard 115
				; vb.input.builtin.gamepad.left-r keyboard 106
				; vb.input.builtin.gamepad.lt keyboard 103
				; vb.input.builtin.gamepad.rapid_a keyboard 46
				; vb.input.builtin.gamepad.rapid_b keyboard 44
				; vb.input.builtin.gamepad.right-l keyboard 102
				; vb.input.builtin.gamepad.right-r keyboard 108
				; vb.input.builtin.gamepad.rt keyboard 104
				; vb.input.builtin.gamepad.select keyboard 118
				; vb.input.builtin.gamepad.start keyboard 13
				; vb.input.builtin.gamepad.up-l keyboard 101
				; vb.input.builtin.gamepad.up-r keyboard 105

				; Sony PlayStation Info:
				; Create a folder called "firmware" in your mednafen folder and place all your bios files (ex. scph5501.bin) in there. Set the options below so mednafen can find them
				; This module only supports Daemon Tools when mounting with a cue extension for psx.
				; Set your rom extension to cue
				; Multi-Disc games REQUIRES Daemon Tools, do not attempt to swap discs any other way as it is not supported by this module.
				;----------------------------------------------------------------------------
				StartModule()
				BezelGUI()
				FadeInStart()

				; 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 
				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 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 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")
				mType2 := Object("NEC PC Engine-CD","pce","NEC TurboGrafx-CD","pce","Sony PlayStation","psx")	; these systems change Mednafen's window name, so it needs to be separate from the rest

				ident1 := mType1[systemName]	; search 1st array for the systemName identifier mednafen uses
				ident2 := mType2[systemName]	; search 2nd array for the systemName identifier mednafen uses
				ident := If (!ident1 && !ident2) ? ("") : (ident1 . ident2)
				If !ident
					ScriptError("Your systemName is: " . systemName . "`nIt is not one of the known supported systems for this Mednafen module: " . moduleName)

				settingsFile := modulePath . "\" . systemName . ".ini"
				IfNotExist, %settingsFile%
					settingsFile := modulePath . "\" . moduleName . ".ini"

				; Settings used for all systems
				Fullscreen := IniReadCheck(settingsFile, "Settings", "Fullscreen","true",,1)
				Stretch := IniReadCheck(settingsFile, "Settings", "Stretch","aspect",,1)			; 0, aspect, or full
				vDriver := IniReadCheck(settingsFile, "Settings", "vDriver","opengl",,1)				; opengl or sdl
				xRes := IniReadCheck(settingsFile, "Settings", "xRes",0,,1)
				yRes := IniReadCheck(settingsFile, "Settings", "yRes",0,,1)

				stretch := If Stretch ? ("-" . ident . ".stretch " . Stretch) : ""
				vDriver := If vDriver ? ("-vdriver " . vDriver) : ""
				xRes := If xRes ? ("-" . ident . ".xres " . xRes) : ""
				yRes := If yRes ? ("-" . ident . ".yres " yRes) : ""

				If ident = lynx	; this needs to be before BezelStart so we can tell it if we need to rotate the screen or not
				{	rotateScreen := IniReadCheck(settingsFile, romName, "RotateScreen","false",,1)	; also remove all systemName section support, using systemName ini files instead, like MESS module
					rotateScreen := If rotateScreen = "true" ? "-lynx.rotateinput 1" : ""
					CheckFile(emuPath . "\firmware\lynxboot.img","Cannot find the Atari Lynx bios file required to use this system:`n" . emuPath . "\firmware\lynxboot.img")
				}

				BezelStart(,,(If rotateScreen ? 1:""))

				emuFullscreen := If Fullscreen = "true" ? "-fs 1" : "-fs 0"	; This needs to stay after BezelStart

				If ident1 = pce
					sgfxMode := If (systemName = "NEC SuperGrafx" && romExtension != sgx) ? "-pce.forcesgx 1"  : ""

				If ident2 = pce
				{	PCE_CD_Bios := IniReadCheck(settingsFile, "Bios", "PCE_CD_Bios","syscard3.pce",,1)		; Bios, placed in the bios subfolder of the emu, required for these systems: NEC PC Engine-CD & NEC TurboGrafx-CD
					CheckFile(emuPath . "\firmware\" . PCE_CD_Bios ,"Cannot find the PCE_CD_Bios  file you have defined in the module:`n" . emuPath . "\firmware\" . PCE_CD_Bios)
					pceCDBios := If PCE_CD_Bios ? ("-pce.cdbios ""firmware\"  . PCE_CD_Bios  . """") : ""
				}
				If ident = pcfx
				{	PCFX_Bios := IniReadCheck(settingsFile, "Bios", "PCFX_Bios","pcfxbios.bin",,1)			; Bios, placed in the bios subfolder of the emu, required for NEC PC-FX
					CheckFile(emuPath . "\firmware\" . PCFX_Bios ,"Cannot find the PCFX_Bios  file you have defined in the module:`n" . emuPath . "\firmware\" . PCFX_Bios)
					pcfxBios := If PCFX_Bios ? ("-pcfx.bios ""firmware\"  . PCFX_Bios  . """") : ""
				}

				If ident = psx	; only need these for Sony PlayStation, must check If these files exist, otherwise mednafan doesn't launch and HL gets stuck
				{	NA_Bios := IniReadCheck(settingsFile, "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 "bios" subfolder where Mednafen is
					EU_Bios := IniReadCheck(settingsFile, "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 "bios" subfolder where Mednafen is
					JP_Bios := IniReadCheck(settingsFile, "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 "bios" subfolder where Mednafen is
					CheckFile(emuPath . "\firmware\" . NA_Bios,"Cannot find the NA_Bios file you have defined in the module:`n" . emuPath . "\firmware\" . NA_Bios)
					CheckFile(emuPath . "\firmware\" . EU_Bios,"Cannot find the EU_Bios file you have defined in the module:`n" . emuPath . "\firmware\" . EU_Bios)
					CheckFile(emuPath . "\firmware\" . JP_Bios,"Cannot find the JP_Bios file you have defined in the module:`n" . emuPath . "\firmware\" . JP_Bios)
					naBios := If NA_Bios ? ("-psx.bios_na ""firmware\" . NA_Bios . """") : ""
					euBios := If EU_Bios ? ("-psx.bios_eu ""firmware\" .  EU_Bios . """") : ""
					jpBios := If JP_Bios ? ("-psx.bios_jp ""firmware\"  . JP_Bios . """") : ""
				}

				If bezelPath ; defining xscale and yscale relative to the bezel windowed mode
				{	If ident = lynx
					{	If !rotateScreen
						{	bezelXres := IniReadCheck(settingsFile, "Settings", "Bezel_X_Res",160,,1)	; Controls width of the emu's window, relative to the bezel's window
							bezelYres := IniReadCheck(settingsFile, "Settings", "Bezel_Y_Res",102,,1)	; Controls height of the emu's window, relative to the bezel's window
						} Else {
							bezelXres := IniReadCheck(settingsFile, "Settings", "Bezel_X_Vertical_Res",198,,1)	; Only for Atari Lynx vertical games - Controls height of the emu's window, relative to the bezel's vertical window
							bezelYres := IniReadCheck(settingsFile, "Settings", "Bezel_Y_Vertical_Res",164,,1)	; Only for Atari Lynx vertical games - Controls width of the emu's window, relative to the bezel's vertical window
						}
					} Else If ident = wswan
					{	bezelXres := IniReadCheck(settingsFile, "Settings", "Bezel_X_Res",224,,1)
						bezelYres := IniReadCheck(settingsFile, "Settings", "Bezel_Y_Res",144,,1)
					} Else If ident = pce
					{	bezelXres := IniReadCheck(settingsFile, "Settings", "Bezel_X_Res",288,,1)
						bezelYres := IniReadCheck(settingsFile, "Settings", "Bezel_Y_Res",231,,1)
					} Else If ident = pcfx
					{	bezelXres := IniReadCheck(settingsFile, "Settings", "Bezel_X_Res",341,,1)
						bezelYres := IniReadCheck(settingsFile, "Settings", "Bezel_Y_Res",480,,1)
					} Else If ident = nes
					{	bezelXres := IniReadCheck(settingsFile, "Settings", "Bezel_X_Res",298,,1)
						bezelYres := IniReadCheck(settingsFile, "Settings", "Bezel_Y_Res",240,,1)
					} Else If ident = gb
					{	bezelXres := IniReadCheck(settingsFile, "Settings", "Bezel_X_Res",160,,1)
						bezelYres := IniReadCheck(settingsFile, "Settings", "Bezel_Y_Res",144,,1)
					} Else If ident = gba
					{	bezelXres := IniReadCheck(settingsFile, "Settings", "Bezel_X_Res",240,,1)
						bezelYres := IniReadCheck(settingsFile, "Settings", "Bezel_Y_Res",160,,1)
					} Else If ident = snes
					{	bezelXres := IniReadCheck(settingsFile, "Settings", "Bezel_X_Res",256,,1)
						bezelYres := IniReadCheck(settingsFile, "Settings", "Bezel_Y_Res",224,,1)
					} Else If ident = vb
					{	bezelXres := IniReadCheck(settingsFile, "Settings", "Bezel_X_Res",384,,1)
						bezelYres := IniReadCheck(settingsFile, "Settings", "Bezel_Y_Res",224,,1)
					} Else If ident = gg
					{	bezelXres := IniReadCheck(settingsFile, "Settings", "Bezel_X_Res",160,,1)
						bezelYres := IniReadCheck(settingsFile, "Settings", "Bezel_Y_Res",144,,1)
					} Else If ident = md
					{	bezelXres := IniReadCheck(settingsFile, "Settings", "Bezel_X_Res",320,,1)
						bezelYres := IniReadCheck(settingsFile, "Settings", "Bezel_Y_Res",480,,1)
					} Else If ident = sms
					{	bezelXres := IniReadCheck(settingsFile, "Settings", "Bezel_X_Res",256,,1)
						bezelYres := IniReadCheck(settingsFile, "Settings", "Bezel_Y_Res",240,,1)
					} Else If ident = ngp
					{	bezelXres := IniReadCheck(settingsFile, "Settings", "Bezel_X_Res",160,,1)
						bezelYres := IniReadCheck(settingsFile, "Settings", "Bezel_Y_Res",152,,1)
					} Else If ident = psx
					{	bezelXres := IniReadCheck(settingsFile, "Settings", "Bezel_X_Res",640,,1)
						bezelYres := IniReadCheck(settingsFile, "Settings", "Bezel_Y_Res",480,,1)
					}
					xscale := round( bezelScreenWidth / bezelXres , 2)
					yscale := round( bezelScreenHeight / bezelYres , 2)
					xscale := "-" . ident . ".xscale " . xscale
					yscale := "-" . ident . ".yscale " . yscale
				}

				;----------------------------------------------------------------------------

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

				; Mount the CD using DaemonTools
				If ((romExtension = ".cue" || romExtension = ".ccd" || romExtension = ".iso") && dtEnabled = "true" && (ident = "psx" || ident = "pce")) {	; only Sony PlayStation tested
					Log("Module - Mounting rom in Daemon Tools")
					DaemonTools("get")
					DaemonTools("mount",romPath . "\" . romName . romExtension)
					useDT = 1
				}

				Run(executable . " " . emuFullscreen . " " . stretch . " " . vDriver . " " . (If Fullscreen = "true" ? xRes . " " . yRes : xscale . " " . yscale) . " " . sgfxMode . " " . naBios . " " . euBios . " " . jpBios . " " . pceCDBios . " " . pcfxBios . " " . rotateScreen . " " . (If useDT ? "-physcd " . dtDriveLetter . ":" : """" . romPath . "\" . romName . romExtension . """"), emuPath)

				; WinWait, % (If ident2 ? ("Mednafen") : (romName)) . " ahk_class SDL_app"
				; WinWaitActive, % (If ident2 ? ("Mednafen") : (romName)) . " ahk_class SDL_app"
				WinWait("ahk_class SDL_app")
				WinWaitActive("ahk_class SDL_app")
				BezelDraw()
				FadeInExit()

				errorLvl := Process("Exist", executable)
				If errorLvl != 0
					Process("WaitClose", executable)

				If useDT
					DaemonTools("unmount")

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


				MultiGame:
					If useDT {
						SetKeyDelay, 50
						Send, {F8 down}{F8 up}	; eject disc in mednafen - MIGHT WANT TO TRY DOING A CONTROLSEND
						DaemonTools("unmount")
						Sleep, 500	; Required to prevent  DT from bugging
						DaemonTools("mount",selectedRom)
						WinActivate, ahk_class SDL_app
						Send, {F8 down}{F8 up}	; eject disc in mednafen
					}
				Return
				RestoreEmu:
					If fullscreen = true
						WinMaximize, Mednafen ahk_class SDL_app	; mednafen will not restore unless this command is used
					WinActivate, Mednafen ahk_class SDL_app
				Return

				CloseProcess:
					FadeOutStart()
					WinClose("ahk_class SDL_app")
					; WinClose, % (If ident2 ? ("Mednafen") : (romName)) . " ahk_class SDL_app"
				Return

20:25:59:459 | HL |     INFO  | +0     | CheckFile - Checking if C:\Program Files (x86)\DAEMON Tools Lite\DTLite.exe exists
20:25:59:463 | HL |     INFO  | +0     | BuildScript - Loaded Statistics.ahk script
20:25:59:463 | HL |     INFO  | +0     | BuildScript - Finished injecting functions into module
20:25:59:463 | HL |     INFO  | +0     | Main - Module is built
20:25:59:463 | HL |     INFO  | +0     | CheckFile - Checking if C:\HyperSpin\HyperLaunch\AutoHotkey.dll exists
20:25:59:473 | HL |     INFO  | +16    | Main - Running module

post-59134-142870657893_thumb.png

Link to comment
Share on other sites

Looking at the log file - the section that also happens to correspond with your error is WinActivate, ahk_class SDL_app.

Try going into the Atari Lynx - settings tab and disable Daemon Tools and possibly disable - Use SCSI.

Lynx does not need DT enabled and it appears that's where that error is pointing to.

I've tested it both ways on my system and it appears not to matter but for whatever reason your system is being difficult.

Link to comment
Share on other sites

I thought I'd tried launching directly from the command line, but apparently I hadn't.

post-59134-142870658252_thumb.png

Starting Mednafen 0.9.36.5
Build information:
  Compiled with gcc 4.7.3
  Compiled against zlib 1.2.8, running with zlib 1.2.8
  Compiled against SDL 1.2.15, running with SDL 1.2.15
  Running with libsndfile-1.0.25
  Compiled against libcdio 0.92 x86_64-unknown-linux-gnu, running with libcdio 0.92 x86_64-unknown-linux-gnu
Base directory: C:\HyperSpin\Emulators\Mednafen\mednafen-0.9.36.5-win64
Internal emulation modules: nes snes gb gba pce pce_fast lynx md pcfx ngp psx vb wswan sms gg cdplay demo
External emulation modules: 
Loading settings from "C:\HyperSpin\Emulators\Mednafen\mednafen-0.9.36.5-win64\mednafen-09x.cfg"...
Initializing joysticks...
 Joystick 0 - XInput Unknown Controller - Unique ID: 0000000000010000
Loading Q:\GazelleGames\data\Atari - Lynx\Bill & Ted's Excellent Adventure (USA, Europe).zip...
 Applying IPS file "Q:\GazelleGames\data\Atari - Lynx\Bill & Ted's Excellent Adventure (USA, Europe).zip.ips"...
  Failed: Error opening file "Q:\GazelleGames\data\Atari - Lynx\Bill & Ted's Excellent Adventure (USA, Europe).zip.ips": No such file or directory
Unrecognized file format.

and again trying to use a decompressed .lnx file

post-59134-142870658256_thumb.png

Starting Mednafen 0.9.36.5
Build information:
  Compiled with gcc 4.7.3
  Compiled against zlib 1.2.8, running with zlib 1.2.8
  Compiled against SDL 1.2.15, running with SDL 1.2.15
  Running with libsndfile-1.0.25
  Compiled against libcdio 0.92 x86_64-unknown-linux-gnu, running with libcdio 0.92 x86_64-unknown-linux-gnu
Base directory: C:\HyperSpin\Emulators\Mednafen\mednafen-0.9.36.5-win64
Internal emulation modules: nes snes gb gba pce pce_fast lynx md pcfx ngp psx vb wswan sms gg cdplay demo
External emulation modules: 
Loading settings from "C:\HyperSpin\Emulators\Mednafen\mednafen-0.9.36.5-win64\mednafen-09x.cfg"...
Initializing joysticks...
 Joystick 0 - XInput Unknown Controller - Unique ID: 0000000000010000
Loading Q:\GazelleGames\data\Atari - Lynx\A.P.B. - All Points Bulletin (USA, Europe)\A.P.B. - All Points Bulletin (USA, Europe).lnx...
 Applying IPS file "Q:\GazelleGames\data\Atari - Lynx\A.P.B. - All Points Bulletin (USA, Europe)\A.P.B. - All Points Bulletin (USA, Europe).lnx.ips"...
  Failed: Error opening file "Q:\GazelleGames\data\Atari - Lynx\A.P.B. - All Points Bulletin (USA, Europe)\A.P.B. - All Points Bulletin (USA, Europe).lnx.ips": No such file or directory
Unrecognized file format.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...