MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Dullaron
Diablo III - Dunard #1884
Reged: 07/22/05
Posts: 6125
Loc: Fort Worth, Tx
Send PM
Re: How to set a custom window size for a game in Mame?
09/05/21 02:20 AM Attachment: Screenshot (199).png 101 KB (0 downloads)


> In the emulator I can only see 2 windowed display options: start maximized, and
> non-maximized. Maximized covers almost the whole computer screen, and non-maximized
> only displays it at its tiny native resolution. I'd like to set a custom size which
> would be a multiple of the game's native res. Let's say the game in question is
> 320x224; so if I were to choose a 2x size, it'd display as 640x448, 3x would be
> 960x672 and so on. That way the window wouldn't be too big nor too small.
>
> Is it possible to set sizes like that? if Mame can't do it natively, then maybe an
> external program that can customize the emulator window? (In that case it'd need to
> be Linux compatible, since it's what I'm using).

mame -window -v -r 352x256 -switchres dkong

Here is the command. Change it to whatever. Ignore the reports on the screen. That from using the bgfx I'm using. Showing you the size of the window.

[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment


W11 Home 64-bit + Nobara OS / AMD Radeon RX 5700 XT / AMD Ryzen 7 3700X 8-Core 3.59 GHz / RAM 64 GB







Entire thread
Subject Posted by Posted on
* How to set a custom window size for a game in Mame? Shiro 09/05/21 02:02 AM
. * Re: How to set a custom window size for a game in Mame? Dullaron  09/05/21 02:20 AM
. * Re: How to set a custom window size for a game in Mame? Shiro  09/05/21 08:13 PM
. * Re: How to set a custom window size for a game in Mame? MooglyGuy  09/06/21 05:58 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
1 registered and 373 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 376