VOGONS


First post, by SteelCrusader

User metadata
Rank Newbie
Rank
Newbie

Hello everyone, I'm new here.

I just found out a few days ago that all (or at least most) of my favorite old DOS games are runnable even on my new vista laptop. One of my favorites from "back in the day" is X-Wing, and I have the collector's edition CD for DOS.

After a little poking around, I got everything up and running, and I was once again blasting TIE fighters. There was just one problem: mouse flight *sucks.*

I have a joystick, but I'm worried that it might be too advanced for Xwing, even though it was a relatively inexpensive one. It's a Logitec Extreme 3D something or other, 4 axis, 12 button, 1 hat. I've tried calibrating the joystick when the prompt shows up on starting xwing, but the buttons do nothing and i am not able to move the cursor without the mouse.

I have tried several combination in the dosbox.conf file for the joystick, though I have not exhausted all possibilities, none of the likely ones have worked so far.

Is there a definitive solution for this problem? As close as I am to reliving the glory days, I doubt I will have much fun with no joystick. Are there some magic settings or plugging/unplugging order that I have to follow? I have an XP desktop, would it be any different there? Would a simpler joystick work better (and do they even make 2-axis joystick USB anymore)?

Thanks and a cookie to anyone who can help!

Reply 1 of 15, by ripa

User metadata
Rank Oldbie
Rank
Oldbie

As long as the joystick works in Windows there should be no problem using it with old games running on Dosbox since Dosbox emulates a traditional analog joystick. The following settings work with Tie Fighter Collectors Edition:

joysticktype=2axis
timed=true
autofire=false
swap34=true
buttonwrap=true

When you start Dosbox you should see something similar to

Using joystick Microsoft SideWinder Precision 2 with 4 axes, 8 buttons and 1 hat

in the Dosbox console window. If not, then Dosbox hasn't recognized your joystick for some reason (could be a Dosbox-Vista compatibility issue - I suggest trying it on XP also).

Reply 2 of 15, by SteelCrusader

User metadata
Rank Newbie
Rank
Newbie

Interesting... so it doesn't matter that my joystick has 4 axes, as long as I tell Dosbox that it only has 2? Dosbox does actually recognize my joystick for what it is (correct brand, correct # of axes buttons and hats), so is this just XWing not playing nice with more than 2 axes?

EDIT:

Also, autofire doesn't work? That makes me sad....

And btw, where can one pick up TIE fighter these days? I hear it was awesome but I never got to play it. Is it freeware anywhere?

Reply 3 of 15, by htanzler

User metadata
Rank Newbie
Rank
Newbie

I'm having problems just loading the game on my vista 32bit laptop. I downloaded dosbox and am not sure what the next step is. Could someone walk me through the steps? Thanks!

Reply 4 of 15, by ADDiCT

User metadata
Rank Oldbie
Rank
Oldbie

No. Check out the DOSBox Readme, and the multitude of Tutorials and FAQ's here on VOGONS and on other websites. If you encounter a specific problem, open a new thread, and describe the issue in detail, in accordance to the posting guidelines. Good luck.

Reply 5 of 15, by SteelCrusader

User metadata
Rank Newbie
Rank
Newbie

Well, putting this all on XP went off without a hitch. Everything "just worked" without any fiddling needed, joystick included. Guess I won't be bringing XWing to work any time soon!

Anyways thanks to everyone who responded. It's nice to know that there's a helpful community out there for things like this!

So, like I asked before, is TIE fighter freeware anywhere yet or do I have to track down an ancient dusty copy?

Reply 6 of 15, by ADDiCT

User metadata
Rank Oldbie
Rank
Oldbie

SteelCrusader, TIE Fighter has never been released as Freeware, AFAIK. There are several auctions on Ebay, quite cheap too. I'd go for the "Collector's Edition CD-ROM".

Oh, and DOSBox doesn't handle more than two joystick axes per joystick, unfortunately. This means no analog rudder or thrust control. I'm still hoping this will change some day, but i think it's quite complicated to code. DOSBox would have to emulate a Thrustmaster or similar joystick, and map the axes to whatever additional axes the Windows joystick reports.

