NFS Shift 2 with graphic driver

Open a thread for a question about the force sender application.
For a question about a plugin use the upper forum!

NFS Shift 2 with graphic driver

Postby thaparser » Sun 29. Dec 2013, 08:36

hi guys,
I've been trying to get the NFS Shift 2 game to work with x-sim and the only valid option seems to be the graphics driver.
Anyone had any luck with it? I cannot seem to get the proper data out of the gfx algorithms and command buffers.
Per documentation and behavior, D3D or OpenGL aren't much help since oGL isn't used and D3D is used both in menu and game so the only one that's used only in game is Pixel Matrix.
Should I focus on the D3D algo instead?

thanks for sharing!
cheers
thaparser
X-Sim Supporter
 
Posts: 65
Images: 26
Joined: Thu 5. Sep 2013, 17:00
Location: GL, RO
Has thanked: 5 times
Been thanked: 13 times

Re: NFS Shift 2 with graphic driver

Postby sirnoname » Sun 29. Dec 2013, 15:45

yes, d3d do work with shift 2 and the generation 1 graphic driver. Use the motion driver dialog if the overlay is not available. (dual screen)
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: NFS Shift 2 with graphic driver

Postby thaparser » Thu 2. Jan 2014, 11:50

thanks sirnoname!
I have tried some more and I may be on to something: I found command buffer 21 (out of 23), position with Y height and look dir Y up.
Filter strength 25, value 1, speed delayed median and accel delayed square. All these while racing from the cockpit view, of course.

The converter math plugin shows this for speed 2413 and this for accel 2412 which are similar to what we find in the Motion Driver Guide but the output doesn't feel as expected. I get some movement but it is not inline with what's expected. Accel and brake don't match at all and lateral movement seems arbitrary. I started with auto-adjustment set-up for forces and went from there.
I'm configuring the Motion Driver running Shift2 with v-sync with overlay whenever possible.

I'm still using the axis setup build per 'Professional profile making by yokoyoko' and I suppose that shouldn't change, right?

Any suggestions going forward?
Thanks in advance!
thaparser
X-Sim Supporter
 
Posts: 65
Images: 26
Joined: Thu 5. Sep 2013, 17:00
Location: GL, RO
Has thanked: 5 times
Been thanked: 13 times

Re: NFS Shift 2 with graphic driver

Postby thaparser » Thu 2. Jan 2014, 18:36

Tried a new buffer (23) with 'reverse search' enabled and this gives me more stable values and also jitter is alot less present and filter strength is 30.
I must say, even if the car is not moving, there are some low value changes reported on position XYZ but I guess that's normal as the car still slides very little (not completely still).
Now I get these for speed 2418 and these for accel 2417
Feeling of the motion is close to what's expected but feels somewhat delayed. Also, due to jitter, I sometimes get some extra shakes from the sim.
thaparser
X-Sim Supporter
 
Posts: 65
Images: 26
Joined: Thu 5. Sep 2013, 17:00
Location: GL, RO
Has thanked: 5 times
Been thanked: 13 times

Re: NFS Shift 2 with graphic driver

Postby prodigy » Fri 3. Jan 2014, 00:27

have you tried adding 'mean value' filter to smoothen the jitter?
User avatar
prodigy
X-Sim Supporter
 
Posts: 274
Images: 42
Joined: Tue 16. Oct 2012, 12:32
Location: Pula, Croatia
Has thanked: 20 times
Been thanked: 22 times

Re: NFS Shift 2 with graphic driver

Postby thaparser » Fri 3. Jan 2014, 10:31

prodigy wrote:have you tried adding 'mean value' filter to smoothen the jitter?

what do you recommend? should I use 'mean filter' for speed and accel?
I'll try both alternatively and see what I get, thanks!
thaparser
X-Sim Supporter
 
Posts: 65
Images: 26
Joined: Thu 5. Sep 2013, 17:00
Location: GL, RO
Has thanked: 5 times
Been thanked: 13 times

Re: NFS Shift 2 with graphic driver

Postby sirnoname » Fri 3. Jan 2014, 16:22

Use the median filter in the graphic driver, it will drop the errors.
In the converter there must be a good signal.
If a answer is correct or did help you for a solution, please use the solve button.
User avatar
sirnoname
Site Admin
 
Posts: 1829
Images: 45
Joined: Thu 1. Sep 2011, 22:02
Location: Munich, Germany
Has thanked: 35 times
Been thanked: 128 times

Re: NFS Shift 2 with graphic driver

Postby thaparser » Sat 4. Jan 2014, 13:23

hmm.. still no luck.
I've tried several changes one-by-one and it doesn't look like I'm moving into the right direction.

what should be the approach? try to get a smooth speed graph first then try to get a proper accel graph? if I'm changing both filters I'm not getting anywhere.
I manage to get a smooth speed graph but not a proper accel graph.

what should the filter strength be? in my tests, the speed graph can only be smooth enough if I use a filter strength of 30 and a factor of 1.
is this speed value used to compute the acceleration afterwards or is the accel computed from raw graphic driver values independently of the filtered speed values?
if the accel is computed from raw driver values then it means I need to tweak the accel filter independently.
remember, the converter axis uses extractor input 25 for lateral and 27 for accel/brake. is this right?

can anybody share their gfx motion driver settings for shift2 please or is this unique to an user?
help!? thanks!

ps: prodigy and sirnoname, when you recommend using a certain filter, do you mean for speed or accel?
thaparser
X-Sim Supporter
 
Posts: 65
Images: 26
Joined: Thu 5. Sep 2013, 17:00
Location: GL, RO
Has thanked: 5 times
Been thanked: 13 times

Re: NFS Shift 2 with graphic driver

Postby prodigy » Sat 4. Jan 2014, 16:19

The one where you have strong jitter all the time, lots od spikes.
User avatar
prodigy
X-Sim Supporter
 
Posts: 274
Images: 42
Joined: Tue 16. Oct 2012, 12:32
Location: Pula, Croatia
Has thanked: 20 times
Been thanked: 22 times

Re: NFS Shift 2 with graphic driver

Postby thaparser » Sat 4. Jan 2014, 17:42

Thanks prodigy!

So in order to get the proper feeling, I need to first get smooth graphs.
Do I need to change the axis setup to use different extractor inputs or should the default 25 for lateral and 27 for accel/brake work?

One last thing, how's the motion feeling while using the graphics driver? Should we expect to feel the roll efect while cornering and the pitch effect on acceleration and braking?

Thanks again!
thaparser
X-Sim Supporter
 
Posts: 65
Images: 26
Joined: Thu 5. Sep 2013, 17:00
Location: GL, RO
Has thanked: 5 times
Been thanked: 13 times


Return to Extractor questions

Who is online

Users browsing this forum: No registered users and 2 guests