Raised This Month: $ Target: $400
 0% 

CS/CZ IDA Suite - Updated March-2013


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
joropito
AlliedModders Donor
Join Date: Mar 2009
Location: pfnAddToFullPack
Old 05-23-2012 , 15:03   CS/CZ IDA Suite - Updated March-2013
Reply With Quote #1

****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



to this



How?

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

Quote:
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.

Quote:
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
Anyone testing this please post if it works or if has any problem.
Comments are very welcomed

Thanks
Attached Files
File Type: zip goldsrc-cs-sdk.zip (218.8 KB, 333 views)
File Type: zip goldsrc-cs-sdk-2013.zip (228.4 KB, 304 views)
__________________

Divide et vinces
approved plugins | steam account

I don't accept PM for support. Just ask on forums.
If you're looking for private work, PM me.

Last edited by joropito; 03-25-2013 at 15:25.
joropito is offline
Send a message via MSN to joropito
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode