RETROBAT Official Board
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Play in windowed mode

3 posters

Go down

Play in windowed mode Empty Play in windowed mode

Post by Xargon 18/02/21, 12:20 am

Hi there,

I know how to set emulationstation in windowed mode but what about retroarch?
I wish to play it windowed.

Thanks in advance.
Xargon
Xargon

Messages : 4
Date d'inscription : 2021-02-18

Back to top Go down

Play in windowed mode Empty Re: Play in windowed mode

Post by Lorenzolamas 18/02/21, 06:45 pm

hello, is not possible.

But ingame, enter into the retroarch options and past Retroarch in windowed mode.
Lorenzolamas
Lorenzolamas
Admin

Messages : 2641
Date d'inscription : 2019-07-28

Back to top Go down

Play in windowed mode Empty Re: Play in windowed mode

Post by Xargon 19/02/21, 12:00 am

Thanks for the reply.

Where is emustation passing the config to retroarch? So I may edit it there.
Moreover I wish to enable the threaded video by default, otherwise all my emu are very laggy.

EDIT:
I tried to put this in retrobat.ini but is ignored:

[RetroArch]
DefaultVideoDriver="glcore"
video_fullscreen="false"
video_threaded="true"

Moreover I tried to edit the es_systems.cfg (and putting in a readonly state) with the following to each system:
--appendconfig ~\..\append.cfg
EG:
<command>%HOME%\emulatorLauncher.exe %CONTROLLERSCONFIG% -appendconfig ~\..\append.cfg -system %SYSTEM% -emulator %EMULATOR% -core %CORE% -rom %ROM%</command>

and I put those two options in the append.cfg but they are ignored as well.

So I tried to check what is the emulatorLauncher.exe is doing but I couldn't find it on the repo, is it closed source?
Xargon
Xargon

Messages : 4
Date d'inscription : 2021-02-18

Back to top Go down

Play in windowed mode Empty Re: Play in windowed mode

Post by Kayl 19/02/21, 06:13 pm

Hello,

Don't try to randomly add parameters in retrobat.ini. Only those already in the file are read.

Lorenzolamas told you that's not possible to launch emulators windowed. Emulators are not directly launched by ES, RetroBat use instead a launcher "emulatorlauncher.exe" written in C# which is passing the command line when launching an emulator. These parameters are hardcoded and they overwrite the settings.

The sources are here:
Code:
https://github.com/fabricecaruso/batocera-ports


Play in windowed mode Admin4
Kayl
Kayl
Admin

Messages : 301
Date d'inscription : 2019-06-03
Localisation : Galaxie de l'Ouest

https://www.retrobat.ovh

Lorenzolamas likes this post

Back to top Go down

Play in windowed mode Empty Re: Play in windowed mode

Post by Xargon 19/02/21, 06:18 pm

Doesn't seems a good idea to hardcode something that cannot be rewritten imho...
How can I add custom parameters to this emulatorLauncher?
Xargon
Xargon

Messages : 4
Date d'inscription : 2021-02-18

Back to top Go down

Play in windowed mode Empty Re: Play in windowed mode

Post by Kayl 19/02/21, 06:31 pm

By learning C# and make your own build ?

Then, while learning and reading the sources, you will understand why we're doing like this.


Play in windowed mode Admin4
Kayl
Kayl
Admin

Messages : 301
Date d'inscription : 2019-06-03
Localisation : Galaxie de l'Ouest

https://www.retrobat.ovh

Back to top Go down

Play in windowed mode Empty Re: Play in windowed mode

Post by Xargon 19/02/21, 09:08 pm

Kayl wrote:By learning C# and make your own build ?

Then, while learning and reading the sources, you will understand why we're doing like this.

I don't know C# so much but I am developing for 351ELEC and we are able to edit the options even from retroarch.

The system is coming from the same base idea: emustation + retroarch + standalones.

So I think that a different solution is possible: instead of hardcoding everything you can just override what is configured from emustation, but what is not configured/configurable can be edited on RetroArch as there is not a full override Smile
Xargon
Xargon

Messages : 4
Date d'inscription : 2021-02-18

Back to top Go down

Play in windowed mode Empty Re: Play in windowed mode

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum