VOGONS


mouse problem in Privateer

Topic actions

First post, by mikez

User metadata
Rank Newbie
Rank
Newbie

Trying to play Wing Commander Privateer, but having a problem with the mouse constantly moving on it's on to the upper left corner of the window.

It does this whether I use only Dosbox, or if I use the DOG frontend.

Reply 1 of 30, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

that is caused by a joystick as far as I know. (or dosbox believes you have joystick attached)

Water flows down the stream
How to ask questions the smart way!

Reply 2 of 30, by ripa

User metadata
Rank Oldbie
Rank
Oldbie

Privateer requires joysticktype other than none (with "none" ingame music plays at half speed) and timed=false (otherwise your cursor will drift and you can't calibrate your joystick correctly). You don't need to have a real joystick plugged in though.

Reply 3 of 30, by mikez

User metadata
Rank Newbie
Rank
Newbie

But I do have a Joystick. But only 1 Joystick. usb Saitek Cyborg 3D.

If I start from scratch, and install and run Privateer in Dosbox, it starts with Joystick calibration. Calibrate joystick 1 no problem, but then it wants to calibrate joystick 2, and I don't have a second joystick.

"Move Joystick 1 to upper left and press button"
"Move Joystick 1 to lower right and press button"
"Move Joystick 1 to center and press button"

Goes thru the first 3 steps just fine with J1, then it repeats them for J2 but won't recognize the same fire button, but it does accept the thumb button of J1 and moves to next step. But after step 3 it says:
"Joystick calibration is not correct. Please recalibrate."
then it's stuck in an endless loop of those same 4 steps.

To try to get around that problem, I went into the Privateer folder and just copied the file it created JOYA.DAT and name it JOYB.DAT.
That causes it to skip the joystick calibration, but then it doesn't seem to see a joystick and all I get is the moving cursor that will only react to the mouse.

Reply 4 of 30, by ripa

User metadata
Rank Oldbie
Rank
Oldbie

You need to use joysticktype=2axis. If you use 4axis or auto, Privateer will see two joysticks - the additional axes (throttle and rudder) show up as an additional joystick.

Also, I suggest playing Privateer with the mouse. The joystick input is very bad in that game (it's not gradual - it works in steps so you can't finetune your aim at all).

edit: I'm not sure but maybe Privateer supports rudder and throttle. In that case, when it asks to calibrate the second joystick (with joysticktype=4axis or auto), you need to move the throttle and rudder all the way to their extreme, press a button, then move them to the other extreme.

Reply 5 of 30, by OSH

User metadata
Rank Member
Rank
Member

What did you say?? Privateer's support for joystick is bad?? Playing Privateer with mouse??
I've played Privateer with joystick and this supoport is really good. I can't imagine, how can play Privateer without joystick...

Reply 6 of 30, by ripa

User metadata
Rank Oldbie
Rank
Oldbie

What did you say?? Privateer's support for joystick is bad?? Playing Privateer with mouse??

It's not bad. It's terrible. It's impossible to aim carefully, because if your aim is a bit off and you try to compensate by slightly moving the joystick in one direction, the aim either doesn't change at all, or it steps out of the "deadzone" and then moves at one constant velocity. It's almost like playing with an arcade joystick that only has directions but not how much you push in that direction. The mouse input suffers from the same lack of granularity, but at least I can manipulate the mouse more carefully than the joystick in order to "modulate" between the steps of turning speed to get something inbetween. In fact, all the Wing Commander games seem to suffer from this (at least up to The Price of Freedom).

Try Tie Fighter for what joystick input should be like. Nice and precise.

Reply 7 of 30, by mikez

User metadata
Rank Newbie
Rank
Newbie

joysticktype=2axis doesn't change anything. It still wants to calibrate 2 joysticks.

If I don't use any joystick, all I get is:

Fatal error.

Error Code: E001-FFFF
Program Halted by code.
JEMM unloaded.

and setting EMS/XMS to False doesn't change that.

Reply 8 of 30, by ripa

User metadata
Rank Oldbie
Rank
Oldbie

I've attached the config with which I just installed and successfully ran Privateer (with only joystick 1 calibration). If this config works for you, feel free to compare it to your own and post the differences here to tell others what made it fail.

I inserted the Privateer CD (includes RF and speech expansions), ran dosbox with this config, d:, ran install, configured sound, finished install, ran priv.exe and voila.

If it still doesn't work

1) you might have no write permissions to your privateer install which might make the calibration fail when it can't write that joystick calibration file

