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: Quick Rotation Question  (Read 3012 times)

0 Members and 1 Guest are viewing this topic.

GoYouSalukis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 96
  • Last login:March 18, 2020, 11:58:59 am
Quick Rotation Question
« on: February 25, 2013, 12:42:11 pm »
Is there a way to get MALA to rotate back to horizontal after every game? I'm using the startcom to rotate the screen.

Also, I put a reference to my roatation exe in the MALA exit options to rotate back to horizontal when MALA exits, but it doesn't seem to get called. Are arguments allowed along with the EXE?

Thanks,
Justin

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5147
  • Last login:May 29, 2024, 07:09:08 am
  • Wheres my coffee?
    • Skenny's Outpost
Re: Quick Rotation Question
« Reply #1 on: February 26, 2013, 09:24:10 pm »
Here is the development thread for startcom.
http://forum.arcadecontrols.com/index.php/topic,91842.0.html

You may find your answer there, if not post back and we will see what we can do.
Also, your question about Mala exiting, I dont think you can pass arguments with the program to run on exit, however you can call a bat file that can call your rotation exe with the argument it needs to turn your monitor.

TopJimmyCooks

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2097
  • Last login:March 26, 2024, 01:18:39 pm
Re: Quick Rotation Question
« Reply #2 on: February 26, 2013, 10:57:07 pm »
The beauty of Mala is you can have a horizontal and vertical layout so you don't have to rotate back to horizontal upon game exit. 

That being said, like DaOldMan mentioned, you can rotate back to horizontal on Mala exit not by arguments but by calling a bat file.  I have it set up to rotate  to horizontal upon mala exit, rotate upon startup to horizontal, and always start mala in horizontal.  can give more detail on this if you need it.

GoYouSalukis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 96
  • Last login:March 18, 2020, 11:58:59 am
Re: Quick Rotation Question
« Reply #3 on: February 27, 2013, 09:30:51 am »
Thanks guys,

I should have thought of the batch file. I do have a horiz/vert layout setup right now, but it seems like the slick ones are all just horizontal.

I appreciate the help!

mike boss

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2645
  • Last login:October 22, 2021, 01:19:45 pm
Re: Quick Rotation Question
« Reply #4 on: March 03, 2013, 01:25:28 am »
The beauty of Mala is you can have a horizontal and vertical layout so you don't have to rotate back to horizontal upon game exit. 

That being said, like DaOldMan mentioned, you can rotate back to horizontal on Mala exit not by arguments but by calling a bat file.  I have it set up to rotate  to horizontal upon mala exit, rotate upon startup to horizontal, and always start mala in horizontal.  can give more detail on this if you need it.

I don't know about this roatition of monitor stuff, however I've seen it on a few projects.
Assuming a set up was using this, say I had my main games list "All Games" then my "Vertical Games" list, it can be set up so when Mala displays my vertical games list it switches to a vertical layout ? (and assuming I had the software/hardware my monitor would rotate)

mike boss

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2645
  • Last login:October 22, 2021, 01:19:45 pm
Re: Quick Rotation Question
« Reply #5 on: March 06, 2013, 04:51:18 pm »
Any other info on this ??
I was playing around with MaLa today and some of the amazing options I've never tweaked (amount of games scrolled/jumping letters in the gameslist using control panel buttons). I noticed you can use a button  to generate an orientation switch. However what I still need to know is can MaLa be configured to switch layout upon switch ?

mike boss

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2645
  • Last login:October 22, 2021, 01:19:45 pm
Re: Quick Rotation Question
« Reply #6 on: March 18, 2013, 06:41:15 pm »
No other info on this ?
Doing as many layouts as I have, I know how to make the layout switch going from MAME to "X" (for example).
But how do you get MaLa to change layouts when  you switch orientation ?

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5147
  • Last login:May 29, 2024, 07:09:08 am
  • Wheres my coffee?
    • Skenny's Outpost
Re: Quick Rotation Question
« Reply #7 on: March 18, 2013, 08:53:58 pm »
In the Mala Layout editor, you assign different layouts for horizontal and vertical.
Is this what you mean, or am I once again out in the weeds?

mike boss

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2645
  • Last login:October 22, 2021, 01:19:45 pm
Re: Quick Rotation Question
« Reply #8 on: March 19, 2013, 07:56:56 am »
Ideal would be when I switch to a list of vert games the layout changes along with it.
So I have layout 1  - HORIZONTAL , then when I goto my vert list, layout 2 - VERT would show up alongside the monitor rotation.

Thanks all

Le Chuck

  • Saint, make a poll!
  • Wiki Contributor
  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5509
  • Last login:June 06, 2024, 02:16:34 pm
  • <insert personal text here>
Re: Quick Rotation Question
« Reply #9 on: March 19, 2013, 08:51:18 am »
I don't think Mala can do that out of the box. If you set all vert games as a separate Emulator then you might be able to but I don't recall being able to auto flip rotations like that.

An easy work around would be a variation of the award winning TRON in game switching. When the vert list appears the Monitor rotates and the layout changes to vert. The tricky bit will be keeping it from rotating back when you start the game. Tricky but not difficult. Let me know if that is what you're after and I can go more in depth.

Oh, and if there is a simpler solution somebody please jump in.

