Difference between revisions of "Recompiling PyPinPROC for CCC Color Support"

From Continued ... For Cactus Canyon
Jump to navigation Jump to search
(Created page with " =Recompiling PyPinPROC for CCC Color Support= From Cactus Canyon Continued Simply adding the config.yaml entry to turn on the color display will make a color window appear -...")
 
 
Line 29: Line 29:
 
==If you compiled all the software on your own==
 
==If you compiled all the software on your own==
  
Simply unzip the dmd.c file into your pypinproc directory and recompile. | utf-8    |
+
Simply unzip the dmd.c file into your pypinproc directory and recompile.

Latest revision as of 15:32, 8 May 2019

=Recompiling PyPinPROC for CCC Color Support=

From Cactus Canyon Continued Simply adding the config.yaml entry to turn on the color display will make a color window appear -- however there are some parts of the display that will look less than ideal until PyPinPROC is compiled with some small changes.


You'll need this file: DMD.C

NOTE: The file date on this has to be newer than all your other files or it won't actually re-compile - so after you unzip it, you'll have to do something to refresh the file date.

  • On Linux you can just use "touch" to update the modified date easily
  • On Windows, open the file in a text editor, change something small in a comment line, and re-save it.

For Windows - If you installed with Compy's Pinbox Toolkit

  • Re-run the toolkit installer, but while it's running, look in the toolkit directory and copy the "scripts" directory. The installer removes those scripts when it finishes, copy that folder somewhere safe and when the installer is finished, put the scripts back in place.
  • Unzip the dmd.c file and put it into the pypinproc directory.
  • Update the modified date on the dmd.c file as noted above.
  • Run the batch file from the Pinbox Toolkit for compiling pypinproc

For Linux - If you installed with Compy's Pinbox Toolkit

  • Unzip the dmd.c file into the toolkit's pypinproc directory.
  • Update the modified date on the dmd.c file as noted above.
  • Open a terminal window and cd into the toolkit pypinproc directory
  • Run this command:
 sudo python setup.py install

If you compiled all the software on your own

Simply unzip the dmd.c file into your pypinproc directory and recompile.