Raised This Month: $85 Target: $400
 21% 

IDA Scripts


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Scag
AlliedModders Donor
Join Date: May 2017
Location: Crashing Hale
Old 08-06-2020 , 04:59   IDA Scripts
Reply With Quote #1

I think I've gotten the hang of writing IDA scripts recently so I thought I'd share them with you all.

I've got a couple of scripts in this repo. You should check them out, they're pretty awesome. The awesomer ones I'll explain here.

Netprop Importer
Spoiler


Gamedata Checker
Spoiler


Symbol Smasher.
Spoiler


VTable Importer
Spoiler


Larger download button

The Symbol Smasher has its own repo

Free gamedata pwease
__________________
Over-engineering is underrated.

GitHub

Last edited by Scag; 10-20-2020 at 06:41. Reason: Why do I even care this much about Windows... it sucks
Scag is offline
Lux
Veteran Member
Join Date: Jan 2015
Location: Brexit
Old 08-06-2020 , 06:52   Re: [IDA] Symbol Smasher
Reply With Quote #2

Spoiler
yay brilliant job!
__________________

Last edited by Lux; 08-06-2020 at 06:54. Reason: add spoiler since it's huge
Lux is online now
Scag
AlliedModders Donor
Join Date: May 2017
Location: Crashing Hale
Old 08-17-2020 , 07:03   Re: IDA Scripts
Reply With Quote #3

Instead of making a whole new post, I've opted to just recycle this one and expand on it.

I've been messing around with IDA's API a lot recently and have been writing a few useful things to help with reversing, the most recent of those is the Netprop Importer. You'll see the details at the top but it just runs through a netprop dump and gives you some structs and prettier pseudocode.

__________________
Over-engineering is underrated.

GitHub
Scag is offline
manicogaming
AlliedModders Donor
Join Date: Aug 2014
Old 08-17-2020 , 17:49   Re: IDA Scripts
Reply With Quote #4

I took a look at your signature dumps and I'm pretty sure the signature you have for CBaseAnimating::LookupBone

Here's the signature that I'm pretty sure is the correct one.

Code:
"CBaseAnimating::LookupBone"
{
	// Has 'weapon_bone' string
	"library"	"server"
	"windows"	"\x55\x8B\xEC\x56\x57\x8B\xF9\x83\xBF\xC0\x04\x00\x00\x00\x75\x2A\xA1\x2A\x2A\x2A\x2A\x8B\x30\x8B\x07\xFF\x50\x18\x8B\x0D\x2A\x2A\x2A\x2A\x50\xFF\x56\x04\x85\xC0\x74\x2A\x8B\xCF\xE8\x2A\x2A\x2A\x2A\x8B\x8F\xC0\x04\x00\x00\x85\xC9\x0F\x84\x2A\x2A\x2A\x2A"
}
__________________
manicogaming is offline
Scag
AlliedModders Donor
Join Date: May 2017
Location: Crashing Hale
Old 08-17-2020 , 18:05   Re: IDA Scripts
Reply With Quote #5

What game?
__________________
Over-engineering is underrated.

GitHub
Scag is offline
manicogaming
AlliedModders Donor
Join Date: Aug 2014
Old 08-17-2020 , 19:33   Re: IDA Scripts
Reply With Quote #6

Quote:
Originally Posted by Ragenewb View Post
What game?
CS:GO windows
__________________
manicogaming is offline
Scag
AlliedModders Donor
Join Date: May 2017
Location: Crashing Hale
Old 08-17-2020 , 21:29   Re: IDA Scripts
Reply With Quote #7

Quote:
Originally Posted by manicogaming View Post
CS:GO windows
Yeah I see what's wrong, it's not wildcarding offsets. Give me a day or 2 and I'll re-dump everything

But the provided signatures should work, they'll just all break after the next update.
__________________
Over-engineering is underrated.

GitHub
Scag is offline
Scag
AlliedModders Donor
Join Date: May 2017
Location: Crashing Hale
Old 09-24-2020 , 06:39   Re: IDA Scripts
Reply With Quote #8

I've sorta finished another script. Just in time for the L4D2 update too which is nice. This one checks your gamedata files and yells at you if you've got some bad gamedata in there. I fed it all of the gamedata I happened to have on my server and it worked quite well, only really exploded with the core SourceMod files which you shouldn't need to check anyways .

I plopped it up top too but you can grab it here and also learn how to properly name your keys in the Offsets section.
__________________
Over-engineering is underrated.

GitHub
Scag is offline
Reply


Thread Tools
Display Modes

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 13:26.


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