DC++ 0.697 is now out. Nothing special, just a few fixes. The nick-bug is fixed though.
Archive for September, 2006
And they keep coming
September 29, 20060.11 of ADC is released!
September 27, 2006Version 0.12 of the ADC protocol is now released. An .odt is also available if you want that… A summary of what has been changed (arne’s words); Differences are few and far between; D type messages replaced by E (as in echo), the new D type does not have to be echoed back to the originator; some new INF field; Added BZIP as extension for files.xml.bz2
Here’s a diff if you want to see exactly was has changed.
(I know that this Blog entry’s title is incorrect.)
Compiling DC++ with Visual Studio 2003
September 27, 2006This guide is about compiling DC++ on Windows, with Visual studio 2003.
To compile DC++, you will need a few things.
First, download the DC++ source, and unpack it in C:\dcplusplus\dcplusplus696\. (So you got C:\dcplusplus\dcplusplus696\windows, C:\dcplusplus\dcplusplus696\client etc.)
Download STLport, and unpack it in C:\dcplusplus\STL so you got C:\dcplusplus\STL\config etc.
Download WTL and unpack it in C:\dcplusplus\WTL so you got C:\dcplusplus\WTL\include etc.
Download the latest SDK, or get the natupnp.h file from Bugzilla. Place it in C:\dcplusplus\natupnp\. (I think I have it in some Visual Studio include path, but this should work fine too.)
Download YaSSL and unpack it in C:\dcplusplus\YaSSL so you got C:\dcplusplus\YaSSL\certs etc.
Download Python and install it. (I got mine in the default folder)
Enter C:\dcplusplus\dcplusplus696\. Open up DCPlusPlus.rc and change the line #include “wtl\\atlres.h” to #include “atlres.h”
Open up the workspace (DCPlusPlus.sln)
Under the Tools menu, press Options.
Go to Projects and then VC++ Directories.
Under ‘Show directories for’ select ‘Include files’.
Add the STL folder, WTL\include folder, YaSSL folder and then the natupnp folder. (They should be in the top.)
Under the Build menu, press Build solution and Visual Studio should compile you an executable that is located in C:\dcplusplus\dcplusplus696\app\.
To change Python path, go to client->Header Files->StringDefs.h->Properties->Custom build step and change the appropriate values.
TTH is the standard
September 23, 2006A new version of DC++ is out; 0.696. It is a… quite aggressive version. It now require that all files have a TTH. No files without TTH is shown in the search and you aren’t able to download any file that doesn’t have a TTH. TTH is the standard now and all is great.
Compiling ADCH++ with Mingw on Windows
September 14, 2006And another how-to on compiling ADCH++. This time with Mingw on Windows. Check out the previous POSIX and Visual Studio 2005 (Windows) tutorials.
Credit for this tutorial goes to Pothead.
- Install Python
- Install scons
- Install swig
- Install boost (copy the contents of boost_1_33_1\boost to C:\Boost\include\boost-1_33_1\boost )
- Install mingw (not sure what parts are needed, but i got the gcc-core gcc-g++ binutils runtime utilities and w32api, and it works with all of them)
- Install Msys (part of mingw)
- Download and place Stlport 5.0.2 in the STLPort directory in Adchpp’s root directory
- Ensure Pyton, Swig and Mingw’s paths are available in %PATH%
- Compile STLPort
- Load up Msys
- Navigate to the STLPort\build\lib directory
- Type: make -f gcc.mak depend
- Type: make -f gcc.mak install
- Close Msys
- Compile Adchpp
- Goto adchpp directory
- To build in debug mode Type: scons to build in debug mode
- To build in release mode Type: scons mode=release
(To find links to the other programs, look in the previous posts or use a search engine.)
Compiling ADCH++ on POSIX
September 12, 2006This is a how-to to compile ADCH++ on POSIX, specifically Linux Ubuntu 6.06 LTS. If you are on Windows, check out the previous post.
An early disclaimer; I am not a experienced POSIX user, and I’m certainly no expert at compiling ADCH++, but it’ll have to do.
The following libraries/commands are what I experienced I had to do when trying to compile ADCH++.
Create the directory ~/adch++/. (Or wherever/whatever you want to call it.)
Enter the directory, and download ADCH++ by doing “svn checkout https://svn.sourceforge.net/svnroot/adchpp/ –username anonymous”
Download the following; Boost 1.33.1, swig 1.3.29, STLport.
Download and install bjam (I used 3.1.11-1 and downloaded it through Synaptic.)
Extract STLport in ~/adch++/, so you have ~/adch++/STLport/. Enter ~/adch++/STLport/build/lib and do ./configure, then do “make -f gcc.mak depend” and then “make -f gcc.mak install”.
Extract boost_1_33_1 so you have ~/adch++/boost_1_33_1/. Do ./configure, then “make” and then “make install”.
Extract swig anywhere, enter the directory it is in. Do ./configure, then “make” and then “make install”.
Enter ~/adch++/, and do “scons”.
Now, I should say that I encountered two problems. You may not experience them. Firstly; the variable ‘versionString’ was apparently unreachable, so I just removed it and put any string in quotes. So, s/versionString/”ADCH++”. Secondly; the variable ‘FULLVERSIONSTRING’ was also apparently unreachable, so I just removed it and put any string in quotes. So, s/FULLVERSIONSTRING/”ADCH++”.
Doing just “scons” will produce ADCH++ in ‘debug’ mode. If you want it in ‘release’ mode, do “scons mode=release”. (You can ofcourse specify ‘debug’ the same way.)
When scons is complete, enter ~/adch++/build. You will see either the debug or release directory (or both). Enter now ~/adch++/build/debug-default/bin/. And now do “./adchpp”. You should now have a working ADCH++!
The default port is 2780, but you can change that in ~/adch++/etc/. Open adchpp.xml and scroll down to the port, and enter whatever you want. (Remember, there is no default port in ADC.)
If you know something that isn’t necessary, please do tell. If you encounter any problems, I’d prefer the ADCH++ forum.
DC++ 0.695!
September 11, 2006DC++ 0.695 is now out! A few *nix fixes, a few old bugs worked out and aswell new ones.
If you are using Windows Vista, you are now able to use UPnP.
Something that is very interesting, is that the ADC hublist is now the first of the two possible hublists in DC++!