Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
getting DC++/oDC to work in wine.
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
somnambulist
n00b
n00b


Joined: 13 Aug 2003
Posts: 25

PostPosted: Sat Aug 16, 2003 1:09 pm    Post subject: getting DC++/oDC to work in wine. Reply with quote

1) emerge wine
2) edit ~/.wine/config, change all the settings you want and add the following lines to the end of the file:
---------
;; DC++
[AppDefaults\\oDC.exe\\DllOverrides]
"*" = "builtin, native, so"
"comctl32" = "native"
"riched20" = "native"
---------
replace oDC.exe with DCPlusPlus.exe if you're running DC++

3) copy comctrl32.dll, riched20.dll (and maybe some other misc system-dlls) from an original windowsinstallation to your windows\system dir.
4) download DC++ (http://dcplusplus.sourceforge.net/) or oDC (http://gempond.com/odc/)
5) wine <install_exe>
6) wine oDC.exe or wine DCPlusPlus.exe

Should work perfectly. oDC seems to work better than DC++. A good hublist is http://www.hublist.org/PublicHubList.config.bz2

update: If you're having problem with sharing files and setting other settings through the gui, just edit DCPlusPlus.xml. To add shared directories add something like this to the bottom of the file before </DCPlusPlus>:

<Share>
<Directory>D:\MUSIC</Directory>
<Directory>D:\SOFTWARE</Directory>
<Directory>D:\VIDEO</Directory>
</Share>
Back to top
View user's profile Send private message
dhalsiim
Guru
Guru


Joined: 29 Jan 2003
Posts: 486

PostPosted: Sat Aug 16, 2003 6:31 pm    Post subject: Reply with quote

Great stuff man.. I always wanted to see if DC++ or oDC worked in Linux.

They're just cool.. easy to setup. And are accepted on bigger Hubs. I entered with dctc on about 5-6 Hubs and they booted me off :(

Good Job.
/me Is gonna try and use it tonight.
Back to top
View user's profile Send private message
Phlaegel
Apprentice
Apprentice


Joined: 22 May 2003
Posts: 156

PostPosted: Sat Aug 16, 2003 11:32 pm    Post subject: Reply with quote

Nice. It's working for me so far. Dcgui-qt was driving me crazy... thanks.
Back to top
View user's profile Send private message
marshall_j
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2003
Posts: 98
Location: NZ

PostPosted: Sun Aug 17, 2003 4:22 am    Post subject: Reply with quote

Nice,

I didn't need to copy in riched20.dll for some reason and it still worked fine.
But this is good as the Linux version of the GUI is not good enough to replace this yet.

Cheers for the tutorial...
Back to top
View user's profile Send private message
fritte
n00b
n00b


Joined: 18 Aug 2003
Posts: 51

PostPosted: Fri Aug 22, 2003 11:20 pm    Post subject: Reply with quote

Hi!

I've done exactly as it says here, and DC++ works! Great, thanks! However, it doesn't exit the way it should! When I do "File -> Exit" or click the cross in the upper right corner, the window itself disappears but there are a lot of processes left in the system that I have to kill "by hand" (kill -9). If I don't, DC++ won't start again.

Any ideas why this is so and perhaps you know how to solve it?

Thanks!
Back to top
View user's profile Send private message
slickquickyb
n00b
n00b


Joined: 24 Jan 2003
Posts: 20
Location: Houston, Texas

PostPosted: Sat Aug 23, 2003 8:24 pm    Post subject: Reply with quote

your guide is good...

that being said i keep getting

2 errors from dc++
a runtime error

and an unhandled exceptiion error

both of these errors stop dc++ any ideas on what in my wine configuration is causing this ?

here is my wine config
Code:
INE REGISTRY Version 2
;; All keys relative to \\Machine\\Software\\Wine\\Wine\\Config

;;
;; MS-DOS drives configuration
;;
;; Each section has the following format:
;; [Drive X]
;; "Path"="xxx"       (Unix path for drive root)
;; "Type"="xxx"       (supported types are 'floppy', 'hd', 'cdrom' and 'network')
;; "Label"="xxx"      (drive label, at most 11 characters)
;; "Serial"="xxx"     (serial number, 8 characters hexadecimal number)
;; "Filesystem"="xxx" (supported types are 'msdos'/'dos'/'fat', 'win95'/'vfat', 'unix')
;;   This is the FS Wine is supposed to emulate on a certain
;;   directory structure.
;;   Recommended:
;;   - "win95" for ext2fs, VFAT and FAT32
;;   - "msdos" for FAT16 (ugly, upgrading to VFAT driver strongly recommended)
;;   DON'T use "unix" unless you intend to port programs using Winelib !
;; "Device"="/dev/xx" (only if you want to allow raw device access)
;;

