PDA

View Full Version : Need guidance to make an extension for CoDUO



ebusiangamers
7th July 2015, 17:38
Hello,

I'm just an ordinary modder: I just work on .gsc, never write a dll or something like that.
I want to add libcod to CoDUO (windows), but dont know what to do, where to start.

- I have Visual Studio Pro 2011 with .NET Reflector: I'm trying to decompile dll in order to see what's there.
I really need further instructions/guidance.

Thanks.

kung foo man
8th July 2015, 02:32
A .NET decompiler will only help for CIL-bytecode (Microsoft's .NET "assembly"), but CoD is assembled down to x86. Mitch made a tutorial for the basics with IDA Pro with HexRays decompiler: http://killtube.org/showthread.php?2084-Tutorial-Add-libcod-support-for-your-cod-version

CoD1 with UO is quite a bit different than CoD2, since it's using .dll's.

You could start learning php's CoD1 stuff first, then apply it to UO: https://github.com/riicchhaarrd/CoDExtended/tree/master/old/xtnded

modsfabio basically asked the same question for UO and I helped him to get started and then he merged his own United Offensive version together from libcod and php's CoDExtended, which you could also use as a base: https://github.com/modsfabio/codextreme_v1

For more windows example code, you could check Mitch's libcod Windows version: http://killtube.org/showthread.php?1730-Libcod-for-windows

Whatever you gonna use, would be nice if it ends up on GitHub also ;P

ebusiangamers
30th August 2020, 15:51
Could you please describe the process of recover and extend "setanim" function?