Reply 7 of 15, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

> DOSBox doesn't handle more than two joystick axes per joystick, unfortunately.

wrong 😉

1+1=10

Reply 8 of 15, by SteelCrusader

User metadata
Rank Newbie
Rank
Newbie

yeah, i see options for 4 axes in the dosbox.conf file. Is it more likely that Xwing and TIE fighter don't support them? (As they were never coded to receive input from more than two)

Reply 9 of 15, by ADDiCT

User metadata
Rank Oldbie
Rank
Oldbie

h-a-l-9000: why wrong? Is there a way to assign a joystick axis to an analog throttle, or an analog rudder control? I'd be amazed if there was a way to do that. AFAIK, the "4axis" thingie in the .conf has something to do with two-joystick-mode. There's no way to map axes to game inputs, too.

Reply 10 of 15, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

2axis - 1 or 2 joysticks each 2 axis 2 button
4axis - 4 axis 4 buttons
4axis_2 - guess it chooses the second joystick if you have two connected
fcs - 3 axis 4 buttons, 1 axis used for hat
ch - 4 axis, at least 4 buttons, hat (button encoded)

1+1=10

Reply 11 of 15, by ADDiCT

User metadata
Rank Oldbie
Rank
Oldbie

Hmmm... I know the "fcs" and "ch" entries in dosbox.conf, but i thought they are some kind of pass-through for real hardware. Did you actually try to use some kind of rudder/throttle control for games? I tried that some time ago, and didn't have any success. I had a long discussion with wd about that topic, and he confirmed that mapping joystick axes is not possible (yet?).

Besides, how should that work? For both CH and Thrustmaster sticks, there are small TSR's (or simple programs) to "program" the Joysticks to specific functions. That's how the support works in TIE Fighter, for example - you start a program that's part of the joystick's software, and use a config file that comes with TIE Fighter to program the joystick (this info is straight from the TIE Fighter readme - too much text to paste here). There's no way to configure the joystick inside the game. AFAIK, there's no other way to get rudders, throttles, etc. working in DOS games. I used to have a huge Gravis flightstick (can't remember the name right now), and this one had it's own config software, too. Basically, you have to tell the joystick about the game, not the other way round. There's no way to do that in DOSBox.

I'd be happy if i was wrong, but i'm afraid i'm not. (;

Reply 12 of 15, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

I don't have a rudder but throttle is fine in i.e. Radix, Terminal Velocity, WC3, Win95. First choose a joystick the game supports in dosbox.conf, then choose the appropriate joystick in the game's setup and maybe change the swap34 parameter, that's all. You can even map axes in the keymapper (I'm not sure to what extend, I never really used it).

1+1=10

Reply 13 of 15, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

fcs and ch are not a passthrough, they rather make the hat availible in the form of how those two pieces of hardware did.

1+1=10

Reply 14 of 15, by ADDiCT

User metadata
Rank Oldbie
Rank
Oldbie

Hm, that's interesting. Now i remember another topic i was discussing with wd: DOSBox will recognize my XBox controller (via XBCD driver) correctly, but i can't use the right thumbstick - it is simply ignored by DOSBox (for example, while trying to map it with the keymapper). At the time we were discussing the topic, wd said that problem could be connected to SDL. I'll try it again in the next days with a XBox 360 controller.

hal, can you tell which axes you're using on your joystick, other than the forward/backward and left/right axes? I mean, what they are "called" in DOSBox?

I'm still not sure how i would talk TIE Fighter into using additional analog axes. As i wrote, there's no way to configure a joystick inside the game, or any command line parameters or something similar.

Anyway, i'll try the games you've mentioned. I had no success with WC3, but that was a few builds ago (i think there was not "swap34" parameter at that time).

Reply 15 of 15, by h-a-l-9000

User metadata
Rank DOSBox Author
Rank
DOSBox Author

called in DOSBox? In the mapper? My joystick only has an additional throttle axis which becomes axis 3 as default and has to be changed to 4 by "swap34" for game compatibility.

jaxis_0_2+-
jaxis_0_3+-

1+1=10