Skip to content

Python (.pyz) install and use

JennyKmu edited this page Nov 13, 2021 · 2 revisions

Requirements (for .pyz file)

  • Having a working Python 3 install. Development was made using Python 3.10, so the program will warn you if you try using an older version, but allow you to continue if it's a Python 3 version above Python 3.9.
  • Having necessary python modules installed:

Setting up the environment -- Python (.pyz release)

  • First go to the official Python download page, download Python 3 (latest release recommended), and install it. When asked so, add pip to Path.
  • Open a command prompt (cmd or powershell) as administrator, and type in either:
    • pip install numpy
    • python -m pip install numpy

If you already had installed Python, but the pip command doesn't work, then you'll need to add pip to Path yourself (you probably didn't check the option to do so when installing Python originally). To do so you can either reinstall python making sure to check "Add python to Path", or do the following:

  • In the Windows search bar, look for "Environment Variables", and open the tool that shows up.
  • In that tool, click "Environment Variables"
  • Select the "Path" variable, and click "Modify"
  • Do not delete anything there. Add a new line, in which you will put the Path/To/Python/Install/Scripts (Usually C:\Users\Username\AppData\Local\Programs\Python\PythonNN-32\Scripts)
  • Apply your changes and exit the tool. Now pip should work well, and you should be able to install necessary modules.

Installation and Use -- Python (.pyz release)

  1. Save your game.
  2. Download the latest .pyz file from the release list and place it inside your save folder (should be located somewhere around C:\Users\Username\AppData\Local\arr\Saved\SaveGames ). No need to decompress the file, if your python install was properly made, windows will correctly detect it as a python program.
  3. Even though the program will create backups of your saves, it is still recommended to create your own backups.
  4. Double-click on the .pyz file, and follow instructions. At any point, you can exit the program by pressing Ctrl+D (or less cleanly by pressing Ctrl+C)
  5. Likewise, you can always go back to previous menu by pressing Escape (escaping from the savefile selection menu will exit the program).
  6. Exit the current session in-game or start the game, and load the file you edited.