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: How can I shift the the game image in MAME per game?  (Read 3003 times)

0 Members and 1 Guest are viewing this topic.

Wags

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:September 15, 2021, 08:46:48 pm
  • I want to build my own arcade controls!
How can I shift the the game image in MAME per game?
« on: September 02, 2015, 05:23:53 pm »
I have a two player control panel, with a trackball and spinner in the middle, and when playing one player games I am off to the side a ways and for the vertical games like Galaga, I would like to shift the game to the left side of the screen so it is more in front of me.  Is their a way to do that with the MAME software?  I am using MALA front end, and I don't see an option there either.

For games like PacMan that don't use buttons, I use the player two joystick, and play with my right hand, so I am centered.  But games like Galaga, I use the player one joystick, and am not happy with the game not being in front of the joystick.

I did search, but maybe I used the wrong terms, any help would be appreciated.

Thanks,
Mark

vwalbridge

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2082
  • Last login:July 31, 2021, 12:21:09 pm
  • Don't half-ass two things, whole-ass one thing.
Re: How can I shift the the game image in MAME per game?
« Reply #1 on: September 02, 2015, 05:29:47 pm »
If you are familiar with Retroarch, you can achieve what you are looking for. You can position the game screen anywhere on the screen.

Here is a quick setup guide:

If you can read this, it means Photobucket's money grab ruined my signature photos.

Wags

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:September 15, 2021, 08:46:48 pm
  • I want to build my own arcade controls!
Re: How can I shift the the game image in MAME per game?
« Reply #2 on: September 02, 2015, 05:40:27 pm »
Thanks, I'll have to check it out.  I am amazed how many pieces of software I am loading to get this cabinet to work the way I want. 

vwalbridge

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2082
  • Last login:July 31, 2021, 12:21:09 pm
  • Don't half-ass two things, whole-ass one thing.
Re: How can I shift the the game image in MAME per game?
« Reply #3 on: September 02, 2015, 05:45:59 pm »
Check out my coleco video here:



Fast forward to about 10:50 of the video and you will see where I show you how I slid the super mario bros game screen down to the bottom. A little better for a horizontal game on a vertical screen.

Not exactly what you are trying to do but the concept is exactly the same. Retroarch is very flexible with screen ratios and placement.
« Last Edit: September 02, 2015, 05:48:28 pm by vwalbridge »
If you can read this, it means Photobucket's money grab ruined my signature photos.

Wags

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:September 15, 2021, 08:46:48 pm
  • I want to build my own arcade controls!
Re: How can I shift the the game image in MAME per game?
« Reply #4 on: September 03, 2015, 01:36:21 am »
Cool, I am assuming that it will work fine using a low resolution CRT display connected through S-Video.  Correct?

matsadona

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 760
  • Last login:October 28, 2023, 06:00:12 am
Re: How can I shift the the game image in MAME per game?
« Reply #5 on: September 03, 2015, 02:33:26 am »
Cool, I am assuming that it will work fine using a low resolution CRT display connected through S-Video.  Correct?
Based on your question about having the display output off center I assume that it is a horizontal screen. I'm not sure playing a vertical game on a horizontal low res screen will be a good experience (because of the pixel scaling etc). If it was a HD monitor it is more feasible...
Building, collecting and playing arcade machines :)

DarthMarino

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 567
  • Last login:July 02, 2025, 06:24:40 am
Re: How can I shift the the game image in MAME per game?
« Reply #6 on: September 04, 2015, 09:30:39 am »
Another option is to make a simple .lay file.

Wags

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:September 15, 2021, 08:46:48 pm
  • I want to build my own arcade controls!
Re: How can I shift the the game image in MAME per game?
« Reply #7 on: September 04, 2015, 09:50:27 am »
Another option is to make a simple .lay file.

And how does that simply work?

As far as the horizontal monitor with vertical games goes, there are a crap load of people doing just that with great results, and by low resolution, I mean a 480i TV, which gives well over the 224 x 288 that games like Pac-Man use.   :P

matsadona

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 760
  • Last login:October 28, 2023, 06:00:12 am
Re: How can I shift the the game image in MAME per game?
« Reply #8 on: September 04, 2015, 10:44:03 am »
Ah, great. Thanks for the clarification.

Do you have any flickering issues with that setup? What's the hardware?
« Last Edit: September 04, 2015, 10:46:57 am by matsadona »
Building, collecting and playing arcade machines :)

DarthMarino

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 567
  • Last login:July 02, 2025, 06:24:40 am
Re: How can I shift the the game image in MAME per game?
« Reply #9 on: September 04, 2015, 08:25:38 pm »
And how does that simply work?

Something like this (adjust the values that best work for your screen):

<mamelayout version="2">
   <view name="Image Shift">
      <screen index="0">
         <bounds x="0" y="0" width="1024" height="768" />
      </screen>
</view>
</mamelayout>

Then just use the sliders in MAME to get the stretch and position to your liking.