|
|
![]() |
![]() |
![]() |
Nf-fixer 3.6 Download |
|
 |
| |
| Category: Others |
 |
| File Size: 73 KB |
 |
| Rating: |
|
 |
| Downloads: 2849 Hits |
 |
| Date Addes: Monday, September 04, 2006 |
 |
|
|
|
|
| |
This is the latest version (3.6) of my 3rd party volume control for Navy Field. This version does sound effects and music volume separately, fixes a firing problem and automatically quits Navy Field when it hangs. Please feel free to try it out and let me know if it works or doesn't work for you.
IMPORTANT - no, really, you should read this:
To uninstall, or if you experience problems, you MUST delete the file "dsound.dll" file from your Navy Field directory (and ONLY from there!). If you do not delete this file then you will continue to get modified sound volumes even if you don't run (or even if you delete) the NF-fixer.exe file. If you experience any problems, or can't get it to run, please remember to delete "dsound.dll" from your Navy Field folder.
NEED TO KNOW: Download the zip file from the link above. Unzip all the files to your Navy Field directory (default C:Program FilesSD EnterNETNavyFIELD). Run NF-fixer.exe in there, and use the sliders to change sound effects and volume control. You should also be able to change volume while the game is running.
The fixer will also fix a key input problem that stops you continuing to fire while rotating and elevating guns. Turn on caps lock or scroll lock to (virtually) spam the space bar, which is useful for fast firing guns, particularly AA. You probably already do this yourself; this utility just saves you wear and tear on your space bar.
Finally, it will also kill Navy Field for you if (when) it hangs - bliss!.
KNOWN BUGS: If you get an error that the "application configuration is incorrect", then you need to update your system to install some new Microsoft libraries (sorry about that). Please install "vcredist_x86.exe" from Microsoft.
http://tinyurl.com/nbzv6
If you that installer doesn't work(!), then try installing this first: http://tinyurl.com/db98v or if you're still on a Win98/98/ME system (god help you) http://tinyurl.com/3ha9
If it still doesn't work, then sorry, you've been Redmonded. Up-to-date versions of WinXP SP2 and above are the only platforms that I can realistically support.
SOUNDS vs MUSIC I have to take an educated guess at which sound buffer contains a sound effect and which contains music. If I've got any wrong, then you'll find an effect being controlled by the music slider or vice versa. If you experience this, or any other problems, please let me know here, or via my message box, or by email at navyfield@colinmacdonald.org.
F.A.Q:
Q) OMG, R U HAKKNIG NAVY FEILD??!!!
No. Nothing in the tool modifies any Navy Field file or registry setting. It:
1) Sends space bar messages to Navy Field in exactly the same way as pressing the space bar does. 2) Terminates the Navy Field process. 3) Replaces dsound.dll (locally for Navy Field, not for any other application!); this is a Microsoft library, not a Navy Field one.
Q) Is the "fire fixer" cheating?
I don't think so. As I see it, it fixes a bug in Navy Field. It doesn't do anything that you couldn't do yourself by whacking the space bar. In fact, if you have fast firing guns, you probably already do that, no doubt to the great annoyance of anyone sharing a home with you. It doesn't let you fire any faster than normal, or more accurately, and it's only really useful for people using small, fast firing guns. It just, quite literally, simulates you whacking the space bar repeatedly. I call it the "wife mollifier".
Q) How does it work?
1) It sends Navy Field "null" Windows messages, and if it doesn't receive a reply within ten seconds, it kills the Navy Field process. For simplicity, it uses a Microsoft tool called "taskkill.exe" to kill the Navy Field process. As that's not installed by default on all Windows versions, but is freely (as in beer) available from Microsoft, I've bundled it with the application.
2) The fire fixer just sends regular space bar messages to Navy Field when caps lock / scroll lock is turned on, exactly as though you were whacking the space bar.
3) The sound fixer works by inserting a "shim" dll (dynamically linked library) in between Navy Field and the real Microsoft Direct Sound dll. From Navy Field's point of view, it appears to be using the real DLL, and most of the calls do get passed straight through unchanged. The only difference is that when sound buffers are created or their volume is set, the modified volume level is applied to them.
For purposes of applying volume, I examine the flags that are used to create each buffer. Music buffers have a distinctive (NF specific) set of flags. I can't assume that all sounds that are played looping are music as the aircraft sounds are looped.
There's a known bug in DuplicateSoundBuffer which requires the volume of a duplicated buffer to be twiddled away from and then back to its correct value. I've tried to work with this, but I can't guarantee 100% compliance. When the volume is set low, I can occasionally hear a very brief stuttering sound, which I suspect may be due to this bug.
Please let me know if you hear this stuttering.
See http://www.codeproject.com/cpp/vcredists_x86.asp for the shennanigans about vcredist_x86.exe and its dependencies. Applications linked to DirectX libraries can now only be built with Visual Studio 2005 (or 2003), but applications built with the 2k5 compiler requires a new set of C runtime libraries. I really don't want to bundle a 2.5MB installer with a 70k app. One possible solution would be for me to use an older version of DirectX and VS 6, but supporting legacy versions of libraries, compilers and Windows isn't something that I want to get into.
By the way, if you change the volume while the game is running and nothing seems to happen, try toggling the music on/off or off/on. It's a technical limitation of the passive way I have to check for changed volume. Also, a wizard did it.
Thanks, and enjoy!
What's New in This Release:
Version 3.6 available, with support for:
Caps lock scroll lock num lock
keys.
I should disclose that I haven't been able to test this with Navy Field, as I'm at work. I've tested that it makes the right calls when the right keys are locked on though. Please let me know if you encounter problems.
I suspect that the clicking sound may be due to a known bug in DirectSound:
http://tinyurl.com/lbuuv
NF creates a lot of duplicates of already playing buffers, and while I do reset the volume on them, I may not have been doing it "immediately" enough. I've had another stab at fixing it, and uploaded a new version, 3.4.
I've also started using explicit naming in the file as well as the UI so that I can better control versioning. |
| |
| |
 |
| |
Most Popular Downloads In This Category |
|
| |
| All Software This Category |
| |
|
|
|
|
|
|