*.tko file inside duet modules
tombadger
Posts: 22
Hi,
I have looked into / decompiled several duet modules and each of them contains Netlinx *.tko file.
What is the role of this file ?
I have looked into / decompiled several duet modules and each of them contains Netlinx *.tko file.
What is the role of this file ?
0
Comments
Decompiling is frwoned upon, just so you know.
I'm Netlinx programmer and I know what it *.tko file, but was surprised to find it within duet modules.
So you are saying those *.tko files just contains DEFINE_DEVICE and DEFINE_MODULE sections ?
Opening *.jar files is supported either in Eclipse or IDEA.
Since code is not scrambled or obfuscated, it's nice to see how everything is working under the hood.
BTW, NetLinxPracticalExamEmulator.jar is fun to look in
The TKO file inside a duet module is the NetLinx stub code for loading the Duet Module. The Runtime engine extracts it from the .jar file and runs that code.
The NetLinx stub code does not really change much, just the propeties array.
Thank you for explanation. Could you send me blank utility duet module compiled and packed to *.jar ?