Some games not playing

Weird? haha why? because you didn’t happen to find them? It’s an issue with the command line retroarch. It won’t read the save paths from the cfg and will default to system.

weird since noone else has reported them. Can you try with an absolute path? and if it doesn’t work can you try without spaces?

Then there wouldn’t be a need for me to report if someone already had, one has to be the first, confused.

Whenever I report a possible bug is because I have tested already quite a bit. Yes, I had done those as well before posting, have you checked yourself loading through command line?

Whenever I report a possible bug is because I have tested already quite a bit. Yes, I had done those as well before posting, have you checked yourself loading through command line?[/quote]

  1. I’m not attacking you
  2. it’s not a bug unless it can be reproduced I use RA via the command line:

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Users\Andres>d:

D:\>cd D:\Emulators\RetroArch

D:\Emulators\RetroArch>D:\Emulators\RetroArch\retroarch.exe --config config\pc-andres\retroarch.cfg -L libretro\beetle_psx_libretro.dll "d:\Games\Console\Sony Playstation\Castlevania - Symphony of the Night (USA).cue"
RetroArch: Loading dynamic libretro from: "D:\Emulators\RetroArch\libretro\beetle_psx_libretro.dll"
RetroArch: Environ SET_VARIABLES.
RetroArch: Core option:
RetroArch:      Description: CD Image Cache (Restart)
RetroArch:      Key: beetle_psx_cdimagecache
RetroArch:      Current value: disabled
RetroArch:      Possible values:
RetroArch:              disabled
RetroArch:              enabled
RetroArch: Core option:
RetroArch:      Description: Dithering
RetroArch:      Key: beetle_psx_dithering
RetroArch:      Current value: enabled
RetroArch:      Possible values:
RetroArch:              enabled
RetroArch:              disabled
RetroArch: Core option:
RetroArch:      Description: Initial scanline
RetroArch:      Key: beetle_psx_initial_scanline
RetroArch:      Current value: 0
RetroArch:      Possible values:
RetroArch:              0
RetroArch:              1
RetroArch:              2
RetroArch:              3
RetroArch:              4
RetroArch:              5
RetroArch:              6
RetroArch:              7
RetroArch:              8
RetroArch:              9
RetroArch:              10
RetroArch:              10
RetroArch:              11
RetroArch:              12
RetroArch:              13
RetroArch:              14
RetroArch:              15
RetroArch:              16
RetroArch:              17
RetroArch:              18
RetroArch:              19
RetroArch:              20
RetroArch:              21
RetroArch:              22
RetroArch:              23
RetroArch:              24
RetroArch:              25
RetroArch:              26
RetroArch:              27
RetroArch:              28
RetroArch:              29
RetroArch:              30
RetroArch:              31
RetroArch:              32
RetroArch:              33
RetroArch:              34
RetroArch:              35
RetroArch:              36
RetroArch:              37
RetroArch:              38
RetroArch:              39
RetroArch:              40
RetroArch: Core option:
RetroArch:      Description: Initial scanline PAL
RetroArch:      Key: beetle_psx_initial_scanline_pal
RetroArch:      Current value: 0
RetroArch:      Possible values:
RetroArch:              0
RetroArch:              1
RetroArch:              2
RetroArch:              3
RetroArch:              4
RetroArch:              5
RetroArch:              6
RetroArch:              7
RetroArch:              8
RetroArch:              9
RetroArch:              10
RetroArch:              10
RetroArch:              11
RetroArch:              12
RetroArch:              13
RetroArch:              14
RetroArch:              15
RetroArch:              16
RetroArch:              17
RetroArch:              18
RetroArch:              19
RetroArch:              20
RetroArch:              21
RetroArch:              22
RetroArch:              23
RetroArch:              24
RetroArch:              25
RetroArch:              26
RetroArch:              27
RetroArch:              28
RetroArch:              29
RetroArch:              30
RetroArch:              31
RetroArch:              32
RetroArch:              33
RetroArch:              34
RetroArch:              35
RetroArch:              36
RetroArch:              37
RetroArch:              38
RetroArch:              39
RetroArch:              40
RetroArch: Core option:
RetroArch:      Description: Last scanline
RetroArch:      Key: beetle_psx_last_scanline
RetroArch:      Current value: 239
RetroArch:      Possible values:
RetroArch:              239
RetroArch:              238
RetroArch:              237
RetroArch:              236
RetroArch:              235
RetroArch:              234
RetroArch:              232
RetroArch:              231
RetroArch:              230
RetroArch:              229
RetroArch:              228
RetroArch:              227
RetroArch:              226
RetroArch:              225
RetroArch:              224
RetroArch:              223
RetroArch:              222
RetroArch:              221
RetroArch:              220
RetroArch:              219
RetroArch:              218
RetroArch:              217
RetroArch:              216
RetroArch:              215
RetroArch:              214
RetroArch:              213
RetroArch:              212
RetroArch:              211
RetroArch:              210
RetroArch: Core option:
RetroArch:      Description: Last scanline PAL
RetroArch:      Key: beetle_psx_last_scanline_pal
RetroArch:      Current value: 287
RetroArch:      Possible values:
RetroArch:              287
RetroArch:              286
RetroArch:              285
RetroArch:              284
RetroArch:              283
RetroArch:              283
RetroArch:              282
RetroArch:              281
RetroArch:              280
RetroArch:              279
RetroArch:              278
RetroArch:              277
RetroArch:              276
RetroArch:              275
RetroArch:              274
RetroArch:              273
RetroArch:              272
RetroArch:              271
RetroArch:              270
RetroArch:              269
RetroArch:              268
RetroArch:              267
RetroArch:              266
RetroArch:              265
RetroArch:              264
RetroArch:              263
RetroArch:              262
RetroArch:              261
RetroArch:              260
RetroArch: Core option:
RetroArch:      Description: Dualshock analog toggle
RetroArch:      Key: beetle_psx_analog_toggle
RetroArch:      Current value: disabled
RetroArch:      Possible values:
RetroArch:              disabled
RetroArch:              enabled
RetroArch: Core option:
RetroArch:      Description: Port 1: Multitap enable
RetroArch:      Key: beetle_psx_enable_multitap_port1
RetroArch:      Current value: disabled
RetroArch:      Possible values:
RetroArch:              disabled
RetroArch:              enabled
RetroArch: Core option:
RetroArch:      Description: Port 2: Multitap enable
RetroArch:      Key: beetle_psx_enable_multitap_port2
RetroArch:      Current value: disabled
RetroArch:      Possible values:
RetroArch:              disabled
RetroArch:              enabled
RetroArch: Environ SET_CONTROLLER_INFO.
RetroArch: Controller port: 1
RetroArch:    PS1 Joypad (ID: 1)
RetroArch:    DualAnalog (ID: 261)
RetroArch:    DualShock (ID: 517)
RetroArch:    FlightStick (ID: 773)
RetroArch: Controller port: 2
RetroArch:    PS1 Joypad (ID: 1)
RetroArch:    DualAnalog (ID: 261)
RetroArch:    DualShock (ID: 517)
RetroArch:    FlightStick (ID: 773)
RetroArch: Version of libretro API: 1
RetroArch: Compiled against API: 1
RetroArch: Environ GET_LOG_INTERFACE.
RetroArch: Environ SYSTEM_DIRECTORY: "..\..\EmulatorData\System".
RetroArch: Environ SAVE_DIRECTORY: "..\..\EmulatorData\Saves".
RetroArch: Environ SET_DISK_CONTROL_INTERFACE.
RetroArch: Environ GET_PERF_INTERFACE.
RetroArch: Environ PERFORMANCE_LEVEL: 15.
RetroArch: Content loading skipped. Implementation will load it on its own.
RetroArch: Environ SET_PIXEL_FORMAT: XRGB8888.
RetroArch: Environ GET_OVERSCAN: 0
RetroArch: Environ GET_VARIABLE beetle_psx_cdimagecache:
RetroArch:      disabled
RetroArch: Environ GET_VARIABLE beetle_psx_dithering:
RetroArch:      enabled
RetroArch: Environ GET_VARIABLE beetle_psx_analog_toggle:
RetroArch:      disabled
RetroArch: Environ GET_VARIABLE beetle_psx_enable_multitap_port1:
RetroArch:      disabled
RetroArch: Environ GET_VARIABLE beetle_psx_enable_multitap_port2:
RetroArch:      disabled
RetroArch: Environ GET_VARIABLE beetle_psx_initial_scanline:
RetroArch:      0
RetroArch: Environ GET_VARIABLE beetle_psx_last_scanline:
RetroArch:      239
RetroArch: Environ GET_VARIABLE beetle_psx_initial_scanline_pal:
RetroArch:      0
RetroArch: Environ GET_VARIABLE beetle_psx_last_scanline_pal:
RetroArch:      287
RetroArch: Environ GET_RUMBLE_INTERFACE.
RetroArch: [libretro INFO] :: Rumble interface supported!
RetroArch: [libretro INFO] :: Loading d:\EmulatorData\Games\Console\Sony Playstation\Castlevania - Symphony of the Night (USA).cue...
RetroArch: [libretro DEBUG] :: CD 1 Layout:
RetroArch: [libretro DEBUG] :: Track  1, LBA:      0  DATA
RetroArch: [libretro DEBUG] :: Track  2, LBA: 229170  AUDIO
RetroArch: [libretro DEBUG] :: Leadout: 248015
RetroArch: [libretro INFO] :: Using module: psx(Sony PlayStation)
unhandled setting UI: psx.input.port1.gun_chairs
unhandled setting UI: psx.input.port2.gun_chairs
unhandled setting UI: psx.input.port3.gun_chairs
unhandled setting UI: psx.input.port4.gun_chairs
unhandled setting UI: psx.input.port5.gun_chairs
unhandled setting UI: psx.input.port6.gun_chairs
unhandled setting UI: psx.input.port7.gun_chairs
unhandled setting UI: psx.input.port8.gun_chairs
RetroArch: [libretro INFO] :: MDFN_MakeFName: ..\..\EmulatorData\System\scph5501.bin
RetroArch: [libretro INFO] :: MDFN_MakeFName: ..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).f3746f94d08b6532598d3deefee69151.1.mcr
RetroArch: [libretro INFO] :: MDFN_MakeFName: ..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).f3746f94d08b6532598d3deefee69151.2.mcr
RetroArch [ERROR] :: [libretro ERROR] :: Error opening file No such file or directory
RetroArch: [libretro INFO] :: MDFN_MakeFName: ..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).f3746f94d08b6532598d3deefee69151.3.mcr
RetroArch [ERROR] :: [libretro ERROR] :: Error opening file No such file or directory
RetroArch: [libretro INFO] :: MDFN_MakeFName: ..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).f3746f94d08b6532598d3deefee69151.4.mcr
RetroArch [ERROR] :: [libretro ERROR] :: Error opening file No such file or directory
RetroArch: [libretro INFO] :: MDFN_MakeFName: ..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).f3746f94d08b6532598d3deefee69151.5.mcr
RetroArch [ERROR] :: [libretro ERROR] :: Error opening file No such file or directory
RetroArch: [libretro INFO] :: MDFN_MakeFName: ..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).f3746f94d08b6532598d3deefee69151.6.mcr
RetroArch [ERROR] :: [libretro ERROR] :: Error opening file No such file or directory
RetroArch: [libretro INFO] :: MDFN_MakeFName: ..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).f3746f94d08b6532598d3deefee69151.7.mcr
RetroArch [ERROR] :: [libretro ERROR] :: Error opening file No such file or directory
RetroArch: [libretro INFO] :: MDFN_MakeFName:
RetroArch: Set audio input rate to: 44106.62 Hz.
RetroArch: Found shader "..\..\EmulatorData\Shaders\5xbr-retro.cg"
RetroArch: Found shader "..\..\EmulatorData\Shaders\bead.cg"
RetroArch: Found shader "..\..\EmulatorData\Shaders\blinky.cg"
RetroArch: Found shader "..\..\EmulatorData\Shaders\htpc-andres.cgp"
RetroArch: Found shader "..\..\EmulatorData\Shaders\htpc-andres_default.cgp"
RetroArch: Found shader "..\..\EmulatorData\Shaders\htpc-andres_mame.cgp"
RetroArch: Found shader "..\..\EmulatorData\Shaders\htpc-leo.cgp"
RetroArch: Found shader "..\..\EmulatorData\Shaders\htpc-leo_default.cgp"
RetroArch: Found shader "..\..\EmulatorData\Shaders\htpc-leo_mame.cgp"
RetroArch: Found shader "..\..\EmulatorData\Shaders\pixellate.cg"
RetroArch: Found shader "..\..\EmulatorData\Shaders\quilez.cg"
RetroArch: Found shader "..\..\EmulatorData\Shaders\retro-v2.cg"
RetroArch: Found shader "..\..\EmulatorData\Shaders\retroarch.cgp"
RetroArch: Found shader "..\..\EmulatorData\Shaders\scanline.cg"
RetroArch: Found shader "..\..\EmulatorData\Shaders\sharp-bilinear.cg"
RetroArch: Found shader "..\..\EmulatorData\Shaders\stock.cg"
RetroArch: Video @ fullscreen
RetroArch: Setting multimedia scheduling for DWM.
RetroArch: Found GL context: wgl
RetroArch: Detecting screen resolution 2560x1440.
RetroArch: [WGL]: wglSwapInterval(1)
RetroArch: [GL]: Vendor: NVIDIA Corporation, Renderer: GeForce GTX 770/PCIe/SSE2.
RetroArch: [GL]: Version: 4.4.0.
RetroArch: Querying GL extension: ARB_ES2_compatibility => exists
RetroArch: Querying GL extension: ARB_sync => exists
RetroArch: [GL]: Using ARB_sync to reduce latency.
RetroArch: Querying GL extension: ARB_texture_float => exists
RetroArch: Querying GL extension: EXT_texture_sRGB => exists
RetroArch: Querying GL extension: ARB_framebuffer_sRGB => exists
RetroArch: GL: Using resolution 2560x1440
RetroArch: [GL]: Not loading any shader.
RetroArch: GL: Using 4 textures.
RetroArch: GL: Loaded 0 program(s).
RetroArch: Found XInput v1.4.
RetroArch: Found XInput controller, player #0
RetroArch: Enumerating DInput joypads ...
RetroArch: Done enumerating DInput joypads ...
RetroArch: Found joypad driver: "winxinput".
RetroArch: Using font rendering backend: freetype.
RetroArch: XAudio2: Requesting 64 ms latency, using 64 ms latency.
XAudio2 devices:
        0: Speakers (Realtek High Definition Audio)
        1: Speakers (Logitech G35 Headset)
