notaz / pcsx_rearmed

ARM optimized PCSX fork
GNU General Public License v2.0
384 stars 207 forks source link

Loading ROM via -cdfile invocation doesn't load corresponding config file #282

Closed porg closed 7 months ago

porg commented 1 year ago

Environment

Precondition

Reproduction 1: Loading ROM via internal Menu loads corresponding config

  1. Open PCSX ReARMed.
  2. Press SPACE to open menu.
  3. Choose "Load CD image".

→ ✅ PCSX loads the .CFG file corresponding to the chosen ROM.

Reproduction 2: Loading ROM via -cdfile invocation doesn't load corresponding config

  1. In Pandafe as the GUI launcher
  2. Select a Playstation game and press game button "B" to launch it
  3. The game is launched successfully…

→ ❌ …but its corresponding .CFG file is not loaded.

Expected / desired behavior

If pcsx is launched by external invocation (with -cdfile /path/to/rom): 1) by default loads the corresponding .cfg file from within the appdata /cfg/ directory

Note: I did not see any pcsx command line argument which would allow 2a or 2b.

notaz commented 7 months ago

Duplicate of #163 and should be fixed now.

porg commented 7 months ago

Cool! Improves the integration of PCSX with external launchers! Thanks!