
SiriusVI
Members-
Posts
570 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
SiriusVI's Achievements

64-Bit Supercomputer (6/7)
102
Reputation
-
Hey evryone, I'm having an issue with Launchbox Conroller Hotkeys that I didn't have before. I don't know since when this problem started, since I haven't tried it in quite a while. The "Exit" hotkey does not work anymore. I have set it to "Start + B" on my Xbox Series conroller. It used to work perfectly, but now, it does not exit retroarch anymore. Any help is appreciated.
-
I'm not sure I'll be able to help you with this problem, since I have an Nvidia card. But with the recent release of "ShaderGlass" on steam, I think WindowCast might be basically obsolete. Will have to try to integrate it into my setup though. EDIT: so basically, what you could do is the following: 1. Download ShaderGlass for steam 2. Load the shader you want (external shaders work, too) 3. Save your configuration as a profile within ShaderGlass 4. Within Launchbox, create an ahk script that starts when launching a specific emulator, such as Xemu, such as: Run, C:\Program Files (x86)\Steam\steamapps\common\ShaderGlass\ShaderGlass.exe -f M:\TestProfile.sgp This works for me. It's much easier to set up than WindowCast and also there is not noticeable input lag.
-
Oh wow, that is a great find! I downloaded the version you specified and the script works now. I also tried the newest version of Auto Hotkey, just to test and it does not work. I'll say that I don't understand why AutoHotkey releases newer versions of its software that break previously written scripts. I sure hope that all the other scripts I have set up in Launchbox over the past years still work. I usually just copy scripts that other people wrote and I don't think I have the skill to update all of these scripts so that they work with different versions of Auto Hotkey. Anyway, thank you so so much for guiding me through this! Have a great day! 😃 (If I encounter any more problems with the script, I'll make sure to tell you all about it here, haha)
-
Wow thx so much for your hard work helping me. Truly appreciate it! Alright, here we go: 1. box 2. box: 3. box 4. box 5.box 6. box 7. box 8. box So this is empty, it does not = 3 ... AKH window looks the same:
-
Ah, yeah I forgot sorry. Anyway, it's just the file that came with the core. I just renamed it to "WindowCast.txt". Did nothing else to it. Thank you so much for helping me out 😃 WindowCast.txt
-
Oh yeah, that's probably it! So the "old" platform Icon folder is not needed anymore, right? Can you telle me what other folders are also not needed anymore? I'd like to clean up evrything to avoid confusion in the future.
-
I'm also having a really annoying problem with platform icons lately. A while ago I added Steam, EA Games and GOG as separate platforms and I could easily add custom platform icons. It just worked, So I thought I knew what I was doing. Now (a few years later) I added Epic Games, Ubisoft and Microsoft to the mix (as platforms, not playlists), and also copied custom icons in the correct folder, named correctly after the specific platforms. However, as you can see, the icons show up as the default "windows"platform, instead of the custom store front icons. Can anyone help me fix this? EDIT: As a test, I just tried replacing the Super Nintendo Entertainment System.png and see if the platform icon changes, but it does not. Is there some kind of platform icon cache that needs to be updated / cleared in order for this to work? I'm really confused, since it used to work so easily in the past. Edit 2: A new test: I switched to a different theme, called "Default Plus" which has custom Platform icons. So I copied the Epic games icon into the corresponding folder for this theme and that worked: So I guess this behavior is a bug in the default Theme? EDIT 3: I found a workaround, but I believe this is definitely a bug of the Default Theme. So basically, if I copy the Platform Icons folder from this (default) location: "M:\Launchbox\Images" to this location: "M:\Launchbox\LBThemes\Default\Images", it works.
-
OK got it, so this is how it starts: Once I scroll down to the end, it looks like this: Again for reference, I use this script now: SetWorkingDir, % A_ScriptDir SetTitleMatchMode, RegEx ; seems to work like mode 2 (partial match) but allows for use of expressions RetroarchWinTitle := "ahk_exe retroarch.exe" RetroarchEXE := "M:\Launchbox\Emulators\RetroArch - WindowCast\retroarch.exe" WindowCastFile := "M:\WindowCast\WindowCast.txt" WindowCastListArray := [] TimeOutDelay := 10000 ; close script if game/emulator window is not found in X seconds RunRetroarchDelay := 1500 ; delay between finding game/emulator window and then opening Retroarch FocusHotkeyDelay := 2000 ; delay between launching Retroarch and sending hotkey to grab focus of game/emulator window. *HDR/Fullscreen method ONLY* ; Read WindowCast window list file and parse into array FileRead, WindowCastList, %WindowCastFile% Loop, Parse, WindowCastList, `r, `r`n { If (InStr(A_LoopField, "#")) Continue WindowCastListArray.Push(A_LoopField) } ; Loop through list to check which window exists InitialTime := A_TickCount WindowCheck: Loop, % WindowCastListArray.Count() { ; Check if entry is an exe If (InStr(WindowCastListArray[A_Index], ".exe")) { If (WinExist("ahk_exe " . "i)" . WindowCastListArray[A_Index])) { ExistingWindow := WindowCastListArray[A_Index] Break } } ; If entry is not an exe, it is a window title Else If (WinExist("i)" . WindowCastListArray[A_Index])) { ExistingWindow := WindowCastListArray[A_Index] Break } DurationTime := A_TickCount - InitialTime If (DurationTime >= TimeOutDelay) { MsgBox, 4096, Window Check Timeout, Couldn't find existing window. Exiting script! ExitApp } } If (ExistingWindow = "") Goto, WindowCheck Sleep, RunRetroarchDelay Run, %RetroarchEXE% -L wgc_libretro.dll %WindowCastFile% -f WinWait, % RetroarchWinTitle Sleep, % FocusHotkeyDelay ; Sends hotkey to give focus to game window so inputs are detected Send {LCtrl down}{LAlt down}{t down}{t up}{LAlt up}{LCtrl up} If (InStr(ExistingWindow, ".exe")) WinWaitClose, % "ahk_exe" . "i)" . ExistingWindow Else WinWaitClose, % "i)" . ExistingWindow WinClose, % RetroarchWinTitle ExitApp ; Hotkey to exit Retroarch and terminate script $Esc:: ; keyboard modifier ($) is needed so input isn't "eaten" by the game WinClose, % RetroarchWinTitle ExitApp I'll attach the file here as well. I do not get the message box you mentionied. It's just that nothing happens when I double click the script. Except that AutoHotKey appears in my task bar with the contents that I uploaded above. WindowCast.ahk
-
Well it's not working , yet sadly. This ahk script now works, as in it launches WindowCast and successfully captures Xemu: Run, "M:\Launchbox\Emulators\RetroArch - WindowCast\retroarch.exe" -L wgc_libretro.dll "M:\WindowCast\WindowCast.txt" However, the rest of the script does not work. In fact it does nothing, when I try to launch it. Retroarch doesn't even launch =/ EDIT: I tried some stuff and shortening the script to just this now also works: SetWorkingDir, % A_ScriptDir SetTitleMatchMode, RegEx ; seems to work like mode 2 (partial match) but allows for use of expressions RetroarchWinTitle := "ahk_exe retroarch.exe" RetroarchEXE := "M:\Launchbox\Emulators\RetroArch - WindowCast\retroarch.exe" WindowCastFile := "M:\WindowCast\WindowCast.txt" WindowCastListArray := [] Run, %RetroarchEXE% -L wgc_libretro.dll %WindowCastFile% However, this does of course not send CTRL + ALT + T which is needed for the inputs to work. I'm at a loss as to why the whole script won't work for me.
-
Hey thx for replying. Did some further testing: Manually starting Xemu and then manually launching WindowCast works. Launching this ahk script also launches retroarch: Run, "M:\Launchbox\Emulators\RetroArch - WindowCast\retroarch.exe" This ahk script just freezes retroarch and I have to terminate the process: Run, "M:\Launchbox\Emulators\RetroArch - WindowCast\retroarch.exe" -L wgc_libretro.dll "M:\WindowCast\WindowCast.txt" I also get the freeze when just trying to launch this via CMD. I can see that WindowCast is trying to capture the Xemu window (yellow outlines aroundthe game window), but Retroarch crashes. Same behavior with Dolphin. Again, running windowcast manually works perfectly. EDIT: I think I got it. It's Gsync. If Gsync is enabled in RetroArch, CMD and AHK crash Retroarch during the window capture. If it's disabled it works. But again, when manaully starting WindowCast, it works fine, even wuth Gsync enabled.
-
Hey man, I'm trying to get this ahk working in Launchbox. I copied your script in a txt document and saved it as WindowCast.ahk. I added my paths like so: RetroarchEXE := "M:\Launchbox\Emulators\RetroArch - WindowCast\retroarch.exe" WindowCastFile := "M:\WindowCast\WindowCast.txt" I put the file in M:\Launchbox\Utilities\Scripts\WindowCast and in Manage Emulators for Xemu I added in the running script section: Run, M:\Launchbox\Utilities\Scripts\WindowCast\WindowCast.ahk However when I launch a game, Xemu starts like normal, but Retroarch never launches. So Am I doing something wrong here? (I of course tried WindowCast before from Retroarch and it works fine there.) Can you help me? EDIT: When first trying this, Windows asked me which program I wanted to use for .ahk files. I chose M:\Launchbox\ThirdParty\AutoHotkey\AutoHotkey.exe I assume this was correct?
-
There are great ways to automate this as well. If it's just bezels / overlays that you want, then you should take a look at the bezel project. It's a fully automated installer that will automatically set up bezels for all of your games: https://github.com/thebezelproject/BezelProject-Windows If you want something even fancier, I suggest looking into HSM shaders with included bezels. I recommend Duimon's shader presets: https://forums.libretro.com/t/duimon-hsm-mega-bezel-graphics-and-presets-feedback-and-updates/28146 https://github.com/Duimon/Duimon-Mega-Bezel Here is an example of what they loo like:
-
Sucks that you lost your whole setup, but trust me, it's not actually that hard and it won't take that long to build it up again if it's just those 5 platforms. What you wanna do is: 1. Download Launchbox 2. Setup Retroarch as an emulator (Launchbox can do that for you). Retroarch will be able to emulate all of these platforms, no need for standalone emulators.) 3. Get your games back (depending on how you want to go about it, this can take a bit longer. Did you have a hand-picked collection, a 1g1r set or a complete set with all available games for each system?) 4. Import all the games into Launchox and download all the metadata and media. 5. Aaaaand you're done --> Don't forget to make a backup this time 😃 If you have no experience with Launchbox, it may take a bit longer, and of course getting your game collections together might take a while. But if I had the games ready, JUST the setup within Launchbox & Retroarch would probably take me half an hour. Good luck and don't forget to have fun.
-
Some time it would like to set this up as well. Getting the overlays to work seems like a bit of a challenge, especially when combined with complex shaders with bezels, such as Duimon's HSM shader presets. Will have to try.
-
Check out my current LaunchBox setup.
SiriusVI replied to Orionsangel's topic in Collections and Builds
Very nice setup. It's always great to see how different users set up their collections differently to get some new ideas =).