PDA

View Full Version : [SFIDA] ud sotto wine


checo
05-06-2003, 17:05
ud è un programma per la lotta contro il cancro, per info e download quardate la mia signature.

il brutto è che il client è solo per windows.
vediamo chi resce a farlo funzionare sotto wine

personalmente sono riuscito copiando un installazione già fatta a farlo partire, si scarica la work unit dal server, ma non la elabora, e ne scarica subito un'altra.

questi sono i file che vanno copiati nella directory del fake windows

/wine/c/windows/system/msvcrt.dll
/wine/c/windows/system/ole32.dll
/wine/c/windows/system/oleaut32.dll
/wine/c/windows/system/shlwapi.dll
/wine/c/windows/system/MSVBVM60.DLL

ho provato anche ad installarlo sotto linux, ma chiede msi (microsoft installer) che ovviamente non si installa :(

fate no sforzo è per una buona causa.

aggiungo quello che dice un tizio che lo ha fatto funzionare su un dual processor

Running UD with Wine in Linux
Woohoo!

Dual UD clients running on my SMP Linux box using Wine and separate Wine servers!

I don't know if people are already doing this..so here goes for the linux people out there.

My setup is RedHat 7.2 with the wine packages that come in that distro from cd2

- Made the edits to /etc/wine.reg for my drive setup.
- Set managed='y' in the config file near the bottom.
- Ran wine once to get my copy of the configs in my home directory.

I made a copy of the wine config files in my home directory as ~/.wine2
So now I have:

~/.wine
~/.wine2

I then installed the client twice in 2 separate directories, once each with the 2 wine server setups.

In a X term:
code:

WINEPREFIX="/root/.wine"
export WINEPREFIX
wine ud_agent_setup.exe

That one I installed to /mnt/c/ud/viper1

Then in an X term I ran:
code:

WINEPREFIX="/root/.wine2"
export WINEPREFIX
wine ud_agent_setup.exe

And installed that one to /mnt/c/ud/viper2

So now I have separately installed clients in:

/mnt/c/ud/Viper1
/mnt/c/ud/Viper2

I run one client for each of the wine configs from a script changing the WINEPREFIX enviroment variable for each one. This makes the wineservers unique instances.
code:

#!/bin/ksh

WINEPREFIX="/root/.wine"
export WINEPREFIX
nice -n 19 wine /mnt/c/Ud/Viper1/UD.exe &

WINEPREFIX="/root/.wine2"
export WINEPREFIX
nice -n 19 wine /mnt/c/Ud/Viper2/UD.exe &


You'll notice I also threw in a 'nice' there to make sure the priority is being nice.

When it's all running they even throw the systray icons in the applet window in KDE

Screenshot of 2 clients. One on the main screen and the other on the graphic display screen. Check out the bottom right
http://users.neosmart.com/hruzaden/folding/screenshots/linux-ud.jpg

I'll have to let them run awhile and see how it goes. Seems fine so far.

Den


» | | 2001-12-19 23:22:42 | | | Print



DawsonPrime$
(Premium)

Posts: 1236
Joined 03-14-2001
Location: Crouch End
Wow, nice. That is very impressive. I have not heard of anyone doing this. Great job and thanks for the info.
--
Join Team Discovery and help fight cancer.


» | | 2001-12-19 23:30:18 | | | Print



Shady Bimmer


Joined 12-03-2001
Location: Northport, NY
Optimum Online
NOTE: this is in response to the post by Den
Great info. I was actually wondering if this would be possible and I was thinking about trying it for a third cruncher.

My box actually has OpenBSD running, but the same version of Wine will run there so I might just give it a shot.


» | | 2001-12-19 23:33:53 | | | Print



Possums Rule
Ian_Brooks
NOTE: this is in response to the post by Den
Great job Den.


» | | 2001-12-20 08:03:42 | | | Print



RClarkofNC
(Premium)


Joined 09-20-2000
Location: Charlotte, NC
RoadRunner
*NOTE: this is in response to the post by Den
Thanks, Den! I think this is a first.


» | | 2001-12-20 08:06:29 | | | Print



Cop
(Premium)


Joined 09-05-2001
Location: Madison, AL
Knology

said by RClarkofNC:
Thanks, Den! I think this is a first.


its the first and best way!



Scott
--
Join Team Discovery and help fight Cancer.


» | | 2001-12-20 09:39:15 | | | Print



Den


Joined 01-21-2001
Location: Cape Coral, FL
NOTE: this is in response to the post by Den
I changed my setup a bit. Instead of using the window manager to control the systray stuff and the apps I have each client running on it's own wine desktop ( basically a window ) that is 800x550. This way I can minimize them to the taskbar like a normal app instead of the applet area

http://users.neosmart.com/hruzaden/folding/screenshots/linux-ud2.jpg

I've returned work with the setup. Only bad thing is the systray support seems a little flaky in wine. I sometimes loose the ability to switch between the clients pages, but it still runs and updates whatever page was being actively shown. Doesn't seem to affect the clients.

Den



vediamo se ci capite qualcosa