TRACKIR Closed window block solutions 1.38 to 1.45 - Updated 12/08/2022

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

Re: TRACKIR Open/Close window block (possible) solutions.

Post by JHTrucker » April 28th, 2020, 6:08 pm

@BenganJ - ok, so quick press to start motion and another quick press to stop it. Otherwise it'll open fully or close fully.
That's ok i think. So when you press both when half open and let go you can quick press both or just one to stop the motion?
While i'm annoying you... how many seconds does it take to open to ~70%?
Thanks.
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: TRACKIR Open/Close window block (possible) solutions.

Post by BenganJ » April 28th, 2020, 6:18 pm

@JHTrucker

Yes, correct. Quick press will open window fully if not stopped by a quick press of either
buttons, and a new quick press will move the window in that buttons assigned direction.
Pressing both at the same time when half open, nothing happens, but when I release them
it depends of which is released last, the window will go in that direction until stopped or
at end. I would say it takes around 3.5 seconds for window to open 70%! Note, engine must
be running to be able to move them at all!
---------------------------------------------------------------------------------------------------------------------------------------------
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: TRACKIR Open/Close window block (possible) solutions.

Post by JHTrucker » April 28th, 2020, 6:18 pm

@alonzam99 - No you can use just left window button, don't use my windows button settings.
As long as the button you use to open left window is in headtryaw line then only that button will allow you to look out when opening it.
EDIT: use option 2 - just pick a button to unblock and your windows are unaffected.
Open your window with your current buttons and then press and hold the unblock button so you can then move your head outside.
Read this --> How to config to suit your setup: at the bottom of first post.


From the top of my post:
g_cam_block isn't used (can't be used), so no need to set it.
It is what it is, a solution, of sorts, to a problem scs has caused.
If i could make it work exactly as scs make it work for a mouse user then i'd have done that first.
But i can't, perhaps others can? Google it.
But at the end of the day i can only piss with the cock i've got!
Both ATS and ETS2 are 1.36 for me, so i'm trying to fix a problem i don't have.
Last edited by JHTrucker on April 28th, 2020, 7:05 pm, edited 2 times in total.
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: TRACKIR Open/Close window block (possible) solutions.

Post by JHTrucker » April 28th, 2020, 6:43 pm

Option 5 Added
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: TRACKIR Open/Close window block (possible) solutions.

Post by JHTrucker » April 29th, 2020, 5:52 pm

Complete Option 1 first and then add automated timing info.
Note: Drag the bottom right corner of the console over to the left to reduce it's size to make it less distracting! better.

Right, here we go, option 1 with automated timing works but has an issue for me.
When driving and the console auto pops up (for a split second to do the "c_et_head x" change) my gears go to neutral and start grinding, i press and release the clutch to stop that and it jumps back into gear. I use H pattern stick.
Fixed: Set "shifter layout behavior" to "simple + warning sounds" instead of "advanced".

The following is based on the first post option 1 automated sequence description and not for the faint hearted.

Here is what you need for Logitech profiler software V5.10.127 with my G27 wheel, should anyone actually want to test this.

First EXPORT current profile and saveas ATS/ETS2 MASTER.xml so you can import later to get your original settings back.
Assuming you have no assigned commands already.
Edit - Assignments - Commands - New - name it TEST
Record - press SPACE BAR - STOP - OK - OK.
You now have a command called TEST that presses the space bar, so we can quickly see it when editing.
EXPORT profile again and saveas ATS/ETS2 TEST.xml
Open this new profile with notepad. Here is what mine looks like, yours will be similar, but not totally the same, except the highlighted bit we're going to replace:

<?xml version="1.0" encoding="utf-8"?>
<GameProfile xmlns="http://www.logitech.com/schemas/2009/ga ... "><Profile GUID="{E42F9C9E-FEB2-48E1-8ED8-72BF41FDAA89}" Publisher="Custom User Profile" Author="John" Revision="76:29/04/2020" Installed="false"><Name>ATS</Name><Signature Key="" Value="" Shortcut="" /><Target IconIndex="0"><Name>amtrucks.exe</Name></Target><Macros><Command Id="1" Name="Mouse Left Button"><Event Type="Mouse" DeltaX="0" DeltaY="0" Mask="1" /></Command><Command Id="2" Name="Mouse Middle Button"><Event Type="Mouse" DeltaX="0" DeltaY="0" Mask="4" /></Command><Command Id="3" Name="Mouse Right Button"><Event Type="Mouse" DeltaX="0" DeltaY="0" Mask="2" /></Command><Command Id="4" Name="test"><Event Type="Key" Keyname="SPACEBAR" Up="false" /><Event Type="Pause" Time="78" /><Event Type="Key" Keyname="SPACEBAR" Up="true" /></Command></Macros><Assignments DeviceModel="57"><Mapping><Source Type="Axis" ID="0" /><Destination Type="Axis" ID="1" /></Mapping><Mapping><Source Type="Axis" ID="2" /><Destination Type="Axis" ID="4" /></Mapping><Mapping><Source Type="Axis" ID="3" /><Destination Type="Axis" ID="8" /></Mapping></Assignments><Assignments DeviceModel="45"><Mapping><Source Type="Axis" ID="0" /><Destination Type="Axis" ID="1" /></Mapping><Mapping><Source Type="Axis" ID="1" /><Destination Type="Axis" ID="2" /></Mapping><Mapping><Source Type="Axis" ID="2" /><Destination Type="Axis" ID="4" /></Mapping></Assignments><Assignments DeviceModel="43"><Mapping><Source Type="Axis" ID="0" /><Destination Type="Axis" ID="1" /></Mapping><Mapping><Source Type="Axis" ID="2" /><Destination Type="Axis" ID="4" /></Mapping><Mapping><Source Type="Axis" ID="3" /><Destination Type="Axis" ID="8" /></Mapping></Assignments><DeviceSpecialOptions><SpecialOptions DeviceModel="57"><ForceOptions Enable="true" OverallAttenuation="100" SpringAttenuation="100" DamperAttenuation="100" DefaultSpringEnabled="true" DefaultSpringAttenuation="100" /><WheelOptions Enable="true" CombinePedals="false" OperatingRange="900" /><GameOptions Enable="true" AllowGameSettings="true" /></SpecialOptions></DeviceSpecialOptions></Profile></GameProfile>

We now need to copy the below text and paste over that highlighted part of your exported file to add the 2 new commands, "open window" and "close window".

Name="Open Window"><Event Type="Key" Keyname="DOWN" Up="false" /><Event Type="Pause" Time="66" /><Event Type="Key" Keyname="DOWN" Up="true" /><Event Type="Pause" Time="3000" /><Event Type="Key" Keyname="DOWN" Up="false" /><Event Type="Pause" Time="66" /><Event Type="Key" Keyname="DOWN" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="TILDE" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="TILDE" Up="true" /><Event Type="Pause" Time="99" /><Event Type="Key" Keyname="C" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="C" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="LSHIFT" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="MINUS" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="MINUS" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="LSHIFT" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="E" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="E" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="T" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="T" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="LSHIFT" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="MINUS" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="MINUS" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="LSHIFT" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="H" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="H" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="E" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="E" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="A" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="A" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="D" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="D" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="SPACEBAR" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="SPACEBAR" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="1" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="1" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="ENTER" Up="false" /><Event Type="Pause" Time="25" /><Event Type="Key" Keyname="ENTER" Up="true" /><Event Type="Pause" Time="300" /><Event Type="Key" Keyname="TILDE" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="TILDE" Up="true" /><Event Type="Pause" Time="1"/></Command><Command Id="5" Name="Close window"><Event Type="Key" Keyname="TILDE" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="TILDE" Up="true" /><Event Type="Pause" Time="99" /><Event Type="Key" Keyname="C" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="C" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="LSHIFT" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="MINUS" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="MINUS" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="LSHIFT" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="E" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="E" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="T" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="T" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="LSHIFT" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="MINUS" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="MINUS" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="LSHIFT" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="H" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="H" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="E" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="E" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="A" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="A" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="D" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="D" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="SPACEBAR" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="SPACEBAR" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="0" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="0" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="ENTER" Up="false" /><Event Type="Pause" Time="25" /><Event Type="Key" Keyname="ENTER" Up="true" /><Event Type="Pause" Time="300" /><Event Type="Key" Keyname="TILDE" Up="false" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="TILDE" Up="true" /><Event Type="Pause" Time="1" /><Event Type="Key" Keyname="UP" Up="false" /><Event Type="Pause" Time="66" /><Event Type="Key" Keyname="UP" Up="true" /><Event Type="Pause" Time="3000" /><Event Type="Key" Keyname="UP" Up="false" /><Event Type="Pause" Time="66" /><Event Type="Key" Keyname="UP" Up="true" /><Event Type="Pause" Time="1"

Close and save.

NOTE: Once you've pasted the open/close commands into your test.xml file you can view it, using xml viewer/internet explorer etc and it'll look like the attached pic (pic has old 5555 times, now 3000). If it doesn't look right or just blank then something went wrong with the copy/paste. Try again.
I've also attached my "ATS option 1 timings.xml" for you to look at / compare. Don't just import it as it's not just timings, it's wheel settings i use for ATS, 900, damp/spring etc.


Now simply IMPORT the new TEST file in to logitech profiler overwriting existing profile.
Assign a controller button to "open window" command and "close window" command.

Start up ATS/ETS2 and drive.
Assign in game "window open" to "down arrow" key and "window close" to "up arrow" key, these are set in logitech profile we modded.
Because i'm still on 1.36, i assigned down arrow to horn and up arrow to air horn so i could hear that those keys were being pressed. (Now on 1.37 and it works fine with 3 sec instead of my 4 sec guess).
Press controller button to open window, the window should start opening, after about 3 seconds the console will quick pop up to make the change.
The window is open and you can look out.
Press controller button to close window. The console will quick pop up to make the change to block your head from being trapped
and window will start to close.

You may want to adjust the window opening time to get it to a different % open.
Edit again the ATS/ETS2 TEST.xml file with notepad.
Replace all --> Time="3000" with --> Time="2000" to be quicker for example. Or --> Time="4000" to be slower.
Close and save.
Now simply IMPORT again the new TEST file in to logitech profiler overwriting existing profile.
Start up ATS/ETS2 and drive.
Last edited by JHTrucker on May 10th, 2020, 7:27 pm, edited 9 times in total.
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
alonzam99
Posts: 100
Joined: April 17th, 2020, 2:47 pm

Re: TRACKIR Open/Close window block (possible) solutions.

Post by alonzam99 » April 29th, 2020, 8:44 pm

what is the clsosed option method to g_cam_window_block ?
BTW - I saw someone in the workshop made a mod that also supposed to solve this problem : https://steamcommunity.com/sharedfiles/ ... 2074962513
I still not tried any method
User avatar
JHTrucker
Expert
Posts: 1356
Joined: February 7th, 2020, 3:19 pm
Location: UK

Re: TRACKIR Open/Close window block (possible) solutions.

Post by JHTrucker » April 29th, 2020, 8:59 pm

@alonzam99 - All you do is ask for g-cam-block. Why don't you just try that mod or one of my options - option 2 should be easy enough.
If you don't understand the instructions i've written, then i can't help you.
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: TRACKIR Open/Close window block (possible) solutions.

Post by JHTrucker » April 30th, 2020, 2:01 am

General update to first post to make somethings a bit clearer.
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: TRACKIR Open/Close window block (possible) solutions.

Post by BenganJ » April 30th, 2020, 2:05 am

Nice!
---------------------------------------------------------------------------------------------------------------------------------------------
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: TRACKIR Open/Close window block (possible) solutions.

Post by JHTrucker » April 30th, 2020, 2:10 am

@BenganJ - It's only nice if you were to pick an option (number 1 is for the hardest of hardcore) and add a video to my post!

EDIT: I'm running option 1 on ATS 1.36 and ETS2 1.36 on option 5, just missing window animations for now. But i like them both, so now don't care if scs fix it or not.
Last edited by JHTrucker on April 30th, 2020, 2:16 am, edited 1 time in total.
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
Post Reply