[Drive]
"A" = ""
"Path" = "/mnt/floppy"
"Type" = "floppy"
"Device" = "/dev/floppy/0"

[Drive A]
"Type" = "floppy"
"Path" = "/mnt/floppy"
"Label" = "/mnt/floppy"
"Device" = "/dev/floppy/0"

[Drive C]
"Path" = "/home/scott/.wine/fake_windows"
"Type" = "hd"
"Label" = "/home/scott/.wine/fake_windows"
"Filesystem" = "win95"

[Drive D]
"Type" = "hd"
"Path" = "/mnt/barracuda"
"Label" = "/mnt/barracuda"
"FS" = "win95"

[Drive M]
"Type" = "cdrom"
"Path" = "/mnt/cdrom"
"Label" = "/mnt/cdrom"
"FS" = "win95"
"Device" = "/dev/cdroms/../ide/host0/bus1/target0/lun0/cd"

[Drive X]
"Type" = "hd"
"Path" = "/tmp"
"Label" = "Tmp Drive"
"FS" = "win95"

[Drive Y]
"Type" = "network"
"Path" = "${HOME}"
"Label" = "Home"
"FS" = "win95"

[Drive Z]
"Type" = "network"
"Path" = "/"
"Label" = "Root"
"FS" = "win95"

[wine]
"Windows" = "C:\\Windows"
"System" = "C:\\Windows\\System"
"Temp" = "X:\\"
"Path" = "C:\\Windows;C:\\Windows\\System;X:\\;Y:\\"
"GraphicsDriver" = "x11drv"
; Wine doesn't pass directory symlinks to Windows programs by default.
; Enabling this may crash some programs that do recursive lookups of a whole
; subdir tree in case of a symlink pointing back to itself.
;"ShowDirSymlinks" = "1"
"ShellLinker" = "wineshelllink"

# <wineconf>

[DllOverrides]
; default for all other dlls
"*" = "builtin, native, so"

