What Line Controls the On-Screen Notifications?
-
I like to run my Retropie in kiosk mode as much as possible. That includes removing any on-screen text or notifications. However, I do like to maintain notifications on my disc-based system (so I can see when the virtual tray has been opened and what disc I'm loading).
This worked well until my last update. I would turn all the notifications off in the global Retroarch menu, then add a custom retroarch.cfg file in the root of each console with the following line:
menu_enable_widgets = "true"
But that has not been working on this latest build (retropie-buster-4.8-rpi4_400.img). I'm wondering if there is a new/different line that will reactive the widget for just those systems I choose. If so, what would it be?
-
The option to enable/disable the new style notifications hasn't changed in RetroArch. If you start with the default image, they're enabled by default - check the global RetroArch config file and see if you have set
menu_enable_widgets = "false"
. -
@mitu said in What Line Controls the On-Screen Notifications?:
The option to enable/disable the new style notifications hasn't changed in RetroArch. If you start with the default image, they're enabled by default - check the global RetroArch config file and see if you have set
menu_enable_widgets = "false"
.Thanks. I'll double-check. I'm running a few custom config files, so I'll make sure nothing is blocking it/overwriting things. Will follow up if needed.
-
@mitu said in What Line Controls the On-Screen Notifications?:
The option to enable/disable the new style notifications hasn't changed in RetroArch. If you start with the default image, they're enabled by default - check the global RetroArch config file and see if you have set
menu_enable_widgets = "false"
.Looks like I will need further assistance. Here is my dilemma. If I just edit the config file to "disabled" next to the menu_enable_widgets line, that turns off the graphical portion. But turning off any/all onscreen text is what I want, and that was always in the Retroarch menu "Turn off on-screen notifications." I thought that generated this line in the config file menu (or so I assumed):
settings_show_onscreen_display = "true"
Problem is, when I turn off onscreen notifications in the Retroarch menu and then recheck this config file, it still reads as "true" (even though I've tested it in-game and it's gone).
I'm thinking perhaps I have the wrong line? Because once I turn a feature off, I should see where that setting is reflected in the config file that governs it right? So again, I'm looking for the line that handles the global onscreen notifications (which includes widgets in that), vs just the widgets themselves.
-
@AlphaBetaPie said in What Line Controls the On-Screen Notifications?:
Problem is, when I turn off onscreen notifications in the Retroarch menu and then recheck this config file, it still reads as "true" (even though I've tested it in-game and it's gone).
The option changes in the menu are not automatically saved in the conf file (except for core options, which use a different set of files). Add the option to the main RetroArch config file and it should be applied to all Libretro based emulators.
-
@mitu Thanks for following up. Just to confirm, are the following two lines the only ones that deal with onscreen text/notifications and the graphic widgets (in retroarch.cfg):
settings_show_onscreen_display = "true" menu_enable_widgets = "true"
Meaning, are there any others? I assume Retroarch doesn't store this info anywhere else. Or in another line of code?
-
@AlphaBetaPie
There are more options, like :video_font_size = "27" video_message_color = FFFFFF menu_widget_scale_auto = "false" menu_widget_scale_factor = "1.500000" menu_widget_scale_factor_windowed = "1.500000" video_msg_bgcolor_enable = "true" video_msg_bgcolor_red = 0 video_msg_bgcolor_green = 0 video_msg_bgcolor_blue = 255 video_msg_bgcolor_opacity = 1.0
(The above settings are not the default).
*video_font_size: Is the size of the text font
*video_message_color : is the color of the text in the message
*video_msg_bgcolor_enable : is the background color for the text message. -
@AlphaBetaPie said in What Line Controls the On-Screen Notifications?:
settings_show_onscreen_display = "true"
menu_enable_widgets = "true"There is also
video_font_enable
, which is used when the menu widgets are disabled.settings_show_onscreen_display = "false" menu_enable_widgets = "false" video_font_enable = "false"
should supress almost all messages.
-
Thanks @mitu and @windg for your responsse. Much apprecvaited!
There are several things that are not behaving here as they should, which is causing some irregular/unexpected outcomes. Most of these things I would have assumed would be simple edits of various lines of code, which I have done many times to get the desired result. But it's simply not cooperating.
They are as follows:
-
The global retroarch.cfg file is not behaving correctly. If I turn the widgets option on/off in the menu (and then save the configuration file to the retroarch/configs/all folder), I can pull the config file and see that line change from true/false each time. But, no matter how many times I turn of the on-screen notifications on/off in the retroarch menu, the settings_show_onscreen_display always reads as true (even when its off in the emualtor and no text pops up). This doesn't make sense to me. Is this a glitch?
-
In the past, I've been able to allow specific emulators to behave differently than the global settings, by using a custom retroarch file in each system folder. So for example, when I add the following to my PlayStation folder, it should bring back onscreen notices for just that system, and none of the others. But, it doesn't work anymore. It's almost like the global settings are taking priority. The PSX lines used are menu_enable_widgets = "true" and video_font_enable = "true" But as of now, if I turn notices off globaly, nothing I do brings them back using the custom configs.
Any thoughts?
-
-
@AlphaBetaPie said in What Line Controls the On-Screen Notifications?:
But, no matter how many times I turn of the on-screen notifications on/off in the retroarch menu, the settings_show_onscreen_display always reads as true (even when its off in the emualtor and no text pops up). This doesn't make sense to me. Is this a glitch?
No. If modify the config by starting a game, then modifying the options and then exiting, nothing is saved (the default behavior). If you do save, you'll save the configuration for the system where you started the game, not the global config.
In the past, I've been able to allow specific emulators to behave differently than the global settings, by using a custom retroarch file in each system folder. So for example, when I add the following to my PlayStation folder, it should bring back onscreen notices for just that system, and none of the others. But, it doesn't work anymore. It's almost like the global settings are taking priority. The PSX lines used are menu_enable_widgets = "true" and video_font_enable = "true" But as of now, if I turn notices off globaly, nothing I do brings them back using the custom configs.
Post your configurations - both general and your system's config - on pastebin.com.
-
@mitu said in What Line Controls the On-Screen Notifications?:
@AlphaBetaPie said in What Line Controls the On-Screen Notifications?:
But, no matter how many times I turn of the on-screen notifications on/off in the retroarch menu, the settings_show_onscreen_display always reads as true (even when its off in the emualtor and no text pops up). This doesn't make sense to me. Is this a glitch?
No. If modify the config by starting a game, then modifying the options and then exiting, nothing is saved (the default behavior). If you do save, you'll save the configuration for the system where you started the game, not the global config.
In the past, I've been able to allow specific emulators to behave differently than the global settings, by using a custom retroarch file in each system folder. So for example, when I add the following to my PlayStation folder, it should bring back onscreen notices for just that system, and none of the others. But, it doesn't work anymore. It's almost like the global settings are taking priority. The PSX lines used are menu_enable_widgets = "true" and video_font_enable = "true" But as of now, if I turn notices off globaly, nothing I do brings them back using the custom configs.
Post your configurations - both general and your system's config - on pastebin.com.
Success. So it looks like a few things were cleared up, with some fiddling (and advice here that lead me to experiment some more). So apparently the settings_show_onscreen_display doesn't affect much about my setup one way or the other. That includes global or for the individual system configs. While I already had the menu_enable_widgets included in the custom config files for the few systems I wanted it to remain on for, the missing element was including the video_font_enable (and no longer trying to figure out the settings_show_onscreen_display anymore). So turning all notices off globally in the Retroarch menu, then adding those two lines to each console brings back the onscreen notices. I'm not sure why it started giving me trouble now, other than to say that a new build has come out since I worked on this last year, and I believe all you needed back then was the line about the widgets (as I never included the font line before and it worked with no issues). But glad I zeroed in on it finally (with everyone's help).
I do have a follow-up to this that is directly related. I can separate it out into a new thread if needed, but I'll try to see if I can get further resolution here first.
The reason I want notices on for 2-3 select systems, is because those all use disc control for the m3u files I have set up. That includes Sega CD, PlayStation, and Saturn. It's helpful being able to see when the disc tray is open/closed and what number disc I'm loading. But the two issues I'm hoping to resolve are as follows:
-
I like that it displays what disc is loaded at the start, but now it also gives me the notice about my controller being configured on port #1 at the same time (during bootup). I asked this last year, and I was told there was no way to not display the notice about the controller if I wanted the other notices too (IE: all of them or none of them). Is that still true? I'd like to drop the controller notice, if possible, and keep the rest.
-
Is there a way to not have the systems pop up the notices at first boot, and wait until I eject the tray/swap the discs? It would be nice if the onscreen notices only appeared during those moments (since I'm not always playing a dual disc game, so I wouldn't need a disc control notice at every play).
-
-
Success. So it looks like a few things were cleared up, [..]
Care to explain what the issue was ?
I like that it displays what disc is loaded at the start, but now it also gives me the notice about my controller being configured on port #1 at the same time (during bootup). I asked this last year, and I was told there was no way to not display the notice about the controller if I wanted the other notices too (IE: all of them or none of them). Is that still true? I'd like to drop the controller notice, if possible, and keep the rest.
Try
notification_show_autoconfig = "false"
to disable messages about gamepad configuration.
Is there a way to not have the systems pop up the notices at first boot, and wait until I eject the tray/swap the discs? It would be nice if the onscreen notices only appeared during those moments (since I'm not always playing a dual disc game, so I wouldn't need a disc control notice at every play).
Not sure if it will help, but try adding
notification_show_set_initial_disk = "false"
-
@mitu said in What Line Controls the On-Screen Notifications?:
Care to explain what the issue was ?
It was in the description above, but in a nutshell again, I stopped trying to figure out what settings_show_onscreen_display was or why it wasn't changing its true/false value. It seems to have no relevancy to my issues here, as I once thought (unless I'm missing something). When I added the video_font line together with the widgets line (which I had already added to the custom config), then it worked. I feel like in a previous build, I could accomplish this with just the widget line enabled. I feel like the video_font thing is new, but who knows. It's all good now though!
@mitu said in What Line Controls the On-Screen Notifications?:
notification_show_autoconfig = "false"
notification_show_set_initial_disk = "false"Wow, you are seriously a wealth of knowledge man. Added those two lines to my custom config and it worked exactly as I hoped. Now I have notices off for all non-cd rom based systems, and only have notices for the cd-rom systems when the disc is swapped out. Seriously thankful you're around!
-
@AlphaBetaPie said in What Line Controls the On-Screen Notifications?:
@mitu said in What Line Controls the On-Screen Notifications?:
Care to explain what the issue was ?
It was in the description above, but in a nutshell again, I stopped trying to figure out what settings_show_onscreen_display was or why it wasn't changing its true/false value. It seems to have no relevancy to my issues here, as I once thought (unless I'm missing something). When I added the video_font line together with the widgets line (which I had already added to the custom config), then it worked. I feel like in a previous build, I could accomplish this with just the widget line enabled. I feel like the video_font thing is new, but who knows. It's all good now though!
@mitu said in What Line Controls the On-Screen Notifications?:
notification_show_autoconfig = "false"
notification_show_set_initial_disk = "false"Wow, you are seriously a wealth of knowledge man. Added those two lines to my custom config and it worked exactly as I hoped. Now I have notices off for all non-cd rom based systems, and only have notices for the cd-rom systems when the disc is swapped out. Seriously thankful you're around!
UPDATE:
So I've been doing some work in this thread to remove unwanted keybindings (in an attempt to get as close to a kiosk mode as possible). I was able to achieve that by using core remapping files for each console and removing things I didn't want. Unfortunately, it opened another can of worms here in this thread.
Now at the boot of every system, I get the "Core Remap File Loaded" message. Is there a line I can use to remove that as well, like I did with the controller and disk drive pop-up at launch?
-
@AlphaBetaPie said in What Line Controls the On-Screen Notifications?:
s there a line I can use to remove that as well, like I did with the controller and disk drive pop-up at launch?
notification_show_remap_load = false
-
@AlphaBetaPie said in What Line Controls the On-Screen Notifications?:
Now at the boot of every system, I get the "Core Remap File Loaded" message. Is there a line I can use to remove that as well, like I did with the controller and disk drive pop-up at launch?
If you save a configuration through the RGUI menu, it will "clobber" the RetroPie's integrated config hierarchy and replace it with one huge file with all the settings in it.
This is bad for actual use, but can be a helpful tool for learning how the config works. Just make sure you remove the file to somewhere safe after it's created.
pi@retropie:~/temp $ cat bad.cfg | grep notification notification_show_autoconfig = "true" notification_show_cheats_applied = "true" notification_show_config_override_load = "true" notification_show_fast_forward = "true" notification_show_netplay_extra = "false" notification_show_patch_applied = "true" notification_show_refresh_rate = "true" notification_show_remap_load = "true" notification_show_screenshot = "true" notification_show_screenshot_duration = "0" notification_show_screenshot_flash = "0" notification_show_set_initial_disk = "true" notification_show_when_menu_is_alive = "false"
Looks like
notification_show_remap_load = "false"
will suppress these particular messages. -
@sleve_mcdichael core input remaps != core overrides - you can safely do core input remaps in retropie and they don't mess up the hierarchy as such - indeed it's documented
-
@dankcushions right, remaps and shader profiles, I think are the only two things you can save (that I know of) through the menu, without making a mess of things.
-
Beautiful, worked like a charm! Super-helpful forum, as always! Thanks for the info!
-
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.