Please can someone verify this info for me? 5 replies

Please wait...

Julian 33

I don't spend enough time here

50 XP

23rd March 2002

0 Uploads

18 Posts

0 Threads

#1 16 years ago

I am planning on making some new hardpoint files which are balanced to the ingame ship specs, but to do this I need some kind of reference to the in game ship strengths, which I canrt access as they are all .pyc files, so I have tried to get the info I need through experimenting. So, I wondered if someone could verify this information for me in case it is wrong, and I go making a mess of the files:

A shield rating of 1 (for any side) is equivalent to a value of 500 in a hardpoint file.

A hull rating of 1 is equivalent to a value of 500 in a hardpoint file.

The strength of a Stock Photon torpedo is 500.

The strength of a Stock Quantum torpedo is 1000.




Kaschparl

GF makes me horny

50 XP

16th July 2002

0 Uploads

97 Posts

0 Threads

#2 16 years ago

In another forum, I read something about decompyling the .pyc files. All you need is Python v1.5.2.!!! With this version BC was written. A newer version won't!!! work. Try www.python.org for downloading. And the decompyling part, decompyle v0.6.0. After installing both, copy the file which you want to decompyle into the python folder. Then execute the command and change to python folder. The command to decompyle: "python decompyle filename.pyc -o" After some time, you have a file which is named "filename.dis", rename to filename.py and you have the source code of the file. To edit use notepad.

bye, bye

p.s. Sorry for my English, I'm from Germany




Julian 33

I don't spend enough time here

50 XP

23rd March 2002

0 Uploads

18 Posts

0 Threads

#3 16 years ago

Thanks for the info, I have downloaded python, but please could you go into more detail on how to install the decomyle software, and then using it to decompile a file?




Klatuu

I'm too cool to Post

50 XP

30th June 2002

0 Uploads

7 Posts

0 Threads

#4 16 years ago

...You can download SDK. After you do, there'll be a folder in there somewhere called "Build". It has .py files for all the stock ships and projectiles.




Julian 33

I don't spend enough time here

50 XP

23rd March 2002

0 Uploads

18 Posts

0 Threads

#5 16 years ago

Thanks, you were right about the .py files being in the SDK. Time to get to work on some new hardpoint files :)




Kaschparl

GF makes me horny

50 XP

16th July 2002

0 Uploads

97 Posts

0 Threads

#6 16 years ago

Extract the packed file to a temporary folder. Then copy the files from temp into the python folder. That's all. To download the decompyle part goto "http://goebel-consult.de/decompyle/" but be sure to download version 0.6.0. Otherwise it won't work.

You can get a short help if you type "python decompyle -h" into the command input line. Or try using "python decompyle --help". But all you need to know is how to decompyle the .pyc files.

Type into the command input line "python decompyle filename.pyc -o" Before doing this you have to copy the .pyc file into the python folder. "filename" is the name of the file which you want to decomyple.

At the end, you have another file with the same name but the extension ".dis" at the end. Change the extension to ".py" and you have the source code of the .pyc file.

Bye, bye