2) you might have multiple game controllers which Dosbox detects and uses

3) your Privateer version might be corrupted

4) your Privateer version might be older than mine and has a bug in it

Attachments

  • Filename
    privateer.conf
    File size
    1.13 KiB
    Downloads
    483 downloads
    File license
    Fair use/fair dealing exception

Reply 9 of 30, by Malignant Manor

User metadata
Rank Newbie
Rank
Newbie

While I agree joystick control is shit, with a decent joystick and calibration, it works alright for me with aiming. The problem for me stems from them forcing some shitty shortcuts for two button joysticks and even disabling some useful ones like the roll. This occurs even when mapping joystick buttons to use keyboard keys instead of default buttons. Firing missiles and slowing down for no reason are good examples.

Reply 13 of 30, by robertmo

User metadata
Rank l33t++
Rank
l33t++

it is a dosbox's setting that cannot be set in game so your dosbox has to be broken if you cannot change it.

what is your dosbox version and where have you got it from?
what is your Operating System?
what are your PC specifications?
post content of "DOSBox Status Window" (in Windows: right click on its title bar -> edit)
enclose your dosbox's config file

Reply 14 of 30, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

There are two types of games:

Type A uses a CPU-speed dependent loop to poll the joystick. This type does not show drift when timed=false (regardless of fixed/auto/max cycles) or with timed=true and fixed cycles.
Of course ingame recalibration is needed when switching timed= or changing the fixed cycles value in the latter case. On a real computer this type of game would also show drift if you change the turbo button state after calibrating.

Type B uses a CPU-speed independent timer to poll/compute the joystick and will not drift with timed=true, regardless of fixed/auto/max cycles. This type would also not be thrown off by the turbo button on real hardware.

Privateer and earlier WC titles are type A. Armada and later are B.

1+1=10

Reply 15 of 30, by OndrejSc

User metadata
Rank Newbie
Rank
Newbie

With timed=false, it is impossible to pass joystick-calibration-screen in Privateer, regardless of cycles=auto or cycles=8000.

1. (timed=true) + (cycles=auto) = cursor drift
2. (timed=false) + (cycles=auto) = calibration fail
3. (timed=false) + (cycles=8000) = calibration fail
4. (timed=true) + (cycles=8000) = problem solved

I am using MS Windows XP Pro SP3 en-US operating system and Genius MaxFighter F16U USB joystick.

DOSBox version 0.73
Copyright 2002-2009 DOSBox Team, published under GNU GPL.
---
CONFIG:Loading primary settings from config file dosbox.play.conf
MIDI:Opened device:win32
One joystick reported, initializing with 4axis
Using joystick USB, 3-axis, 4-button joystick with 3 axes, 4 buttons and 0 hat(s)

Reply 17 of 30, by robertmo

User metadata
Rank l33t++
Rank
l33t++

the problem is this:
with timed=false

game allows calibrating my square joystick

game refuses to calibrate my both circle joysticks (actually gamepads)

if i do calibration with my square joystick not precisely (not placing the stick exactly in the corner game refuses to calibrate too)

so the game just detects not precise calibration,
btw how can you place a circle joystick in a corner? 😉 I guess there were no circle joysticks in the past (analog on gameport)? and usb (digital) doesn't need calibration so it allows circle joystics?

btw cycles=8000 or 20000 doesn't help me too.

but with timed=true i can calibrate circle joystick with a fixed number of cycles