Installation

How to install P2 Engine?

After you have received a license for P2 Engine, you will need to perform the following steps to start using P2 Engine. 

1. Download

The P2 Engine distribution comes in a zipped folder that can be downloaded from your personal support page at www.protrack.be (username and password required).

2. Installation

Upack the zip archive in a folder of your choice. After extraction, the content should be:

  • P2Engine application (executable in Windows)
  • p2object.lua
  • doc
    • generator.lua
    • init.lua
    • patterson.lua
    • project.lua
    • resource.lua
    • schedule.lua
    • simulation.lua
    • trackinglist.lua
  • demo

Only the executable (P2Engine.exe) is required. The .lua files are LUA scripts that are provided for demonstration purposes. More LUA example files can be downloaded here

P2 Engine is a command line utility and should therefore be run from the command line. In Linux, any shell will do, in Mac OS X, the utility to use is called Terminal, and in Windows, this is called Command Prompt (or "Opdrachtregel" in dutch). 

3. Get license

The final step is requesting a license for your P2 Engine version. When you open P2 Engine for the first time, there will be no valid license file, and you will get a the following message:

No license found. Please contact info@or-as.be for a valid license. You will need this machine code: 1350882215&546067.

As the message clearly indicates, you should send an email to info@or-as.be that includes your computer's machine code (in the example, the machine code is 1350882215&546067). After some days, you should recieve an email containing a download link for your license file. Download this license file using the provided link, and install it on your computer as follows:

  • The file should be placed in the same folder as the P2 Engine executable.
  • Please note that the name of this file should be p2engine.lic, and nothing else!
  • When downloading on Windows, it happens that the file extension is changed automatically (to .txt for instance).  Make sure this is not the case. In some cases, Windows will hide this .txt extension, and users therefore think the license filename has no added extension. Unhide the extension and check whether there is any extension added before you continue.

4. Problems?

Check our FAQ page.