https://github.com/marceickhoff/train-controller
Node.js app that provides a touch interface for tablet devices that allows to remotely control trains in Train Simulator 2019.
https://github.com/marceickhoff/train-controller
Last synced: 8 months ago
JSON representation
Node.js app that provides a touch interface for tablet devices that allows to remotely control trains in Train Simulator 2019.
- Host: GitHub
- URL: https://github.com/marceickhoff/train-controller
- Owner: marceickhoff
- Created: 2019-09-05T18:14:28.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T06:02:37.000Z (over 3 years ago)
- Last Synced: 2025-06-01T16:40:30.618Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 190 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Train Controller
This Node.js app allows you to control locomotives in Train Simulator 2019 using your tablet or smartphone device as a remote. It utilizes the [TS4J Train Simulator Java Interface](https://github.com/marvk/ts4j) by [marvk](https://github.com/marvk) to allow communication between the Node server and the TS2019 application.
*Work in progress.*
## Setup
1. Download and build the [TS4J Train Simulator Java Interface](https://github.com/marvk/ts4j).
2. Move the resulting ``.jar`` file into the Train Controller root directory.
2. Run ``npm install``
3. Open ``config.json`` and make sure the path to your Train Simulator 2019 installation and the name/location of the ``ts4j.jar`` is correct
3. Run ``npm start``
4. Go to [http://localhost:3000](http://localhost:3000)
6. Launch Train Simulator 2019
7. Control your train!
## Control Panels
Since different locos have different controls, you need a matching controller for each loco. This is especially true since the internal naming and handling of buttons and levers may vary from loco to loco.
This is a list of locos with pre-built control panels:
* *Work in progress.*
### Create your own Control Panels
There probably no pre-built control panel for your favourite loco. But with a bit of JavaScript, HTML and CSS knowledge, you can create your own control panels to match the controls of your loco. Here is how:
*Work in progress.*