Archived

This topic is now archived and is closed to further replies.

deltafan

DX10 and SweetFX 1.4

Recommended Posts

Hey guys, tried reading through the other SweetFX topics and could find my answer.

 

Recently converted to DX10, all going smooth so far! :) Only hitch is that when I try to install SweetFX 1.4, it doesn't even affect the graphics at all. I know that some AA can conflict with SweetFX, so I've made sure all AA is disabled in NVIDIA Inspector, in FSX itself, and for good measure, in the SweetFX config, still no go. I've installed all the SweetFX files as per the readme into the main FSX folder, including the specific DX10/11 files. What am I doing wrong?

Share this post


Link to post
Help AVSIM continue to serve you!
Please donate today!

Hopefully you are not trying to use the D3d11.dll.  FSX is not compatible with DX11.

 

Best regards,

Jim

Share this post


Link to post

I don't have a file named D3d11.dll. Just the ones that came with the SweetFX ZIP file, the d3d9 and dxgi files and associated SweetFX directory, injector.ini, shader.fx, and SweetFX settings and preset.txt files. Also just tried having the DX9 only, then the DX10 only files, no luck there either. It does work when I disable DX10 preview, but I find FSX unflyable in DX9 mode anymore and would rather fly DX10 without SweetFX if it's not going to work. However, I've read of plenty of people getting SweetFX to work in FSX DX10 mode, so it's obviously something on my end somewhere.

Share this post


Link to post

 

 


I don't have a file named D3d11.dll.

 

I was just asking as you mentioned the dx11 files in your OP and DX11 is not compatible with FSX and may never be (never say never). 

 

Best regards,

Jim

Share this post


Link to post

Any other tips I could try to get SFX working with DX10?

Share this post


Link to post

Download the SweetFX-Configurator_standalone_1.3.3, make sure you have followed the instructions for pasting the DX10 files and folders from SweetFX-1.4, and try using the Configurator. You can use it live in game to change settings on the fly and apply them immediately to see the results in terms of frame rate and image quality. Make sure you do not have any remainders of old dx9.dlls, etc in your FSX root folder, or old ENB stuff, much of this will interfere with SweetFX.

 

I don't know if this helps, I hope it does. This site has some nice FSX presets as well: http://sfx.thelazy.net/games/game/136/

 

Use the 'Scroll-Lock' key to enable/disable SweetFX in game, and use the 'Pause-Break' key to reload setting changes you made in the Configurator live in game.

Share this post


Link to post

Hi Deltafan. I went through all the frustrations with sweetfx then discovered that I had to install Microsoft Visual C ++ 2010 redistributable (X64 and X86) and also the 2008 redistributable. After that Sweetfx worked perfectly. Couldn't get the AA to provide a suitable effect, but boy the screen sure looks pretty now.

Still having terrible transparency shimmers (trees etc). I am running Win 7 Home Premium 64 Bit and Zotac GTX570 Amp and I5 3750k clocked at 4.2.

Share this post


Link to post

Play with your SGSS settings, Bob, and make sure that the entry in the fsx.cfg agrees with the Inspector setting. MultiSamplesPerPixel is tied to Transparency SuperSampling (SGSS), and should be the same number as that set in NI, otherwise FSX will take the lower of the two numbers.

Share this post


Link to post

Tried running the sim through the Configurator tool and made sure I had 32-bit and 64-bit versions of C++ 2008 and 2010 and still no luck.

Share this post


Link to post

What are you having no luck with, FSX crash or cannot see the results of SweetFX? :)

Share this post


Link to post

Assuming you have installed SweetFX 1.4 correctly, and it is working correctly (having old dx9 and related .dlls and .fx files from old ENB or other graphics mods in your FSX root directory will cause problems), what I do is load up FSX, then if i want to change or fiddle with SweetFX, load up the Configurator. Scroll-lock enables/disables the added effects on the fly, Pause-break reloads new setting changes you made in the Configurator on the fly. Some good FSX presets can be found here: http://sfx.thelazy.net/games/game/136/

 

Maybe this does not help, its actually quite simple once you get it setup right. The Configurator has about 15+ subcategories, I use SMAA antialiasing, Bloom, HDR, LumaSharpen, Lift Gamma Gain, Vibrance, and Dither. You can disable Bloom in FSX but enable it using SweetFX.

Share this post


Link to post

I've only ever used SweetFX (under DX9 mode), no other mod files to worry about. SFX does work under DX9 mode, it's just getting it working in DX10 mode that's giving me troubles.

Share this post


Link to post

As I said you want to make sure any and all traces of old DX9 ENB or SweetFX installs are not present in your FSX root directory or folders. There is a different set of DX10 files you copy to your FSX directory, I know mixing the DX9 and 10 ones will cause problems. Once this is done correctly it should load in automatically with no input from you except using the Scroll-Lock  and Pause-Break keys. Maybe I am missing something here...

Share this post


