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

Is it possible to change target screen display resolution before emulator launch?

4 posters

Go down

Is it possible to change target screen display resolution before emulator launch? Empty Is it possible to change target screen display resolution before emulator launch?

Post by Zoomer 21/02/24, 12:18 pm

Hi everyone again! Just a quick question.

Is there a way in Retrobat to change the target display resolution before launching a standalone emulator? Running some script or maybe ES can do that before passing everything to an emulator?

There are a couple of edge cases where it might be necessary. For example, some Teknoparrot games run in a fixed resolution, like for example Luigi's Mansion arcade. The only way to run it in fullscreen is to have a desktop resolution of 1080p. DgVoodoo2 won't help in this case unfortunately, as this is a DX11 game.

The other case I stumbled upon is glitchy Demul which messes up aspect ratio when running Gaelco games. Its 4:3 fixed aspect ratio is anything but 4:3. The only other working option is to stretch the output to current desktop resolution. If we were able to set a proper 4:3 resolution before launching it (like 1920x1440 or 2880x2160 for example), everything would've been fine and dandy. Smile
Zoomer
Zoomer

Messages : 23
Date d'inscription : 2023-11-29

Back to top Go down

Is it possible to change target screen display resolution before emulator launch? Empty Re: Is it possible to change target screen display resolution before emulator launch?

Post by tartifless 21/02/24, 02:39 pm

Hello,

This is possible in some emulators with using the option "videomode" in advanced options \ video

But it's only activated for some emulators, and will indeed change the desktop resolution before running the emulator, and set it back to initial resolution once the emulator exits.

In which emulator would you require this and why ?



Is it possible to change target screen display resolution before emulator launch? Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

Back to top Go down

Is it possible to change target screen display resolution before emulator launch? Empty Re: Is it possible to change target screen display resolution before emulator launch?

Post by Zoomer 21/02/24, 03:58 pm

tartifless,

thanks for looking into this!

So, as I've mentioned, at this moment I faced two issues where the video mode change would've helped.

1. Demul-old setting for 4:3 aspect ratio is messed up when running Gaelco romsets. Here's the example with Gaelco game running in Demul when 4:3 aspect ratio is forced. The display's resolution is set to 2560x1440:
Is it possible to change target screen display resolution before emulator launch? Screenshot-2024-02-21-152833
It's also important to note that the fullscreen mode of Demul is bugged and it will set the display's native resolution anyway.

So the following workaround is only possible with borderless window (the mode Retrobat already launches Demul in).
Here's the result when I set the Demul's aspect ratio to "Stretch" and the desktop resolution to 1920x1440 (4:3 AR) in Windows before launching Retrobat/Demul:
Is it possible to change target screen display resolution before emulator launch? Screenshot-2024-02-21-154642

Also of note is that this is only happening with Gaelco romset. Dreamcast is fine in Demul AR-wise even with DX11-old plugin.

2. The games running with Teknoparrot sometimes don't allow for resolution change. Even though there's a "video mode" setting in the Teknoparrot games in Retrobat, the display resolution is not changed. Here's an example of Luigi's Mansion Arcade running on a display with 2560x1440 resolution. I've tried setting it to 1920x1080p and to 2560x1440 without success. I believe, the Retrobat's setting tries to force the game to run in the specified resolution, however there's currently no known way (I believe) to alter the output resolution of this game (even by editing the game's config files).
Is it possible to change target screen display resolution before emulator launch? Screenshot-2024-02-21-153135
Zoomer
Zoomer

Messages : 23
Date d'inscription : 2023-11-29

Back to top Go down

Is it possible to change target screen display resolution before emulator launch? Empty Re: Is it possible to change target screen display resolution before emulator launch?

Post by tartifless 21/02/24, 08:53 pm

Both demul and teknoparrot do not offer to change desktop resolution before launching games.


Is it possible to change target screen display resolution before emulator launch? Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

Back to top Go down

Is it possible to change target screen display resolution before emulator launch? Empty Re: Is it possible to change target screen display resolution before emulator launch?

Post by Zoomer 21/02/24, 09:26 pm

Would it be possible to implement such a feature? Smile
Zoomer
Zoomer

Messages : 23
Date d'inscription : 2023-11-29

Back to top Go down

Is it possible to change target screen display resolution before emulator launch? Empty Re: Is it possible to change target screen display resolution before emulator launch?

Post by Lorenzolamas 21/02/24, 09:41 pm

Zoomer wrote:Would it be possible to implement such a feature? Smile

Nope,

The emulator does not allow it, and has not been updated for several years.
And it's not open-source.

Crying or Very sad
Lorenzolamas
Lorenzolamas
Admin

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

Back to top Go down

Is it possible to change target screen display resolution before emulator launch? Empty Re: Is it possible to change target screen display resolution before emulator launch?

Post by Zoomer 21/02/24, 09:49 pm

No, I mean, there's no way in hell the emulator will be updated. However, I'm talking about the possibility of Retrobat to switch the desktop resolution for such specific cases?

For example, the Teknoparrot games that don't allow the change of resolution. It's not exactly the Teknoparrot's fault that they don't allow it Smile

And at the same time the old Demul codebase would benifit from it. Maybe by means of scripting or somesuch?
Zoomer
Zoomer

Messages : 23
Date d'inscription : 2023-11-29

Back to top Go down

Is it possible to change target screen display resolution before emulator launch? Empty Re: Is it possible to change target screen display resolution before emulator launch?

Post by Lorenzolamas 21/02/24, 09:51 pm

Teknoparrot games are PC games.
Teknoparrot is not an emulator, it's a game launcher...
Lorenzolamas
Lorenzolamas
Admin

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

Back to top Go down