[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Name of X11 display to use
;;"Display" = ":0.0"
; Allow the window manager to manage created windows
"Managed" = "N"
; Use a desktop window of 640x480 for Wine
"Desktop" = "640x480"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "Y"
; Use XShm extension if present
"UseXShm" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "Y"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "Y"
; Code page used for captions in managed mode
; 0 means default ANSI code page (CP_ACP == 0)
"TextCP" = "0"
; Use this if you have more than one port for video on your setup
; (Wine uses for now the first 'input image' it finds).
;; "XVideoPort" = "43"
; Run in synchronous mode (useful for debugging X11 problems)
;;"Synchronous" = "Y"

[fonts]
;Read documentation/fonts before adding aliases
;See a couple of examples for russian users below
"Resolution" = "96"
"Default" = "-adobe-helvetica-"
"DefaultFixed" = "fixed"
"DefaultSerif" = "-adobe-times-"
"DefaultSansSerif" = "-adobe-helvetica-"

;; default TrueType fonts with russian koi8-r encoding
;"Default" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultFixed" = "-monotype-courier new-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSerif" = "-monotype-times new roman-*-*-*--*-*-*-*-*-*-koi8-r"
;"DefaultSansSerif" = "-monotype-arial-*-*-*--*-*-*-*-*-*-koi8-r"
;; default cyrillic bitmap X fonts
;"Default" = "-cronyx-helvetica-"
;"DefaultFixed" = "fixed"
;"DefaultSerif" = "-cronyx-times-"
;"DefaultSansSerif" = "-cronyx-helvetica-"

[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"

[parallelports]
"Lpt1" = "/dev/lp0"

[spooler]
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3:" = "/dev/lp3"

[ports]
;"read" = "0x779,0x379,0x280-0x2a0"
; "write" = "0x779,0x379,0x280-0x2a0"

[spy]
"Exclude" = "WM_SIZE;WM_TIMER;"

[registry]
;These are all booleans.  Y/y/T/t/1 are true, N/n/F/f/0 are false.
;Defaults are read all, write to Home
; Global registries (stored in /etc)
"LoadGlobalRegistryFiles" = "Y"
; Home registries (stored in ~user/.wine/)
"LoadHomeRegistryFiles" = "Y"
; Load Windows registries from the Windows directory
"LoadWindowsRegistryFiles" = "Y"
; TRY to write all changes to home registries
"WritetoHomeRegistryFiles" = "Y"
; Registry periodic save timeout in seconds
; "PeriodicSave" = "600"
; Save only modified keys
"SaveOnlyUpdatedKeys" = "Y"

[Tweak.Layout]
;; supported styles are 'Win31'(default), 'Win95', 'Win98'
"WineLook" = "Win98"

[Console]
;"Drivers" = "tty"
;"XtermProg" = "nxterm"
;"InitialRows" = "25"
;"InitialColumns" = "80"
;"TerminalType" = "nxterm"

[Clipboard]
"ClearAllSelections" = "0"
"PersistentSelection" = "1"

; List of all directories directly contain .AFM files

[afmdirs]
"1" = "/usr/share/ghostscript/fonts"
"2" = "/usr/share/a2ps/afm"
"3" = "/usr/share/enscript"
"4" = "/usr/X11R6/lib/X11/fonts/Type1"

[WinMM]
"Drivers" = "wineoss.drv"
"WaveMapper" = "msacm.drv"
"MidiMapper" = "midimap.drv"

# </wineconf>

#########################################
# Application dependent sections follow #
#########################################

[AppDefaults\\_INS5576._MP\\x11drv]
; Lotus Notes R5 installer
; I'm quite not sure this will run on some other machine than mine, but it
; can't hurt
"Managed" = "N"
"Desktop" = "N"

[AppDefaults\\nlnotes.exe\\x11drv]
"Desktop" = "800x600"

[AppDefaults\\notes.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"

[AppDefaults\\nlnotes.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"

[AppDefaults\\nhldaemn.exe\\DllOverrides]
"msvcrt" = "native"
"msvcrt40" = "native"
"crtdll" = "native"
"imagehlp" = "native"
"rnaph" = "native"

[AppDefaults\\DCPlusPlus.exe\\DllOverrides]
"*" = "builtin,native,so"
"comctl32" = "native"
"riched20" = "native"


any pointers will help i just decided to try wine after reading your post about dc++

Thanks in advance
Scott Jones
Back to top
View user's profile Send private message
JanErik
Guru
Guru


Joined: 28 Oct 2002
Posts: 488
Location: Finland

PostPosted: Fri Sep 05, 2003 1:11 pm    Post subject: Reply with quote

Not working very well for me... I am getting "Unhandled Exception" at startup. DC++ does run if I just leave the error message in the background, but I cannot connect to any hubs, it just doesn't seem to get network access. Will try oDC now...
Back to top
View user's profile Send private message
Landonis
n00b
n00b


Joined: 02 May 2003
Posts: 19
Location: Wales, UK

PostPosted: Fri Sep 05, 2003 1:21 pm    Post subject: Reply with quote

This is great and I will be trying when I get home :D

For those of you have problems with the unhandled exception error - this seems to be caused by the latest version of wine - it seems to have some problem with making network connections - use an earlier version as I suggest in the below thread and see if that works:

https://forums.gentoo.org/viewtopic.php?t=79376

Hope that helps!
_________________
Four be the things I am wiser to know:
Idleness, sorrow, a friend, and a foe.
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1006
Location: Iceland

PostPosted: Sat Oct 25, 2003 3:43 am    Post subject: Reply with quote

I got DC++ too work great :) not oDC for some reasion, i also have more files then you have in the native setup...and it saves the settings and so on... :)
Back to top
View user's profile Send private message
xo
n00b
n00b


Joined: 16 Oct 2003
Posts: 52

PostPosted: Sun Oct 26, 2003 5:07 pm    Post subject: no need for wine or DC++, maybe Reply with quote

it seems the folk from KDE have DC clone or maybe its an external project. don't know how good it is but here's the link:

http://apps.kde.com/na/2/info/id/1522?sid=f4111e3884d8491d1cab869df36b7acc&sid=f4111e3884d8491d1cab869df36b7acc
_________________
TyanTigerMP | GeForce2MX200 | AudigyPlatinum | PromiseUltra100TX2 | Realtek8139
Back to top
View user's profile Send private message
aanund
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 147

PostPosted: Sun Oct 26, 2003 10:04 pm    Post subject: Reply with quote

it is unfortunately not a dc++ clone, it is just another dc client.

and it is nowhere near dc0++ in ... any regard except linux integration;P
Back to top
View user's profile Send private message
lawrence
n00b
n00b


Joined: 11 Nov 2003
Posts: 6

PostPosted: Sat Nov 15, 2003 9:44 am    Post subject: Reply with quote

Code:

wine oDC.exe or wine DCPlusPlus.exe


They do nothing, no error or anything. Any ideas what I do wrong? I moved to right directory (DC++/oDC under Program Files) and tried to launch exe, but nothing happens. What version of wine I have to use? Latest version of DC++/oDC is ok?
Back to top
View user's profile Send private message
malloc
l33t
l33t


Joined: 19 Sep 2003
Posts: 762

PostPosted: Sat Nov 15, 2003 5:42 pm    Post subject: Reply with quote

How come you want to use DC++ on Linux when you have dclib+dcgui-qt??? This one totally surpasses me...
I meen the thing has multi-source download for pete's sake...Can you beat that!? Plus it now gets handled in most mainstream hubs (czech pro, [BBB] and others). So why don't you guys give it a try and become marvelled by it :D
Back to top
View user's profile Send private message
aanund
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 147

PostPosted: Sun Nov 16, 2003 8:53 pm    Post subject: Reply with quote

because it looks butt-ugly and behaves like shit?

no seriously, dc++ is a nice simple prog to use.
while it might not have all the "advanced and useless" options that other progs have, it works great for those not needing those options.

several hubs block linux clients, because they are often buggy.
multi-source download is only useful when you for some reason cannot maximize your bandwith.

admittedly, i have not used any linux dc clients after i found out how to make dc++ work in wine, and i might just check back to see what have become of them. using dc++ through wine is for me a much better experience than fooling around with linux native clients.
Back to top
View user's profile Send private message
Onnelinen
n00b
n00b


Joined: 27 May 2003
Posts: 10

PostPosted: Fri Nov 21, 2003 11:04 am    Post subject: Latest wine ebuild & DC++ => smooth installation Reply with quote

I just installed DC++ under wine. It runs perfectly without the need for any windouz native dlls. I remember I tried it before and then it didn't work, but now that i've upgraded to the latest wine version in the portage tree everything works like a charm... amazing :)
Back to top
View user's profile Send private message
cybbe
n00b
n00b


Joined: 28 Nov 2003
Posts: 2

PostPosted: Fri Nov 28, 2003 5:44 pm    Post subject: Reply with quote

I downloaded latest DC++ (v0.304) and latest wine in unstable portage (wine-20031118). I added the lines to the wine config and I copied riched20.dll from some computer and then installed comctl32.dll with the .exe from the dcplusplus homepage. I get nothing when doing wine ./DCPlusPlus.exe. It waits a sec and then exits, I see nothing of it.

Seems to be the same problem as lawrence had...

What could be wrong?
Back to top
View user's profile Send private message
aanund
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 147

PostPosted: Sat Nov 29, 2003 11:01 am    Post subject: Reply with quote

have you edited wines config file according to the first post? i.e. native, builtin?

if that is not it, then im guessing there is a problem with your dll's, dc++ work perfectly in wine for all people i know.
Back to top
View user's profile Send private message
Lemma
Guru
Guru


Joined: 19 Apr 2002
Posts: 416
Location: Uppsala, Sweden

PostPosted: Mon Dec 08, 2003 1:34 pm    Post subject: Reply with quote

Quote:
have you edited wines config file according to the first post? i.e. native, builtin?

if that is not it, then im guessing there is a problem with your dll's, dc++ work perfectly in wine for all people i know.
No, not necessarily. I have the same problem and I have cut'n'pasted it into the .wine/config. :-(

The problem is with the comclt32.dll, with it I get nothing, without I can start DCPlusPlus.exe 0.305 but can't make the settings stick.
_________________
Always make it as simple as possible, but no simpler
/Einstein
Back to top
View user's profile Send private message
Lemma
Guru
Guru


Joined: 19 Apr 2002
Posts: 416
Location: Uppsala, Sweden

PostPosted: Tue Dec 09, 2003 12:22 pm    Post subject: Reply with quote

Ok, taking them from winXP did the trick! Can't say I have a clue as to why it did not work before (the filesizes and such was the same...) but it is working now and that is what's important.
_________________
Always make it as simple as possible, but no simpler
/Einstein
Back to top
View user's profile Send private message
fredrin
n00b
n00b


Joined: 15 Dec 2003
Posts: 54
Location: The Universe -> Earth -> South America -> Argentina -> Buenos Aires -> Almagro

PostPosted: Sun Jan 25, 2004 12:19 pm    Post subject: Reply with quote

I've upgraded to version 20040121 of Wine. After I did the upgrade, my dc++ won't start.

This happens.

* DC++ is loading shared files
* Then I get a millions of messageboxes with the title "unhandeled exception"
* Then I just have to use "killall wine-pthread" to get the controll back

What to do?

-fredrik-
_________________
-fuck-the-system-that-fucks-you-
Back to top
View user's profile Send private message
NiXZe
n00b
n00b


Joined: 22 May 2003
Posts: 71
Location: Uppsala Sweden

PostPosted: Sun Jan 25, 2004 6:22 pm    Post subject: Reply with quote

I did have the same problem as some of you... runing wine DCPlusPlus.exe and a few seconds later it just exits...

what i did was to emerge wine 20031212 (stable) instead of ("unstable") 20040112

now starts up however i still have a few problems but thats nothing that i cant solve ;)
_________________
What? Where? Oh! this one, it's Gentoo.
If you don't have anything constructive to say, you might want to consider staying quiet instead.
To many destructive comments, which in no way will help making the Gentoo community better.
Back to top
View user's profile Send private message
aanund
Tux's lil' helper
Tux's lil' helper


Joined: 29 Aug 2002
Posts: 147

PostPosted: Mon Jan 26, 2004 8:03 pm    Post subject: Reply with quote

its a common problem with wine, they break things with every release.
i cannot for the love of god understand why they HAVE to go around breaking things with every other release.
Back to top
View user's profile Send private message
NiXZe
n00b
n00b


Joined: 22 May 2003
Posts: 71
Location: Uppsala Sweden

PostPosted: Tue Jan 27, 2004 12:17 am    Post subject: Reply with quote

Since Microsoft breakes something in every new release of "insert any m$ software here" i think the wine team is doing a great job not breaking more then they are, and i'm sure ass hell don't enve them ;)
_________________
What? Where? Oh! this one, it's Gentoo.
If you don't have anything constructive to say, you might want to consider staying quiet instead.
To many destructive comments, which in no way will help making the Gentoo community better.
Back to top
View user's profile Send private message
MrZaius
n00b
n00b


