MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Sune
Connected
Reged: 09/21/03
Posts: 5648
Loc: Lagoa Santa, Brasil
Send PM
Re: How to strect the game only at integer ratios?
07/08/12 08:45 PM


> So, in your setting, the screen really shows an image where the top and the bottom
> has black bars?

No of course not (*)...I don't understand why you would want that. Also being an asshole about it and insulting people doesn't help your cause.

I like the image to take up as much screen space as possible while keeping the correct aspect ratio - like on a real 4:3 arcade monitor.
But most arcade games (or entire systems like CPS2) used resolutions that were not 4:3 or 3:4.
With the game running, the operator would adjust the monitor so that the image would fill the screen, 4:3 or 3:4 for vertical games. The games were designed with that in mind.
Moon Patrol for example uses a resolution that produces a square image, 240x252. You must stretch the image horizontally into a 4:3 aspect ratio for the wheels on the moon buggy to be round. Therefore, when you look at an arcade monitor running the Moon Patrol game PCB at the correct aspect ratio, what immediately appears to be individual pixels are most probably single elements in the monitor's RGB mask. MAME lets you simulate this behavior with HLSL effects...and it looks absolutely fantastic.

If you applied your 'integer stretching' to Moon Patrol, then the wheels on the buggy would not be round...and if you applied it to Street Fighter, Chun Li would be fat. And that's just wrong.

MAME "adjusts the monitor" for you automatically - but if you don't up the prescale value as well this causes the stretching artifacts that you describe where entire lines get stretched taller than others.

Another thing, you keep going on about bilinear filtering, but this can be disabled in mame.ini. And it should be when using effects pngs or HLSL with an appropriate prescale value.
If you're still seeing some kind of filtering applied (like when using hwstretch with the old renderer) then that's done automatically by your video card's drivers. This is outside of MAME's control.

(*) well yes..on horizontally oriented games it does because my monitor is 5:4 (1280x1024) but that's beside the point.

S







Entire thread
Subject Posted by Posted on
* How to strect the game only at integer ratios? OfHistory 07/08/12 12:25 AM
. * Re: How to strect the game only at integer ratios? krick  07/08/12 07:18 AM
. * Re: How to strect the game only at integer ratios? StilettoAdministrator  07/08/12 07:37 AM
. * Re: How to strect the game only at integer ratios? H@P  07/09/12 01:08 AM
. * Re: How to strect the game only at integer ratios? R. Belmont  07/09/12 04:28 PM
. * Re: How to strect the game only at integer ratios? H@P  07/09/12 06:48 PM
. * Re: How to strect the game only at integer ratios? krick  09/08/12 11:44 PM
. * Re: How to strect the game only at integer ratios? R. Belmont  07/09/12 07:31 PM
. * Re: How to strect the game only at integer ratios? H@P  07/10/12 07:01 AM
. * Re: How to strect the game only at integer ratios? Trebor  07/09/12 04:45 PM
. * Re: How to strect the game only at integer ratios? Sune  07/09/12 10:45 PM
. * Re: How to strect the game only at integer ratios? R. Belmont  07/10/12 05:03 PM
. * Re: How to strect the game only at integer ratios? Sune  07/10/12 10:10 PM
. * Re: How to strect the game only at integer ratios? TafoidAdministrator  07/11/12 04:22 AM
. * Re: How to strect the game only at integer ratios? joey35car  07/09/12 03:09 AM
. * Re: How to strect the game only at integer ratios? StilettoAdministrator  07/09/12 01:31 AM
. * EDIT: How to strect the game only at integer ratios? H@P  07/09/12 03:09 AM
. * Re: How to strect the game only at integer ratios? Sune  07/09/12 03:18 AM
. * Re: How to strect the game only at integer ratios? B2K24  07/08/12 08:23 AM
. * Re: How to strect the game only at integer ratios? OfHistory  07/08/12 11:41 AM
. * Re: How to strect the game only at integer ratios? Calamity  07/08/12 01:47 PM
. * Re: How to strect the game only at integer ratios? OfHistory  07/08/12 02:29 PM
. * Re: How to strect the game only at integer ratios? Calamity  07/08/12 03:35 PM
. * Re: How to strect the game only at integer ratios? TafoidAdministrator  07/08/12 02:53 PM
. * Re: How to strect the game only at integer ratios? OfHistory  07/08/12 03:38 PM
. * Re: How to strect the game only at integer ratios? krick  07/09/12 07:38 AM
. * Re: How to strect the game only at integer ratios? Vas Crabb  07/08/12 04:08 PM
. * Re: How to strect the game only at integer ratios? Sune  07/08/12 06:23 PM
. * Re: How to strect the game only at integer ratios? OfHistory  07/08/12 07:45 PM
. * Re: How to strect the game only at integer ratios? Sune  07/08/12 08:45 PM
. * Re: How to strect the game only at integer ratios? OfHistory  07/08/12 11:01 PM
. * Re: How to strect the game only at integer ratios? krick  07/28/12 07:24 AM
. * Re: How to strect the game only at integer ratios? Sune  07/08/12 11:16 PM
. * Re: How to strect the game only at integer ratios? joey35car  07/09/12 01:44 AM
. * Re: How to strect the game only at integer ratios? B2K24  07/09/12 05:19 AM
. * Re: How to strect the game only at integer ratios? Sune  07/09/12 02:33 AM
. * Re: How to strect the game only at integer ratios? Sune  07/08/12 11:21 PM
. * Re: How to strect the game only at integer ratios? joey35car  07/08/12 11:44 PM
. * Re: How to strect the game only at integer ratios? Sune  07/08/12 11:56 PM
. * Re: How to strect the game only at integer ratios? joey35car  07/09/12 12:43 AM
. * Re: How to strect the game only at integer ratios? Sune  07/09/12 01:07 AM
. * Re: How to strect the game only at integer ratios? joey35car  07/09/12 02:01 AM
. * Re: How to strect the game only at integer ratios? joey35car  07/09/12 02:11 AM
. * Re: How to strect the game only at integer ratios? Sune  07/09/12 02:22 AM
. * Re: How to strect the game only at integer ratios? joey35car  07/09/12 02:32 AM
. * Re: How to strect the game only at integer ratios? OfHistory  07/08/12 05:43 PM
. * Re: How to strect the game only at integer ratios? redk9258  07/08/12 05:04 PM
. * Re: How to strect the game only at integer ratios? B2K24  07/08/12 02:26 AM
. * Re: How to strect the game only at integer ratios? Sune  07/08/12 02:30 AM
. * Re: How to strect the game only at integer ratios? Waremonger  07/08/12 06:10 AM
. * Re: How to strect the game only at integer ratios? Sune  07/08/12 05:55 PM

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