The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 12, 2024, 03:22:54 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Joypad works on menus but not ingame???
« previous next »
Pages: 1 [2] Print
Author Topic: Joypad works on menus but not ingame???  (Read 9061 times)
Kola
Zebranky food
*
Offline Offline

Posts: 19



View Profile
Re: Joypad works on menus but not ingame???
« Reply #15 on: March 11, 2008, 06:01:39 pm »

Bugger - Dont know what ive done but now nothing controls the in game.  not even the keyboard.

Oh this is unbearable!!  Ive been playing Urquan masters for a month daily.  Having withdrawal symptoms already!
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Joypad works on menus but not ingame???
« Reply #16 on: March 11, 2008, 10:25:38 pm »

Bugger - Dont know what ive done but now nothing controls the in game.  not even the keyboard.

Oh this is unbearable!!  Ive been playing Urquan masters for a month daily.  Having withdrawal symptoms already!
Funny, really. As far as I could tell everything should work now (joystick 0 should be controlling the game itself). Are the menus still functional?

Emergency solution: delete (or, to be safer, rename) both the key and main configuration files (the ones we've been editing). This will change UQM's settings back to the default, which hopefully should give you some control.

I really need to get hold of a joystick to be sure of what I'm doing, here (I have a broken old analogue stick around here somewhere I use for this sort of thing, but I don't have a game port to plug it in!).
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Kola
Zebranky food
*
Offline Offline

Posts: 19



View Profile
Re: Joypad works on menus but not ingame???
« Reply #17 on: March 12, 2008, 09:28:33 am »

Hi Novus,

My internet went off last night and out of sheer boredom I tried an uninstall reinstall.  Totally forgot the installer is a downloader so that didnt help my cause at all.

Anyhow, because I couldn't see your above suggestion I have started again with a fresh install today, internet back on.

Should I add the code you said to add yesterday

# This is a sample joystick configuration.  This is intended to work
# primarily under WinXP with a USB analog/digital gamepad.  The
# digital aspect of the gamepad happens to present itself to the
# system as a POV hat.  This configuration allows either the digital
# or analog stick to be used simultaneously.  More importantly, it
# gives us a chance to give examples for all of the various input types
# that UQM can handle.

joystick 0 threshold 10000   # How far to move before it counts; 0-30000

Template-5-Up: joystick 0 axis 1 negative
Template-5-Down: joystick 0 axis 1 positive
Template-5-Left: joystick 0 axis 0 negative
Template-5-Right: joystick 0 axis 0 positive

Template-5-Up: joystick 0 hat 0 up
Template-5-Down: joystick 0 hat 0 down
Template-5-Left: joystick 0 hat 0 left
Template-5-Right: joystick 0 hat 0 right

Template-5-Weapon: joystick 0 button 0
Template-5-Special: joystick 0 button 1
Template-5-Escape: key Escape

Menu-Up: joystick 0 axis 1 negative
Menu-Down: joystick 0 axis 1 positive
Menu-Left: joystick 0 axis 0 negative
Menu-Right: joystick 0 axis 0 positive

Menu-Up: joystick 0 hat 0 up
Menu-Down: joystick 0 hat 0 down
Menu-Left: joystick 0 hat 0 left
Menu-Right: joystick 0 hat 0 right

Menu-Cancel: joystick 0 button 1
Menu-Select: joystick 0 button 0

joystick 1 threshold 10000   # How far to move before it counts; 0-30000

Template-6-Up: joystick 1 axis 1 negative
Template-6-Down: joystick 1 axis 1 positive
Template-6-Left: joystick 1 axis 0 negative
Template-6-Right: joystick 1 axis 0 positive

Template-6-Up: joystick 1 hat 0 up
Template-6-Down: joystick 1 hat 0 down
Template-6-Left: joystick 1 hat 0 left
Template-6-Right: joystick 1 hat 0 right

Template-6-Weapon: joystick 1 button 0
Template-6-Special: joystick 1 button 1

Template-6-Escape: key Escape

Menu-Up: joystick 1 axis 1 negative
Menu-Down: joystick 1 axis 1 positive
Menu-Left: joystick 1 axis 0 negative
Menu-Right: joystick 1 axis 0 positive

Menu-Up: joystick 1 hat 0 up
Menu-Down: joystick 1 hat 0 down
Menu-Left: joystick 1 hat 0 left
Menu-Right: joystick 1 hat 0 right

Menu-Cancel: joystick 1 button 1
Menu-Select: joystick 1 button 0
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Joypad works on menus but not ingame???
« Reply #18 on: March 13, 2008, 11:19:51 am »

