Page 1 of 1

CS/CZ IDA Suite - Updated March-2013

Posted: Sat Sep 26, 2026 5:02 pm
by Archive-Poster
****UPDATED for latest CS/Engine updates (2013)

----------------------
Here I'm again with some tools to help you decompile CS/CZ binaries.

First of all, this is oriented to advanced users with experience using IDA Pro, knowledge on entity offsets, memory addressing, orpheu, rage, and quantum physics is prefered.

This work was done in three weeks of really hard work (50% me, 50% ConnorMcLeod)

What can be done with this?

With few steps you can convert this

Image

to this

Image

How?

Just download the attached zip file, uncompress and follow steps inside README.txt

Code: Select all

1- Open a new project with IDA Pro
2- Load cs_i386.so library
3- Load HLSDK headers: CTRL-F9 - engine.h
4- Load CS Entities headers: CTRL-F9 - linux_entities.h
5- Wait analysis ends
6- Execute IDC script: ALT+F7 - fix_functions.idc
7- Execute IDC script: ALT+F7 - fix_types.idc (select cs_symbols.txt when asked)
8- Check that everything is working
And after this little steps, you can decompile almost every function without any problem.

What's next?

Of course there're errors.
cs_symbols.txt don't include 100% of functions/symbols. Not all classes are supported (only 211 entity classes are supported).
If you have any fix or improvement to add please post here.

Additional tools

There're some IDC scripts (for IDA) that can help you with binaries from other mods.

Code: Select all

fix_functions.idc
Fixes function arguments types based en mangled information
Additional adds *this as first argument when it's used inside a class (not only virtual)
* Can be called anytime

fix_types.idc
Loads symbols from custom file and set functions/objects types
* Can be called anytime

dump_savedata.idc
Dumps SaveDate fields info

dump_vtables.idc
Dumps VTABLES

dump_functions.idc
Dump functions types