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
|
|