Link to post

 

 


Couldn't get the AA to provide a suitable effect, but boy the screen sure looks pretty now.

 

To get decent AA with DX10 add the following lines to Graphics section of the fsx.cfg file

 

MultiSamplesPerPixel=4 (You can change this to 8 for better quality if your system is up to it.)
MultiSampleQuality=8

Share this post


Link to post

That's just it though, I've never had ENB installed, so I don't need to worry about those files. I've also tried the DX10 files only and it still doesn't activate, and when I try that through the configurator, it won't let me change anything without adding back the DX9 files.

Share this post


Link to post

I think I have lost my mind.  I decided I would dive into the whole SweetFX thing myself to see what I could do.... nothing. 

I am having the same problem.  SweetFX isn't doing anything under DX10 mode.  If I turn off DX10, back to DX9 default...it works like it should.

 

Here are something I have done:

 

1) Verified the install.  The 9 files and SweetFX folder that came with v1.4 package have been place in the root FSX folder.

2) Verified and re-verified that AA is off in FSX (for kicks, I turned it off in nVidia Inspector also)

3) Maxed some of the settings and verified that the _settings.txt is updating

4) Installed the C++ redist as noted in the links above

5) Rebooted a few times

6) Looked for old ENB stuff (don't see any that I know of)

7) Changed the injector.ini to a few different options to try and toggle, or take screenshots...no luck there (so I re-installed the SweetFX package just to make sure everything was clean)

8) Read forums, watched videos....  posted here and going to read Snow Crash instead.

 

 

log.log is updating..

 

full path: C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\
redirecting CreateDevice
initialising shader environment
eAndSwapChain
removing D3D11_CREATE_DEVICE_SINGLETHREADED flag
redirecting IDXGIFactory->CreateSwapChain
redirecting IDXGIFactory->CreateSwapChain
redirecting CreateDXGIFactory1
redirecting CreateDXGIFactory1
redirecting IDXGISwapChain->ResizeBuffers
initialising shader environment
redirecting IDXGISwapChain->ResizeBuffers
performing Cleanup10
initialising shader environment
redirecting IDXGISwapChain->ResizeBuffers
performing Cleanup10
initialising shader environment
redirecting IDXGISwapChain->ResizeBuffers
performing Cleanup10
initialising shader environment

 

 

...so in short, SMAA isn't working, no HDR, no bloom, and no screenshots with DX10 mode on.

 

 

I am running Inspector..is there anything in there that could be jacking up the program?

 

I am also running 2 monitors.  They very in resolution but both are set to no AA and when I fly in full screen mode, the second display shuts down (intentionally so only my one 40" display is running)

 

Any other suggestions to get this to work?

 

Thanks

Benjamin

Share this post


Link to post

I installed SweetFX for my friend's FSX, he had a non-standard keyboard. The 'injector.ini' file that you put in the FSX root directory has keymaps in it. If you have a non-standard type of a keyboard lacking a Scroll-Lock or Pause-Break key, you have to remap keys following the given syntax in injector,ini, using the ASCII keycodes.

 

Scroll-Lock enables/disables SweetFX on the fly, Pause-Break applies setting changes you made (by first making them and then clicking 'Save Config' in the Configurator). I don't know if any of this means anything to you or helps, but I did have to remap keys on my friend's FSX setup to get SweetFX working.

Share this post


Link to post

Ok - an quick update on my scenario.  Who knew.. it was in fact the second monitor that was causing the issue.  The resolutions are different (24" versus 40" ..with slightly resolution).  I don't think SweetFX knew what to do with the second display when it was trying to apply the effects so nothing was happening.

 

When I take the display out of the equation, it works as expected.  I like it.   Now I will bring DX10 back and see how I like it.

 

Benjamin

Share this post


Link to post

Hi

I installed sweetfx but  see files only for d3d9 but i dont see files for dx10 preview

any idea where to find them

 

 i dont understand what to do to get it done

very difficult for me

Share this post


Link to post

Hi

I installed sweetfx but see files only for d3d9 but i dont see files for dx10 preview

any idea where to find them

 

i dont understand what to do to get it done

very difficult for me

It doesn't matter, same files are for both D9 and D10. Just put the files in your main FSX folder and tweak the settings in Sweetfx_settings.txt.

 

You can also watch this tutorial on Youtube: http://www.youtube.com/watch?v=v21m_p7d2A4.

 

To test the various settings, run FSX, start a flight and ALT-TAB back to Windows.

If you make any changes in the settings file, save it, and run FSX fullscreen again (ALT ENTER after selecting it). You will see the difference in runtime, so you wont have to restart FSX all the time!

With the SweetFX configurator (also a free program) it is even easier and you get a key to refresh. You dont have to switch back to fullscreen then, it will show the new settings when pressing the configured refreshbutton.

 

SweetFX configurator here: http://sweetfx.thelazy.net/?p=91

Share this post


Link to post