Edit for clarification: if you're wanting to do this without rotating the monitor then you would just need to make a verticle layout for a horizontal oriented monitor and set that as a skin for that list in MALA, but that would look kinda funny IMO.   
« Last Edit: March 19, 2013, 09:15:00 am by Le Chuck »

TopJimmyCooks

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2097
  • Last login:March 26, 2024, 01:18:39 pm
Re: Quick Rotation Question
« Reply #10 on: March 19, 2013, 01:48:31 pm »
Mala is set up differently than you're thinking.  The way Mala wants to work is this:
Make two layouts:  horizontal and vertically oriented.
Game lists:  you can have a separate vert gamelist if you wish but you would be able to browse all lists in either H or V layout.
when you select a game with vert metadata it will rotate to vert if needed.
when you exit the game the display stays V and the V layout comes up.
Upon selecting an H game it will rotate and return to the H layout on game exit.

I don't think it's setup to rotate while in mala upon gamelist change, natively in MaLa.  However, as LeChuck mentioned this type of thing can be done with AHK and scripts if you really want it.  IMHO the native way is better - less rotation and you're never watching Mala spin- just the game or your Loading splash screen. 

My game lists have no separation between H and V, the rotation is automatic upon game start as required.  If you had to manually switch your display orientation, by all means separate lists would start to make sense. 

mike boss

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2645
  • Last login:October 22, 2021, 01:19:45 pm
Re: Quick Rotation Question
« Reply #11 on: March 19, 2013, 07:20:21 pm »
Anyone have a video of this ?

Le Chuck

  • Saint, make a poll!
  • Wiki Contributor
  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5509
  • Last login:June 06, 2024, 02:16:34 pm
  • <insert personal text here>
Re: Quick Rotation Question
« Reply #12 on: March 19, 2013, 08:59:35 pm »
Of what specifically?  The auto rotation or the orientation switching? 

TopJimmyCooks

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2097
  • Last login:March 26, 2024, 01:18:39 pm
Re: Quick Rotation Question
« Reply #13 on: March 20, 2013, 08:28:23 am »
my link to the cab build in my signature has a video - the rotation part is at the end of the video but it shows it in operation. 

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:June 13, 2024, 01:06:22 pm
  • ...
Re: Quick Rotation Question
« Reply #14 on: March 20, 2013, 03:06:52 pm »
To elaborate what TopJimmyCooks posted earlier, Mala layouts have a Horizontal and Vertical version contained within the same mll file.
When you are making a layout in the layout editor and switch to vertical, you aren't changing the type of layout.
You are working on the vertical setup for the same layout.  If you switch back to horizontal, everything is still as you left it.
If you switch between orientations while in Mala, it will switch between the two setups you made within the same layout file.
They don't have to look the same. 
DaOldMan's plugin has Mala switch it's orientation to match the monitor orientation when necessary. 

I made my layouts square so they appear the same no matter which way the monitor is oriented.  :P
The background images are actually not the same. 
The horizontal one has black bars on the sides, the other has them top and bottom.
It doesn't appear to the user to ever switch regardless of orientation.

I originally started out having the appearance different for each orientation,
but found it disorienting to have the placement of things shift when the monitor rotated.

mike boss

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2645
  • Last login:October 22, 2021, 01:19:45 pm
Re: Quick Rotation Question
« Reply #15 on: March 20, 2013, 08:59:56 pm »
Ok cool.
I'm going to play with this.
Thanks !

I have a customer who's set up (from what I understand) is like the "SwitchCade."
The monitor itself physically moves when playing vertical games.
My customer would like a vertical layout for when the monitor is in the vertical state.

I think I've grasped this. I'm going to play around.

Where do I get DaOldMan's plugin ?
« Last Edit: March 20, 2013, 09:03:56 pm by mike boss »

TopJimmyCooks

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2097
  • Last login:March 26, 2024, 01:18:39 pm
Re: Quick Rotation Question
« Reply #16 on: March 21, 2013, 09:09:58 am »
plugin is called startcom at malafe.net, plugin's section. 

mike boss

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2645
  • Last login:October 22, 2021, 01:19:45 pm
Re: Quick Rotation Question
« Reply #17 on: March 21, 2013, 05:14:18 pm »
Ahhh.................I saw that plugin............stupid me I was looking for plugin by "DAOLDMAN."
No wonder !

Thanks all............I think I have the info I need.
I'll need to do a quick test making the one MLL file with both horizontal and vertical layout built in.


mike boss

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2645
  • Last login:October 22, 2021, 01:19:45 pm
Re: Quick Rotation Question
« Reply #18 on: March 27, 2013, 06:33:59 pm »
Working on my Fix It Felix layout, and as BadMouth said you can indeed set up a vertical and horizontal set up for each layout.
This is perfect and I think solves the issue a few people had mentioned.
My FIF Jr layout has both the horizontal and vertical contained in the same layout.

This is awesome !

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5147
  • Last login:May 29, 2024, 07:09:08 am
  • Wheres my coffee?
    • Skenny's Outpost
Re: Quick Rotation Question
« Reply #19 on: May 22, 2013, 02:15:10 pm »
Ahhh.................I saw that plugin............stupid me I was looking for plugin by "DAOLDMAN."

Sorry about that. I think I used my real name of the mala plugin.