Mouse Force
-----------
Forces certain non-DirectInput games (e.g. "Wolfenstein: Enemy Territory") to utilize DirectInput for pointer device access.
Download
- Binary & source code:
http://home.arcor.de/_aero/projects/mforce/ mforce_*.zip
Installation Instructions
- Extract "mforce.exe", "mf_dinput.dll" and "mf_hybrid.dll" to some directory (if you do not plan on using more than one variant, you can delete the other DLL)
- Execute "mforce.exe" with the following parameters to
start the desired application:
mforce "<EXE>" <PRIORITY> "<DLL>"
(e.g. 'mforce "c:\q3\quake3.exe" LOW "mf_dinput.dll"')
or
mforce "<EXE>" <PRIORITY> "<DLL>" <PARAMS>
(e.g. 'mforce "c:\q3\quake3.exe" HIGH "mf_hybrid.dll" +set fs_game cpma +map q3dm1')
Additional Information
There are currently two variants ("mf_dinput.dll" and "mf_hybrid.dll") available.
The first one ("mf_dinput.dll") is the original, conventional method, which enforces the use of DirectInput as long as no errors occur.
The latter one ("mf_hybrid.dll") however is a bit different.
As the filename already suggests, it combines the two methods DirectInput and Set/GetCursorPos to benefit from both solution's advantages (DirectInput's reliability and Set/GetCursorPos' responsiveness).
As long as the cursor is unable to reach the screen's border(s), its position delta will be used to determine mouse movement.
But when the cursor reaches the border(s), DirectInput snaps in to bypass this limitation.
This method is primarily useful for those, who consider DirectInput's mouse access delayed, but do not want to experience possible "negative acceleration".
Make sure the mouse/cursor ratio is 1:1 when using "mf_hybrid.dll" as everything deviating would cause a
very weird mouse feeling.
Examples for using "Mouse Force"
Start Menu:
(http://i6.tinypic.com/11lslcm.png)
"The All-Seeing Eye":
(http://i6.tinypic.com/11lskrc.png)
(http://i5.tinypic.com/11lskzs.png)
If you wish to see the installed maps and/or game fonts, "Mouse Force" has to be in the game's directory (ASE limitation).
Notes
- <PRIORITY> can be "LOW", "NORMAL", "HIGH" or "REALTIME" (case insensitive)
- <DLL> must be in the same directory as "mforce.exe" and the path must not be included (only filename)
- <PARAMS> must
usually not exceed 256 characters
in Windows 2000- It is totally normal that "mforce.exe" terminates once the target has been started
- Some games nowadays have launchers which are not to be confused with the game executable itself - always point to the real program
- Might also work in Win9x environments (some feedback would be nice)
==============================================================================
Copyright (C) 2006 anir (anir<AT>k.ro)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
For further information, see:
http://www.gnu.org/licenses/gpl.txt==============================================================================