Author Topic: UltraStik360 plug-in config  (Read 4449 times)

pcss911

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
UltraStik360 plug-in config
« on: January 27, 2017, 06:14:58 PM »
Unless there is already a FAQ that covers this, I was hoping someone would be gracious enough to explain, preferably with examples, of how I might go about taking advantage of this plug-in (or even a 3rd-party utility if there is a common one that people use for this), in order to be able to load a game-specific map to the stick, on a per-game basis.  (I would have already created the maps in preparation for this.)  My AM arrangement is rather basic, with only mame as an emulator. 

My goal of course would be to use AM to launch a mame rom - Q*bert would be a good example, and arrange it so that the diagonal 4-way map gets loaded to a specific stick (I have 2) immediately prior to launching the game.  Upon exiting the game, revert to a different map, say a standard 8-way.

I guess I haven't been able to figure out how to have the "on-demand" map loading be automated.

Thanks in advance to anyone who can guide me.
« Last Edit: January 27, 2017, 09:43:30 PM by pcss911 »

pcss911

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
Re: UltraStik360 plug-in config
« Reply #1 on: February 28, 2017, 01:39:09 PM »
<<bump>>

Anyone know about this plug-in's functionality and can share?  I can't seem to location any FAQ or documentation on how to use this plug-in.

Thanks in advance for any guidance.

progets

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1274
    • View Profile
Re: UltraStik360 plug-in config
« Reply #2 on: March 01, 2017, 09:51:31 PM »
Read the notes in the UltraStik360.nut. It gives details there.

pcss911

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
Re: UltraStik360 plug-in config
« Reply #3 on: March 02, 2017, 05:18:26 AM »
Much appreciation for the suggestion and being pointed in the right direction progets.  I did take a look, but as I am not a coder, it is mostly meaningless and therefore I am not able to learn from it.
Ideally, what I am hoping for is perhaps for someone to generously offer an actual example of its use within the config screen so that I can then apply that to all my games.  If it is relevant, my only emulator is mame, and it is a Win7 PC.

djrobx

  • Full Member
  • ***
  • Posts: 30
    • View Profile
Re: UltraStik360 plug-in config
« Reply #4 on: March 02, 2017, 08:08:03 AM »
It looks pretty straightforward.   It will run ultrastikcmd [game name].ugc, before launching the emulator, and then return it to the default "8 way.ugc" after the game is finished.   Some of these settings and file paths are changeable in the UI.

So for your example, you'd need to name the Q-bert profile "qbert.ugc" file and it should pick that up.

I think the idea is that it will just quietly and quickly error out (i.e. leave the default 8 way) if the game name.ugc file doesn't exist.

pcss911

  • Jr. Member
  • **
  • Posts: 19
    • View Profile
Re: UltraStik360 plug-in config
« Reply #5 on: March 02, 2017, 02:16:00 PM »
I believe I follow what you mean.  Can't wait to try it out once my cp is delivered.  Thank you for taking the time to explain.