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: Ultimarc UltraStik 360 Programming (Mame) Questions  (Read 5302 times)

0 Members and 1 Guest are viewing this topic.

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Ultimarc UltraStik 360 Programming (Mame) Questions
« on: January 15, 2007, 03:10:08 pm »
For you users that have the UltraStik 360:

If you're using a FE to launch your games, how are you programming the sticks for the appropriate Mame game. I know they can be programmed from the commandline like the iPAC's but how does your FE know which "ug" file to load? The only possible way for most FE's to handle this, currently I believe (at least without parsing some files) would be to use a variable to represent the game name. This would require 6000+ profiles, ug files.

It sure is not nice to have to hop out of the FE to program the stick and then return to launch your game. How are you all handling this?

Thanks,
John

Popcorrin

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 858
  • Last login:March 06, 2022, 11:11:43 am
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #1 on: January 15, 2007, 04:50:26 pm »
Mala has a plugin that takes care of this.  I have used it and it works very well. 

swindus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 391
  • Last login:July 28, 2021, 05:52:50 am
    • MaLa - M.A.M.E. Launcher
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #2 on: January 16, 2007, 04:01:37 am »
Hi John,

MaLa handles it with informations form the mame.xml and controls.ini files and sends this information to the UltraStik Plugin which loads the right config file then.

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #3 on: January 16, 2007, 08:02:03 am »

And I might add that the MaLa plugin does not require 6000+ configs.  You can choose to do it that way, if you prefer (and if you're crazy), but for the most part you just need a 2way.ugc, 4way.ugc, 8way.ugc, and analog.ugc file, all of which are included in the plugin package.

My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4530
  • Last login:June 22, 2025, 02:32:40 am
  • Insufficient facts always invite danger.
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #4 on: January 16, 2007, 08:32:54 am »

And I might add that the MaLa plugin does not require 6000+ configs.  You can choose to do it that way, if you prefer (and if you're crazy), but for the most part you just need a 2way.ugc, 4way.ugc, 8way.ugc, and analog.ugc file, all of which are included in the plugin package.



Don't forget Qbert!

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #5 on: January 16, 2007, 08:55:32 am »
for the most part you just need a 2way.ugc, 4way.ugc, 8way.ugc, and analog.ugc file, all of which are included in the plugin package.

You could do the same in Mamewah, John, and in the commandline to launch Ultramap use the [input] placeholder...something like*:

pre_emulator_app_commandlines c:\ultramap\ultramap.exe c:\ultramap\ugc\[input].ugc

(* I'm yet to use the software so might not be exact usage)

That said there is probably a slight flaw with recent Mame versions where multiple input types are held in [input], but you could get round this with some more .ugc files.

lingpanda

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 37
  • Last login:May 16, 2010, 01:43:52 pm
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #6 on: January 16, 2007, 09:22:03 am »
For you users that have the UltraStik 360:

If you're using a FE to launch your games, how are you programming the sticks for the appropriate Mame game. I know they can be programmed from the commandline like the iPAC's but how does your FE know which "ug" file to load? The only possible way for most FE's to handle this, currently I believe (at least without parsing some files) would be to use a variable to represent the game name. This would require 6000+ profiles, ug files.

It sure is not nice to have to hop out of the FE to program the stick and then return to launch your game. How are you all handling this?

Thanks,
John

I believe GameEx also handles this via. a plugin. Not exactly sure how it works.

Popcorrin

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 858
  • Last login:March 06, 2022, 11:11:43 am
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #7 on: January 16, 2007, 09:58:32 am »
for the most part you just need a 2way.ugc, 4way.ugc, 8way.ugc, and analog.ugc file, all of which are included in the plugin package.

You could do the same in Mamewah, John, and in the commandline to launch Ultramap use the [input] placeholder...something like*:

pre_emulator_app_commandlines c:\ultramap\ultramap.exe c:\ultramap\ugc\[input].ugc

(* I'm yet to use the software so might not be exact usage)

That said there is probably a slight flaw with recent Mame versions where multiple input types are held in [input], but you could get round this with some more .ugc files.

Minwah, does the [input] option take into account info from controls.ini or just the info from mame? 

Popcorrin

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 858
  • Last login:March 06, 2022, 11:11:43 am
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #8 on: January 16, 2007, 09:59:39 am »
doublepost
« Last Edit: January 16, 2007, 10:14:51 am by Popcorrin »

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #9 on: January 16, 2007, 03:07:19 pm »

And I might add that the MaLa plugin does not require 6000+ configs.  You can choose to do it that way, if you prefer (and if you're crazy), but for the most part you just need a 2way.ugc, 4way.ugc, 8way.ugc, and analog.ugc file, all of which are included in the plugin package.



Don't forget Qbert!

Yeah, yeah, the plugin includes the qbert config file too!

My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #10 on: January 16, 2007, 03:23:17 pm »
for the most part you just need a 2way.ugc, 4way.ugc, 8way.ugc, and analog.ugc file, all of which are included in the plugin package.

You could do the same in Mamewah, John, and in the commandline to launch Ultramap use the [input] placeholder...something like*:

pre_emulator_app_commandlines c:\ultramap\ultramap.exe c:\ultramap\ugc\[input].ugc

(* I'm yet to use the software so might not be exact usage)

That said there is probably a slight flaw with recent Mame versions where multiple input types are held in [input], but you could get round this with some more .ugc files.

Minwah, does the [input] option take into account info from controls.ini or just the info from mame? 

Well, I just wrote a small GUI that I can run as an external app from MameWAH. It accepts one commandline parameter and displays its contents in a label in the GUI. I can now check what the [input] variable is for any game in my game list by quickly pressing a hotkey.

Anyways, I am sure Mini is using Mame, since not all game are documented yet in the Controls.dat project.

Yes, the above is correct. I just tested a few games that are not in Controls DAT and they still display the inputs so they must be coming from Mame.

John

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #11 on: January 17, 2007, 05:02:16 am »
Minwah, does the [input] option take into account info from controls.ini or just the info from mame? 

Just Mame atm...for this purpose that should be all that is required as the joystick types from Mame are pretty accurate now (I think)...

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #12 on: January 17, 2007, 05:03:56 am »
Well, I just wrote a small GUI that I can run as an external app from MameWAH. It accepts one commandline parameter and displays its contents in a label in the GUI. I can now check what the [input] variable is for any game in my game list by quickly pressing a hotkey.

Why not just have it displayed in your layout, or is that too simple? ;)

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #13 on: January 17, 2007, 06:49:42 am »
Why not just have it displayed in your layout, or is that too simple? ;)

Maybe because I was too dumb to think of that!

:)
John

PS .... Good Idea

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #14 on: January 18, 2007, 04:48:11 am »
Maybe because I was too dumb to think of that!

Hah, well we all have those moments!  ;)

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #15 on: January 18, 2007, 07:02:35 am »
Why not just have it displayed in your layout, or is that too simple? ;)

OK, now I have a good answer. Because I wanted it to create 2 reports. One lists each game and it's controls and the other lists all the possible input scenerios based on the current version of mame. I have the output in the same format as what MameWAH reports in the layout. Now I know exactly what mappings I need. FWIW, there are 45 different combinations.

John

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #16 on: January 18, 2007, 11:29:03 am »
Just to add a little ... if using the mame output as MameWAH currently reports it, a few game specific ini files would need created for the diagonal 4 way games such as Qbert sine mame lists them as "joy4way". This would only be required for a few games though. Other than that, if your UGC files are named properly you could use the [input] variable from MameWAH to program the U360 pre game launch.

John

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #17 on: January 18, 2007, 11:58:05 am »
Just to add a little ... if using the mame output as MameWAH currently reports it, a few game specific ini files would need created for the diagonal 4 way games such as Qbert sine mame lists them as "joy4way". This would only be required for a few games though. Other than that, if your UGC files are named properly you could use the [input] variable from MameWAH to program the U360 pre game launch.

John

Indeed this is just how my mapper plugin for MaLa works.  Use the romname .ugc file if it exists, otherwise use the input value.

My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

lordtodd75

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 364
  • Last login:July 21, 2020, 01:42:37 am
  • I especially hate punks!
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #18 on: March 05, 2007, 12:23:04 pm »
Alright, I got my ultrastik mostly working. The only thing I can't figure out is how to make mamewah recognize a joystick installed in windows. I know this is probably a simple entry edit in an .ini file but I just can't find the right info.

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #19 on: March 05, 2007, 01:10:05 pm »
In the mamewah.cfg file, near the bottom, change "joystick 0" to "joystick 1".

John

Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4530
  • Last login:June 22, 2025, 02:32:40 am
  • Insufficient facts always invite danger.
Re: Ultimarc UltraStik 360 Programming (Mame) Questions
« Reply #20 on: March 07, 2007, 01:02:11 pm »
Why not just have it displayed in your layout, or is that too simple? ;)

OK, now I have a good answer. Because I wanted it to create 2 reports. One lists each game and it's controls and the other lists all the possible input scenerios based on the current version of mame. I have the output in the same format as what MameWAH reports in the layout. Now I know exactly what mappings I need. FWIW, there are 45 different combinations.

John

Could you post the results of those reports?