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
retroarch: update to 1.7.9 #2853
Conversation
scriptmodules/helpers.sh
Outdated
iniSet "$option" "$value" | ||
fi | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not convinced about adding this function - also as it only sets a value if it isn't already set, the description/name isn't sufficient.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's similar to the options settings function (setRetroArchCoreOption
), since there were 4 similar options needed to be set, I thought of using a function. We can re-use the previous option though, not a problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its not used outside of this module, so can do a hidden function in the module for it if you need to de-duplicate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, will modify with a local routine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be fixed now, I added a local routine in the scriptmodule script.
It wasn't from my testing - actually it seemed wrong on the 1.7.6 when I did some testing the other day. I didn't get a chance to debug further. |
I think that the behaviour with the video shaders needs to be addressed upstream first also (if possible as it sounds like it's not ideal). Do you have a reference to this change and any discussion? |
https://forums.libretro.com/t/cfg-file-parameter-video-shader-not-working/ |
I saw you put the video shader settings back in. Thanks. Let me know if you want any testing. Much appreciated. |
I have to test it in conjuction with the RetroPie configuration editor, I've only tested briefly by running RetroArch from the command line. |
OK, I've tested the re-introduction of the Currently, the logic for loading an 'auto-shader' in RetroArch is to try to find - and load - :
where The patch adds the option to load - after trying every other option from the list above - the shader preset specified in the The optioned offered in RetroArch with the removal of this parameter from the config file is to use a command line parameter, EDIT: normally, a 'content dir' looks like it would help for the configuration editor, but its path depends on the |
There is a also a corner-case bug with preset saving, reported upstream (libretro/RetroArch#9724). |
437b9b3
to
14989ce
Compare
Minor indent issue I noticed. Apart from that, I'm happy to merge. Thanks for the work on this. |
Thanks. |
Now that 1.8.2 is out, I could re-test and re-base against it. |
I just noticed it was a PR against the fkms branch. I switched it. You may want to check / switch your other PRs (I'll go through them eventually :-) ). |
Let's do that as a new PR. I've tested this already and works well. I may have missed something but as it's a core component I'd like to test 1.8.2 and I'm keen to get this PR merged now our dev branch is re-integrated. |
Sorry. I have to revert for now. Fails to build on stretch - struct member issue in sdl2_common.c. probably a quick fix but I don't have any time right now. |
@joolswills I'll take a look. Maybe this issue - libretro/RetroArch#9583 ? |
Yep. That's the one. |
I'll sort it out and then re-submit the PR. |
Thanks. |
Updates the RetroArch to version 1.7.9 (from the v1.7.9.2 release tag).
Some changes since 1.7.6:
there's a new notification UI (menu widgets) which is the default.
the joypad sorting is dropped upstream, so the patch included in RetroPie is not needed anymore. Remains to be seen if the new joypad order is compatible with the previous behavior.
upstream dropped the
video_shader
parameter and replaced it instead with a CLI option (--set-shader
), but in my tests this is not behaving the same - the shader from the command line overrides any game overrides, whereas before, the shader saved for the game would override the one in the config file. Also, for some reason the default for enabling the Video Shaders has been changed to false. I added a patch to bring back reading thevideo_shader
parameter when every other auto-shader preset (game/core/content/global) is not present.This modification impacts the Configuration Editor, which has been used so far to set the shader per system/globally through the individual system'sretroarch.cfg
files.there's a new
quit_press_twice
option, defaults totrue
, which expects the user to press the Quit key/hotkey combo twice to exit.the default compile options enable support for OpenGL1, I disabled them on the Pi when the BRCM libs are used since it produces a linking error (missing
-lGL
).I rebased the RetroPie patches on-top of the RetroArch's version pulled and added a few new options to be set as in the default config.
quit_press_twice
,video_shader_enable
- these will be also set for migrated configs, since they're unset by default.rgui_browser_directory
to make browsing for files start in RetroPie's rom folder. Useful when multi-disk games are loaded and a new disk must be appended.rgui_aspect_ratio_lock
configuration option to Integer scale, this makes the RGUI more readable instead of being stretched to the content's aspect ratio (see (RGUI) Add 'Lock Menu Aspect Ratio' option libretro/RetroArch#8211).IfNot needed anymore since #2875.rpi-update
has been used, the update pulls in an extraegl.pc
that's not part oflibraspberrypi-dev
and this confuses the configuration script, which tries to use the BRCM EGL libs (thanks @psyke83). That's the reason for thepkgconfig
override.Things needed:
retroarch-assets.zip
needs to be updated on the RP files server, to include both theozone
menu_widgets
folders (https://github.com/libretro/retroarch-assets) and to update thexmb/monochrome
assets.~~ - decide how to tackle the lack of
video_shader
in the config files w.r.t. Configuration Editor.~~