With the introduction of AFV, this repository has been archived.
The VATPAC EuroScope ATIS generator is back with a punch! Providing 100% automatic updates ATIS updates, native desktop notifications, and much more than the previous web based ATIS generator.
EuroScope has the ability to use an external server for METAR and ATIS intrepreting and generating. More info here: http://www.euroscope.hu/mediawiki/index.php?title=Voice_ATIS#External_ATIS_Interpreter
The VATPAC EuroScope ATIS Generator v2 utilises this feature by hosting a (NodeJS) server on the users machine, allowing for the application to act as the METAR and ATIS interpreter.
When EuroScope detects a METAR update, it will send a request to the ATIS Generator with the new METAR and ATIS ID (along with some other controller information), the ATIS generator then decodes the METAR, and takes user input in regards to runway selection, approach type selection, etc. Then compiles a multiple-record ATIS for EuroScope to use. Once the multiple-record ATIS string is generated, the local server responds to EuroScopes request with the raw string of text, which EuroScope then uses as the ATIS to broadcast to the VATSIM network.
Any contributions are apreciated, including those to the data file(s), but all changes to ATIS format must follow the VATPAC ATIS policy and vMATS.
If you wish to contribute your code, clone the repo and run npm i
to get started.
The generator is based on Electron, so you will need NodeJS and ElectronJS installed.
So what do all the files do?
Contails all files required during the build process such as icons.
Contails the CSS files and style related files.
Contains the airports.json
file. This file get's moved to %appdata%/VATPAC
once the installer has been run.
The airport data in JSON form.
The interesting stuff! Contains all the JS files used to make the ATIS Generator work.
Handels the main ATIS generation process.
Handels the aerodrome contact methods for the ATIS such as who to contact on the ground and once the ATIS has been received by the pilot.
Simple file for managing the system notifications.
Simple file for managing the local server.
Simple file for the titlebar buttons (Close and move).
For handeling and managing UI changes.
Utility methods and functions to save clutter in other files.
Inno installation script. Will output the installer file to a directiory called Output
.
This must not be synced to GitHub.
Batch script that runs npm run build-windows
.
Just a shortcut to build the application with electron-packager.
Will output to a directory called dist
.
This must not be synced to GitHub.
Self explanitory.
Main Electron script.
Self explanitory.
Electron rendering thing.
Batch script that runs npm start
.
Just a shortcut to start the Electron application.