huilun02, on Feb 21 2014 - 22:31, said:
I don't know scripting and it seems I can't edit the .pyc files with ordinary text editors. I know the purpose of the _init_.pyc is to load other scripts, but I don't think it is as easy as simply copy/pasting contents of two CameraNode.pyc to have it work for both mods.
Can anyone else help me? Maybe tell me what I need and how I can get both mods working together.
The CameraNode.pyc files from all the various mods on the Internets are generally identical. You only need one to load multiple mods. The script does this:
. looks at your paths.xml file and for each Path line it finds it will add this path onto it: /scripts/client/mods/ and then search for *.pyc files contained therein and load them if it finds any. You can refer to my modpack as to how to separate mods into multiple directories or you can just dump everything into res_mods/0.8.11[/scripts/client/mods/] as long as singular files from different mods don't overlap/conflict (other than cameranode and init).
You can use uncompyle2 to decompile most .pyc files to their .py plain text equivalents.