VOGONS


Games with joystick problems with high cycle counts

Topic actions

Reply 40 of 80, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Moved to patches.
Before I add I would like more feedback, especially on the older games.

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

Reply 41 of 80, by hullan

User metadata
Rank Newbie
Rank
Newbie
Qbix wrote:

Moved to patches.
Before I add I would like more feedback, especially on the older games.

Privateer and the default .conf file lock up Dosbox when i have CH flightstick configured under W98. If I remove the joystick from the w98 settings dosbox runs. I tried adding the [bios] to the config file as it wasn't there. That didn't help. Also tried runnning it using the latest D-Fend. Same results. what other info do you need?

Reply 42 of 80, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

increasing the cycles with this patch breaks at least keen4 and tyrian. (both move to right bottom)

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

Reply 43 of 80, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Should happen to any game that doesn't use the timer method. I don't think both methods can be satisfied together considering cycle changes which weren't possible on real computers - maybe it would be best to really add the range in conf file, when < 100 it uses the old method, >100 the new one. Defaults to current value.

(The attached patch makes Alley Cat work with Joystick.)

Reply 44 of 80, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

ah yes. I got a few changes for the detection as well.
Will clean up my source and post it here.

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

Reply 45 of 80, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Here they are.
Some debugging messages are still there though.

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

Reply 46 of 80, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

hal: Can't that bit always be set ?
as we always have a gameport. Maybe not always a joystick attached to it though, but your current patch doesn't take that in account as well. (the constructor doesn't exist on no joystick)

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

Reply 47 of 80, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Yes, gameport will read 0xFF without joystick anyway.

Reply 49 of 80, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Timer did.

1+1=10

Reply 50 of 80, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I've put things together a bit...

Options for dosbox.conf:

autofire (thx to wd)
swap34 (swaps axes 3 and 4)
timed (use alternative joystick emulation else the original one)

timed provides better emulation for some games. But for the other games it is cycles dependent.

Example (having a 3 axis joystick with hat):

[bios]

(Terminal Velocity)
joysticktype=ch swap34

(Overkill)
joysticktype=2axis autofire

(Armada)
joysticktype=fcs timed

Reply 51 of 80, by Dominus

User metadata
Rank DOSBox Moderator
Rank
DOSBox Moderator

that sound like nice options. This might also look good if it were runtime configurable and in the menu patch 😀

Windows 3.1x guide for DOSBox
60 seconds guide to DOSBox
DOSBox SVN snapshot for macOS (10.4-11.x ppc/intel 32/64bit) notarized for gatekeeper

Reply 52 of 80, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Nice 😀
Is the 34 swapping really vital? Might be better done at the
host level (where you can do all kinds of remapping).

Reply 53 of 80, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I can't use emulated CH (throttle) without it. I don't know about other joysticks but maybe in CH it should be swapped by default? Swapping might still be good because I've read that sombody had a 4-axis joystick with throttle and rudder which were swapped in Dosbox and thus useless.

> Might be better done at the host level
Yea I was just a bit lazy there...

1+1=10

Reply 54 of 80, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Yes, prompt said this as well (axis of rudder and throttle swapped).
I tracked this in SDL, and they seem to forward it quite orthogonal,
but maybe something before is swapping it for some reason.

Does it WORK for somebody correctly?? If not, it might be considered
to have axis34 swapped by default.

Reply 55 of 80, by HoustonDragon

User metadata
Rank Newbie
Rank
Newbie

Just FYI, WC3 had a variety of joystick problems, which are non-DosBox related. Try the following fix below first, and see if it corrects your problem:

http://download.wcnews.com/files/wing3/wc3joy.exe Alternate Joystick Routines For Common Joystick Issues

Download, and extract the new file into your WC3 directory. You can recalibrate your joystick by starting the game with WC3 -i

Reply 56 of 80, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The later talkings in this thread are about general joystick behaviour.

Reply 57 of 80, by Darkknight2280

User metadata
Rank Newbie
Rank
Newbie

I was wondering (although I havent tried it yet) does the joystick config fix work for WC Privateer? I havent played it with a joystick yet. Infact i have only been using DOSBox for 3 days now. I have fixed all of the other problems with it (i.e sound issues, and jumpy game play) But I was wondering if using a USB joystick is possible? And if so will the Config fix that was posted ealier in this thread work for Privateer as well If I have that same issue?

GB Money

Reply 58 of 80, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Privateer does not need this patch. If you have a gameport joystick then better use a Dosbox CVS build.

1+1=10

Reply 59 of 80, by Darkknight2280

User metadata
Rank Newbie
Rank
Newbie

I have a gameport joystick but I need to buy an adapter to use it thru my usb port. Or I may just buy a USB joystick (wouldbe cheaper then buying the adapter) So would a USB joystick work after I use the CVS build?

GB Money