DarkForge Forum

Forum principali => eMule Forge => Topic started by: taz on Thu 24 January 2008, 14:31

Title: Compiling / modding with VS2005
Post by: taz on Thu 24 January 2008, 14:31
Hi guys,

My Italian knowledge is VERY limited  :timido: so I'm using English.

Recently SharkX was shifted to VS2005 and here are my insights :

update   : cryptlib 5.2.2
update   : libpng 1.22
update   : CxImage 5.99c
update   : md4.cpp and md4.h for x86 and x64 release from Warp 0.3a11 (Netfinity)
update   : sha.cpp and sha.h for x86 and x64 release from Warp 0.3a11 (Netfinity)
update   : types.h types from Warp 0.3a11 (Netfinity)

Make sure to change via mod project properties -> Linker : libs location and change (if needed) include files locations.

later on used lib sources (and vsprj's) will be uploaded here.
Title: Re: Compiling / modding with VS2005
Post by: Raid on Thu 24 January 2008, 14:46
hi taz,

you are great :smile:, don't worry about your italian  ::)

thx for this explanation, @mulo da soma (ACK staff) will love you :wub:
Title: Re: Compiling / modding with VS2005
Post by: Xemnas on Thu 24 January 2008, 21:15
Taz is the best modder! :wub:
Title: Re: Compiling / modding with VS2005
Post by: Emulizzato on Thu 24 January 2008, 23:03
Taz is the best modder! :wub:

You're damn right! :tup: :tup: :tup:
Title: Re: Compiling / modding with VS2005
Post by: taz on Fri 25 January 2008, 17:15
Hi Guys,

After upgrading my "production" box to VS2005 - I gave the libs a "diet" (I cleaned all *pch & *obj) from it  :idea:.

All libs should be built debug or release, besides ResizableLib which should be built with unicode debug or unicode release.
Title: Re: Compiling / modding with VS2005
Post by: Xemnas on Fri 25 January 2008, 18:11
Great!! :tup: :tup:
Programming emule whit VS2005 is very difficult!
Title: Re: Compiling / modding with VS2005
Post by: franz1789 on Fri 25 January 2008, 18:27
Will this lead to a better use of some particular feature, or to some improvements in CPU/RAM use and speed?
Great, compiling with vs2005 is a great innovation, the original emule dev never did it, AFAIK.
Title: Re: Compiling / modding with VS2005
Post by: taz on Fri 25 January 2008, 21:48
Will this lead to a better use of some particular feature, or to some improvements in CPU/RAM use and speed?

From my usage it seems that ram usage is reduced by 20MB (both virtual & working set), CPU usage is a bit lower.

By migrating, I hoped to gain better compatibility towards Linux porting, and later on to make life a bit harder for hex editing type of leechers (first SharkX leecher version was made, as I heard, via hex editing for ratio removal (dumbest method I can think of).

While migrating VS2005 enhanced syntax  checking already lead to some cleaner coding - and I'm going (gradually) to try and produce cleaner code (via warnings - I have some serious work. I'll invest most of it on SharkX code changes, less on official related stuff - since it's likely to get updated).
Title: Re: Compiling / modding with VS2005
Post by: MsZ on Sat 26 January 2008, 13:10
I see you're very wise about coding. I like your way to do things.

I'm looking forward to your GNU version of SharkX. :biggrin: