Jump to content

Controller Remap GUI


stigzler

Recommended Posts

Awesome!  I have a question for you, though.

How on earth do I tell Hyperspin to run this utility when launching Mame?

 

Thank you in advance.  I'm pulling my hair out over here.

 

Also, how can I tell Mame to use my cfg file from the ctrlr folder through hyperspin?  It works great from cmd.

 

Matt

Link to comment
Share on other sites

Ah... well I don't use Hyperspin, but the broad principles should be the same.

 

If there's a "launch before" option in Hyperspin, you'd set it to use the command:

CtrlRemapGUI.exe -rmap ""

(with the quotes)

 

Make sure you use launch before as this process must complete before mame is run via your main command line.

 

This will change the .cfg file in the ctrlr mame folder to match those usb devices pluggin in at time of running.

 

Then you would launch mame via your usual hyperspin means, but with the additioanl parameter:

-ctrl [your cfg filename without the .cfg extention]

eg.

mame64.exe -nowindow -ctrl MyRemap

if your remap file is MyRemap.cfg

 

don't forget to have your remap file in the ctrlr folder under the mame root.

 

Alternatively:

 

You could do it all from your main HS command line via:

CtrlRemapGUI.exe -rmap "" -mame [xmen] [-nowindow -skip_Intro]

Replacing the bits in brackets with whatever Hyperspin uses to populate command lines dynamically. And obviously without the brackets. First bracket is mame game name, second one is the mame cmd line parameters that you use.

 

As for Hyperspin setup/parsing - I'm afraid you'll have to ask others about that one as it's not something I'm familiar with.

 

Hope this helps...

Link to comment
Share on other sites

Thank you, Stigzler!

 

So, If I want different controls per game I would, simply, go through the process again, creating a new CFG file in the ctrlr folder for that game.  Then when launching that game I would put the name of that file in the " "?

 

Thank you, again!

Link to comment
Share on other sites

No worries chap.

 

OK - you got me looking further into per-game settings... just a few idiosyncrasies of mame that requires a bit of recoding (namely. mame prioritising .cfg in cfg folder rather than those in ctrlr folder). Hang fire - I'll come back to you.

 

You likely won't have to have a .cfg file for each game in your ctrlr folder - it'll all be under a single .cfg file, but with the different games settings therein.

Link to comment
Share on other sites

New Release - 0.6.0.0

0.6.0
Added functions around per-game settings.
Updated documentation on per-game settings.
Overhauled Mame CFG files tab - more useable.
Added ability to view and edit .cfg files.
cfg\.cfg files with no controls now display in app - shows other info such as dipswitches etc.

 

Changes from post by alientity - you can check out how to do what you were after here:

https://controllerremapgui.codeplex.com/wikipage?title=Setting%20up%20Per-Game%20Settings&referringTitle=Documentation

Link to comment
Share on other sites

  • 1 month later...

New Release - 0.6.5.0

Added AutoClear settings option:
- clears mame.cfg files on running CRGUI via command line.
- option to backup the files before deletion
- used as blunt measure to ensure mame.cfgs don't supersede controls in ctrlr.cfg
- if you're looking to maintain none control .cfg data - clear controls by hand.

Usual place: https://controllerremapgui.codeplex.com/releases/view/616187
Explanation of concepts behind this:
https://controllerremapgui.codeplex.com/wikipage?title=Setting%20up%20Per-Game%20Settings&referringTitle=Documentation
 

Link to comment
Share on other sites

Is anyone using this successfully? Ive been having some issues with the GUI. I do everything according to the documents and the videos, and now, when I run CtrlRemapGUI.exe, it seems to write phantom code into my CRG_MyRemap.cfg

 

The phantom code is using Guncode 5 and 6, not 9 and 10 as I set it in the GUI. I tried a clean install of CtrlRemapGUI, and when I opened it, I found that it still knew where my Mame was as well as my devices that were detected. Every time I click TEST, the phantom code is then written into the cfg file, whereas I have no idea where its coming from.

 

Thanks for any help

Link to comment
Share on other sites

  • 10 months later...

I setup two Aimtrak guns a week ago and was planning on doing this as well. I also stumbled across this utility here however: http://www.hyperspin-fe.com/files/file/11305-tur-game-controller-order/

 

For my purposes I gave it a try as it seemed simpler and it was dead simple... just pick the controller order once and run it again after a restart (I'm not unplugging often but had problems after a restart).  Based upon just one restart it worked for me so far. I haven't tried to set it up on a per game basis as having it run just once after a restart fixes my current issue.

 

If this doesn't keep working I'll be trying the controller remap utility and gui as well, so please post any details if you go that route!

Link to comment
Share on other sites

  • 3 months later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...