Jump to content


Photo

Fresh attempt at DLL cracking


  • Please log in to reply
7 replies to this topic

#1 Corsix

Corsix

    Code Monkey

  • Hosted
  • 290 posts
  • Location:Berkeley, UK
  • Projects:DoW AI, DoW Mod Studio
  •  Blue Text :)

Posted 21 February 2006 - 08:43 PM

[A lot of you on #dowmods will know some of this (hint hint thud)]
I'm having a go at looking inside WXPMod.dll, seeing how it works and so forth. To aicheve this goal I'm currently making a DLL to work as a layer between W40kWA and WXPMod. At the moment I can intercept function calls for several classes including CpuInterface and GameAI. I did a little experiment of stopping the call to GameAI::Think, and the AI did not call it's think function called and therefore did nothing.

Just thought I'd let you know what I'm up to and how I'm coming along.
Posted Image

#2 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,164 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 22 February 2006 - 03:06 AM

Thats getting deep, Corsix.. what are your objectives here? A better understanding of AI logic and how, perhaps, to add new functions/features to Scar or the AI?

Update.. I was thinking..

This is TOTALLY AI-related but was wondering why Relic embedded the following into the dll with no access to these features/functions in scar/lua:

1) MekBoy Teleportation
2) Scout Infiltration
3) Squiggoth Rampage
etc etc..

It would be interesting to ask about the above as they are long since questions yet unanswered. Perhaps when Jonathan from Relic contacts me re: perhaps granting us internal AI dev support to add new AI features as he said he wants to, then we can find out.

Edited by thudo, 22 February 2006 - 04:21 AM.

Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#3 Polaris

Polaris
  • Members
  • 49 posts

Posted 23 February 2006 - 05:17 PM

Corsix, the tool you saw was a custom plugin for the IDA Pro disassembler, and I am not allowed to spread it. However, if you need to discuss RE-related issues, or need help don't hesitate to ask... I can also reverse some couple of function up to C/C++ code, so if you need something like that just drop me an email, a pm or just reply here...

Cheers!

#4 thudo

thudo

    Wacko AI Guy!

  • Division Leaders
  • 12,164 posts
  • Location:Lemonville North, Canada
  • Projects:DoW AI Scripting Project
  • Division:DoW
  • Job:Division Leader

Posted 23 February 2006 - 05:21 PM

Polaris! My gawd long time buddy! Glad yer still about!
Advanced Skirmish AI Team Lead for the coolest Warhammer40k PC RTS out there:

Dawn of War Advanced AI Headquarters

Latest DoW Advanced AI Download!

#5 Corsix

Corsix

    Code Monkey

  • Hosted
  • 290 posts
  • Location:Berkeley, UK
  • Projects:DoW AI, DoW Mod Studio
  •  Blue Text :)

Posted 23 February 2006 - 05:55 PM

Yeah, I found IDA Pro freeware 4.3 after looking around for disassemblers
Posted Image

#6 Polaris

Polaris
  • Members
  • 49 posts

Posted 23 February 2006 - 06:32 PM

Polaris! My gawd long time buddy! Glad yer still about!


I am an hardcore loser against your AI... I will die but not flee ;) Since our last chat I changed job and relocated in another country... Well, I still have almost no free time, but I will try to help Corsix a bit (if he needs help, obiovously) with RE issues.

#7 Corsix

Corsix

    Code Monkey

  • Hosted
  • 290 posts
  • Location:Berkeley, UK
  • Projects:DoW AI, DoW Mod Studio
  •  Blue Text :)

Posted 23 February 2006 - 06:51 PM

At the moment REing isn't the problem, but my ASM skills are not great, so I will no doubt require your assistance at some point.
Posted Image

#8 Excedrin

Excedrin
  • Project Team
  • 154 posts

Posted 24 February 2006 - 03:08 AM

I can occasionally help with asm -> pseudo code or C as well, if you have questions just post them or ask on irc.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users