Official release thread for WindowCast core

after some tinkering with my batch files i got my first game , to launch each time in bigbox FINALLY without any popups (didn´t try other so far ^^)

@IHQMD also i guess its no problem that i go to advertise your core :sweat_smile: i had this idea with the boot-animation

6 Likes

I had this working fine then made some changes in Retroarch config and started getting a black screen on launch. I went back and reverted my config changes one by one and found that the change I made to fastforward_ratio was the culprit.

Reverted fastforward_ratio back to 0 in retroarch.cfg fixed the issue.

Not sure if it will help anyone else but thought I would make a post about it just in case.

2 Likes

Hello! I struggled to get it to work. It took me a while to realize that the windowcast here doesn’t work in full screen. Only with retroarch in windowed mode. Is it like that or just here? I use a Ryzen 5600G apu. In full screen retroarch freezes the game image but I can still access the retroarch menu (f1). And one more thing. In full screen I realize that when holding alt+tab here in windows 11 the game magically runs in retroarch normally, but just release alt+tab and the screen freezes again.

Is cowabunga collection easy for my pc to use with this power wise even with the collections ui 1070 ti 16gb ram i7 7700.

1 Like

i think you can run it …you basically should set the game anyways on a low res if you use it with MBZ and windowcast

1 Like

What resolution do I need to set it at?

readme says “- The game or emulator should be running in a window, and emulators should be set to accept background input if possible. For visual results you should set the game resolution to a low resolution like 640x480 or 800x600, or use 1x native settings in your emulator”

for widescreen it would be 640x360 up to 960x540 i would say …but you can test for yourself i would say the resolutions above are more or less the safe area

1 Like

So I managed to make it work, but it’s not smooth at all, what can I try to make it smoother? DX11 PC game on low settings 640x480p 60hz game 60hz RA, RA reports a not locked inconsistent frame rate of between 55~59fps, I can get to 70~90fps on ultra settings on 1440p playing normally without windowcast. 144hz 1440p freesync (off right now) screen NVidia graphics card. Game window looks fine, it’s the cast that is not smooth. Also sizer seems to include the titlebar in the resizing, any solutions or alternatives that?

hi i would like to know something as i’m quitte curious about this as well, everything’s working good fine on my endevour if i wanna downscale a game in lcd to work properly and crisp on a super res crt monitor? will the game had to be rendered at that resolution as well?, or will i have to downscale from a mayor resolution in order to look good?

It has been a while since I fired up the WindowCast core.

Rayman Origins from GOG at 1920x1440 windowed, running in the Mega Bezel. (With some Scanline Opposite Direction Multiplayer to show scanlines.)

Works perfectly with no lag at all!

8 Likes

how about HDR

the games have HDR if i cap it

i feel the colour not right

thank you

which resolution is recomendable to set properly crt shaders with ntsc for wgc? to be used in emus such as fightcade to have a proper image over at the game?

Highly recommend putting Qt652QWindowIcon in the stock partials-example.txt for new users. That’s the window class for PCSX2 nightlies. Helps immensely with the problem of the window title changing to the name of the game being played.

2 Likes

This seems amazing but I am a little confused on a few things:

What does “Each line in the file is treated as partial match to window titles and ‘class names’. Comments (using ‘#’) are supported” this mean? I looked in the “partial-examples.txt” file and saw # Dolphin GameCube/Wii Emulator Dolphin PCSX2 PlayStation 2 Emulator EE xemu Xbox Emulator xemu But I am uncertain as to how I find the ‘class names’. Additionally, I use LaunchBox and if I can get this functioning(I don’t have much faith in myself currently), what parameters would I use to launch Xemu or Dead Cells? Lastly, what file do I edit si this core knows what to do? I am sorry but I am very confused and need a little more guidance than I am finding in the Readme and txt and I cannot find anything online for a tutorial. :pensive:

1 Like

hey dude basically you just have to setup a txt file

you can name it any way you want inside it should look like this

#Sonic Mania (game name)

SonicMania (window/proces title)

#AM2R

AM2R

#GuiltyGearXrd

GuiltyGearXrd (32-bit, DX9)

thats basically the file your start with windowcast

if you use launchbox you can setup a .bat file for each game

like this to start retroarch and the game at once

@echo off

C:

cd “C:\Users\name\AppData\Roaming\RetroArch”

start retroarch.exe -L “.\cores\wgc_libretro.dll” “F:\Roms\name of the partial-examples .txt”

timeout 19

D: cd “D:\games\Sonic Mania”

start SonicMania.exe

exit

call it like the game and use this bat file as roms “rom”

4 Likes

Hey bro, thanks a lot for such a detailed response. You just saved me from getting a migraine :sweat_smile:. Seriously, I get migraines when I struggle and stress when learning something new that I can’t seem to grasp, so thank you very much! I will be testing this out very shortly.

I am still lost as to how I get the correct window/process title. Is it what would show up if I were running it in a bordered window or do I get it from task manager or using something like WindowSpy in AutoHotKey?

Lastly, is there a default location for storing the text file for WindowCast to know to look where I just need to use a relative path and game name instead of the entire path of the text file and name? So like if I drop the txt in “.\RetroArch\System”, it would look something like start retroarch.exe -L “.\cores\wgc_libretro.dll” -AM2R

If not, would it be possible to add that function into it where basically the game name we set can be used as a parameter?

Thanks again and I apologize for playing 20Q :grimacing:

3 Likes

first of all you have the option to get the name from the window title or from the taskmanager (details) :slight_smile:

second it shouldn´t matter where to place it there is no real default path as far as i know

1 Like

On a related note. I tried to name the text file something unique containing only one reference, so I could save a game shader preset based on the text file name. And it didn’t work.

yeah for any reason you have to make folders and use params

each folder containing a new/copy of the file

at least i had to do it to switch between wide screen and 4:3 presets/overlays

2 Likes

Hey all o/

I recently stumbled across this and fell in love. Most exciting thing in emulation (for my money) in ages. Thank you so much @IHQMD

I wrote a little wrapper utility to help leverage the most out of it and help integrate the Core into frontends. Supports a few nifty little things like automatically closing the emulator when RetroArch closes, and supports both standalone emulators and standalone windows games.

Can be downloaded here

I’m not a programmer by any means so expect bugs and weirdness, but has worked well in my testing so far \o/

Simple usage for Pegasus-frontend (should be easy to adapt to LaunchBox or anything else):

launch: …\Emulators\RetroArch\wincast.exe --emulator “…\Emulators\PCSX2\pcsx2-qtx64-avx2.exe” --retroarch “…\Emulators\RetroArch\retroarch.exe” --partialdir “E:\Temp\PartialTest” --rom “{file.path}”

9 Likes