Page 2 of 4

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-18 19:38
by MAVEN
Added v2 (port from v3) for Arma 2.

I've tried to make SSAO/HBAO work in PR but it doesn't :( however in the port for A2 I made it work on both nVidia and ATI cards. Ambient Occlusion (HBAO used) and DOF are measured but disabled by default, you can enable them in MasterEffect.h file. Works only for v2 for A2 port for now.

Here's few screen thumbnails from v2 for arma 2:

Image
Image

PR Fata map, yes I have it :D
Image
Image

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-19 00:53
by }I{y4APA
Roofs and walls shining AF. Its pain for eyes to play in dark room

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-19 07:03
by MAVEN
}I{y4APA wrote:Roofs and walls shining AF. Its pain for eyes to play in dark room
On some maps it is very bright (Fallujah West for example) as the textures are bright naturally. I can't make the mod work on all maps sadly, only balance for the few as this is one solution fits all for now :cry:

If you want less brightness specially on the walls use Bloom switch and disable it, you can also disable vignette and dirt/lens mask. This will reduce the overly bright areas on some maps but will also affect other filters negatively. For best results tweak the parameters and post screenshots so that I can see what you prefer. Feedback is always welcome.

I'm still playing with parameters for v4, so far nothing major happening.

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-20 21:23
by Der_Landser
I want to play with this badly but it just does not work. Whichever ReShade I try, my game crashes without even starting. Judging from the "PR GEM 0.52" thread, this happens to many and nobody seems to have found a solution.

I am using Nvidia 9800 GT with latest driver version "GEFORCE 341.95 WHQL" (Release Date: 2016.3.16)

This is the message from d3d9.log:

Code: Select all

20/07/2016 23:19:18:667 [05048] | WARN  | > 'D3D11CreateDeviceAndSwapChain' failed with 'DXGI_ERROR_UNSUPPORTED'!
20/07/2016 23:19:18:667 [05048] | INFO  | Redirecting 'D3D10CreateDevice1(00E2E920, 0, 00000000, 0, 41216, 32, 0018990 8) ' ...
20/07/2016 23:19:18:667 [05048] | INFO  | > Passing on to 'D3D10CreateDeviceAndSwapChain1':
20/07/2016 23:19:18:667 [05048] | INFO  | Redirecting 'D3D10CreateDeviceAndSwapChain1(00E2E920, 0, 00000000, 0, 0xa100, 32, 00000000, 00000000, 0018990 8) ' ...
20/07/2016 23:19:18:667 [05048] | WARN  | > 'D3D10CreateDeviceAndSwapChain1' failed with '0x80004002'!
20/07/2016 23:19:18:668 [05048] | INFO  | Redirecting 'D3D10CreateDevice(00E2E920, 0, 00000000, 0, 29, 0018990C)' ...
20/07/2016 23:19:18:668 [05048] | INFO  | > Passing on to 'D3D10CreateDeviceAndSwapChain':
20/07/2016 23:19:18:668 [05048] | INFO  | Redirecting 'D3D10CreateDeviceAndSwapChain(00E2E920, 0, 00000000, 0, 29, 00000000, 00000000, 0018990C)' ...
20/07/2016 23:19:18:673 [05048] | INFO  | Exiting ...
20/07/2016 23:19:18:674 [05048] | INFO  | Uninstalling 40 hook(s) ...
20/07/2016 23:19:18:946 [05048] | INFO  | Exited.

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-20 21:35
by MAVEN
Der_Landser wrote:I want to play with this badly but it just does not work. Whichever ReShade I try, my game crashes without even starting. Judging from the "PR GEM 0.52" thread, this happens to many and nobody seems to have found a solution.

I am using Nvidia 9800 GT with latest driver version "GEFORCE 341.95 WHQL" (Release Date: 2016.3.16)

This is the message from d3d9.log:

Code: Select all

20/07/2016 23:19:18:667 [05048] | WARN  | > 'D3D11CreateDeviceAndSwapChain' failed with 'DXGI_ERROR_UNSUPPORTED'!
20/07/2016 23:19:18:667 [05048] | INFO  | Redirecting 'D3D10CreateDevice1(00E2E920, 0, 00000000, 0, 41216, 32, 0018990 8) ' ...
20/07/2016 23:19:18:667 [05048] | INFO  | > Passing on to 'D3D10CreateDeviceAndSwapChain1':
20/07/2016 23:19:18:667 [05048] | INFO  | Redirecting 'D3D10CreateDeviceAndSwapChain1(00E2E920, 0, 00000000, 0, 0xa100, 32, 00000000, 00000000, 0018990 8) ' ...
20/07/2016 23:19:18:667 [05048] | WARN  | > 'D3D10CreateDeviceAndSwapChain1' failed with '0x80004002'!
20/07/2016 23:19:18:668 [05048] | INFO  | Redirecting 'D3D10CreateDevice(00E2E920, 0, 00000000, 0, 29, 0018990C)' ...
20/07/2016 23:19:18:668 [05048] | INFO  | > Passing on to 'D3D10CreateDeviceAndSwapChain':
20/07/2016 23:19:18:668 [05048] | INFO  | Redirecting 'D3D10CreateDeviceAndSwapChain(00E2E920, 0, 00000000, 0, 29, 00000000, 00000000, 0018990C)' ...
20/07/2016 23:19:18:673 [05048] | INFO  | Exiting ...
20/07/2016 23:19:18:674 [05048] | INFO  | Uninstalling 40 hook(s) ...
20/07/2016 23:19:18:946 [05048] | INFO  | Exited.
I'm sorry to hear that you're having an issue running the mod on your card.

I did a quick lookup on your card (link here - Nvidia GeForce 9800 GT - Best Compatible GeForce 9800 GT GPU)

And examined the log. The log says that you need DirectX 10 to run the mod (even though it's dx9 compatible) It could also be a filter that your graphic's card doesn't support though I am not sure which can it be.

Do you know how to use the switches in Real Dust (ReShade) and turn things off? This may help. If you don't I can make a test version for you.

P.S. I think I found a solution which may as well be necessary to test (thus any volunteers I'd really appreciate this)

Please download V3 of Real Dust, install it and do this:

1. Find d3d9.dll from Real Dust preset.
2. Rename d3d9.dll to dxgi.dll
3. Run the game and see what happens.
4. If it doesn't work rename dxgi.dll or d3d9.dll from the mod to opengl32.dll
5. Run the game and see what happens.
6. If it works then great! If it doesn't then I don't know what could be the exact problem.

If this solves the issue I will make 3 versions of each new update of RealDust for compatibility with different cards. I never used an nVidia card, always been with ATI/AMD for both games and work as well as processing and they never let me down. However nVidia uses SSAO/HBAO naturally as they invented it, so if this fix helps you try the Ambient Occlusion switch too :D

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-20 21:42
by Der_Landser
Thanks for replying. 9800 GT supports DX 10.0 / SM 4.0, at least according to GPU-Z.

Now, I have never worked with the switches in ReShade, so I have no idea how to do it. I would appreciate if you could work something out for me to test as there were a lot of people with the same problem in the PR GEM thread.

EDIT: Gonna try the solution you gave out, right now.

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-20 21:45
by MAVEN
Check the P.S. part in my previous comment, it can be a solution :)

If those instructions don't work I'll make an experimental test version from v4 of Real Dust I am testing these days.

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-20 22:00
by Der_Landser
Sadly, it did not work. While you can run the game, the effects are not activated and the Scroll Lock key does nothing.

Is there, perhaps, a MasterEffect.h file with all effects disabled so I could test if there is a switch within the file which causes the error?

EDIT: Well, I put all of the switches to 0 and game still crashes.

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-20 22:22
by MAVEN
Der_Landser wrote:Sadly, it did not work. While you can run the game, the effects are not activated and the Scroll Lock key does nothing.

Is there, perhaps, a MasterEffect.h file with all effects disabled so I could test if there is a switch within the file which causes the error?

EDIT: Well, I put all of the switches to 0 and game still crashes.
I see, I think I know what may be the problem.

You said the scroll lock doesn't work - something is overwriting the key-hook dll (ie priviledges for keys and DLLs)

Are you using game boosters or other stuff like this? Because those can override your native support for games and mess things up.

Also can you provide this info:

1. What OS are you on, is it 32 or 64 bit?
2. Do you run PR native without boosters and tools or use compatibility modes? Do you have full admin rights? Does your firewall/antivirus block the DLL hook use (some do this, make sure that the mod dll is greenlit)
3. Do you have similar problems with other games or just PR? You can actually use the mod on any game, literally.
4. Do you play PR in windowed mode?
5. When you launch the game with mod enabled, do you see white text in upper left corner and red text stating errors?

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-20 22:30
by MAVEN
P.S. Also can you try this mod too and see if it works (please remove RD one before doing this) - Real Light V6 | SH8

That one is for Arma 3, based on SweetFX 2.0 and ReShade 1.1 the one I made is based on PR GEM, but PR GEM is actually ReShade 1.1 with MasterEffect bundle (McFX and several others) in the sense they are similar but work differently. So if the one for ArmA 3 doesn't work for you too then it's something with ReShade core.

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-21 08:21
by Der_Landser
MAVEN wrote:P.S. Also can you try this mod too and see if it works (please remove RD one before doing this) - Real Light V6 | SH8

That one is for Arma 3, based on SweetFX 2.0 and ReShade 1.1 the one I made is based on PR GEM, but PR GEM is actually ReShade 1.1 with MasterEffect bundle (McFX and several others) in the sense they are similar but work differently. So if the one for ArmA 3 doesn't work for you too then it's something with ReShade core.
1. I run PR under Windows 7 64-bit with full admin rights and without compatibility mode. My antivirus and firewall do not block any DLL's.

2. Real Light V6 does not work either - same problem.

3. Only time the hook seems to be injected is when the file is named "d3d9.dll" - any other name and ReShade is not picked up by the game.

4. I took your advice and tried out all of the versions of "Real Dust" mod and on a free version of Live for Speed and it worked instantly and without any flaws. My GPU is able to handle all of the effects. Even tried it with DOF and Ambient Occlusion enabled and it worked (except I don't see DOF effect but I imagine that it's disabled for multiplayer games)

I don't know what to think of this right now, my GPU is able to handle ReShade, yet PR just does not want to hear any of it.

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-21 09:53
by MAVEN
Thanks for the response.

It would seem that your graphics card's drivers are misbehaving or the card itself is incompatible with older games. I had this kind of issue with graphic card on my other systems which was an older ATI. When I used old drivers older games would perform superbly, but when I updated Catalyst it would not only crash some of them but lag them too while newer games worked just fine.

A lot of people using GT9800 complain about ReShade not working.

It could probably help trying older drivers, though this is not recommended just for a mod as your game is working fine.

There is one quick thing you can try though if you're having issues:

1. Go to Home
2. Grab ReShade 2.0 and download it.
3. Unpack it.
4. Rename ReShade32.dll to d3d9.dll then place that DLL over the one used by RealDust.
5. Try to play.

This can potentially fix it but may break other things within RealDust. Let me know if you test that out.

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-22 11:43
by Der_Landser
Just tried it, does not work.

Yeah, I am not willing to try the older drivers as I am content with the ones I use right now.

Also, I already mentioned that I made this work with another game (Live for Speed), and it was just a case of extracting the files into the folder.

The game looked just like your screenshots and Scroll Lock worked just fine to enable disable the effects.

It has to do with Project Reality.

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-22 22:04
by MAVEN
Der_Landser wrote:Just tried it, does not work.

Yeah, I am not willing to try the older drivers as I am content with the ones I use right now.

Also, I already mentioned that I made this work with another game (Live for Speed), and it was just a case of extracting the files into the folder.

The game looked just like your screenshots and Scroll Lock worked just fine to enable disable the effects.

It has to do with Project Reality.
Thanks for all the feedback and effort you made.

I'm really sorry to hear that you can't get RD working on PR. The dll hook of RD is basically replacement for directx, ie it uses same framework but what executables do when they see d3d9.dll in parent directory is they replace (virtually) the directx d3d9.dll with modified one and use it for emulation, this enables temporary effects used as in RD.

Perhaps you are missing some directx libraries, but I really don't know why would your card work with other games and not with PR with the RD mod, very strange.

If I find a potential solution I will let you know, but so far nothing has turned up as an alternative.

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-22 22:50
by MAVEN
V4 is up.

V4 has only minor but noticable updates which mostly focus on new color formula, adjusted parameters, toned down bloom and optimization for bigger resoltuons. This time RD was balanced for resolutions between 720p and 2k, anything lower or higher than that is not supported (but will work).

I also noticed one important thing (might be for me) - when used with higher resolutions than 1080p, RD uses a bit more processing power and resources thus fan speed increases a bit too. If your system can't run PR vanilla within 20-30 frames I do no recommend using RealDust with all features instead you can use switches. I have a decent gamer PC and PR barely uses 10% of anything (except ram, uses more) but still precaution is always recommended.

For V5 I don't have big plans, may fix color and filters further and fix reported issues but apart from that nothing new expected really. I may create experimental variants of v4 though like sci-fi, cartoon, headcam etc as the mod has these filters bundled in. If you modify the mod and make major improvements yourself do share bellow, if it's something new I can add it and credit you :)

P.S. The masks (dust, lens, etc) that are actual textures are in 1920x1080 resolution, making that resolution native for this mod. However if you need smaller or bigger textures let me know. You can also shrink or expand them yourself, just make sure to use aspect ratio.

P.S. 2. Since RealDust is a preset of ReShade, you can test it on other games and modify it then send me your own preset, I can then pack it, credit you in it (you can make own readme files too) and add it in the thread under "other game ports" section or something like that. To apply - your edit has to be major in distinction from RD, for a game that is not already covered by RD and with at least one screenshot as a showcase.

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-24 18:45
by SHADOWNET
Wow, this looks dank! So, will it work on other games like 2142, fallout, etc????

keep up the good work, m9.

So, will there be a v5??????

BYE!

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-25 02:37
by MAVEN
Thanks, the mod can work with any game but you'll have to adjust parameters to match. I am currently not having enough time to make presets for other games besides the ones I play regularly but anyone is welcome to make a port for their favorite games. If the port is really good I can add it in main thread and credit you.

So far I ported RealDust only to ArmA 2, I plan on doing so for SWAT 4, BF2 (although RD should work native with that one) , maybe ArmA 3 and BF2142 (I still have that game)

As for v5, not sure, but if I find something major to change there may be v5 in the future. I also thought of maybe making swappable items such as color palettes, new dirt masks etc. We'll see.

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-25 10:24
by MAVEN
Guys I need help with the forums.

I am working on 2 new ports of RD - for SWAT 4 and BF2142. And I'm also working on v5 as I discovered a nice update. But here's the problem the main thread became bulky and there's lots of information I would like it to be expandable. Can someone please tell me how to add Spoilers in threads or at least give me the code?

This will help once ports and v5 are finished. Thanks in advance.

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-25 10:46
by SHADOWNET
you can try looking at the color luts from the Real Light preset. I forgot the site tho, just do a search, they have some really nice color LUTS (it'll give more variety that way).

good work, and I'm totally free to use whatever version I want, right?

sorry, i tried a couple of spoiler tags and it didnt work.

Y'know wat? Just throw everything in there, m8, dont worry, it'll be nice to lag everyone's browser and waste their bandwidth... (sarcasm....or not?)

Re: Real Dust - Graphics Mod for Project Reality and A2

Posted: 2016-07-25 11:19
by MAVEN
SHADOWNET wrote:you can try looking at the color luts from the Real Light preset. I forgot the site tho, just do a search, they have some really nice color LUTS (it'll give more variety that way).

good work, and I'm totally free to use whatever version I want, right?

sorry, i tried a couple of spoiler tags and it didnt work.

Y'know wat? Just throw everything in there, m8, dont worry, it'll be nice to lag everyone's browser and waste their bandwidth... (sarcasm....or not?)
Real Light is nice, I acrually named Real Dust similarly as it aims to achieve realism too lol. It was a quick pick of a name, supposed to be temporary but meh.

Real Light doesn't use 3D LUT palettes and depends on more shaders. Real Dust was based on PR GEM which itself is a MasterEffect ReShade and which itself is a ReShade 1.1.

You can use any version for personal use only, no commercial use of course. All of these presets and mods forbid sale and uncredited distribution. You can also make own preset as it's not that hard.

As for the spoiler, I really need that in the thread. Don't want to lag loadup times but also don't want to remove old screenshots as they showcase changes over versions. I saw threads with spoilers and I'd like to add spoilers to mine.

Image