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: New MaLa Plug-ins: For rotating monitors.... and more  (Read 2028 times)

0 Members and 1 Guest are viewing this topic.

loadman

  • Wiki Contributor
  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
New MaLa Plug-ins: For rotating monitors.... and more
« on: May 04, 2008, 09:27:59 am »
An expansion on this post:

http://forum.arcadecontrols.com/index.php?topic=77724.msg832885#msg832885

Two new plug-ins have been created:
'1) MonOri - Sets the initial orientation of MaLa depending on the input it gets from the parallel port. You can use an old printer cable.. It's easy to set up so you can detect what orientation your monitor is on

2) StartCom- This will start a external program on game start and send paramaters to that program depending on the orientation of that game started. It can be any program

DaOld Man' now has the Delphi source code for these plug-ins and will handle future release of these plug-ins for those interested.

He will probably also make a config program for them rather than manually edit the .ini file to set options.

DaOld Man please expand on why these plug-in were created and the usage.

Enjoy
« Last Edit: May 05, 2008, 06:45:53 am by loadman »

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5158
  • Last login:May 24, 2025, 09:57:44 pm
  • Wheres my coffee?
    • Skenny's Outpost
Re: New MaLa Plug-ins: For rotating monitors.... and more
« Reply #1 on: May 05, 2008, 01:21:50 pm »
DaOld Man please expand on why these plug-in were created and the usage.

I asked Loadman if he could make a plugin for mala to be used with rotating monitors.
On startup, if the monitor is vertical, then mala starts in vertical.
If monitor is horizontal then mala starts horizontal.
It reads the inputs from the monitor, the same ones that stop the monitor when it reaches its destination.
These inputs are to be hardwired back to the printer port, to indicate to the computer which position the monitor is in.
He came up with monori plugin, which works great.

The second plugin, startcom, was also requested by me.
It runs my program, mrotate.exe, to turn the monitor to the position that the game needs. (Horizontal or vertical).
This program works great too.
Startcom is a mala pugin. It decides the monitor position based on the game being run.
It starts my program and sends a command to rotate 0 (horizontal) or 90 (vertical).
My program (mrotate.exe) takes over from there and does the grunt work of rotating the monitor.
Mrotate.exe monitors inputs and stops the monitor when it has reached the desired position.
Startcom is the brains and mrotate.exe is the muscle.

Link to an introduction to mrotate.exe

Monori and mrotate.exe require inpout32.dll, an interface for the printer port.
 
« Last Edit: May 05, 2008, 01:26:14 pm by DaOld Man »

csa3d

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 872
  • Last login:March 07, 2011, 08:16:35 am
  • Will game for food
    • Galaxian Mame Conversion
Re: New MaLa Plug-ins: For rotating monitors.... and more
« Reply #2 on: January 14, 2009, 01:27:43 pm »
Where does one find mrotate.exe?  It does not appear to be linked in this thread unless I'm going  :dizzy:

-csa

csa3d

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 872
  • Last login:March 07, 2011, 08:16:35 am
  • Will game for food
    • Galaxian Mame Conversion
Re: New MaLa Plug-ins: For rotating monitors.... and more
« Reply #3 on: January 14, 2009, 01:38:08 pm »
Also, I didn't see any rotating monitor plugins on the Mala webiste either  :-\  Did malaRotate.mplug from Weisshaupt ever leave beta status?

-csa

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7959
  • Last login:Yesterday at 06:17:19 am
Re: New MaLa Plug-ins: For rotating monitors.... and more
« Reply #4 on: January 14, 2009, 02:16:28 pm »
This is so sweet.  I really really need to get back to my rotating monitor project but I'm afraid it's going to be a while.  I have to finish up my juke and then my dad and I will be restoring a DK together this spring.  So much to do, so little time!!