MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

DMala
Sleep is overrated
Reged: 05/09/05
Posts: 3989
Loc: Waltham, MA
Send PM
Re: How to set the degree of stretching?
02/05/13 11:02 PM


> Hi,
> I've got a little problem with my MAME configuration and I thought that maybe you
> could help me.
>
> I have an LCD monitor with a resolution of 1360x768 pixels.
> I play "Street Fighter II" which has a native resolution of 384x224 pixels.
>
> This is my command line call:
> mame sf2ua -video ddraw -nohws -view native
>
> With this configuration, MAME will strech the game image as much as it can with
> interger ratios. So, on my screen, the game will be stretched three times which
> results in an image of 1152x672 pixels (with the rest being put in black bars).
> Because that's the largest size possible. If I just had a screen of 800x600 pixels,
> the game would be stretched to 768x448 (i.e. two times).
>
> Alright, so far, so good.
> Now my question:
>
> What do I have to do to get a smaller image? In the moment, MAME stretches the game
> three times because that's what the screen is capable of. But what can I do if I just
> want it to be stretched two times?
>
> The reason is: My screen is widescreen, but I always sit right in front of it. For
> computer work it's alright, but if I play a game, the image is too big for me. So,
> I'd like MAME to use not the maximum possible stretching, but the one that I set
> manually. (Like: Use the original resolution and stretch it 2x2 times, even though
> you could use 3x3.)
>
> Is that possible? How can I do this? How can I tell MAME that, despite the screen's
> resolution of 1360x768, it shall only stretch the game twice and not three times?

If I understand what you're asking, I *think* you could use a LAY file to do what you want. Basically you would just specify a screen of the size and location you want. Check out http://mamedev.org/devwiki/index.php/LAY_File_Basics_-_Part_I







Entire thread
Subject Posted by Posted on
* How to set the degree of stretching? DaRayu 02/05/13 05:29 PM
. * Re: How to set the degree of stretching? DMala  02/05/13 11:02 PM
. * Re: How to set the degree of stretching? Firehawke  02/05/13 07:12 PM
. * Re: How to set the degree of stretching? DaRayu  02/05/13 09:27 PM
. * Re: How to set the degree of stretching? Sune  02/06/13 04:16 AM
. * Re: How to set the degree of stretching? Firehawke  02/05/13 09:30 PM
. * Re: How to set the degree of stretching? DaRayu  02/05/13 09:43 PM
. * Re: How to set the degree of stretching? Firehawke  02/05/13 09:54 PM
. * Re: How to set the degree of stretching? R. Belmont  02/05/13 10:06 PM
. * Re: How to set the degree of stretching? krick  02/06/13 12:26 AM
. * Re: How to set the degree of stretching? DaRayu  02/06/13 09:06 AM
. * Re: How to set the degree of stretching? R. Belmont  02/06/13 05:43 PM
. * Re: How to set the degree of stretching? StilettoAdministrator  02/06/13 06:07 PM
. * Re: How to set the degree of stretching? grog  02/06/13 07:17 PM
. * Re: How to set the degree of stretching? R. Belmont  02/06/13 11:43 PM
. * Re: How to set the degree of stretching? Calamity  02/07/13 05:29 PM
. * Re: How to set the degree of stretching? R. Belmont  02/07/13 09:08 PM
. * Re: How to set the degree of stretching? DaRayu  02/19/13 01:50 AM
. * Re: How to set the degree of stretching? asasega  02/06/13 05:04 PM

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