RetroArch: Sinc resampler [SSE]
RetroArch: SINC params (8 phase bits, 16 taps).
RetroArch: [Core Info]:
RetroArch:   Display Name: PlayStation (Beetle PSX)
RetroArch:   Supported Extensions: cue|toc|ccd|m3u
RetroArch:   Authors: Ryphecha
RetroArch: Opening history: config\pc-andres\.retroarch-game-history.txt.
RetroArch [WARN] :: Input device ID 2305 is unknown to this libretro implementation. Using RETRO_DEVICE_JOYPAD.
RetroArch: Saving config at path: "config\pc-andres\retroarch.cfg"
RetroArch: Saving RAM type #0 to "..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).srm".
RetroArch: Saved successfully to "..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).srm".
RetroArch: Saving RAM type #1 to "..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).rtc".
RetroArch: Average audio buffer saturation: 25.31 %, standard deviation (percentage points): 7.64 %.
RetroArch: Amount of time spent close to underrun: 63.31 %. Close to blocking: 0.00 %.
RetroArch: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
RetroArch: [libretro INFO] :: MDFN_MakeFName: ..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).f3746f94d08b6532598d3deefee69151.1.mcr
RetroArch: [libretro INFO] :: MDFN_MakeFName: ..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).f3746f94d08b6532598d3deefee69151.2.mcr
RetroArch: [libretro INFO] :: MDFN_MakeFName: ..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).f3746f94d08b6532598d3deefee69151.3.mcr
RetroArch: [libretro INFO] :: MDFN_MakeFName: ..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).f3746f94d08b6532598d3deefee69151.4.mcr
RetroArch: [libretro INFO] :: MDFN_MakeFName: ..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).f3746f94d08b6532598d3deefee69151.5.mcr
RetroArch: [libretro INFO] :: MDFN_MakeFName: ..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).f3746f94d08b6532598d3deefee69151.6.mcr
RetroArch: [libretro INFO] :: MDFN_MakeFName: ..\..\EmulatorData\Saves\Castlevania - Symphony of the Night (USA).f3746f94d08b6532598d3deefee69151.7.mcr
RetroArch: [libretro INFO] :: [Beetle PSX]: Samples / Frame: 739.16064
RetroArch: [libretro INFO] :: [Beetle PSX]: Estimated FPS: 59.66227

