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: Things not supported by Linux? What about WINE?  (Read 7206 times)

0 Members and 1 Guest are viewing this topic.

Zobeid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 238
  • Last login:April 21, 2021, 10:36:32 pm
Things not supported by Linux? What about WINE?
« on: March 12, 2008, 11:22:48 am »
I'd like to use Linux, but I'm worried about things that I can't do on it. . .

  • program the control interface
  • configure U360 joysticks
  • run management programs like Clrmame
  • program LED lighting?

I actually thought about switching my plans from U360s to Omnistiks. . .  Pretty major change.  But even that would only solve one issue; it's just one thing after another that isn't made for Linux.

Has anybody tried using WINE to run all these support programs along with SDL-MAME?

For that matter. . .  Is WINE still as hard to get running as it used to be?


bleargh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 359
  • Last login:Yesterday at 05:05:49 pm
  • ribbit...
Re: Things not supported by Linux? What about WINE?
« Reply #1 on: March 12, 2008, 12:37:57 pm »
I'd like to use Linux, but I'm worried about things that I can't do on it. . .

  • program the control interface
  • configure U360 joysticks
  • run management programs like Clrmame
  • program LED lighting?

FYI... Another Linux user here, with similar issues...

I've got some code going here which I've been working on with the assistance of both GGG and Ultimarc with regards to some of what you're asking about.  I've got a setup here with a pair of LED-Wizs and a pair of u360s and need to be able to control them myself.

Started work on them about a year ago but all manner of "real life" things kept getting in the way of getting my cabinet done.  I've been making good progress over the last few weeks, though, and have some basic prototypes together which at least show that its doable.  In the coming months there should be some nice cmd line apps that you can run on a Linux box that'll let you control those devices.

That said, though, I'm also not the only one working on this type of stuff.  I'd have to go troll through the archives to find them again, but I do know that there's other Linux apps out there to:
  • Control an "IPAC" interface and program it on Linux boxes (ipacutil).  I've heard from another user here on BYOAC that the most recent version also allows for you to set a control map into a u360 joystick.
  • Control a "PAC-Drive" interface for LED lighting.
  • Control a GPWiz-49 joystick interface, so that you can select the control map for the joystick.
  • For ROM management, there's Linux tool too; ckmame, mamory, advancescan, etc.  I've used AdvanceSCAN myself in the past and been happy with it, but its probably a bit out of date these days (AdvanceMAME development stopped about a year or so ago).

I suppose what's going to be the killer question is... which pieces of hardware do you have that you need support for?  I see you've got some U360s (which should be supported by 'ipacutil' now or my 'u360ctl' when its finish), but what are you using for LED lighting and button/keyboard control?

Zobeid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 238
  • Last login:April 21, 2021, 10:36:32 pm
Re: Things not supported by Linux? What about WINE?
« Reply #2 on: March 27, 2008, 10:18:45 am »
I suppose what's going to be the killer question is... which pieces of hardware do you have that you need support for?  I see you've got some U360s (which should be supported by 'ipacutil' now or my 'u360ctl' when its finish), but what are you using for LED lighting and button/keyboard control?

Two U360s, a TT2, a LED-Wiz.  (The LED-Wiz isn't an absolute requirement, but I'd like to use it.)

I don't know if this is going to work, but I'd like to try using the U360s to handle all the pushbuttons on the cabinet (except the power switch of course).  I only have four game buttons per stick, so that leaves me eight inputs to use for P1 and P2 start, coin1, coin2, pause, exit. . .  and a couple left over.  But they are read as game buttons not keypresses, so all the software will have to recognize them.


bleargh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 359
  • Last login:Yesterday at 05:05:49 pm
  • ribbit...
Re: Things not supported by Linux? What about WINE?
« Reply #3 on: March 27, 2008, 01:47:11 pm »
Two U360s, a TT2, a LED-Wiz.  (The LED-Wiz isn't an absolute requirement, but I'd like to use it.)

I don't know if this is going to work, but I'd like to try using the U360s to handle all the pushbuttons on the cabinet (except the power switch of course).  I only have four game buttons per stick, so that leaves me eight inputs to use for P1 and P2 start, coin1, coin2, pause, exit. . .  and a couple left over.  But they are read as game buttons not keypresses, so all the software will have to recognize them.

You should be able to configure SDLMame to do all of that via the game buttons, so that shouldn't be any problem.

I think the only gotcha you might run into is making sure that your FE supports that as well.  IIRC, AdvanceMENU can be run via joystick and game buttons.

As for getting the rest of your hardware working, I don't see any reason it shouldn't work.  U360s register as joysticks under Linux as-is, and there's more than one tool out there to configure them.  TT2 should "just work" too; I don't have one myself, but I believe it just registers itself as a USB mouse (which would work).  And the LED-Wiz should work once I finally get that app finished to drive it.  Been bogged down with work again the last few weeks but see some light at the end of the tunnel coming up; my wife is taking a trip to Holland to visit family in June and I'll be taking time off work while she's gone.  Should give me some spare cycles in the evenings to get anything I haven't finished yet all wrapped up.

LakeShark

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:February 19, 2009, 08:09:28 pm
  • X-MAME!
    • IPACUTIL for Linux
Re: Things not supported by Linux? What about WINE?
« Reply #4 on: March 27, 2008, 07:07:55 pm »
I'd like to use Linux, but I'm worried about things that I can't do on it. . .

  • program the control interface
  • configure U360 joysticks
  • run management programs like Clrmame
  • program LED lighting?

Well, some of that is supported.  I'm not sure what you mean by "program the control interface", but if you mean an I-PAC, I have written software for programming those from Linux.

As for LED lighting, I have written code to control the PacDrive from Linux.  I think someone was working on code for LED-Wiz.  If I had the specs for it and a device, I would add support for the LED-Wiz as well.

As for the U360, I have been working with someone who modified my I-PAC download program to program the U360 as well.  I don't have a U360, so I haven't tried it.

As for clrmame, I'm pretty sure there are similar or equivalent programs.  Honestly, I don't know what all clrmame does.  You might check out mamory (http://mamory.sourceforge.net/) though...

evlbeaver

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:February 13, 2011, 10:42:53 pm
Re: Things not supported by Linux? What about WINE?
« Reply #5 on: April 28, 2008, 09:46:42 pm »
Any updates on the U360 programming utility?  I would like to use these sticks but do not want to change my cab to Windows for this alone.

krisbee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 42
  • Last login:May 27, 2015, 04:55:07 pm
Re: Things not supported by Linux? What about WINE?
« Reply #6 on: July 29, 2008, 06:19:52 pm »
Sorry to revive an old thread, but the Keywiz programming software doesn't run..

mewyn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:September 23, 2008, 11:16:06 pm
  • I want to build my own arcade controls!
Re: Things not supported by Linux? What about WINE?
« Reply #7 on: September 23, 2008, 11:01:09 pm »
Any updates on the U360 programming utility?  I would like to use these sticks but do not want to change my cab to Windows for this alone.

My U360 works reasonably well for a very limited feature set.  The .Net version by 2600 is more feature-rich, but I couldn't get it running myself (hence why I wrote my own :) )

Blanka

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2248
  • Last login:January 25, 2018, 03:19:28 pm
Re: Things not supported by Linux? What about WINE?
« Reply #8 on: September 24, 2008, 01:04:44 am »
Maybe you can replace the Led Wiz with an Arduino Diecimila.
This board is widely used in Linux, it can drive LED's and it runs stand-alone. So you could easily program it to run an attractmode until keys are pressed, and then to stay dim say 20 seconds from the last key press.

Numbski

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 296
  • Last login:November 03, 2020, 01:51:50 pm
    • Numbski
Re: Things not supported by Linux? What about WINE?
« Reply #9 on: October 30, 2008, 10:11:23 pm »
I know this is a pretty large bump, but still....

Use the Decimelia, and pair it with a Motorola MC14489B.  You should then be able to drive 25 LED's per Motorola chip, AND it can be daisy chained.  The only trick, as I see it, as doing the analog tricks that the LED-Wiz pulls (ie, fade in, fade out), as that means you'd have to use analog input/output instead, and I can't tell if the Motorola supports that or not.

http://www.datasheetcatalog.org/datasheet/motorola/MC14489B.pdf

The only thing I'm not 100% certain on is the clock line - I don't know if you can tie into the Arduino's clock, or if you have to use another crystal.  If you can use the Arduino's, then this should be dead simple, and you can come up with your own patterns too.
Build a man a fire, keep him warm for the night.
Set a man on fire, keep him warm for the rest of his life.

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Things not supported by Linux? What about WINE?
« Reply #10 on: November 18, 2008, 06:09:51 pm »
The only trick, as I see it, as doing the analog tricks that the LED-Wiz pulls (ie, fade in, fade out), as that means you'd have to use analog input/output instead, and I can't tell if the Motorola supports that or not.

http://www.datasheetcatalog.org/datasheet/motorola/MC14489B.pdf

From a cursory reading, it seems that you can, but it's limited to an all or nothing deal. You can fade in/out all 25 or none at all. Look on page 16 for the sample circuit. Maxim sells a digital pot specifically for this purpose or prehaps just about any reasonable DAC might work.