AgeCompile

From Alcugs

Jump to: navigation, search

Note: Anything extracted from any Plasma Resource Files is property of Cyan Worlds, Inc. You may not use these assets without recieving written permission from Cyan Worlds, Inc.

Please read this Notice from Cyan about Age Creation before continuing.

Previous: Creating Journals Contents Next: Contents

Contents

Compiling Python Scripts For Your Age

This tutorial explains how to compile your age's Python scripts, using PlasmaShop.

Preparation Steps

Before you begin, you'll need to install and configure PlasmaShop.

Creating a PAK File

Before compiling your age's script files for the first time, you need to make a new PAK file.

  1. In the Python directory of your standalone URU installation, make a copy of UruAgeManager.pak and rename it to your age's name (e.g. FuncChk01.pak).
  2. Run PlasmaShop. Double-click your age's PAK file to bring up a dialog listing the compiled python files inside.
  3. Select the top file in the list and click the Delete File button.
  4. Repeat this until one file is left. Note: You cannot have a completely empty PAK file, so one file must remain.

Compiling your Python files

To compile Python files for your age:

  1. Place your Python files in the "src" folder of the standalone URU installation's Python folder.
  2. Run PlasmaShop. Double-click your age's PAK file to bring up a dialog.
  3. Click on "Add Files...". In the file browser, browse to the "src" folder, then select all your age's .py files and click OK.
  4. A compilation window will appear. If there are no errors, PlasmaShop will add the compiled Python files to your age's PAK file.

NOTE:

  • If this is the first time you are adding Python files to your age's PAK file, you may still have a leftover Python file from UruAgeManager. Select it and delete it - now that the PAK file is not empty.
  • When adding freshly compiled versions of your age's Python files to your age's PAK file, you do not need to first delete the old compiled Python files in the PAK file. PlasmaShop will automatically replace them.
Previous: Creating Journals Contents Next: Contents
Personal tools