Reinstalling UQM won't, IIRC, do anything to your configuration, and the problem seems to be there, not in the installation. That said, if the stuff I told you to add has disappeared (note that the file may be reordered, but the same lines about the joystick should still be there), you will need to put it back.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Kola
Zebranky food
*
Offline Offline

Posts: 19



View Profile
Re: Joypad works on menus but not ingame???
« Reply #19 on: March 13, 2008, 07:53:10 pm »

Ok m8, im back to where I started now.  Joypad works fine right up to the point where I have to select my ship in the Super Melee.

You get a chance to try your joystick. 

Logged
Kola
Zebranky food
*
Offline Offline

Posts: 19



View Profile
Re: Joypad works on menus but not ingame???
« Reply #20 on: March 15, 2008, 11:18:59 am »

Anyone able to help me get my joypad working in game please?
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Joypad works on menus but not ingame???
« Reply #21 on: March 15, 2008, 12:13:50 pm »

All right. After doing a clean install of UQM 0.6.2 on a Windows ME box with a joystick (old-skool PC joystick with 2 analogue axes, 2 buttons) installed, the joystick wouldn't work. This turned out to be because it wasn't plugged in (or more, specifically, it wasn't plugged into the game port Windows was using; too many old sound cards).

After fixing that problem, UQM still didn't recognise the joystick at all (just like in your case). Deleting the configuration files (keys.cfg and uqm.cfg) made the menus react to the joystick. Finally, going into the setup menu and going Configure Controls/Player One/Joystick 1 fixed it; now the lower player in melee and the full game player are controlled by the joystick.

You can either try to retrace my steps or simply replace your keys.cfg and uqm.cfg with my keys.cfg and uqm.cfg.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Kola
Zebranky food
*
Offline Offline

Posts: 19



View Profile
Re: Joypad works on menus but not ingame???
« Reply #22 on: March 15, 2008, 12:29:38 pm »

Hi Novus,

A big thanks for all you efforts but it still didn't working m8.  Same as ever.  Works fine until I have to select my ship in super melee.

I copied and pasted your files
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Joypad works on menus but not ingame???
« Reply #23 on: March 15, 2008, 12:36:18 pm »

A big thanks for all you efforts but it still didn't working m8.  Same as ever.  Works fine until I have to select my ship in super melee.
Are you playing upper or lower player in melee? The joystick is now set up for the lower player. Have you tried full game?

When you cut and pasted the files, do you mean that you cut and pasted the contents replacing what was there, or replaced the files (both should work, though)?

Could you please post the contents of stderr.txt from your UQM installation directory?
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Kola
Zebranky food
*
Offline Offline

Posts: 19



View Profile
Re: Joypad works on menus but not ingame???
« Reply #24 on: March 15, 2008, 12:54:25 pm »

It works m8 Grin Grin Grin Grin

I was selecting the upper player.  Dont understand why that would matter though. 

Will I be able to play two player both with joypads this way.  Just im trying to get as many interested as poss and when friend come over I want the to play the best ever 2 player game in history.
Logged
Novus
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1938


Fot or not?


View Profile
Re: Joypad works on menus but not ingame???
« Reply #25 on: March 15, 2008, 01:22:33 pm »

It works m8 Grin Grin Grin Grin
Smashing!

Quote
I was selecting the upper player.  Dont understand why that would matter though. 
Lower player is player 1, upper player is player 2. They have separate control configurations.

Quote
Will I be able to play two player both with joypads this way.  Just im trying to get as many interested as poss and when friend come over I want the to play the best ever 2 player game in history.
Right now you're set up for one joypad, but the technique I described two posts ago for setting up joystick control should work with minor changes. A slightly improved version follows:

  • Ensure both joypads are plugged in (UQM automatically removes all configuration for joysticks that aren't connected, which is really annoying if you add/remove joypads).
  • Delete keys.cfg.
  • Start UQM.
  • In Setup, Configure Controls: Player One/Joystick 1 and Player Two/Joystick 2 (note that you have to press Return (or fire 1) to select the choices; just moving the highlight with cursor keys/direction pad does not change the setting).
  • Exit Setup.
  • Play. Player 1(full game, lower player in melee) is now on joystick 1, player 2 (upper player in melee) is on joystick 2.
Logged

RTFM = Read the fine manual.
RTTFAQ = Read the Ur-Quan Masters Technical FAQ.
Kola
Zebranky food
*
Offline Offline

Posts: 19



View Profile
Re: Joypad works on menus but not ingame???
« Reply #26 on: March 16, 2008, 12:53:40 pm »

Ill try what you say but all my free time at the mo is taken up with joypad and UQM. :]

Giza a week or so
Logged
Pages: 1 [2] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!