Jump to content
LaunchBox Community Forums

Taking a crack at the WindowCast core for Retroarch, anyone have any experience?


onebadveggie

Recommended Posts

So, I'm currently trying to use the WindowCast core for Retroarch. For those who don't know what that is:

https://forums.libretro.com/t/official-release-thread-for-windowcast-core/40464

Simply put, it's a core for retroarch that allows you to launch stand alone emulators through retroarch, so you can enjoy the shaders that retroarch uses. The thing is, it's a bit finicky, and seems to have stopped development. That said, I was wondering if anyone had had a lot success with it? Right now, the big pain I'm having is with PCSX2. I found a python wrapper that makes it "more" simple to use in front ends, but my specific issue is with it not being able to launch a game directly. Here's the wrapper here:

https://github.com/AmateursPls/wincast/

Now, I am totally uneducated when it comes to scripting/ahk/etc. But I feel like I'm so close to getting this working how I'd want it to, but I just don't have the knowledge to get me over that last hump. The main problem being WindowCast grabs the emulators by using the title in the windows. This works for a lot of emulators, but the issue here is when you launch PCSX2, the title of the window becomes the game title, and WindowsCast is looking for the name of emulator itself. So, if you wanted it to work properly, you'd have to manually input every title of every game so that WindowCast finds it. This is also true for the Wincast wrapper as well, except for in this case, you'd have to manually input the full path to each rom in the running script.

So in launchbox I set up the wincast wrapper as an emulator. Then in the running script for it I put something akin to this:

Run, "...\Emulators\wincast.exe" --emulator "...\Emulators\PCSX2\pcsx2-qt.exe" --retroarch "...\Emulators\RetroArch\retroarch.exe"

Now, this script will use wincast to launch PCSX2, and Retroarch with the windowcast core running. And as far as that goes it works great, but I can't get it to run a rom, it just boots up the gui, which you can't really do much with.

However, wincast does have a command you can add to the end of this.

--rom "...\ROMS\PS2\Game title.chd"

Which when I use this, it works great, no issues, other than the obvious fact that I'd have to do separate launch conditions for every single rom if this was how I want to go.

So, to sum it up, what I guess I'm looking for is if someone knows a way I can either fool the wincast wrapper into "knowing" what rom I want it to use, so I don't have to make separate launchers for each game. OR does anyone have perhaps a script that would launch the windowcast core/PCSX2/rom, without the need of the python wrapper at all?

Link to comment
Share on other sites

I'm kinda just rambling and thinking out loud in the linked post below but I share everything so should at least give you an idea of how to implement something for yourself. I sure didn't use that wrapper, it was garbage when I tried it!

I did not want a bunch of random text files with just a single game name in them. Pretty dumb in my opinion. So I have a single file which can have different games on each line. Script will parse through the file looking for the game/emulator window title or executable (hint you should be using executable for a emulator!) Pic of the WindowCast file for ex below. You def do not need to do it like this, but thought I'd point out that is sort of "above and beyond" what you likely need to implement. I did this bc my main use is more on native PC games.

image.thumb.png.24af95f5b46318733934e4585c3a2250.png

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...