[Feature Request]: Notifications in or over fullscreen apps
Feature description
Hello thank you very much for this plugin, he helped me solve the problem of bad experience when using obs! However, I found a situation that OBSNotifier can't show the notification floating window when the game software such as "it take two" is in full screen. And in the case of borderless windowing and so on are normal, can you add a pop-up window alert function for full-screen mode?
您好非常感谢您的这个插件,他帮助我解决了使用obs时候体验不好的问题! 但是我发现一个情况,在《it take two》等游戏软件全屏状态的时候OBSNotifier无法显示通知浮窗的提示。 而在无边框窗口化等情况都是正常的,请问能增加全屏模式的弹窗提示功能吗?
Implementation Ideas
No response
I have already answered this question in other places. In short, the main problem is anti-cheats. I can easily make a mode with notifications displayed on top of borderless-fullscreen windows as a non-interactive overlay, but I'm afraid that you can get banned for this. And for notifications on top of exclusive fullscreen games, I will need to integrate into the game process, and this is even more likely to lead to a ban. Maybe I'm afraid of anti-cheats for nothing. But I'm sure it wouldn't be a problem if this app had a digital signature that costs money. And most likely I will have to abandon the plugin system, but additional notification styles can be added through this repository.
Thank you for your reply, I understand, full-screen games and borderless windowed games run different mechanisms, if you simply realize the full-screen in-game display will be the risk of being banned, the use of certificates need to spend extra money. then this problem can only be temporarily shelved. but still thank you very much for the development of this plug-in, now it has been very good to use!
the games I play dont have an anti cheat and I would want this feature. Could you have it as a checkbox option with warning of what enabling it could do?
still waiting for this 🙏 can't use this plugin without it.
@FoxGaal What exactly do you want? Overlay on top of windowed and borderless mode or on top of exclusive fullscreen mode? Because it may take me a couple of weeks or a month to implement the overlay on top of the fullscreen mode.. And at this time I will not be able to properly improve and update my other projects. (I also clarified that in the future I will need a legal entity or sole proprietor to create a signature)
just an overlay on top of UWP apps, Minecraft bedrock to be specific. It needs to work on top of full full screen borderless or when you press F11. This app has no client side anti cheat.
My idea with WS_EX_TOPMOST | WS_EX_TRANSPARENT | WS_EX_LAYERED is also useless, because UWP can have a higher priority.
Minecraft in a full-screen window (F11) has more rights and is located on a completely different "layer" of windows.
And to get the rights to display the window above the UWP, I still need to get a digital signature from an authorized retailer.
Source
Or simply (not easy at all) try to draw my notifications directly on DirectX canvas..
are you saying you wont be able to implement it then?
I have seen that there is one way to raise the level of rights that is definitely "illegal". I can try using it later.
@FoxGaal
https://github.com/DmitriySalnikov/OBSNotifier/assets/7782218/14e4b2a3-b68a-41b6-8bc4-e552a3788a00
1600x900 on a 1080p display. When switching to fullscreen, the screen is completely reinitialized, but the notification still shows up. This means that no injection into the DirectX or OpenGL rendering process is required!!! In this case, all that is needed to make it work and not attract the attention of anti-cheats is a digital signature (150-300$ for the first signature if I don't run into any other difficulties).
And also if I capture the game in OBS, and not the desktop, then the overlay on the video will not be visible.
And I am very surprised that nowhere on the Internet is it mentioned that the overlay can be displayed with UIAccess rights, and not by embedding into the DirectX/OpenGL process (or I was looking in the wrong place.).
this is very good news tysm!
Additional testing showed that UIAccess allows me to display notifications only on top of DirectX fullscreen games (Dishonored, Crysis 2,3, Baldurs Gate 3 (dx11)).
OpenGL and Vulkan use a more "true" fullscreen and don't allow me to display notifications on top of them.
Even games using the first versions of DirectX allow me to display notifications on top of them, for example Deus Ex (2000) running on Unreal Engine 1 (1998). But Noita, BG3 (Vulkan) or Godot Engine don't allow it.
In fact, this behavior is no different from the official Xbox Game Bar app. As well as Windows notification about switching music tracks also cannot be displayed on top of OpenGL/Vulkan.
There should be a link and a description of the update here, but I thought again and won't post it yet.
Now I'm waiting for an email with answers about the digital signature. If everything goes well, then I will arrange a fundraiser for the purchase of a signature.
I apologize if I caused any inconvenience.
After Nvidia GeForce Experience was updated to Nvidia App, that's mad hard to use. I tried to find an app, plugin, script or something else to replace it but there's no answer until I found this one.
Anyway, this is a good plugin for OBS, which is lightweight and useful. I'm a PUBG gamer, so I try to record my highlights or something interesting. Nvidia GeForce Experience provides two ways, highlights and replay buffer. It worked well when it was not updated but the updated Nvidia App has different UI and way to use, so I gave up. I tried to uninstall Nvidia App and redownload Nvidia GeForce Experience and disable auto-update according to bilibili, by the way I'm from China and that's a China video site like youtube. That's not easy and annoys me. This plugin helped me a lot. On the other hand, without Nvidia GeForce Experience, my fps increases around 30 to 50 which is absolutely helpful for a fps game.
As the issue tells, there are still some problems on full screen apps. The author has clearly pointed out the reason, so there's no need to push or blame. It's already good to use. As for this problem, all we need is to get notifications when the replay buffer is saved. Thinking about other ways, audio notification is a good way to replace as well. I made a script as a temporary choice. When the replay buffer is saved, you will get a audio feedback like 'ding'. That's not a bad solution.
Lastly, this is really good to use. If I have enough time, I'm glad to help. Although I'm just a undergraduate student, learn more and try more. Looking forward to this.
I have already answered this question in other places. In short, the main problem is anti-cheats. I can easily make a mode with notifications displayed on top of borderless-fullscreen windows as a non-interactive overlay, but I'm afraid that you can get banned for this. And for notifications on top of exclusive fullscreen games, I will need to integrate into the game process, and this is even more likely to lead to a ban. Maybe I'm afraid of anti-cheats for nothing. But I'm sure it wouldn't be a problem if this app had a digital signature that costs money. And most likely I will have to abandon the plugin system, but additional notification styles can be added through this repository.
Just throwing ideas on the table, how about detect when you are using fullscreen application, when you are, switch to voice notification instead? It can be a simple noise, or even better, using Microsoft's Text-to-Speech feature that's built in to windows 11. Not sure if this will conflict with anti-cheat tho.
For example, in autohotkey, you can do something like this:
voice:=[ComObjCreate](https://www.autohotkey.com/docs/v1/lib/ComObjCreate.htm)("SAPI.SpVoice")
;voice.rate:=-10
voice.volume:=100
voice.Speak("Recording Started")
Microsoft documentation on this: https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ms723602(v=vs.85)?redirectedfrom=MSDN
@codychen98
Just throwing ideas on the table, how about detect when you are using fullscreen application, when you are, switch to voice notification instead? It can be a simple noise, or even better, using Microsoft's Text-to-Speech feature that's built in to windows 11. Not sure if this will conflict with anti-cheat tho.
I had the exact same idea as you and I forked a version with sound effects overnight. I collected some free ring sounds and made some tts voice sounds for use. If you are still interested, welcome to download and try it out! 我和你的想法完全一样,然后我连夜创建了一个带有提示音的版本。我下载了一些免费提示音素材,并自己生成了一些 tts 语音素材以供选用。如果你还感兴趣的话,欢迎下载试用! https://github.com/xqzh268/OBSNotifier-X/releases/tag/1.3.4.X
Not sure if there is already "always on top" functionality in OBS Notifier, but it appears to be incompatible with Multiscreen Blank: https://multiscreenblank.nookkin.com/
This software draws a black borderless "always on top" window that fills the entire monitor being blanked.
If the main OBS UI is not also made "always on top" (i.e, shows above the black window), then the notifications get buried under this black window.
It would be nice for the "always on top" to be forced enabled each time a notification is displayed. This would make it much more reliable.
Use case: It would mean that I can easily blank my side screens when playing racing games for immersion, while also having notifications out of the way, but still visible in my peripheral vision.
EDIT: Seems like this isn't even necessary. Steps to make it appear on top:
- Take a screenshot in OBS so the notification appears
- Hover cursor over the notification
- Use PowerToys Always on Top shortcut key (you will hear a sound that confirms it was made always on top)
- All future notifications will display on top, over the black blank screen.
So it just needs setting once. Still needs implementing, but doesn't need to be triggered every time a notification is created.
Would love to see this!