Pages: [1]
|
 |
|
Author
|
Topic: UQM - Extended and non-standard joysticks (Read 3463 times)
|
Justin Z
Zebranky food

Offline
Posts: 8
|
Hello,
I am probably missing something simple, but when I try to run UQM with my RetroUSB Super NES pad, which uses very unusual button assignments, I run into trouble. Under 0.6.2 I simply had the following lines in my keys.cfg file:
Menu-Cancel: joystick 0 button 6 Menu-Select: joystick 0 button 7
This would allow me to go into menu mode with button 6, and then button 7 was both my "select" button and my "fire" button actually. I played the whole game through this way. However, nothing like this appears in the new flight.cfg file in 0.6.4, and the formatting is completely different anyway. I've done a couple of "shot in the dark" guesses at it but nothing has worked.
Is there anything I can do to solve this issue?
Thanks as always,
Justin
|
|
|
Logged
|
|
|
|
Novus
Enlightened
    
Offline
Gender: 
Posts: 1938

Fot or not?
|
In current SVN at least, you can create a file called override.cfg in your UQM config directory (i.e. where flight.cfg is) with the following content:
select.6 = STRING:joystick 0 button 7 cancel.6 = STRING:joystick 0 button 6
|
|
|
Logged
|
|
|
|
Justin Z
Zebranky food

Offline
Posts: 8
|
Thank you. I'm sorry to report that did not work. I created the file override.cfg in C:\Documents and Settings\Administrator\Application Data\uqm and copied the text directly from your post. I also tried doing select.5 and cancel.5 since I'm using the fifth input option just on a hunch, but no dice.
The remixes are not working in full either. Some of the music is there, such as the solar system music and planet orbiting (although I can't recall if I heard all of them, but at least none was an obvious .mod), but the hyperspace music, for example, is the game's .mod, even though I have all the .rmp files placed, and just for thoroughness' sake I copied the remix packs over from a fresh 0.6.2 installation where I tested and got the correct music.
Maybe I should be bug reporting this?
Thanks again.
Edit: A quick note--rewriting the uqm.rmp file by replacing every instance of the phrase ".mod" with ".ogg" and then manually placing the .ogg files from the remix into the content package (and renaming them where necessary) seems to have fixed this as a workaround. I've only tested the space music since it's simple to get to.
|
|
« Last Edit: December 16, 2010, 10:03:09 pm by Justin Z »
|
Logged
|
|
|
|
|
Justin Z
Zebranky food

Offline
Posts: 8
|
Still no luck. I guess I'll just have to deal with playing through on the keyboard, or find a pad that doesn't have bizarro button assignments.
Thanks for the attempts, I really appreciate it.
|
|
|
Logged
|
|
|
|
Novus
Enlightened
    
Offline
Gender: 
Posts: 1938

Fot or not?
|
It seems that UQM EE 0.6.4 was made right in the middle of the rewrite of the configuration files, and hence uses a combination of the old and new syntax. You still need to edit menu.key, but the added lines are supposed to be:
menu.cancel.6 = joystick 0 button 6 menu.select.6 = joystick 0 button 7
The added lines should be just like the last two lines in the file, but with the number 5 changed to 6 and the joystick and button numbers changed; if these lines are not there, you're probably editing the wrong file.
This works on the current (11-Aug-2010, 0.6.4) release of The Ur-Quan Masters - Extended Edition as compiled from the source code on OpenSUSE 11.3 with a Logitech Dual Action gamepad; the button marked "7" becomes "cancel" in the menus and "8" becomes "select".
|
|
« Last Edit: December 19, 2010, 10:11:46 am by Novus »
|
Logged
|
|
|
|
Pages: [1]
|
|
|
|
|