Skip to content

A command line tool to convert Portal 2 Puzzle Maker data files (.p2c)

Notifications You must be signed in to change notification settings

gusarba/p2c_conv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

143cf1d · Mar 7, 2023

History

2 Commits
Mar 7, 2023
Mar 7, 2023

Repository files navigation

p2c_conv

A VERY WORK IN PROGRESS command line tool to convert Portal 2 Puzzle Maker data files (.p2c) from v14 (commercial version) to the "old" v12 (educational version). The v12 format is described here: https://developer.valvesoftware.com/wiki/P2C.

Usage

p2c_conv.py [-h] [-i INPUT] [-o OUTPUT]

Or, in some systems, it may be necessary to invoke the python interpreter explicitly:

python p2c_conv.py [-h] [-i INPUT] [-o OUTPUT]

Building a windows executable

In order to build a windows executable, you may use PyInstaller:

pyinstaller p2c_conv.py