Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: barryabrams on July 24, 2013, 08:34:20 am

Title: Setting second USB as rom hard drive, Joystick remapping
Post by: barryabrams on July 24, 2013, 08:34:20 am
I've successfully gotten GroovyArcade set up so that I can play roms off of a second pen drive, and it works well. I do this by navigating out of AdvmenuPlus and going to the Hard Drive settings page, and adding a rom hard drive. I then tell it to mount the second pen drive. Then, I'll open up AdvmenuPLUS again, and my roms (and only my roms) will display in the list. I can play the games, and mame will store my custom joystick settings.

However, the next time the machine restarts, the default list of roms is what's shown in AdvmenuPLUS. I have to go through the process of exiting, selecting my USB as the rom hard drive, and go back to the frontend. How can I set up this second drive to always be the rom hard drive?

Second question: I have a Xin Mo joystick encoder that's powering my control panel. For some reason, in linux (i tried in regular ubuntu, and now in groovy arcade) and everything works except Up and Left for both players. It seems to be a known issue. I can kind of work around this by attaching Up and Left to the extra buttons that I'm not using, and remap them in Mame. However, in AdvmenuPLUS, i can't figure out how to remap up to anything. Down works great, but i'd like to remap it to joystick button 7, and can't figure out where to do that.


AdvmenuPLUS
Title: Re: Setting second USB as rom hard drive, Joystick remapping
Post by: barryabrams on July 25, 2013, 09:37:37 am
I ended up copying my small set of roms to the USB drive running GA/Advmenu and specifying in the groovymame config file where they live. Then, I created a favorites list in Advmenu of the subset of games I wanted to display. That seems to work fine.

I have had no luck trying to figure out how to remap the joystick for Advmenu. I'll likely just get a better keyboard encoder and call it a day.
Title: Re: Setting second USB as rom hard drive, Joystick remapping
Post by: Calamity on July 25, 2013, 09:43:26 am
Hi barryabrams,

I don't know what could be wrong with the USB drive config. In theory the setup should be preserved after reboot, as it is just recorded in texts files (mame.ini & advmenu.rc) and these changes should be permanent. The only thing I can think of is that for some reason the pendrive is mapped to a different path on the second reboot (??)

In advmenu.rc you can redefine the input, I'm not sure if it will support what you're trying to do, but I think it should.
Title: Re: Setting second USB as rom hard drive, Joystick remapping
Post by: barryabrams on July 25, 2013, 11:08:34 am
It works better when it's just one USB anyways. Every once in a while, it'll try to boot the 2nd drive, and I'll have to restart it again.

In advmenu.rc i see where you can redefine keys under event_assign, but it appears to by keyboard keys only. I can tell "left" to be "up", but it only affects they keyboard. The joystick still acts the same.
Title: Re: Setting second USB as rom hard drive, Joystick remapping
Post by: Calamity on July 25, 2013, 11:34:51 am
There's a program named Rejoystick, you'll find a direct access to it on the desktop of GA. I believe it's intented for joystick remapping to key presses.
Title: Re: Setting second USB as rom hard drive, Joystick remapping
Post by: barryabrams on July 26, 2013, 10:02:15 am
There's a program named Rejoystick, you'll find a direct access to it on the desktop of GA. I believe it's intented for joystick remapping to key presses.

I gave rejoystick a go, but I had a few problems with it. When I opened it up in the linux desktop, the bottom of the window is cut off because my screen isn't that tall. So, I could find the OK button to save my settings. Then, I found you can just modify the .rejoystickrc file in a text editor. Remapped joystick switches worked while I was still in the desktop mode, but if I opened up Advmenu, the remapped daeman would crash.

I ended up just taking a keyboard encoder out of another game to test to see if that worked better, and it does. Everything worked out of the box, and I noticed there must have been some lag on the joystick encoder because the keyboard encoder seems to be more responsive.

Thanks for your help!
Title: Re: Setting second USB as rom hard drive, Joystick remapping
Post by: Calamity on July 27, 2013, 10:39:32 am
Good news then, thanks for reporting.