D:\Emulators\RetroArch>

It’s saving and loading from the correct location. No way to diagnose your config with relative paths

  1. I would have not put my hand on it.
  2. And me all the time waiting for you to reproduce up to fortunately last post :slight_smile:

I don’t think the best way to debug something is to use totally different tools. I use the latest build from here and there’s not beetle core to be seen.

edit: Problem must be relative path, I just read on info:

display_version = “v0.9.36.2” need_fullpath = “true” block_extract = “false”

edit2: OK, issue seems to be -s and -S flags. I thought they were load paths, not save paths. Still curious to know the so many questions thrown to the air. What’s mcr format for, what means “fullpath” on the info file above, what’s that damn nobody-has beetle core, etc

I added saving to save_dir to mednafen and that was carried over to beetle so I think I have tested it more extensively than most. And no, I use relative paths too as you can see in the log above and it works need_fullpath is a flag that indacates that the core loads the game using it’s own implementation dumping saves is still done by the core in your case. Beetle uses the libretro interface.

If you launch from an external frontend relative paths can be tricky since it might not be using the folder you expect as cwd. You would need to make sure it’s launching from the folder you expect it to be.

I think your command may be wrong, you’re using -S and -s to override paths from the config but you’re using a filename instead of a folder

  • beetle is a new mednafen fork with less cruft from the standalone mednafen, I sent you that one a few weeks ago
  • mcr is the extension mednafen standalone and other psx emulators use, the mednafen core saved using the standalone implementation so you would end up with a gamename.hashname.[portnumber].mcr file. The new beetle core (that’s just a new mednafen fork) saves using libretro’s starndard interface so you end up with gamename.srm and nothing else (for memcard slot0, slot1-8 still use mednafen’s own thing)

