[DX11] Help regarding Nvidia Profile Inspector (NPI)

Make your game even better
User avatar
JHTrucker
Expert
Posts: 1356
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by JHTrucker » April 11th, 2020, 1:25 am

@BenganJ - Ok, i'll shut up about it until i can actually try it with my trackir3. But i've only seen posts in the beta thread talking mouse only but could have missed it as most posts are off topic in there anyway... how do scs get feedback on their new sound engine when people just use sound mods, with the beta!!!? Talking of off topic, sorry again.
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR Driving Enhancements: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
User avatar
BenganJ
Moderator
Posts: 9589
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by BenganJ » April 11th, 2020, 2:22 am

@JHTrucker

I actually inserted your code in my Peterbilt 389 interior_peterbilt_389.sii, but
then the game crashed. So, if that conditionally based code is allowed in those
files, it should look different.
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
JHTrucker
Expert
Posts: 1356
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by JHTrucker » April 11th, 2020, 2:14 pm

@BenganJ - Aha... My code wasn't fully complete...
I used "right1" just to give short example.
If g_cam_window_block="1" and driver_window<>"down" Then goto right1
"right1" doesn't exist so code has no where to go.

My actual code would be (example only):
If g_cam_window_block="1" and driver_window<>"down" Then goto _nameless.interior.kenworth.w900.right1

What did the game.log state?
interior_kenworth_w900.sii malformed file format / mismatched variable name in line xx?

of course "driver_window" (best guess at variable name) may be 0 to 1 rather than "up" and "down".
So assuming 0=closed and 1=open.
If g_cam_window_block="1" and driver_window<>"1" Then goto _nameless.interior.kenworth.w900.right1

Anyway, did you test reshade as per your post yesterday?
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR Driving Enhancements: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
User avatar
BenganJ
Moderator
Posts: 9589
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by BenganJ » April 11th, 2020, 2:29 pm

@JHTrucker

Okay, so in some sense you're guessing here, but that's OK! Without guessing and
testing, this society wouldn't have come longer than the stoneage! :lol: :lol: :lol:

Let me do some more tests when the time allow. I ran other tests after the one that
did crash, so I can't give you now the error message, but you'll get it later!

No, there's been so many new map releases and support cases here now lately, so
I haven't got time to test ReShade and as I further more am not dependent on it any
more for Smart_Sharp it isn't high priority either! ;)
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
JHTrucker
Expert
Posts: 1356
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by JHTrucker » April 11th, 2020, 2:37 pm

@BenganJ - No need to test anymore with "my code".

I actually deleted all associated code for left4 and left5 and i still had the same look back movement but instead of being outside looking back i was inside.
So the code moves your head location then trackir code, somewhere, allows full rotation.
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR Driving Enhancements: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
User avatar
BenganJ
Moderator
Posts: 9589
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by BenganJ » April 11th, 2020, 2:53 pm

@JHTrucker

Ah, good to know! So, are you suspecting it's in engine code handling TrackIR protocol
that do it or do you think we can find something in the internal filesystem definition
files that defines that last movement?

EDIT: I posted in a relevant topic on the SCS forum about it! Let's see if that testpilot
has an answer later.

https://forum.scssoft.com/viewtopic.php ... 4#p1328734
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
JHTrucker
Expert
Posts: 1356
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by JHTrucker » April 11th, 2020, 3:45 pm

@BenganJ - Movement is simpler than i thought, the mouse and trackir are the same.

In the 389 cam file:
# basic def START
mouse_right_limit: -180
mouse_left_limit: 210 <- change to 100 and you can't turn head any further left, mouse or trackir.
mouse_up_limit: 63
mouse_down_limit: -53

So "my code" would now be:

mouse_right_limit: -180
If g_cam_window_block="1" and driver_window<>"1" then mouse_left_limit: 100 else 210
mouse_up_limit: 63
mouse_down_limit: -53

That's my best guess! nothing more!
But based on that, they already can block mouse so why can't they block trackir?

As i can't play 1.37 I decided to mod my 1.36 cam file for inside view only, so:
I've deleted all left1-5 and right1 & 2.
I now turn my head "on the spot", so no head movement forward/left/right, always inside cab.
Attached test file if interested.

Trackir needs to block, simple as that, let's hope scs does the right thing.
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR Driving Enhancements: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
User avatar
JHTrucker
Expert
Posts: 1356
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by JHTrucker » April 11th, 2020, 4:06 pm

@BenganJ - If you really want to test?? remember, i'm just thinking out loud and guessing stuff.

we don't know "driver_window" is a variable name that can be used. but we do know that g_cam_window_block="1" is.

So to test if code does anything:
If g_cam_window_block="1" then mouse_left_limit: 10 else 210

10 - because game will block anyway but that'll give a slight movement left and block well before scs block, if it works!

change g_cam_window_block="0" and see if full movement is back.
multimon_config.sii files: viewtopic.php?p=17658#p17658
controls.sii edits: viewtopic.php?p=24744#p24744
TrackIR Driving Enhancements: viewtopic.php?p=46613#p46613
Extra Cameras: viewtopic.php?p=46034#p46034
User avatar
BenganJ
Moderator
Posts: 9589
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by BenganJ » April 11th, 2020, 4:09 pm

@JHTrucker

I will test your theory in 1.37 and I got a reply on SCS forum and I also already replied!
Let's see what this will take us! :D

EDIT: Tested by editing all 3 Peterbilt interior cameras, but NO success at all! I told you though
earlier, that I have my profiles controls.sii edited to make the X and Z headmovements work
wider, so that easily can zoom in on left and right mirror and those movements seemed to be
the same, not modified by the code in interior camera file!
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
BenganJ
Moderator
Posts: 9589
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: [DX11] Help regarding Nvidia Profile Inspector (NPI)

Post by BenganJ » April 11th, 2020, 4:10 pm

@JHTrucker

True, so back to the testbed again! :D
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
Post Reply