compiling a python file for uru:CC
Posted: Sat Nov 27, 2021 1:30 pm
I will admit that this is for testing possible fixes for mystV levels.
but how does one compile python files for this game.
my current thought process was first checking that cypython22.dll file.
it showed this
eg python 2.2.2
so then I grabbed python 2.2.2 from here https://www.python.org/downloads/release/python-222/
After extracting the setup file I finally attempted to compile one of the files using this code
I then created a pak file and inserted the file.
However, the game seems to think the file doesn't exist. Is there something I'm missing? If the file has an error I thought I would see it in Python.0.elf.
but how does one compile python files for this game.
my current thought process was first checking that cypython22.dll file.
it showed this
eg python 2.2.2
so then I grabbed python 2.2.2 from here https://www.python.org/downloads/release/python-222/
After extracting the setup file I finally attempted to compile one of the files using this code
- Code: Select all
.\Python222\python.exe -c "import py_compile; py_compile.compile('src/xYeeshaBinderFragment.py')"
I then created a pak file and inserted the file.
However, the game seems to think the file doesn't exist. Is there something I'm missing? If the file has an error I thought I would see it in Python.0.elf.