One way to get Trackir 5 to work with Prepar3D

Post Reply
AdamFrench
Posts: 4
Joined: Sun Jun 24, 2012 5:02 pm

One way to get Trackir 5 to work with Prepar3D

Post by AdamFrench »

Prepar3D works fine with TIR5 with this change. You don't need to buy extra software.

Get a dll editor.
(Again, back up both the FSX and Prepar3D language.dll files)
Open the language.dll files of FSX and Prepar3D in separate windows
In the FSX language.dll, from the String Table 1 thing copy the stuff in the 1033 thing that looks like this and paste it / overwrite it in the corresponding section of the Prepar3D language.dll

STRINGTABLE
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
{
1, "00000409"
2, "Microsoft Flight Simulator X"
3, "Microsoft Flight Simulator"
4, "Copyright 1983-2007, Microsoft Corp"
5, "About Flight Simulator"
6, "Your computer does not have enough memory available to run Flight Simulator. The program will now exit."
7, "Your computer is low on available memory. Some Flight Simulator features may be unavailable or work incorrectly.\nDo you wish to continue running Flight Simulator?"
8, "Your computer has run out of available memory. Please restart Flight Simulator and select different graphics, scenery, or traffic settings."
9, "The 'Scenery.cfg' file is missing or damaged. Please reinstall Flight Simulator to restore or repair the file. Flight Simulator will now exit."
10, "The 'Dem4km.bgl' file is missing or damaged. Please reinstall Flight Simulator to restore or repair the file. Flight Simulator will now exit."
11, "The 'Seasons.bgl' file is missing or damaged. Please reinstall Flight Simulator to restore or repair the file. Flight Simulator will now exit."
12, "The 'Lclookup.bgl' file is missing or damaged. Please reinstall Flight Simulator to restore or repair the file. Flight Simulator will now exit."
13, "The 'worldlc.bgl' file is missing or damaged. Please reinstall Flight Simulator to restore or repair the file. Flight Simulator will now exit."
14, "Your computer does not have enough disk space available to run Flight Simulator. The program will now exit."
15, "Microsoft(R) Flight Simulator is already running."
}
You need to save it, there maybe even an extra step to saving.

I'm not sure if you need to do all of that. I bet someone really smart could tell you to do far less. At the very least it gets trackir 5 working and I've not had any problems. If I do I can revert to the backup dll. I have a few other things I have on my system which may vary from your setup.

I tested it and it works. Here is what I think is happening. There is a list of supported games in a Trackir file. Right now that file probably says to look for something like Microsoft Flight Simulator X. As we know, a lot of problems are about a simple name change or a directory. This dll change tells Trackir 5 that the sim is FSX where as before it was finding prepar3D and not accepting it. Trackir says they do not have an editable file with the list of supported games. All that really needed to happen was for Trackir to hook up to Prepar3D and the only difference I can see here is a name.

If Trackir would look at the Prepar3D language dll and use that stuff in the 1033 thing for the trackir file maybe they can issue an update and the dll change would not be required.
AdamFrench
Posts: 4
Joined: Sun Jun 24, 2012 5:02 pm

Re: One way to get Trackir 5 to work with Prepar3D

Post by AdamFrench »

Only lines 2 & 3 need to change

2, "Microsoft Flight Simulator X"
3, "Microsoft Flight Simulator"
AdamFrench
Posts: 4
Joined: Sun Jun 24, 2012 5:02 pm

Re: One way to get Trackir 5 to work with Prepar3D

Post by AdamFrench »

UPDATE

Prepar3D works fine with TIR5 with this change. You don't need to buy extra software.
Get a dll editor. Try Resource Hacker.
Back up both the FSX and Prepar3D language.dll files.
Open the language.dll files of FSX and Prepar3D in separate dll editor windows.
In the FSX language.dll, from the String Table 1 copy the code in the 1033 for lines 2 & 3 and paste it / overwrite it in the corresponding section of the Prepar3D language.dll.
Change the code in the Prepared language.dll
2, "Lockheed Martin� Prepar3D�"
3, "Lockheed Martin� Prepar3D�"

to look like the code in the fsx language.dll

2, "Microsoft Flight Simulator X"
3, "Microsoft Flight Simulator"
Save (compile if required).
It gets trackir 5 working. You can revert to the backup dll when you want. This dll change tells Trackir 5 that the sim is FSX where as before it was finding prepar3D and not accepting it.


I have read that only line 2 needs to change but I have not tried that. I have also tried two different dll editors. Resource Hacker was the only one I was able to get working without crashing P3D.
Post Reply