J2Kbr / GtunerIV

Gtuner IV - Titan Two's software bug report.
http://www.consoletuner.com
25 stars 4 forks source link

Add support for Cython compiled .so scripts #407

Open InputSense opened 3 years ago

InputSense commented 3 years ago

.pyc scripts can be decompiled pretty easily. For complete obfuscation (and also performance gain) gtuner could support compiled .pyd files. Since gtuner acts as the main.py and imports our py scripts, I think it would need to import the .pyd script directly.

edit: to update .so (linux specific) to .pyd (windows specific).

More information on it here: https://medium.com/@xpl/protecting-python-sources-using-cython-dcd940bb188e

EDIT: Just to update this. We've discovered that pyd scripts can already be loaded as modules by the main python gcvworker file that gtuner cv runs. This allows to completely hide the running portion of the code. All that gtuner would need to support at this time is the uploading of pyd (windows specific) files as part of a gcv script package

freecode-ai commented 3 years ago

yes, *.pyd would be great!