[?] Python re-compiling a py back to pyc

Making or wanting help making your own asset? Check in here
Post Reply
aimbot
Posts: 1
Joined: 2012-08-31 12:27

[?] Python re-compiling a py back to pyc

Post by aimbot »

Hey all. i made a modification on some values of variables in a pyc that i decompiled. i changes some values only not variables. now i'm more a C language guy and i don't get the way python works to include the stdin like host bf2 math and random

import host
import bf2
import math
import random

these are at the top of the py file and when i try to recompile i get error line 1 no such file as host...

where are those files so i can recompile... i saw host and random in python /lib but just a test math and surely no bf2

any lead would be appreciated
BloodyDeed
Retired PR Developer
Posts: 4452
Joined: 2008-05-07 17:43

Post by BloodyDeed »

These files are compiled for a reason as we don't want people to modify them.
So you won't get any support from me here, sorry.

Also keep in mind that running a server with modified python settings would result in a breach of the serverlicense.

What did you wanted to change anyway?
Realityconfig_local etc files should contain all settings you might wanna change
Image
Post Reply

Return to “PR:BF2 Community Modding”