lern2swim Posted Friday at 12:49 AM Posted Friday at 12:49 AM I am having trouble with xemu and supermodel both giving me black screens when I have hdr enabled in windows 11 (I leave it on all the time). I can hit the hotkeys to disable it obviously, but I'd prefer to automate it while this issue persists. I assume I can add scripts to LB to take care of turning hdr off as I launch these emulators and then turn it back on when I exit, but script writing, however, is tech knowledge that I don't currently possess. Can someone help me out, be it with a tutorial that would be good for me figuring out how to come up with this myself or more direct scripting I should use? Quote
JoeViking245 Posted Friday at 03:20 AM Posted Friday at 03:20 AM If, when you launch a game in Xemu or Supermodel and you get the black screen, at that point, can you hit "the hotkey(s?)" to disable HDR and it fixes it? Or.... do you have to hit the hotkey to disable it BEFORE the emulator is loaded? What exactly is (are?) the hotkey(s) used to disable/enable the HDR? These will determine where and how to best accomplish this. Quote
Sbaby Posted Friday at 09:10 AM Posted Friday at 09:10 AM 8 hours ago, lern2swim said: I am having trouble with xemu and supermodel both giving me black screens when I have hdr enabled in windows 11 (I leave it on all the time). If you have an NVIDIA graphics card, try going to the NVIDIA Control Panel and managing 3D Settings. Under the Vulkan/OpenGL Presentation Mode option, set the method to swapchain DXGI. Quote
lern2swim Posted Friday at 08:18 PM Author Posted Friday at 08:18 PM (edited) 16 hours ago, JoeViking245 said: If, when you launch a game in Xemu or Supermodel and you get the black screen, at that point, can you hit "the hotkey(s?)" to disable HDR and it fixes it? Or.... do you have to hit the hotkey to disable it BEFORE the emulator is loaded? What exactly is (are?) the hotkey(s) used to disable/enable the HDR? These will determine where and how to best accomplish this. It has to be switched off before launching the emulator. The hotkeys are alt+win+B Edited Friday at 08:20 PM by lern2swim Quote
lern2swim Posted Friday at 08:19 PM Author Posted Friday at 08:19 PM 11 hours ago, Sbaby said: If you have an NVIDIA graphics card, try going to the NVIDIA Control Panel and managing 3D Settings. Under the Vulkan/OpenGL Presentation Mode option, set the method to swapchain DXGI. AMD 6950 xt. I did see, while trying to find a solution, that there's a similar problem related to nvidia cards specifically. Sadly, not here though. Quote
JoeViking245 Posted Friday at 09:23 PM Posted Friday at 09:23 PM 28 minutes ago, lern2swim said: It has to be switched off before launching the emulator. The hotkeys are alt+win+B Be that the case, you'll need to do it the "hard" way. Which really, isn't hard at all. Since LaunchBox doesn't have a means to Run anything (a command or app) Before and/or After launching an emulator, you'll have to do Before/After launching the game(s). A way to do that is: Create an AutoHotkey script Add it as 2 Additional Apps to your games Play the games (1) Create a new text file. in it put: Send, #!b Nothing more. Nothing less. Save and close the file. Place the file somewhere that's obvious to you and you won't forget. i.e. D:\MyHDRstuff\ Now rename the file to (again) something that's obvious to you and give it the file extension .ahk Something like ToggleHDR.ahk Be sure it doesn't still have the .txt file extension (like ToggleHDR.ahk.txt) You should end up with something like D:\MyHDRstuff\ToggleHDR.ahk (2A) Test on a game 1st: Select an Xbox or Model3 game and edit it. Under Additional Apps, Add a new Additional App. Name it Toggle HDR On (or whatever you want). Browse to and select \LaunchBox\ThirdParty\AutoHotkey\AutoHotkey.exe for the app path. For the App Command-line, put the full path to the file you created above "inside quotes". i.e. "D:\MyHDRstuff\ToggleHDR.ahk" Check Automatically Run Before Main Application. Click OK to save and close. Add another new Additional App. Name it Toggle HDR Off (or whatever you want). Do the same as above but this time check Automatically Run After Main Application. (3) Run the game and see if it works. (2B) Once you're assured it does work, do the exact same "Test on a game 1st:" process for all your Xemu and Supermodel games. Alternately, you can use the Bulk Add Additional Apps plugin to do the games all at once. (Actually, you'll need to do that 4 times. Twice for your Model3 platform [once for On and once for Off] and twice for your Xbox platform). Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.