Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Mame horizontally stretch my games even with hardware stretching off O_O  (Read 2758 times)

0 Members and 1 Guest are viewing this topic.

ilGaspa

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 17
  • Last login:February 03, 2008, 07:04:33 am
Hello everyone,
I have some problems with my MAME cabinet configuration, and after a few weeks of work I've used up all my knowledge and I need help :) Basically what I'm trying to do is making every game run at it's native resolution, as suggested in various wikis as the best way to configure MAME to run on a cabinet... so I set:

Mode: DirectDraw (this is mandatory on a cabinet, otherwise the "look" of the game on the mame cabinet monitor will differ from the original machine one - in other words, can't use D3D)
Switch resolution: ON
Hardware Stretching: OFF
Each game set with the correct resolution manually
Mame version: 0.122
SO: Windows XP SP2

This way everything works correctly, but with some (mostly NeoGeo) games MAME insists applying some horizontal stretching (1.055 hstretch, I noticed this value in the MAME OSD accessed with the tilde key) even with  Hardware Stretching turned off: to be sure this wasn't my fault, I removed the MAME folder completely and reinstalled it, keeping only my roms, but things are the same as before. I tried everything, from changing view mode (pixel aspect, standard, cocktail) to the aspect ratio, to activate vsync and triple buffering... this stretching is here and remains here.

The reason I hate this thing is that, as I'm using really low (game's original) resolutions, the stretch factor causes vertical lines on screen when the game scrolls: howevers, as these lines aren't caused by vertical tearing, but by the fact that MAMES hstretch of 1.055 sometime causes a pixel to be doubled when scrolling, these can't be solved by vsync or triple buffering... only way is making MAME run this games with a 1.0 hstretch, and I don't know how to do so :( any kind of help is welcomed :)
« Last Edit: January 04, 2008, 03:25:44 am by ilGaspa »

MazzMn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 142
  • Last login:March 19, 2013, 12:38:19 am
  • chicken, fight like a robot
    • The IceBox Oak Cocktail Table
Re: Mame horizontally stretch my games even with hardware stretching off O_O
« Reply #1 on: January 13, 2008, 01:02:24 am »
I doubt this will help, but check the value for keepaspect 1. if keepaspect is turned off it will stretch games

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Mame horizontally stretch my games even with hardware stretching off O_O
« Reply #2 on: January 14, 2008, 04:20:45 pm »
...This way everything works correctly, but with some (mostly NeoGeo) games MAME insists applying some horizontal stretching....

If it was only NeoGeo, this was fixed 0.122u4. 

FWIW, some NeoGeo game used all 320 pixels wide, while others were designed to show only 304.  Your problem was Mame was stretching all NeoGeo to 320 res.  Post 0.122u4, mame doesn't stretch, so either you have to stretch your monitor yourself, or let mame black bar the unused (or uncorrectly used) 16 pixels, or see the garbage in the extra 16 pixels.


If it included other games, what games were they?  Can't help you otherwise.
Robin
Knowledge is Power