Is it possible to change target screen display resolution before emulator launch? Empty Re: Is it possible to change target screen display resolution before emulator launch?

Post by Zoomer 21/02/24, 10:19 pm

Indeed. And the ability to customize game's resolution is on a per-game basis. Unfortunately, there are some that won't run full screen if the system doesn't provide the required resolution. Hence the screenshot I've attached in my previous post.

If Retrobat would change the resolution to the one expected by the game, we wouldn't have that Smile

It's not that I haven't researched a bit before posting here. That's why I'm writing "with Teknoparrot", not "in Teknoparrot". Linguistics aside, there are workarounds for that. For example, for some older games you can use dgVoodoo to force any resolution for the game and more. However, there are some that are DX11, and dgVoodoo isn't compatible with those. There are also more convoluted workarounds even for such a case. Still, it would've been nice if Retrobat simply knew when to switch the display resolution (or could be asked to do so). I can also imagine several other cases where that might be needed too. Imagine a Demul or some other borderless-window emulator that you would want to use the native resolution on the CRT (say, 640x480). And the emulator doesn't provide facilities to alter the display mode. Wouldn't it be nice if Retrobat did just that? It would've made it much more versatile, I think.

I mean, judging from your posts, I get it that the team won't invest their time in that? Fair enough, although it would've been a really nice feature. Wink Consider it a feature request then, haha
Zoomer
Zoomer

Messages : 23
Date d'inscription : 2023-11-29

Back to top Go down

Is it possible to change target screen display resolution before emulator launch? Empty Re: Is it possible to change target screen display resolution before emulator launch?

Post by Lorenzolamas 21/02/24, 10:36 pm

Have you seen how many systems and emulators are managed by Retrobat? Do you think we are a team of 150 people?

There are priorities and things that are doable, and others that are not.

Your requests are not among the priorities, but we keep them in mind for future developments.

Lots of people ask us lots of things, insist a lot, but don't want to understand that Retrobat:

- It's free.
- We are VERY small team.
- And that we do all this work in our free time.

Keep all this in mind 73
Lorenzolamas
Lorenzolamas
Admin

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

Zoomer likes this post

Back to top Go down

Is it possible to change target screen display resolution before emulator launch? Empty Re: Is it possible to change target screen display resolution before emulator launch?

Post by Zoomer 21/02/24, 11:37 pm

Nah nah, I'm not insisting on anything, actually.

I'm sorry if my text implied otherwise. I do really appreciate your work and since I went through the whole system and seen the way it's all configured - I appreciate it even more. There's a sound enough approach in everything.

I know it's not a huge team too! It's just I like the course Retrobat takes. I'm not a fan of dedicated systems for the sole purpose of retro gaming except for original hardware and hardware emulators. I get it why the other guys strive to create a walled system with pre-setup environment.

Yet, I'm able to configure all those shenanigans myself and properly integrate the pc into my entertainment system. Setting up each and every emulator for just a couple of games - that the whole other world. You'll grow old before you set up just the way like it. So I really enjoy the idea of preconfigured emulators from which I can derive what I need.

So it's absolutely not a command nor requirement for me to enjoy Retrobat. It's just a thing that would've been nice (I think) for some specific systems and use cases, like those mentioned above - and nothing else Smile A humble contribution, if you will.

Well, that and also the post was created in the hopes I missed something somewhere - some little bit that would help me to set up the desktop mode. Smile
Zoomer
Zoomer

Messages : 23
Date d'inscription : 2023-11-29

Lorenzolamas likes this post

Back to top Go down

Is it possible to change target screen display resolution before emulator launch? Empty Re: Is it possible to change target screen display resolution before emulator launch?

Post by Kikikirissx 23/02/24, 06:29 pm

I dont know where i found thèse files but i got patchs to run game in différents resolution
Thats pacths are the modified game. Exe  and i got 5or 6 différents, one by résolution
I juste remplacé the original Exe and its good


Check here:
https://www.emuline.org/topic/1461-tuto-teknoparrot-amd-nvidia-gpu-and-resolution-fixes-by-nezarn-and-others/
Kikikirissx
Kikikirissx

Messages : 1
Date d'inscription : 2024-02-19

Lorenzolamas likes this post

Back to top Go down

Is it possible to change target screen display resolution before emulator launch? Empty Re: Is it possible to change target screen display resolution before emulator launch?

Post by Zoomer 23/02/24, 07:23 pm

Yeah, thanks! Unfortunately, there's no patch for Luigi's Mansion there or anywhere else. I've also tried my best with that game but still no luck. Well, I mean, apart from changing the resolution to 1080p before launching Retrobat or the game Smile
Zoomer
Zoomer

Messages : 23
Date d'inscription : 2023-11-29

Back to top Go down

Is it possible to change target screen display resolution before emulator launch? Empty Re: Is it possible to change target screen display resolution before emulator launch?

Post by tartifless 23/02/24, 07:24 pm

Are you on github ? Can you join ?


Is it possible to change target screen display resolution before emulator launch? Modo
tartifless
tartifless
Admin

Messages : 1642
Date d'inscription : 2021-04-27

Back to top Go down

Is it possible to change target screen display resolution before emulator launch? Empty Re: Is it possible to change target screen display resolution before emulator launch?

Post by Zoomer 26/02/24, 09:52 am

Hi, tartifless! Sorry, I somehow missed the forum notification. You mean me? Yeah, I do, nothing professional there though Very Happy Would you like me to move that there to Github?
Zoomer
Zoomer

Messages : 23
Date d'inscription : 2023-11-29

Back to top Go down

Is it possible to change target screen display resolution before emulator launch? Empty Re: Is it possible to change target screen display resolution before emulator launch?

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