Board index FlightGear Support Tools ATC-pie

ATC-Pie batch launcher for Windows

ATC-pie is a radar air traffic control simulation program for the FlightGear multi-player network.

ATC-Pie batch launcher for Windows

Postby Octal450 » Sun Oct 30, 2016 8:00 pm

Hello, here is how to run ATC-Pie on Windows based PCs.

Tested on ATC-Pie 0.9.3 and 0.9.4 (dev branch)

This is an easy way to launch ATC-Pie on a Windows based PC.

The following systems will work:
Windows XP (Service Pack 2 or later)
Windows Vista
Windows 7
Windows 8
Windows 8.1
Windows 10

Installation and Use:

Copy ATC-pie.bat and LaunchConfig.ini to ATC-pie folder.

You need WinPython with QT5 for this to work. The best version to use is 3.4.4.1, which can be downloaded here:
x86 (32bit): https://sourceforge.net/projects/winpyt ... e/download
x64 (64bit): https://sourceforge.net/projects/winpyt ... e/download

Install it to any directory you like, but make note of this directory!

Open ATC-pie.bat
Select option 3 "WinPython Directory" and press Enter.
Select option 2 "Change WinPython Directory" and press Enter.
Type (or paste) in the directory which you installed WinPython and press Enter.
Select option 1 "Back to Main Menu" and press Enter.

Setup is complete!!!

To launch at an airport:
Open ATC-pie.bat
Select option 1 "Launch at an airport (ICAO)" and press Enter.
Type the ICAO code of the airport you wish to launch at and press Enter. (ex: EHAM)

To launch with other modes or arguments:
Open ATC-pie.bat
Select option 2 "Enter arguments" and press Enter.
Type the arguments you wish to use, and press Enter. Do not include ATC-pie.py. Only include arguments. (ex: EHAM --map-range=150)

I may add native support for more options later.
If you have problems, you can report them here on this thread.

I am working with Micky to keep this working on the latest versions of ATC-pie.

Enjoy!
Josh
Last edited by Octal450 on Thu Feb 15, 2024 8:41 am, edited 1 time in total.
Skillset: JSBsim Flight Dynamics, Systems, Canvas, Autoflight/Control, Instrumentation, Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|Octal450 Hangar Dev Discord
User avatar
Octal450
 
Posts: 5583
Joined: Tue Oct 06, 2015 1:51 pm
Location: Huntsville, AL
Callsign: WTF411
Version: next
OS: Windows 11

Re: ATC-Pie batch launcher for Windows

Postby oscar6662 » Sun Oct 30, 2016 11:47 pm

Thanks. A cool implementation that did a friend of mine is:

Code: Select all
@echo off
set /p var= Airport:
cd ATC PIE DIRECTORY
PythonDIRECTORY\Python.exe ATC-pie.py %var%


It basicly asks you for the airport when double clicking
Todo bien todo correcto? Y yo que me alegro!!!
#keepKSFO

Sir. Berenguer
oscar6662
 
Posts: 117
Joined: Thu Nov 05, 2015 6:52 pm
Callsign: AA2234
IRC name: N/A
Version: 3.4.0.
OS: windiws.7.pro.

Re: ATC-Pie batch launcher for Windows

Postby Octal450 » Mon Oct 31, 2016 2:41 am

Mine is more advanced :D

And I have support for launching in Custom arguments, and future center modes.

Plus, mine remembers the Python Directory by saving it in a ini file. And WinPython already has PYQT5 installed.
Skillset: JSBsim Flight Dynamics, Systems, Canvas, Autoflight/Control, Instrumentation, Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|Octal450 Hangar Dev Discord
User avatar
Octal450
 
Posts: 5583
Joined: Tue Oct 06, 2015 1:51 pm
Location: Huntsville, AL
Callsign: WTF411
Version: next
OS: Windows 11

Re: ATC-Pie batch launcher for Windows

Postby Parnikkapore » Sat Nov 26, 2016 10:14 am

I've ported this to Bash, so it would work with Linux and Mac OS!
Full code below:
Code: Select all
#! /bin/bash
cd YOUR_ATCPIE_DIRECTORY
#Update ATC-pie
clear
echo "---Updating ATC-pie---"
git pull
echo "--Enter to continue--"
read
clear
echo "ATC-Pie Launcher bash port by Parnikkapore (V1.0)"
echo "Main Menu"
echo "1) Launch at an airport"
echo "2) Enter arguments"
echo "e) Exit"
read mmenu
#******************#
case $mmenu in
   1|AD|TW|TWR|APT)
      echo "Please pick an airport"
      read AD
      clear
      python3 ./ATC-pie.py `echo $AD`
      ;;
   e)
      exit;;
   2|*)
      echo -n "Enter the arguments (Do not include ATC-pie.py): "
      read ops
      clear
      python3 ./ATC-pie.py `echo $ops`
      ;;

