MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

T21231
MAME Fan
Reged: 07/05/14
Posts: 6
Send PM


MAME - Setting native resolution question.
#333515 - 10/20/14 03:10 AM


Robotron has a native 292x240 resolution. I would like to display it at
4x pixel size (1168x960) to keep the pixel count an exact multiple of 4
in both axises to eliminate blur from interpolation.

I can get it to work if I start it inside a window:
> mame64 robotron -w -ka -nofilter -resolution 1168x960@60

I would like to run this without a window so I can get an all-black
background but keep the 1168x960 pixel count for the game.

When I take off the "-w" (start in a window), I get the all-black
background but the game is now stretched for the entire vertical
axis introducing blur.

I am using mame v155 command line but have also tried MAMEUI64 and the
very old mame32. Can't find a way to do this with any of the versions.
Can someone help me out ??

Thanks



Sune
Connected
Reged: 09/21/03
Posts: 5648
Loc: Lagoa Santa, Brasil
Send PM


Re: MAME - Setting native resolution question. new [Re: T21231]
#333522 - 10/20/14 06:26 AM


> When I take off the "-w" (start in a window), I get the all-black
> background but the game is now stretched for the entire vertical
> axis introducing blur.

Set prescale to 2 and filter to 0

S



T21231
MAME Fan
Reged: 07/05/14
Posts: 6
Send PM


Re: MAME - Setting native resolution question. new [Re: Sune]
#333575 - 10/21/14 02:10 AM


> > When I take off the "-w" (start in a window), I get the all-black
> > background but the game is now stretched for the entire vertical
> > axis introducing blur.
>
> Set prescale to 2 and filter to 0
>
> S

This did not work, it stretched the screen to the full vertical length.
I tried several combinations:
> mame64 robotron -prescale 2 -nofilter
> mame64 robotron -prescale 2 -nofilter -ka
> mame64 robotron -prescale 2 -nofilter -resolution 1168x960@60
> mame64 robotron -prescale 2 -nofilter -ka -resolution 1168x960@60



asasega
MAME Fan
Reged: 02/08/09
Posts: 56
Send PM


Re: MAME - Setting native resolution question. new [Re: T21231]
#333602 - 10/21/14 11:00 AM


you need integer scalling for what are you trying to do
official mame support this only in ddraw mode
in d3d mode (the default) you will need to use a variant of mame build which has cleanstretch option or compile official mame with cleanstretch patch applied



T21231
MAME Fan
Reged: 07/05/14
Posts: 6
Send PM


Re: MAME - Setting native resolution question. new [Re: asasega]
#333617 - 10/21/14 09:19 PM


> you need integer scalling for what are you trying to do
> official mame support this only in ddraw mode
> in d3d mode (the default) you will need to use a variant of mame build which has
> cleanstretch option or compile official mame with cleanstretch patch applied



I loaded openEmu on a Mac Powerbook from work just to see what it looks like
(I use Windows7 at home) and I see an option called: "Zoom Level: Integral"
Is this the option you are talking about?

Also, does anyone know of a pre-compiled Windows version of MAME with cleanStretch
or IntegralScaling? (or whatever it's called )


Thanks for all the info so far..



krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM


Re: MAME - Setting native resolution question. new [Re: T21231]
#333626 - 10/22/14 02:12 AM


> Also, does anyone know of a pre-compiled Windows version of MAME with cleanStretch
> or IntegralScaling? (or whatever it's called )

CabMAME and GroovyMAME both have integer scaling.



GroovyMAME support forum on BYOAC



grog
Reged: 09/06/11
Posts: 419
Send PM


Re: MAME - Setting native resolution question. new [Re: krick]
#333629 - 10/22/14 02:53 AM


note: you would have to settle for older versions. cabmame is no longer updated (possibly the cabmame code is no longer compatible with recent mame versions), and i dont know if mameuifx had cleanstretch in the past, but it doesnt have it today (note: the recent cleanstretch feature found in mameuifx has been renamed to widestretch to avoid confusion, because i think that feature is actually to allow widescreen lcd users to avoid black borders on the sides, so not related to the cabmame cleanstretch feature



asasega
MAME Fan
Reged: 02/08/09
Posts: 56
Send PM


Re: MAME - Setting native resolution question. new [Re: T21231]
#333636 - 10/22/14 08:48 AM Attachment: mame.zip 23342 KB (1 downloads)


using SailorHat patch i modified it so you can input how much scale do you want
example
mame robotron -xxxx 3 -yyyy 3 -noflt
this will give you x res *3 and y res*3 in integer
all credits to SailorHat i just added two variables
i included mame 32 bit(i dont have a 64 machine)
in emus.zip in 3 three files modified, maybe someone could make a diff file
mamesource used was latest 155



asasega
MAME Fan
Reged: 02/08/09
Posts: 56
Send PM


Re: MAME - Setting native resolution question. new [Re: asasega]
#333637 - 10/22/14 08:48 AM Attachment: emus.zip 30 KB (2 downloads)


source update



Traso
MAME Fan
Reged: 01/15/13
Posts: 2687
Send PM


That's Sailor[S]at, beau.... (nt) new [Re: asasega]
#333740 - 10/24/14 01:44 AM





Scifi frauds. SF illuminates.
_________________

Culture General Contact Unit (Eccentric)


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

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