Author Topic: Compiling / modding with VS2005  (Read 8126 times)

0 Members and 1 Guest are viewing this topic.

Offline taz

  • eMuleSharkX Coach
  • Apprendista
  • **
  • Posts: 70
  • SharkX modder
Compiling / modding with VS2005
« 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.
« Last Edit: Fri 25 January 2008, 19:13 by Raid »

Offline Raid

  • Administrator
  • Membro esperto
  • *****
  • Posts: 2200
    • www.darkforge.it
Re: Compiling / modding with VS2005
« Reply #1 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:

Offline Xemnas

  • Apprendista
  • **
  • Posts: 62
Re: Compiling / modding with VS2005
« Reply #2 on: Thu 24 January 2008, 21:15 »
Taz is the best modder! :wub:

Offline Emulizzato

  • Super Mod
  • Translator Crew
  • Membro attivo
  • ****
  • Posts: 1223
  • El Niņo
    • http://feffo.splinder.com/
Re: Compiling / modding with VS2005
« Reply #3 on: Thu 24 January 2008, 23:03 »
Taz is the best modder! :wub:

You're damn right! :tup: :tup: :tup:

Offline taz

  • eMuleSharkX Coach
  • Apprendista
  • **
  • Posts: 70
  • SharkX modder
Re: Compiling / modding with VS2005
« Reply #4 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.

Offline Xemnas

  • Apprendista
  • **
  • Posts: 62
Re: Compiling / modding with VS2005
« Reply #5 on: Fri 25 January 2008, 18:11 »
Great!! :tup: :tup:
Programming emule whit VS2005 is very difficult!

Offline franz1789

  • Vagrant
  • Administrator
  • Militante
  • *****
  • Posts: 767
    • Been Smoking Too Long
Re: Compiling / modding with VS2005
« Reply #6 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.

Offline taz

  • eMuleSharkX Coach
  • Apprendista
  • **
  • Posts: 70
  • SharkX modder
Re: Compiling / modding with VS2005
« Reply #7 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).

Offline MsZ

  • Il Manutentore
  • Militante
  • ******
  • Posts: 913
  • GNUru Meditation
Re: Compiling / modding with VS2005
« Reply #8 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:

 

Creative Commons License All ValerioCipriani.com contents are published according to Creative Common License, except different instructions. The Staff is not responsible of eventually guide, article and publishing mistakes. All published items are patent free. All trade marks reported are right reserved. Contact us, Info.