lordashram’s latest test build has all the beetle cores, but they still use mednafen in the filename.

Can an option to disable the second slot like stand alone Mednafen be added? I thought it was weird how the libretro method of saving was only added for the first slot. So I didn’t make a request on git for this because I thought maybe something about the second slot would make it difficult.

Also, since it’s sorta related, the Neo Geo Pocket and Bandai WonderSwan cores lack the libretro .srm saving method. NGP uses .flash and WSC uses .sav. It’s a really minor thing, but would be nice for consistency with the PSX and PCE cores.

The api doesn’t have support for saves per controller, it only has support for saves per system. A core option was added to save with the old method since a lot of people bitched about it.

I didn’t implement saving thru the interface for PSX/PCE so you’d have to ask SP.

Are the saves going to the SAVE folder at least?

Edit: SAVE folder sorry I wrote system

When libretro’s .srm save file method was added for beetle-psx I took the time to rename my slot 1 saves for it since I like the cleaner filenames :slight_smile:

Yep, all the Mednafen cores I use (PSX,PCE,SGFX,NGP and WSC) now save in my savefile folder instead of system. That made my happy too since I can now keep my BIOS files separate from saves.

  • mcr is the extension mednafen standalone and other psx emulators use, the mednafen core saved using the standalone implementation so you would end up with a gamename.hashname.[portnumber].mcr file. The new beetle core (that’s just a new mednafen fork) saves using libretro’s starndard interface so you end up with gamename.srm and nothing else (for memcard slot0, slot1-8 still use mednafen’s own thing)

Yes, I got it working, I did a bunch of modifications and tests. I realize mcr stands for “memory card reader”. So I ended up with this call.

retroarch.exe "E:\TEMP\HS\Tony Hawk's Pro Skater 2 (USA)\Tony Hawk's Pro Skater 2 (USA).cue"  -c "E:\HyperSpin\Emulators\Super Nintendo Entertainment System\RetroArch-Win64-2014-07-17\configs\Sony PlayStation.cfg" -L "E:\HyperSpin\Emulators\Super Nintendo Entertainment System\RetroArch-Win64-2014-07-17\cores\mednafen_psx_libretro.dll" -s "..\..\..\SAVES\Sony PlayStation\srm" -S "..\..\..\SAVES\Sony PlayStation\savestates"

I checked and each save type save to their respective folder. But I still get the mcr file in system folder. Look this is what I have on options:

beetle_psx_use_mednafen_memcard0_method = "libretro"
beetle_psx_use_mednafen_memcard1_method = "libretro"

And this is what I get:

As you see what Awakened stated just above. memcard0 is skipped (used libretro?) but memcard1 saves the mcr file.

  • beetle is a new mednafen fork with less cruft from the standalone mednafen, I sent you that one a few weeks ago.

Question is, it’s a fork, so I won’t see any official beetle core from retroarch sites? where’s the official beetle core place to test nightlies. I don’t want to rely on asking you builds, I prefer to use “semi” standards programs so we all know what we are talking, I guess.

The file will be always be mednafen not beetle. You can only see beetle in the core name in RGUI and in the core information panel

If they are building with super they are building beetle now.

I’d need the complete verbose log to find out why is it going to system instead of save

That’s what I thought, until you posted this call:

Here’s the log, as you see I still get the same warning entry despite successufly saving srm and state in cited paths.

http://pastebin.com/q5NztAhy

Hehe I keep both cores to test for regressions. Sorry about that. You mean this?

RetroArch [WARN] :: [libretro WARN] :: Save directory is not defined. Fallback on using SYSTEM directory ...

I’m confused now since you said it’s saving in the cited paths. Is it saving under save? or system? If you have those parameters in your config you don’t need to specify -s/-S, just make sure the working directory is the retroarch root folder or you use absolute paths

I do get the saves in their corresponding folders, srm to srm, states to savestates, and also get the mcr files in system folder.

Now, yes, as you say I might not need those -s/-S calls. If I remove them indeed .mcr files go to srm folder. This is a thing of the front end though. I can simply remove that chunk that makes -s and -S calls and I might be happy (I think I need them for HyperLaunch though), but still, there’s an issue (bug) here that it might be wise to fix now we spotted it.

edit: to below, ok. You sure tested with my same core?

darn… MCRs are going to save folder here… give me a few I’m gonna build with some debug messages, you’d have to add --verbose to your commandline though

Ok: https://dl.dropboxusercontent.com/u/149 … _debug.dll You’ll find a RETRO_DEBUG message like this:


RetroArch: [libretro DEBUG] :: SAVE:

Saving via the standard interface (SRM) is cleaner and better tested, core generates the file and the frontend does the actual saving. We can’t prevent the core from saving the rest of the memory cards, so I added code to make it save in the correct location and that code isn’t liking your path for some reason. It may be the spaces or a lingering slash.

Try putting your path between " " in the -S/-s part

Not sure what I should do, I still get the same issues:

http://paste.ofcode.org/Vd8Jvp89Xxqqtns6tm92r5

If I use instead -s “E:\HyperSpin\SAVES” -S “E:\HyperSpin\SAVES” it doesn’t make a difference, so it’s not the path.

add --verbose to the command you use

darn my mistake, please redownload the core and yeah use --verbose