Crash when Selecting PSX (Playstation 1) ROM

Hi,

The crash is as in the image in the link: https://i.gyazo.com/974b39ef9391e178eb762c26b6621a37.png

Error details from Event Viewer (if relevant - Windows 7):

[-](file:///C:/Users/Ven/AppData/Local/Temp/tmp608B.xml#) <Event xmlns="[B]http://schemas.microsoft.com/win/2004/08/events/event">[/B][B] [-](file:///C:/Users/Ven/AppData/Local/Temp/tmp608B.xml#) <System>
  <Provider Name="[B]Application Error[/B]" /> 

  <EventID Qualifiers="[B]0[/B]">1000</EventID> 

  <Level>2</Level> 

  <Task>100</Task> 

  <Keywords>0x80000000000000</Keywords> 

  <TimeCreated SystemTime="[B]2016-02-15T02:56:53.000000000Z[/B]" /> 

  <EventRecordID>24642</EventRecordID> 

  <Channel>Application</Channel> 

  <Computer>Skyferia</Computer> 

  <Security /> 

  </System>


[-](file:///C:/Users/Ven/AppData/Local/Temp/tmp608B.xml#) <EventData>
  <Data>retroarch.exe</Data> 

  <Data>0.0.0.0</Data> 

  <Data>00000000</Data> 

  <Data>mednafen_psx_libretro.dll</Data> 

  <Data>0.0.0.0</Data> 

  <Data>56ba617f</Data> 

  <Data>40000015</Data> 

  <Data>000000000019dffa</Data> 

  <Data>4b34</Data> 

  <Data>01d1679c1ea228b5</Data> 

  <Data>E:\Program Files\RetroArch\RetroArch-v1.3.0-x86_64-Windows\retroarch.exe</Data> 

  <Data>E:\Program Files\RetroArch\RetroArch-v1.3.0-x86_64-Windows\cores\mednafen_psx_libretro.dll</Data> 

  <Data>c401a2fd-d38f-11e5-b4fa-6cf049b476b8</Data> 

  </EventData>



[/B]
[B]  </Event>

[/B]

Please, advice. Thanks in advance.

We need a log from RetroArch to tell what’s going on. Run the retroarch-debug.exe from a command line with --verbose --menu and it will print any errors to the console window.

However, most issues with mednafen-psx come down to a handful of things: wrong image type (it only supports images with cue sheets), malformed cue sheets (probably not an issue on Windows; it’s more of a deal on case-sensitive filesystems) and/or missing/bad BIOS images.

Hijacking this thread

W:\Spiele\EmulationStation.emulationstation\systems\retroarch>retroarch_debug.exe --verbose --menuRetroArch [INFO] :: === Build =======================================RetroArch [INFO] :: [CPUID]: Vendor: GenuineIntel RetroArch [INFO] :: [CPUID]: Features: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX AES Built: Jan 17 2016 RetroArch [INFO] :: Version: 1.3.0 RetroArch [INFO] :: Git: 4de1726 RetroArch [INFO] :: ================================================= RetroArch [INFO] :: [CPUID]: Vendor: GenuineIntel RetroArch [INFO] :: [CPUID]: Features: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX RetroArch [INFO] :: Config: loading config from: W:\Spiele\EmulationStation.emulationstation\systems\retroarch\retroarch.cfg. RetroArch [INFO] :: Threaded rarch_task started RetroArch [INFO] :: Environ SET_PIXEL_FORMAT: RGB565. RetroArch [INFO] :: Version of libretro API: 1 RetroArch [INFO] :: Compiled against API: 1 RetroArch [INFO] :: Set audio input rate to: 29975.00 Hz. RetroArch [INFO] :: Found shader “W:\Spiele\EmulationStation.emulationstation\systems\retroarch\shaders\4do_libretro.dll.cgp” RetroArch [INFO] :: Found shader “W:\Spiele\EmulationStation.emulationstation\systems\retroarch\shaders\fb_alpha_libretro.dll.cgp” RetroArch [INFO] :: Found shader “W:\Spiele\EmulationStation.emulationstation\systems\retroarch\shaders\fb_alpha_neo_libretro.cgp” RetroArch [INFO] :: Found shader “W:\Spiele\EmulationStation.emulationstation\systems\retroarch\shaders\fba_libretro.dll.cgp” RetroArch [INFO] :: Found shader “W:\Spiele\EmulationStation.emulationstation\systems\retroarch\shaders\fceumm_libretro.dll.cgp” RetroArch [INFO] :: Found shader “W:\Spiele\EmulationStation.emulationstation\systems\retroarch\shaders\gambatte_libretro.dll.cgp” RetroArch [INFO] :: Found shader “W:\Spiele\EmulationStation.emulationstation\systems\retroarch\shaders\mame_libretro.dll.cgp” RetroArch [INFO] :: Found shader “W:\Spiele\EmulationStation.emulationstation\systems\retroarch\shaders\mednafen_psx_libretro.dll.cgp” RetroArch [INFO] :: Found shader “W:\Spiele\EmulationStation.emulationstation\systems\retroarch\shaders\mupen64plus_libretro.dll.cgp” RetroArch [INFO] :: Found shader “W:\Spiele\EmulationStation.emulationstation\systems\retroarch\shaders\picodrive_libretro.dll.cgp” RetroArch [INFO] :: Found shader “W:\Spiele\EmulationStation.emulationstation\systems\retroarch\shaders\reicast_libretro.dll.cgp” RetroArch [INFO] :: Found shader “W:\Spiele\EmulationStation.emulationstation\systems\retroarch\shaders\retroarch.cgp” RetroArch [INFO] :: Found shader “W:\Spiele\EmulationStation.emulationstation\systems\retroarch\shaders\snes9x_next_libretro.dll.cgp” RetroArch [INFO] :: Found shader “W:\Spiele\EmulationStation.emulationstation\systems\retroarch\shaders\stella_libretro.dll.cgp” RetroArch [INFO] :: Video @ fullscreen RetroArch [INFO] :: Found GL context: wgl RetroArch [INFO] :: Detecting screen resolution 1920x1080. RetroArch [INFO] :: [WGL]: wglSwapInterval(1) RetroArch [INFO] :: [GL]: Vendor: NVIDIA Corporation, Renderer: GeForce GTX 760/PCIe/SSE2. RetroArch [INFO] :: [GL]: Version: 4.5.0 NVIDIA 361.75. RetroArch [INFO] :: Querying GL extension: ARB_ES2_compatibility => exists RetroArch [INFO] :: Querying GL extension: ARB_sync => exists RetroArch [INFO] :: Querying GL extension: ARB_texture_float => exists RetroArch [INFO] :: Querying GL extension: EXT_texture_sRGB => exists RetroArch [INFO] :: Querying GL extension: ARB_framebuffer_sRGB => exists RetroArch [INFO] :: GL: Using resolution 1920x1080 RetroArch [INFO] :: [GL]: Default shader backend found: glsl. RetroArch [INFO] :: [GL]: Using Cg shader backend. RetroArch [INFO] :: [Cg]: Vertex profile: gp5vp RetroArch [INFO] :: [Cg]: Fragment profile: gp5fp RetroArch [INFO] :: Loading Cg meta-shader: W:\Spiele\EmulationStation.emulationstation\systems\retroarch\shaders\mednafen_psx_libretro.dll.cgp RetroArch [INFO] :: Found #pragma parameter Sharpness Horizontal (SHARPNESS_H) 0.500000 0.000000 1.000000 0.050000 RetroArch [INFO] :: Found #pragma parameter Sharpness Vertical (SHARPNESS_V) 1.000000 0.000000 1.000000 0.050000 RetroArch [INFO] :: Found #pragma parameter Mask Strength (MASK_STRENGTH) 0.300000 0.000000 1.000000 0.010000 RetroArch [INFO] :: Found #pragma parameter Mask Dot Width (MASK_DOT_WIDTH) 1.000000 1.000000 100.000000 1.000000 RetroArch [INFO] :: Found #pragma parameter Mask Dot Height (MASK_DOT_HEIGHT) 1.000000 1.000000 100.000000 1.000000 RetroArch [INFO] :: Found #pragma parameter Mask Stagger (MASK_STAGGER) 0.000000 0.000000 100.000000 1.000000 RetroArch [INFO] :: Found #pragma parameter Mask Size (MASK_SIZE) 1.000000 1.000000 100.000000 1.000000 RetroArch [INFO] :: Found #pragma parameter Scanline Strength (SCANLINE_STRENGTH) 1.000000 0.000000 1.000000 0.050000 RetroArch [INFO] :: Found #pragma parameter Scanline Beam Width Min. (SCANLINE_BEAM_WIDTH_MIN) 1.500000 0.500000 5.000000 0.500000 RetroArch [INFO] :: Found #pragma parameter Scanline Beam Width Max. (SCANLINE_BEAM_WIDTH_MAX) 1.500000 0.500000 5.000000 0.500000 RetroArch [INFO] :: Found #pragma parameter Scanline Brightness Min. (SCANLINE_BRIGHT_MIN) 0.350000 0.000000 1.000000 0.050000 RetroArch [INFO] :: Found #pragma parameter Scanline Brightness Max. (SCANLINE_BRIGHT_MAX) 0.650000 0.000000 1.000000 0.050000 RetroArch [INFO] :: Found #pragma parameter Scanline Cutoff (SCANLINE_CUTOFF) 400.000000 1.000000 1000.000000 1.000000 RetroArch [INFO] :: Found #pragma parameter Gamma Input (GAMMA_INPUT) 2.000000 0.100000 5.000000 0.100000 RetroArch [INFO] :: Found #pragma parameter Gamma Output (GAMMA_OUTPUT) 1.800000 0.100000 5.000000 0.100000 RetroArch [INFO] :: Found #pragma parameter Brightness Boost (BRIGHT_BOOST) 1.200000 1.000000 2.000000 0.010000 RetroArch [INFO] :: Found #pragma parameter Dilation (DILATION) 1.000000 0.000000 1.000000 1.000000 RetroArch [INFO] :: Loading Cg shader: “W:\Spiele\EmulationStation.emulationstation\systems\retroarch\shaders\shaders_cg\crt\shaders/crt-easymode.cg”. RetroArch [INFO] :: CG: Found semantic “POSITION” in prog #1. RetroArch [INFO] :: CG: Found semantic “TEXCOORD” in prog #1. RetroArch [INFO] :: [GL]: Using 4 textures. RetroArch [INFO] :: [GL]: Loaded 1 program(s). RetroArch [INFO] :: [GL]: Using GL_RGB565 for texture uploads. RetroArch [INFO] :: Found XInput v1.4. RetroArch [INFO] :: Found XInput controller, user #0 RetroArch [INFO] :: Enumerating DInput joypads … RetroArch [INFO] :: Device #0 PID: {02A1} VID:{045E} RetroArch [INFO] :: Done enumerating DInput joypads … RetroArch [INFO] :: Autodetect: 0 profiles found RetroArch [INFO] :: Found joypad driver: “xinput”. RetroArch [INFO] :: Using font rendering backend: freetype. RetroArch [INFO] :: [CPUID]: Vendor: GenuineIntel RetroArch [INFO] :: [CPUID]: Features: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX RetroArch [INFO] :: XAudio2: Requesting 64 ms latency, using 64 ms latency. RetroArch [INFO] :: [CPUID]: Vendor: GenuineIntel RetroArch [INFO] :: [CPUID]: Features: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX RetroArch [INFO] :: Found menu display driver: “menu_display_gl”. RetroArch [INFO] :: Using font rendering backend: freetype. RetroArch [INFO] :: Found #pragma parameter Sharpness Horizontal (SHARPNESS_H) 0.500000 0.000000 1.000000 0.050000 RetroArch [INFO] :: Found #pragma parameter Sharpness Vertical (SHARPNESS_V) 1.000000 0.000000 1.000000 0.050000 RetroArch [INFO] :: Found #pragma parameter Mask Strength (MASK_STRENGTH) 0.300000 0.000000 1.000000 0.010000 RetroArch [INFO] :: Found #pragma parameter Mask Dot Width (MASK_DOT_WIDTH) 1.000000 1.000000 100.000000 1.000000 RetroArch [INFO] :: Found #pragma parameter Mask Dot Height (MASK_DOT_HEIGHT) 1.000000 1.000000 100.000000 1.000000 RetroArch [INFO] :: Found #pragma parameter Mask Stagger (MASK_STAGGER) 0.000000 0.000000 100.000000 1.000000 RetroArch [INFO] :: Found #pragma parameter Mask Size (MASK_SIZE) 1.000000 1.000000 100.000000 1.000000 RetroArch [INFO] :: Found #pragma parameter Scanline Strength (SCANLINE_STRENGTH) 1.000000 0.000000 1.000000 0.050000 RetroArch [INFO] :: Found #pragma parameter Scanline Beam Width Min. (SCANLINE_BEAM_WIDTH_MIN) 1.500000 0.500000 5.000000 0.500000 RetroArch [INFO] :: Found #pragma parameter Scanline Beam Width Max. (SCANLINE_BEAM_WIDTH_MAX) 1.500000 0.500000 5.000000 0.500000 RetroArch [INFO] :: Found #pragma parameter Scanline Brightness Min. (SCANLINE_BRIGHT_MIN) 0.350000 0.000000 1.000000 0.050000 RetroArch [INFO] :: Found #pragma parameter Scanline Brightness Max. (SCANLINE_BRIGHT_MAX) 0.650000 0.000000 1.000000 0.050000 RetroArch [INFO] :: Found #pragma parameter Scanline Cutoff (SCANLINE_CUTOFF) 400.000000 1.000000 1000.000000 1.000000 RetroArch [INFO] :: Found #pragma parameter Gamma Input (GAMMA_INPUT) 2.000000 0.100000 5.000000 0.100000 RetroArch [INFO] :: Found #pragma parameter Gamma Output (GAMMA_OUTPUT) 1.800000 0.100000 5.000000 0.100000 RetroArch [INFO] :: Found #pragma parameter Brightness Boost (BRIGHT_BOOST) 1.200000 1.000000 2.000000 0.010000 RetroArch [INFO] :: Found #pragma parameter Dilation (DILATION) 1.000000 0.000000 1.000000 1.000000 RetroArch [INFO] :: Using font rendering backend: freetype. RetroArch [WARN] :: Input device ID 517 is unknown to this libretro implementation. Using RETRO_DEVICE_JOYPAD. RetroArch [WARN] :: Input device ID 517 is unknown to this libretro implementation. Using RETRO_DEVICE_JOYPAD. RetroArch [INFO] :: SRAM will not be saved. RetroArch [INFO] :: [GL]: VSync => on RetroArch [INFO] :: [WGL]: wglSwapInterval(1) RetroArch [INFO] :: null: [W:\Spiele\EmulationStation.emulationstation\systems\retroarch\content_history.lpl]. RetroArch [INFO] :: [GL]: VSync => on RetroArch [INFO] :: [WGL]: wglSwapInterval(1) RetroArch [INFO] :: Using content: W:\Spiele\EmulationStation.emulationstation\roms\psx\Die Hard Trilogy [U] [SLUS-00119].ccd. RetroArch [INFO] :: arg #0: retroarch RetroArch [INFO] :: arg #1: W:\Spiele\EmulationStation.emulationstation\roms\psx\Die Hard Trilogy [U] [SLUS-00119].ccd RetroArch [INFO] :: arg #2: -c RetroArch [INFO] :: arg #3: W:\Spiele\EmulationStation.emulationstation\systems\retroarch\retroarch.cfg RetroArch [INFO] :: arg #4: -L RetroArch [INFO] :: arg #5: W:\Spiele\EmulationStation.emulationstation\systems\retroarch\cores\mednafen_psx_libretro.dll RetroArch [INFO] :: CG: Destroying programs. RetroArch [INFO] :: CG: Destroying context. RetroArch [INFO] :: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames. RetroArch [INFO] :: === Build =======================================RetroArch [INFO] :: [CPUID]: Vendor: GenuineIntel RetroArch [INFO] :: [CPUID]: Features: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX AES Built: Jan 17 2016 RetroArch [INFO] :: Version: 1.3.0 RetroArch [INFO] :: Git: 4de1726 RetroArch [INFO] :: ================================================= RetroArch [INFO] :: [CPUID]: Vendor: GenuineIntel RetroArch [INFO] :: [CPUID]: Features: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX RetroArch [INFO] :: Config: loading core-specific config from: W:\Spiele\EmulationStation.emulationstation\systems\retroarch\config\mednafen_psx_libretro.dll.cfg.

The rom worked porperly last time i used it (2 months ago, updated to new 1.3 retroarch and mednafen core). Whats wrong how can i fix the problem?

Check your mednafen_psx_libretro.dll.cfg, verify that the system directory is set and that it is the folder that contains your BIOS files

[QUOTE=hunterk;34461]However, most issues with mednafen-psx come down to a handful of things: wrong image type (it only supports images with cue sheets), malformed cue sheets (probably not an issue on Windows; it’s more of a deal on case-sensitive filesystems) and/or missing/bad BIOS images.[/QUOTE]Understood, duly noted.

[QUOTE=hunterk;34461]We need a log from RetroArch to tell what’s going on. Run the retroarch-debug.exe from a command line with --verbose --menu and it will print any errors to the console window. [/QUOTE]From a command line? If you meant from cmd, isn’t the outcome the same as directly running retroarch-debug.exe?

[QUOTE=Radius;34467]Check your mednafen_psx_libretro.dll.cfg, verify that the system directory is set and that it is the folder that contains your BIOS files[/QUOTE]That file is not found when searching the RetroArch directory. If you meant retroarch.cfg, which line should I set it and how?

yeah, run it from cmd with --verbose --menu. If you just double-click it, you won’t have the --verbose flag, which is needed to get the full output.

It worked after doing that. That = run it from cmd with --verbose --menu Strange. Any idea how that fixed the issue?

That’s weird. I guess your solution is to just keep doing that :stuck_out_tongue:

Does retroarch-debug.exe crash if you don’t use --verbose? If not, what about when you just double-click retroarch-debug.exe?

[QUOTE=hunterk;34500]That’s weird. I guess your solution is to just keep doing that :P[/QUOTE]That will be really troublesome. =/ Will inform if I have to keep doing that or not.

[QUOTE=hunterk;34500]Does retroarch-debug.exe crash if you don’t use --verbose? If not, what about when you just double-click retroarch-debug.exe?[/QUOTE]No it does not, to both questions.

Ok, in that case, just always use retroarch-debug by double-clicking on it, just as you would with the regular retroarch.exe. Retroarch-debug is identical to the other executable except that it spawns a console window.

It happened to me recently with runtime error. It was because the system bios directory was set as Content Dir by default, unlike previous versions.

the runtime error was only in win32 and it’s fixed already, toolchain issue combined with the user not having the bios in the dir that is set.