Joined: 04 Feb 2004
Posts: 23

PostPosted: Mon Feb 09, 2004 11:40 pm    Post subject: DC++ Bandwidth Limits Reply with quote

DC++ is working amazingly well under the stable build of wine. The ~x86 build gave me no end of problems, but the "stable" 20031212 build is, well, amazing. Yes. Amazingly amazing.

There is one minor glitch though, and I wonder if it's DC++'s fault, or something caused by the emulator. I told DC++ to set an upload cap of 25kbps. However, as I write this, it's running one connection at 88kbps, and a number of others in the 10-30kbps range, with a total of well over 150 (6 times the cap). Is there a simple way to enforce the cap, or is this a limitation of wine I'll just have to accept?

[EDIT: N/M. Another thread showed that DC doesn't have upload capping. Be careful kids: If you see the kbps text box in the upload window in settings, set it very, very low or leave it at 0. It sets DC++ to open new slots above the slot limit if you're transfering less than a user-defined minimum bandwidth.]


Last edited by MrZaius on Sat Feb 21, 2004 11:02 am; edited 1 time in total
Back to top
View user's profile Send private message
jonfr
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1006
Location: Iceland

PostPosted: Sat Feb 21, 2004 6:24 am    Post subject: Reply with quote

I can't use active mode... :( but it runs ok execpt for that

edit: it seems to work now, i have no clue why it did start to work...but i did change from win98 to winxp or win2k and it did work correct then..
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum