dosbox-pure icon indicating copy to clipboard operation
dosbox-pure copied to clipboard

"Save Game Options": "Error saving core options file"

Open mrmatteastwood opened this issue 3 years ago • 6 comments
trafficstars

Steps to Reproduce:

  1. Load any game, e.g. Bio Menace
  2. Go to Quick Menu > Options
  3. Go to Manage Core Options
  4. Select "Save Game Options"

Expected Results: Game options should be saved.

Current Results: Error message: "Error saving core options file"

Additional Info: I have Bio Menace in /home/thebrightside/Appdata/Games/MS-DOS/BMenace. However, when selecting "Save Content Directory Options", it saves a file called, "MS-DOS.opt" - not "BMenace.opt" as expected. I have pre-existing game options files, e.g. "Blackthorne.opt", from older DOSBox-Pure versions. They don't get loaded.

Playlist entry from DOS.lpl:

    {
      "path": "/home/thebrightside/Appdata/Games/MS-DOS/BMenace/",
      "label": "Bio Menace",
      "core_path": "/home/thebrightside/.config/retroarch/cores/dosbox_pure_libretro.so",
      "core_name": "DOS (DOSBox-Pure)",
      "crc32": "BC15451F|crc",
      "db_name": "DOS.lpl"
    },

System Info: Linux Mint 21 RetroArch 1.10.3 DOSBox-Pure 0.9.7

Gonna make a log tomorrow.

mrmatteastwood avatar Aug 31 '22 19:08 mrmatteastwood

@schellingb Here's a log file. I performed the following actions:

  1. Run RetroArch
  2. Run Bio Menace, load a save, play for a couple seconds
  3. Enter Quick Menu > Options > Manage Core Options
  4. Save Game Options » Error message described above
  5. Save Content Directory Options » creates MS-DOS.opt
  6. Delete Content Directory Options
  7. Quit RetroArch

retroarch__2022_09_01__12_40_36.log

mrmatteastwood avatar Sep 01 '22 10:09 mrmatteastwood

I don't think the core has any influence on how RetroArch deals with this stuff. Is this a RetroArch bug?

schellingb avatar Sep 18 '22 19:09 schellingb

Just now, I updated all RA components and tried once more with several different cores: Nestopia, SameBoy, ScummVM, PUAE. DOSBox Pure is the only one with this error. I made another log with log level set to 3 (for core logging and frontend logging):

retroarch__2022_09_19__15_21_51.log

This is what I did while this log was written:

  1. Launch RetroArch
  2. Launch Blackthorne from my DOS playlist
  3. Start game from start menu, selecting bthorne.exe
  4. Open Quick Menu
  5. Go to Core Options > Manage Core Options
  6. Save Content Directory options » creates MS-DOS.opt
  7. Delete Content Directory options
  8. Select Save Game Options » error message
  9. Quit RetroArch

Unfortunately, the log doesn't really seem to provide any insight into the saving of those options files. Not sure why. I set the logging level to "0 (debug)" for front end and core logging.

Could this have to do with the way DOSBox-Pure "sees" directories? It doesn't seem to recognize the games' own directories at all, only their parent directory, "MS-DOS". Alternately, perhaps it has to do with the fact I don't zip my games up, but keep them unpacked in their own directories instead?

mrmatteastwood avatar Sep 19 '22 13:09 mrmatteastwood

Here's a screenshot of my MS-DOS directory. You can see that each game has its own subdirectory (I expanded the Blackthorne directory as an example).

image

mrmatteastwood avatar Sep 19 '22 13:09 mrmatteastwood

For shits and giggles, I zipped up Blackthorne and put the resulting Blackthorne.zip into the MS-DOS parent directory, then imported it into the playlist using RA's "Import Content" feature. When running the game from that ZIP, all options work correctly.

mrmatteastwood avatar Sep 19 '22 13:09 mrmatteastwood

Hi, I had the same problem and solution, but some games doesn't run in zip format, like Bio Menace. This error message shows: bmenace1.exe Combining EGA1.bm1 and EGA2.bm1 into EGAGraph.bm1 Can't rename EGA1.bm1 !

gequi avatar Mar 27 '24 20:03 gequi