Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runcommand: add more parameters for RetroArch #3548

Merged
merged 1 commit into from
Jun 15, 2022

Conversation

cmitu
Copy link
Contributor

@cmitu cmitu commented Jun 13, 2022

Added 2 new parameters for the runtime-generated retroarch.cfg:

  • libretro_log_level will add more debug messages from the libretro core, in addition to the frontend debugging messages.
    Cand be useful to diagnose core issues, since --verbose activates just the frontend logging.

  • libretro_directory is set to the core file folder (i.e. /opt/retropie/libretrocores/lr-<core>).
    It is used by during netplay, as a client, when RetroArch attempts to re-load the core used during netplay.
    Basically, when connecting to a remote netplay host, RetroArch will try to locate a core.info file and then try to re-load the core file. If any of them is missing, the connection fails with "Couldn't find a suitable core or content file".

    The netplay issue was reported and diagnosed in Problems with netplay guest #3161. Rather than symlink each installed libretro core to $HOME/.config/retroarch/cores (the default value for libretro_directory), we'll just set it at runtime with the above parameter. We still need to add the .info files for the installed cores, but that's a separate patch.

Added 2 new parameters for the runtime-generated `retroarch.cfg`:

* `libretro_log_level` will add more debug messages from the libretro core, in addition to the frontend debugging messages.
   Cand be useful to diagnose core issues, since `--verbose` activates just the frontend logging.

* `libretro_directory` is set to the core file folder (i.e. `/opt/retropie/libretrocores/lr-<core>`).
   It is used by during netplay, as a client, when RetroArch attempts to re-load the core used during netplay.
   Basically, when connecting to a remote netplay host, RetroArch will try to locate a `core.info` file and then try to re-load the core file. If any of them is missing, the connection fails with "Couldn't find a suitable core or content file".

   The netplay issue was reported and diagnosed in RetroPie#3161. Rather than symlink each installed libretro core to `$HOME/.config/retroarch/cores` (the default value for `libretro_directory`), we'll just set it at runtime with the above parameter. We still need to add the `.info` files for the installed cores, but that's a separate patch.
@cmitu cmitu force-pushed the runcommand-libretro-updates branch from fd9084d to 553c4fe Compare June 15, 2022 03:47
@joolswills joolswills merged commit 9cb9e56 into RetroPie:master Jun 15, 2022
@joolswills
Copy link
Member

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants