Release Clicker's WARTHOG TARGET Script

Hi @glockinstructor ,

Let's start with...which script have you downloaded and wanting to use?
(Basic script or v5.02 or another?)

Next, assuming you are using Windows 10 or Windows 11 the journal files can usually be found at...

C:\Users\<YOUR-WINDOWS-USER-NAME>\Saved Games\Frontier Developments\Elite Dangerous

I would check there first, just substitute <YOUR-WINDOWS-USER-NAME> for your actual windows username.
If you get stuck, or do not know your windows login name, enter this in the address line of File Explorer...
C:\Users\%username%\Saved Games\Frontier Developments\Elite Dangerous

%username% should resolve to your windows login name.

You should see a bunch of Journal ".log" files and a bunch of ".json" files, one of which is "status.json".

Despite not being confident in editing scripts, all you need to do is use notepad or notepad++ to open the "ED_Usersettings.tmh" file withing the scripts folder and go to lines 58-60.

The current lines show an example of what you need to enter and all you usually need to change is the <username>.

Let me know how you get on.
We can tackle anything else after we get this part sorted.

Clicker
Hi, thnx for your help...

I have downloaded the targetscript 502 main.

I have found the saved games map (strangely it is in the c:\users\info\... map, don't know how Windows thinks that is my user name..??) and have changed "<username>" with "info" .

I have loaded the ED-UserSettings in TARGET (latest version).

When I launch the game I do not see the " Clicker Warthog" to select...
The binding files (from you and Aussiedroid) are copied in the map
C:\Users\Info\AppData\Local\Frontier Developments\Elite Dangerous\Options\Bindings

Do you have an idea what goes wrong?
 
The script is likely still not running if the selection to choose the bind file in the game controller options is not presented.
Please check the console output when you load/compile and run the script to ensure it's not aborting due to not findnig status.json.

Are you also able to clarify what you mean when your say "map"?
Is this referring to a windows folder?

Please copy the entire path name for both the bindings folder and the folder where status.json (and all the journal files) reside on your system.

Many thanks.
 
The script is likely still not running if the selection to choose the bind file in the game controller options is not presented.
Please check the console output when you load/compile and run the script to ensure it's not aborting due to not findnig status.json.

Are you also able to clarify what you mean when your say "map"?
Is this referring to a windows folder?

Please copy the entire path name for both the bindings folder and the folder where status.json (and all the journal files) reside on your system.

Many thanks.
Hi,

I started over with the path you recommended in the guideline.
So I have the folowing paths;
Bindings;
C:\Users\Info\AppData\Local\Frontier Developments\Elite Dangerous\Options\Bindings
Status.json;
C:\Users\Info\Saved Games\Frontier Developments\Elite Dangerous
In the scriptfile the paths are;
alias JournalFolder = "C:\\Users\\Info\\Saved Games\\Frontier Developments\\Elite Dangerous\\";
alias StatusFile = "C:\\Users\\Info\\Saved Games\\Frontier Developments\\Elite Dangerous\\status.json";
alias MaxStatusFile = "C:\\Users\\Info\\Saved Games\\Frontier Developments\\Elite Dangerous\\NewMaxJson.json";

Yes by "maps" I meant Windows folders...
When I load the ED_Usersettings scriptfile in TARGET, I cannot click on "run"
I do see the next line in the space blow the scriptfile
Loaded plugin module "C:\program files (x86)\thrustmaster\target\plugins\sys.dll" (*)

When I launch the game I still cannot see the bindings, except "custom" ... Could that be the one?
 
@glockinstructor,

I have checked the user guide and now understand why you've had some issues...it is not intuitive at all so I'll need to make some changes!!!

You will NEVER see the "Clicker-Warthog-v502" profile (bind file) in game to select if the script is not running.
The "Custom" profile is only for On-Foot (more on that later, below)

Please try the following;

1) Within the TARGET Script editor program, locate and load "ED_Main.tmc"
2) Click compile - this will load all the required files and compile the whole package (15 files in total should appear on the LHS of the script editor window).
3) Check to make sure you get the message "Compile Succeeded" on the console proceed to step 4.
If you do not see "Compile succeeded", copy any error messages and paste into a reply to this post, do not proceed any further

4) Otherwise, click run.

Check the console carefully...
You will/should see (near the top) a bunch of messages like the following;

Currently plugged USB HID devices[3]:
1: "T-Rudder" - "USB\VID_044F&PID_B679&REV_0110"
<<< you will only see this if you have a TFRP Rudder controller connect to your PC
2: "Throttle - HOTAS Warthog" - "USB\VID_044F&PID_0404&REV_0100" <<< These are a MUST
3: "Joystick - HOTAS Warthog" - "USB\VID_044F&PID_0402&REV_0100" <<< These are a MUST
USB HID device "Throttle - HOTAS Warthog"(USB\VID_044F&PID_0404\7&39F7723&0&4) selected <<< These are a MUST
USB HID device "Joystick - HOTAS Warthog"(USB\VID_044F&PID_0402\6&2D7985E3&0&1) selected <<< These are a MUST
USB HID device with hardware id "VID_044F&PID_0403" cannot be found <<< These messages are expected and all fine.
USB HID device "T-Rudder"(USB\VID_044F&PID_B679\7&39F7723&0&1) selected <<< you will only see this if you have a TFRP Rudder controller
USB HID device with hardware id "VID_044F&PID_B68F" cannot be found <<< These messages are expected and all fine.
USB HID device with hardware id "VID_044F&PID_0415" cannot be found <<< These messages are expected and all fine.
USB HID device with hardware id "VID_044F&PID_0414" cannot be found <<< These messages are expected and all fine.
Virtual HID devices managed by script!
Connecting virtual joystick...Done
Device name set to Thrustmaster Combined
Connecting virtual keyboard...Done
Connecting virtual mouse (absolute axes)...Done


The next few lines should look like this...

++ Connected joystick is WARTHOG Base + F16 Flight stick.
++ Connected throttle is WARTHOG Replica A-10C Throttle
++ Connected rudder is TFRPRudder


Until you get the script and the game running properly, you will also get the following message on the console;

++ Load MyStates from file...

!!! Non-Fatal Error opening file to read: C:\Thrustmaster\ED_TargetScript_Warthog\SupportFiles\MyWarthogStatusFile.json
This can happen if the file does not exist or is missing array elements


...this is also ok.

The very last line on the console should be "main returned 0" ... this means the script is running and waiting for the game itself to load. Proceed to step 5.

If the script encounters a compile error, runtime error or abort, this usually means the script is not running.
If this is the case, copy and paste the entire console output into a reply to this post, do not proceed any further

5) Assuming the script has compiled and is running fine then (and only then), run Elite Dangerous.

The "Clicker-Warthog-v502" profile (bind file) should now be visible to select in controller options within the game.
Select this profile for general, ship and SRV.
Select the "Custom" profile for On-Foot - On-Foot is controlled by keyboard and mouse.
If you got this far, then you're good to go.

Clicker
 
Last edited:
I've now created a "\SupportFiles" subfolder and included a sample MyWarthogStatusFile.json.

This can be downloaded seperately from githib saving you from having to download the whole package again.

This file is where I save and restore script variables that are not covered by status.json Flags and Flags2 keys.

Clicker

p.s. this is not a json formatted file! But will be in a future release.
NOT best practice, I know
 
Last edited:
I've also updated the User Guide and it will now hopefully be more user friendly, especially when starting out!

It can be found in this script's repository on Github and I've included the link here as well.

AS always any/all feedback is certainly welcome.

Clicker
 
Last edited:
BUG FIX: ED_Macros.tmh - Macros for DeploySRV and BoardShip should now work properly

Quite a few things have changed in game since I released this script back in 2020 (the above bug is one example).
Until I release the next version, if you find anything which does not work, please post in this thread and I'll continue to support this version.

Clicker
 
Last edited:
Hi,

Sorry for the delay, trouble at work, so not much time to spent.
But the script is running (I do need to learn the controls again though), so thanx for that...

I have HCS/Voice Attack running with a few speechpacks, but I noticed the commands ar not corersponding to the game.
Could it be that I have to alter the script to make HCS/Voice Attack working correctly?
I noticed there are some lines in the script regarding voice(s)??

Thnx for your trouble...
 
Hi @glockinstructor ,

Glad to hear you got the script running.

If you are using HCS Voicepacks, then one of the things you MUST do is to ensure it can read your BIND files.
You should be getting "keybinds" error message of some sort via HCSVoicepack/VA...it will display on screen what you need to do.
HCSVoicePack then maps it's voice commands to the same binds used by the script.
If there are any missing binds it needs....it will let you know. You will need to go create these yourself.
Be very careful you do not accidentally map different critical actions to the same keybind.

I'm not saying they won't work together, but you may experience problems.

Regarding my script and the voices...
My script takes script generated, context based text and converts it to voice.
VA does the exact opposite, it takes your voice and converts to text.

My script uses the WARTHOG controller to send keystrokes to the game.
VA uses your voice as a controller to send keystrokes to the game.

My script and VoiceAttack are completely separate.
Neither knows what the other is doing....2 separate controller scripts ... but NOT working together.

It would pay to join the HCS Voicepack discord (https://discord.gg/pz8EJS8A) if you have not already joined.
Any issues with HCS Voicepacks can be sorted via the discord. They have a lot of passionate and clever people on there.
They will not however, be able to assist with TARGET script issues.

Any issues with my script, continue to post here.

Hope this makes sense.

Clicker
 
Last edited:
Back
Top Bottom