Razer USA : Fri 06:43 Blueprints : Fri 15:43 Razer Asia : Fri 22:43
Friday, 03 September 2010
News
About us
Forum
Tutorials
Reports
Gallery
Downloads
Shirt Shop
Mediadata
Contact
Forum Login






register | lost password?
enter/resend activation code
Partner site
Place your bets and start winning big! Only at Pacific Poker are you able to increase your winnings by playing at ring games and tournaments simultaneous- ly! Join the best online poker room and enjoy the texas holdem poker gaming world.
Handy PHP
Free PHP Help!
     
  Mouse Force (DirectInput Revision)
Home Help Search

Pages: [1] 2   Go Down
Print
Author Topic: Mouse Force (DirectInput Revision)  (Read 18956 times)
anir
Guest
« on: May 06, 2006, 06:04:53 am »

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
==============================================================================
« Last Edit: July 11, 2006, 02:50:48 pm by  » Logged
qrtz
Guest
« Reply #1 on: May 12, 2006, 01:59:47 am »

Sounds good but I don't understand this step:

- Execute "mforce.exe" with the following arguments to start the desired application:
      mforce "<APP>" (e.g. 'mforce "C:\q3\quake3.exe"')
  or
      mforce "<APP>" <PARAMS> (e.g. 'mforce "C:\q3\quake3.exe" +set fs_game cpma +map q3dm1')


Do we do this by right clicking and going to properties? Because I can't make it work. Also, would this way work with server browsers like The All-Seeing Eye? Sorry if these are noob questions, I just don't understand it.
Logged
anir
Guest
« Reply #2 on: May 13, 2006, 11:18:55 am »

Hello, qrtz!

You have to start "mforce.exe" with arguments.

You can do this clicking on "Run..." in the Start Menu, for example.
(http://img54.imageshack.us/img54/2313/runmforce7me.png)


It to possible to use "Mouse Force" with ASE, but currently not working (seems to be ASE's fault).
Maybe I'll release a new version to circumvent this issue.

Edit: Most information provided in this posting is now obsolete.
« Last Edit: June 04, 2006, 03:48:43 pm by ανήρ » Logged
cadobhuk
*

Karma: -6
Offline Offline

Posts: 313


« Reply #3 on: May 28, 2006, 10:17:46 pm »

My computer gets lagged pretty bad when I use this,I cant alt tab my game or else everything will freeze for like 10 minutes..Is there any chance the process priority change can be removed?
Logged
anir
Guest
« Reply #4 on: May 29, 2006, 11:47:49 pm »

Of course, it is possible.

I may release an updated version which takes care of that (and ASE support).

It all depends on my motivation - the implementation itself is easy.


Edit: I have decided to update "Mouse Force". You can expect a new version to be released tomorrow (UTC+2).

Edit: Sorry for the broken deadline, but something more critical came by the way. The next version should be released on Friday.
« Last Edit: June 01, 2006, 10:10:54 am by ανήρ » Logged
H3llKn1ght
*

Karma: 0
Offline Offline

Posts: 8



« Reply #5 on: June 04, 2006, 09:09:24 am »

I just wanted to thank you for this excellent program. As ASE user I'm eagerly awaiting the update for mforce.

Keep up the good work  :bounce:
Logged
anir
Guest
« Reply #6 on: June 04, 2006, 04:39:37 pm »

Sorry for the long delay, but a new version of "Mouse Force" is now available.

Download
- Binary & source code: http://home.arcor.de/_aer...force/mforce_20060604.zip

Changes
- "mf_hybrid.dll" variant added with support for future variants
- Process priority now scalable
- ASE support added
- "mf_init.exe" support removed

Notes
- Syntax has changed
« Last Edit: June 04, 2006, 07:00:17 pm by ανήρ » Logged
H3llKn1ght
*

Karma: 0
Offline Offline

Posts: 8



« Reply #7 on: June 04, 2006, 09:12:55 pm »

Thanks so much!

Testing...
Logged
anir
Guest
« Reply #8 on: June 05, 2006, 03:49:29 am »

A new version of "Mouse Force" is now available.

Download
- Binary & source code: http://home.arcor.de/_aer...force/mforce_20060605.zip

Changes
- One minor optimization
Logged
uNhoLeee
*

Karma: 0
Offline Offline

Posts: 9


« Reply #9 on: June 16, 2006, 05:30:12 pm »

If I use the hybrid dll in a game that forces in_mouse 1, it will effectively act like in_Mouse -1?
Logged
anir
Guest
« Reply #10 on: June 16, 2006, 06:11:00 pm »

No.
If the game has and enforces its own DirectInput implementation, "Mouse Force" has no effect at all.
« Last Edit: June 17, 2006, 12:10:02 am by ανήρ » Logged
uNhoLeee
*

Karma: 0
Offline Offline

Posts: 9


« Reply #11 on: June 16, 2006, 08:18:09 pm »

ah ok - thanks.
Logged
cadobhuk
*

Karma: -6
Offline Offline

Posts: 313


« Reply #12 on: June 21, 2006, 07:15:09 am »

Why does it say "Error: CreatProcess" ?
Logged
anir
Guest
« Reply #13 on: June 21, 2006, 11:57:54 am »

"Error: CreateProcess" occurs when KERNEL32.DLL:CreateProcessA fails.

Many circumstances can provoke this (e.g. inappropriate access privileges), but most likely it happens when the module could not be found.

Make sure directory and filename are valid; use quotation marks if path contains "whitespaces" (e.g. '"c:\foo bar\foo bar.exe"'); avoid Unicode characters.
« Last Edit: June 21, 2006, 12:05:10 pm by ανήρ » Logged
cerbu
*

Karma: 0
Offline Offline

Posts: 123


« Reply #14 on: September 13, 2006, 12:45:48 pm »

so i must understand that using dinput will remove negative accel? (or at least it should ?)

tested alot of mice, and negative accel occured at all mice, even mx518 (wich was best) and also tested it on alot of mouse pads. (4S, S&S, 5L).

all testing was in counter strike. is counter strike using dinput as default? (i know there is possible to use -dinput).

is it better to use -dinput in counter strike and force the use with your way? is it the same result?
Logged
Pages: [1] 2   Go Up
Print
Razer Blueprints  >  English  >  Razer General  >  Topic: Mouse Force (DirectInput Revision)
Jump to:  

Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Page created in 0.169 seconds with 21 queries.
 
   

© Razer Blueprints - the razer community

© 2010 Razer Blueprints - the razer community
Joomla! is Free Software released under the GNU/GPL License.