Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: danny_galaga on March 11, 2011, 10:41:31 pm

Title: how do I get full screen in mame?
Post by: danny_galaga on March 11, 2011, 10:41:31 pm

Sounds noobi-ish. Ive been using mame (v78) for years, mostly on win98, without any probs. But now I've fixed up my cab with a new 'puter, and XP. I can't seem to get the games running a full screen. There's a huge black border around it. Particularly vertically. Previously, when it was on tinyxp, i found a workaround by inventing the 'danny' aspect ratio of 6:5. I'm sure I did a couple of other things too, but I can't recall.

Anyway, with a new install of real XP, and new install of mame, I cant seem to change the aspect ratio. See attached. What's going on? What should I be looking for so that I can have a full screen of MAME goodness? Don't get hung up on the aspect ratio thing either, that was a desperate workaround. All I want is a full screen (",)
Title: Re: how do I get full screen in mame?
Post by: DaOld Man on March 11, 2011, 10:54:41 pm
I know older versions of command line Mame have an argument called -hws (hardware stretch) that fits the game to my desktop LCD screen.
Im not sure about that version you are using, maybe look for hardware stretch in the options?
Title: Re: how do I get full screen in mame?
Post by: danny_galaga on March 11, 2011, 11:00:50 pm
I know older versions of command line Mame have an argument called -hws (hardware stretch) that fits the game to my desktop LCD screen.
Im not sure about that version you are using, maybe look for hardware stretch in the options?

Just had a look for it, and realised that also is greyed out in the screenshot. Why are the two things I want to change greyed out? This is some sorta Murphys law  :D
Title: Re: how do I get full screen in mame?
Post by: DaOld Man on March 11, 2011, 11:09:18 pm
I must be getting sleepy, I didnt even see that option first time. I dont have any idea why it is greyed out.
Have you tried running a game in command line with the -hws argument?
Title: Re: how do I get full screen in mame?
Post by: danny_galaga on March 11, 2011, 11:40:57 pm
I must be getting sleepy, I didnt even see that option first time. I dont have any idea why it is greyed out.
Have you tried running a game in command line with the -hws argument?

I actually wouldn't know how! I use mame32. But I'm guessing the hws thing would be in a file. I looked in the mame32.ini file. I highlighted the bit I think is the equivalent of what you are talking about. Is there anything in this list that looks like I should change?:


### Mame32.ini ###

### Frontend Related ###
clones                  1

### Windows path and directory options ###
rompath                 roms
samplepath              samples
inipath                 ini
cfg_directory           cfg
nvram_directory         nvram
memcard_directory       memcard
input_directory         inp
hiscore_directory       hi
state_directory         sta
artwork_directory       artwork
snapshot_directory      snap
diff_directory          diff
ctrlr_directory         ctrlr
cheat_file              cheat.dat
history_file            history.dat
mameinfo_file           mameinfo.dat

### Windows video options ###
autoframeskip           0
frameskip               0
waitvsync               0
triplebuffer            1
window                  0
ddraw                   1
direct3d          
hwstretch               1
cleanstretch            auto
resolution              auto
zoom                    2
refresh                 0
scanlines               0
switchres               1
switchbpp               1
maximize                1
keepaspect              1
matchrefresh            0
syncrefresh             0
throttle                1
full_screen_brightness   1.000000
frames_to_run           0
effect                  none
screen_aspect           4:3
sleep                   0
rdtsc                   1
high_priority           0

### Windows Direct3D 2D video options ###
d3dtexmanage            1
d3dfilter               1
d3dfeedback             0
d3dscan                 100
d3deffectrotate         1
d3dprescale             auto
d3deffect               auto
# d3dcustom             <NULL> (not set)
# d3dexpert             <NULL> (not set)

### Windows sound options ###
audio_latency           1

### Input device options ###
mouse                   0
joystick                1
lightgun                0
dual_lightgun           0
offscreen_reload        0
steadykey               0
keyboard_leds           0
a2d_deadzone            0.300000
ctrlr                   Standard

### Mame CORE video options ###
norotate                0
ror                     0
rol                     0
autoror                 0
autorol                 1
flipx                   0
flipy                   0
debug_resolution        auto
gamma                   1.000000
brightness              1.000000
pause_brightness        0.650000

### Mame CORE vector game options ###
antialias               1
translucency            1
beam                    1.000000
flicker                 0.000000
intensity               1.500000

### Mame CORE sound options ###
samplerate              44100
samples                 1
resamplefilter          1
sound                   1
volume                  0

### Mame CORE misc options ###
artwork                 1
use_backdrops           1
use_overlays            1
use_bezels              1
artwork_crop            0
artwork_resolution      0
cheat                   0
debug                   0
# playback              <NULL> (not set)
# record                <NULL> (not set)
log                     0
maxlogsize              10000
oslog                   0
skip_disclaimer         1
skip_gameinfo           1
crconly                 0
bios                    0

### Configuration options ###
readconfig              1
verbose                 0
Title: Re: how do I get full screen in mame?
Post by: Gray_Area on March 12, 2011, 11:30:37 pm
That feature is grayed out when my video drivers aren't yet installed. Or the chipset (if integrated) isn't advanced enough to handle it....though any P4, with I think at least 32mb or video memory, will.
Title: Re: how do I get full screen in mame?
Post by: danny_galaga on March 13, 2011, 04:09:09 am
That feature is grayed out when my video drivers aren't yet installed. Or the chipset (if integrated) isn't advanced enough to handle it....though any P4, with I think at least 32mb or video memory, will.

Trust someone with the moniker of 'Gray area' to know what the greyed out areas mean  ;D

That was the answer. I just found the the disk for the motherboard and installed the drivers. All good now. Thanks guys (",)
Title: Re: how do I get full screen in mame?
Post by: TopJimmyCooks on March 14, 2011, 11:01:10 am
Danny_Galaga, how do you feel about the appearance with HWS enabled?  I have the same issue with vertical games on a 4:5 LCD rotated.    I have been satisfied for a while with the approx 1/2" black bars alongside the vertical picture, maybe I'll keep it that way.  I need to experiment and see what happens.
Title: Re: how do I get full screen in mame?
Post by: Gray_Area on March 17, 2011, 12:18:23 am
That feature is grayed out when my video drivers aren't yet installed. Or the chipset (if integrated) isn't advanced enough to handle it....though any P4, with I think at least 32mb or video memory, will.

Trust someone with the moniker of 'Gray area' to know what the greyed out areas mean  ;D

Good times.


Danny_Galaga, how do you feel about the appearance with HWS enabled?  I have the same issue with vertical games on a 4:5 LCD rotated.    I have been satisfied for a while with the approx 1/2" black bars alongside the vertical picture, maybe I'll keep it that way.  I need to experiment and see what happens.

Hwstretch I think was created/developed because people wanted to easily have the display area filled, and hardware was becoming capable of doing this via software scaling. The current implentation of D3D in MAME automatically does this.