poiuyqwert / PyMS

Broodwar Modding Suite
47 stars 18 forks source link

PyMS

PyMS is a cross platform BroodWar modding suite written using Python. PyMS contains 15 programs to edit most of the file types you will encounter while modding.

Table of Contents

  1. Installation
  2. Issues
  3. Analytics
  4. Programs

Installation

  1. Install Python. You should get the latest Python 2.7.x, currently that is Python 2.7.12

    Note: On Windows, you must ensure that Python is in your "Path" environment variable. If you use the MSI Installer there is an "Add Python.exe to path" option you should make sure is enabled during installation, otherwise you can set it up manually.

  2. Download PyMS. Always get the most up to date PyMS from github (direct link). If you are updating PyMS, you can keep your settings files located in the Settings folder.
  3. Install Dependencies. Use PIP (the Python package manager), to install all dependencies of PyMS by opening the command line, navigating to the PyMS folder, and running python2.7 -m pip install -r requirements.txt. If you get an error like python2.7 is not found, try python -m pip install -r requirements.txt (just make sure you are using PIP that is installed with Python 2.7 and not another verson of Python on your machine).

Issues/Feedback

If you run into any issues with the programs, or have any feedback to improve the programs, please do one of the following:

  1. Create an issue on github
  2. Join the SEN Discord and chat about it in #starcraft-tools or #mod-discussion
  3. Post in this thread on StarEdit.net
  4. Email me

Please include as much information as possible. If you are reporting an issue, please include:

Analytics

At the moment PyMS only tracks the launch of PyMS programs, anonamously and with no sensitive information sent. An example of the data sent in these analytics calls:

{
  "an": "PyGRP",
  "av": "4.0.0",
  "cd": "PyGRP",
  "cd1": "1.2.3",
  "cd2": "2.7.10",
  "cd3": "darwin",
  "cd4": "10.12.6",
  "cd5": 64,
  "cid": "bd32dccd-13be-4027-86eb-8a3fc11c61e7",
  "t": "screenview",
  "tid": "UA-########-#",
  "v": "1"
}

Even though the analytics is anonamous and has no sensitive information, you can still disable analytics by editing "Settings/PyMS.txt", and setting the "allow" key under "analytics" to be False.

Programs

PyMS contains 16 programs to edit most of the file types you will encounter while modding.

PyAI

PyAI is used for editing AI .bin files.

PyBIN

PyBIN is used for editing dialog .bin files.

PyDAT

PyDAT is used for editing the various .dat files.

PyFNT

PyFNT is used for converting .fnt Font files to and from .bmp files.

PyGOT

PyGOT is used for editing the Game Template .got files.

PyGRP

PyGRP is used for editing various graphics in .grp files.

PyICE

PyICE is used for editing the graphics animation script .bin files.

PyLO

PyLO is used for editing the various offset .lo? files.

PyMPQ

PyMPQ is used for editing .mpq files.

PyPAL

PyPAL is used for editing the various image palette files (.pal, .wpe, etc.)

PyPCX

PyPAL is used for converting .pcx files to and from .bmp files.

PySPK

PySPK is used for editing the space paralax .spk files.

PyTBL

PyTBL is used for editing the strings .tbl files.

PyTILE

PyTILE is used for editing the tileset files (.cv5, .vx4, .vf4, .vr4, .dddata)

PyTRG

PyTRG is used for editing triggers (.trg files)