VOGONS


First post, by truth_deleted

User metadata

Tie Fighter (DOS) intentionally employs inverted mouse movement along the y-axis. Attached a dosbox patch to reverse this mouse movement (so that mouse forward moves cursor upwards, like a typical FPS game). The y-axis orientation is toggled by pressing CTRL-ScrollLock. Also, it is required to load the ctmouse.exe driver before starting Tie Fighter. An added advantage of this driver is that mouse motion is accelerated, which better simulates joystick motion, and allows for easier navigation in-game.

It may also be necessary to increase mouse sensitivity in dosbox by editing the dosbox configuration file (dosbox.conf) and increase the sensitivity above 100, like so:
sensitivity=250

*********
An alternative mouse driver with higher mouse acceleration is the "Microsoft Mousedriver V7.04 for DOS". If choosing this option instead of ctmouse, then first run mouseoff inside dosbox and then run the MS Mousedriver 7.04 like so: mouse.com /P1 /S100

It may also be necessary to increase the dosbox mouse sensitivity to 250 or thereabouts.
*********

Note that mouse movement is a complex function in dosbox, so this patch should only be used where applicable.

Attachments

  • Filename
    mouse_y_polarity.diff
    File size
    1.89 KiB
    Downloads
    218 downloads
    File comment
    patch to reverse mouse y-axis
    File license
    Fair use/fair dealing exception

Reply 1 of 2, by PixelHunter

User metadata
Rank Newbie
Rank
Newbie

Thanks so much for posting this. There have been a few changes to the source code in the intervening seven (!) years, including significant changes to the mouse logic which I think broke the patch. However, it was a pretty straightforward fix. I've attached an updated patchfile, to hopefully make the next person's life a little easier.

Attachments

  • Filename
    mouse_y_polarity.diff
    File size
    1.72 KiB
    Downloads
    111 downloads
    File comment
    patch to reverse mouse y-axis
    File license
    Fair use/fair dealing exception

Reply 2 of 2, by ripsaw8080

User metadata
Rank DOSBox Author
Rank
DOSBox Author

FYI, SVN can invert mouse motion on either axis by using a negative value with a split sensitivity setting, e.g. sensitivity=100,-100 to invert the Y axis. The feature can be combined with mouse drivers like cutemouse if their non-linear acceleration is preferred.