esac

Change YOUR_ATCPIE_DIRECTORY to where you installed ATC-pie. This will let you use the launcher in menus.
NOTE THAT THIS ASSUMES YOU HAVE DOWNLOADED ATC-PIE VIA GIT! If this is not the case, remove the "git pull".
There are free alternatives to (almost) every program you encounter. You just have to find them.
Parnikkapore
 
Posts: 929
Joined: Thu Oct 29, 2015 11:16 am
Callsign: HS-FGS
Version: next
OS: Kubuntu

Re: ATC-Pie batch launcher for Windows

Postby mickybadia » Tue Dec 06, 2016 11:00 pm

Hi,
I am afraid the new launcher will make those efforts obsolete, but I thank you for your contributions.
Hopefully users will now all find an easy way in.
Michael
mickybadia
 
Posts: 475
Joined: Tue Sep 24, 2013 10:12 am

Re: ATC-Pie batch launcher for Windows

Postby Parnikkapore » Wed Dec 07, 2016 12:15 am

Whoa, real thanks micky!
However, my launcher also does auto-update from Git, so I'll keep it in.
There are free alternatives to (almost) every program you encounter. You just have to find them.
Parnikkapore
 
Posts: 929
Joined: Thu Oct 29, 2015 11:16 am
Callsign: HS-FGS
Version: next
OS: Kubuntu

Re: ATC-Pie batch launcher for Windows

Postby Octal450 » Wed Dec 07, 2016 4:31 am

The git-pull is very useful.
Sadly I have no way to do that windows.

Nice job porting it to bash!
It's easier, since python3 is installed to the system, so none of that directory defining stuff. :D

I'd like to see this new launcher!

Josh
Skillset: JSBsim Flight Dynamics, Systems, Canvas, Autoflight/Control, Instrumentation, Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|Octal450 Hangar Dev Discord
User avatar
Octal450
 
Posts: 5583
Joined: Tue Oct 06, 2015 1:51 pm
Location: Huntsville, AL
Callsign: WTF411
Version: next
OS: Windows 11

Re: ATC-Pie batch launcher for Windows

Postby elgaton » Wed Dec 07, 2016 9:23 pm

it0uchpods wrote in Wed Dec 07, 2016 4:31 am:Sadly I have no way to do that windows.

Just install Git for Windows and you should be set ;)
NIATCA 2nd admin, regular ATC at LIPX and creator of the LIPX custom scenery
elgaton
 
Posts: 1106
Joined: Tue Mar 19, 2013 5:58 pm
Callsign: I-ELGA/LIPX_TW
Version: Git
OS: Windows + Arch Linux

Re: ATC-Pie batch launcher for Windows

Postby Parnikkapore » Thu Dec 08, 2016 1:01 am

If you choose Git for Windows, you must pick "use git in command prompt".
There are free alternatives to (almost) every program you encounter. You just have to find them.
Parnikkapore
 
Posts: 929
Joined: Thu Oct 29, 2015 11:16 am
Callsign: HS-FGS
Version: next
OS: Kubuntu

Re: ATC-Pie batch launcher for Windows

Postby Octal450 » Thu Dec 08, 2016 7:54 pm

I use git bash
I like the linux terminal more than windows, so I like being able to use the ls command etc.
Skillset: JSBsim Flight Dynamics, Systems, Canvas, Autoflight/Control, Instrumentation, Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|Octal450 Hangar Dev Discord
User avatar
Octal450
 
Posts: 5583
Joined: Tue Oct 06, 2015 1:51 pm
Location: Huntsville, AL
Callsign: WTF411
Version: next
OS: Windows 11

Re: ATC-Pie batch launcher for Windows

Postby Octal450 » Thu Dec 08, 2016 7:58 pm

Micky, a dumbed down version of this may still be useful for Windows users, as the launcher is Python correct?

WinPython plus a simple script is still a good idea, if you want to get it running on Windows in the quickest way possible.
Skillset: JSBsim Flight Dynamics, Systems, Canvas, Autoflight/Control, Instrumentation, Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|Octal450 Hangar Dev Discord
User avatar
Octal450
 
Posts: 5583
Joined: Tue Oct 06, 2015 1:51 pm
Location: Huntsville, AL
Callsign: WTF411
Version: next
OS: Windows 11


Return to ATC-pie

Who is online

Users browsing this forum: No registered users and 2 guests