View Full Version : Updated TNI SDK (Trainz build 91310)

December 11th, 2017, 07:43 PM
The updated TNI SDK for the latest TrainzDev builds has arrived, and can be downloaded here:

http://dl1.n3vgames.com/misc/TNISample_91310.zip (http://dl1.n3vgames.com/misc/TNISample_91310.zip)

This should allow development with the new TNISocket and TNIControls interfaces in the latest provided builds. Below are links to the relevant wiki pages and Google docs describing the API specs. Note that there has been a number of changes to TNISocket since the overview doc was first provided.


API Spec (https://docs.google.com/document/d/1QvUmBXA9BI-AfgavTTKXyxoVJ7xQtACrryxfB5CBFgg) (https://docs.google.com/document/d/1QvUmBXA9BI-AfgavTTKXyxoVJ7xQtACrryxfB5CBFgg)
Wiki - TNIControls (http://online.ts2009.com/mediaWiki/index.php/TNI_Controls_Interface) (http://online.ts2009.com/mediaWiki/index.php/TNI_Controls_Interface)
Wiki - tni-controls-plugin asset (http://online.ts2009.com/mediaWiki/index.php/KIND_tni-controls-plugin) (http://online.ts2009.com/mediaWiki/index.php/KIND_tni-controls-plugin)


API Spec (https://docs.google.com/document/d/1JNeVSiLLaeVtR20Sp80iDJxLDoF0Bbtant5NIw3tOJs) (https://docs.google.com/document/d/1JNeVSiLLaeVtR20Sp80iDJxLDoF0Bbtant5NIw3tOJs)
Wiki - TNISocket (http://online.ts2009.com/mediaWiki/index.php/TNI_Socket_Interface) (http://online.ts2009.com/mediaWiki/index.php/TNI_Socket_Interface)

If you have any questions, comments or bug reports, please post them on this thread. Comments can also be made on the Google documents where clarification is needed.

Terry Palmer
N3V Games

January 3rd, 2018, 01:39 AM
Hi all,

Just checking in to make sure that you've been able to grab the build and SDK updates, and (as far as you've used the new APIs) things are working for you.



January 6th, 2018, 11:24 AM

I had a look at the doc of the new SDK before holidays, but I don't have used the new APIs yet.
I'll start working on this during next week, and will report what I'm able or not to do.


March 29th, 2018, 01:52 AM

I'm now using TNI with the lastest SP2 beta insteed of the dev build, and my TNI plugin is working well.
I'm able to make Trainz connect via ethernet to a Raspberry Pi that display a real train DMI, and that send datas about hardware controllers.