PDA

View Full Version : [Guide] Running RatioMaster Under Linux



r5r4y
18.08.09, 14:08
Hello all linux users...
i've found a way to run ratiomaster under linux almost as native linux program...

Here is how to do it:
First, get the newest wine version: WineHQ - Wine Binary Downloads (http://www.winehq.org/download/)
to check your wine version type in terminal: wine --version

at the moment wine-1.1.27 is the newest version so make sure you have it.

Secondly, get Winetricks from here: winetricks - The Official Wine Wiki (http://wiki.winehq.org/winetricks)

follow the instructions on the wiki on how to install it...
than open winetricks and choose:
dotnet20 MS .NET 2.0 (requires Windows license) - you don't really need one, don't worry...
corefonts MS Arial, Courier, Times fonts

make sure you also have this packge in your packge manager: libmono-db2-1.0-cil

it's may take some time for winetricks to finish the install of Net.Framework you going to see alot of erros but don't worry it will be successful at the end. do not choose do download the dotnet30 winetricks will not be successful and RatioMaster will not work.

when winetricks finishes install Net.Framework you selcted just download ratiomaster and run it with wine.

when you open first RatioMaster under wine you probaly going to see a different language from what installed on your computer...

first, close RatioMaster...
than go to the install folder and find the folder called: lng
delete all the files from there beside the file of your language, for example if you want english language than just delete the rest of the files and leave the file 1english.lng there.

OK, now to your question - does ratiomaster fully works on linux? well this is what i tested so far:


What Works:

SHA Hash
Tracker
Control Upload/Download Speed
Manual Update
Tray Icon
Tray Icon Notification on mouse hover
Language
Client simulate
TCP listener

What Does Not:
well... almost everything works great but the only thing is not working is the drag & drop torrent files to the program but that's a very small issues.

i guess one picture worth a thousand words so there it is RatioMaster 1.88 under Ubuntu Linux:

http://img40.imageshack.us/img40/3932/screenshotwqh.th.png (http://img40.imageshack.us/i/screenshotwqh.png/)


NOTE:

1. you don't really have to have the newest version of wine i think, i'm not sure but i think winetricks will also install net.framework on wine 1.01 but keep in mind that there alot of bugs fix in new version.
2. you don't need corefonts, i succussed even without it but maybe this is because i already have all the microsoft fonts installed in my system...

Happy Leeching for all! :biggrin:
ohh... and sorry for my bad english...

capito
10.09.09, 07:06
i succesfully did this using this guide.
don't know about that lib, tho. (libmono-db2-1.0-cil)
here's what i did: (if someone's wants to know)
i just installed winetricks (i had already installed wine)
then i used this command to get donnet20 and the fonts mentioned ($sh winetricks corefonts dotnet20)
don't know if the fonts are necesary, but it doesn't hurt anyone.
then i installed mono .
and the i run ratiomaster.exe using wine ($wine path/to/RM/RatioMaster.exe or just double clic in the RatioMaster.exe)
and it runs! (i got a warning, but the warning windows let me ignore it, so i did and the RM started)
the memory reader doesn't work. (you can do it manually, i guess :confused:)
you can run multiple instances.

http://img143.imageshack.us/img143/9457/snapshot2j.th.png (http://img143.imageshack.us/i/snapshot2j.png/)
http://img200.imageshack.us/img200/4624/snapshot1ss.th.png (http://img200.imageshack.us/i/snapshot1ss.png/)
http://img41.imageshack.us/img41/3599/snapshot3f.th.png (http://img41.imageshack.us/i/snapshot3f.png/)

anon
10.09.09, 13:13
Thanks for posting it!


the memory reader doesn't work. (you can do it manually, i guess :confused:)

Which client are you using? Because the memory reader doesn't work on Vuze 90% of the time, even on Windows.

capito
11.09.09, 02:26
i'm using vuze.
but the memory reader fails to find the process. (although vuze is running)
i'm guessing the path to the process is different.
or maybe it's because i have vuze 4.2.0.8 installed. :confused2:
but in that case, it would still try to read the memory and then fail at doing so, like it does in windows 90% of the time. :tongue: (but this time because of the vuze version)
i will try later. (i'll try downgrading vuze as well)

edit:
i downgraded vuze and tried to use the memory reader.
no luck.
http://img141.imageshack.us/img141/4634/snapshot4p.th.png (http://img141.imageshack.us/i/snapshot4p.png/)
http://img141.imageshack.us/img141/513/snapshot5r.th.png (http://img141.imageshack.us/i/snapshot5r.png/)

anon
11.09.09, 18:16
i'm using vuze.
but the memory reader fails to find the process. (although vuze is running)

r5r4y posted at Moofdev that the memory reader worked for him, but I think he tried uTorrent under Wine.

I'm far from being a Linux expert (should at least try to learn some things soon :biggrin:), but perhaps the RM can't find Vuze because it's running natively, and so its process name isn't azureus.exe? Also, can applications running under Wine interact with the rest of the system?

There's always the trick of enabling logging to copy the peer_id and key, I guess.

capito
12.09.09, 05:15
it does work!
http://img222.imageshack.us/img222/7796/snapshot6a.th.png (http://img222.imageshack.us/i/snapshot6a.png/)
running utorrent 1.8.4 build (16150) under wine.
too bad it doesn't work with clients running natively on linux.
i guess i'll need to learn how to get those values manually.

the best, though, would be to run Extreme mod under linux but i haven't been able to make it work. :frown:
tutorials here haven't worked for me.
i'll keep trying and i'll report if i can do it succesfully.

alpacino
12.09.09, 10:21
Running Vuze on linux shouldn't be a problem. Although I can't be much of a help on that, I've been told, you only need a Java ambient properly configured to run it, regardless of OS.

SBfreak
12.09.09, 15:06
Thanks for the excellent guide. +Rep.

anon
12.09.09, 17:43
too bad it doesn't work with clients running natively on linux.
i guess i'll need to learn how to get those values manually.

I see. I suppose I'm right about app running under Wine not being able to read the memory of native processes, then. Perhaps you can use Wireshark to sniff the peer_id and key? Or if there's a Linux app that can load the memory of running processes like HxD can on Windows, you can use that too.


the best, though, would be to run Extreme mod under linux but i haven't been able to make it work. :frown:
tutorials here haven't worked for me.

What distro are you using? Perhaps I can find some info :smile:

r5r4y
12.09.09, 22:28
Hello capito,
i'm glad to see my guide working for you, about the memory reader i've used uTorrent 1.8.3 under wine to make it work, if you are searching for native torrent client for linux you should try Deluge or Transmission, i've didn't test those but they should work better than Vuze.

what is the Extreme mod? could you send me a link to the program? i'll try and check if it's works under linux...

anon
12.09.09, 22:29
what is the Extreme mod? could you send me a link to the program? i'll try and check if it's works under linux...

http://www.sb-innovation.de/showthread.php?threadid=14875

r5r4y
12.09.09, 22:55
capito,
i think if you choose to download and install java under wine the singel exe file would work, i'm not sure about that but i see no reason why not, the reports on appdb.winehq.org about java working on wine are amazing, sun java runs without problem on wine.

WineHQ - Sun Java JRE 1.6.x (http://appdb.winehq.org/objectManager.php?sClass=version&iId=6626)

capito
13.09.09, 10:03
yes, that works.
by running everything under wine, i can use RM's memory reader to read vuze's values and also install the extreme mod (by either replacing the files (like in windows) or using the single .exe, both ways work. i tested it. :biggrin:)
and like r5r4y said, don't forget to install "window's" java first. (linux's doesn't work)
i've found two problems in vuze under wine.
- you have to use classic gui, the other one doesn't look good. and when you restart vuze for the gui change to take effect, you'll have to untick "Toolbar" in the view menu, or else you'll just see a blank screen. just untick and the normal "My Torrents" tab will appear.
- you can't uninstall vuze running the uninstaller. :rolling_eyes:
but deleting vuze's program files folder and vuze's aplication data folder should do the trick. (in wine's drive_c folder)
"pics or it didn't happen"
http://img43.imageshack.us/img43/1471/snapshot7w.th.png (http://img43.imageshack.us/i/snapshot7w.png/)
http://img199.imageshack.us/img199/2357/snapshot8g.th.png (http://img199.imageshack.us/i/snapshot8g.png/)

i still want to install the extreme mod like a native aplication, though.
it's like a goal that i want to acomplished. :mad:
i'm running arch.
so help for this will be very apreciated. (although is not the best thread to ask it :rolleyes:)

anon
13.09.09, 14:57
i've found two problems in vuze under wine.
- you have to use classic gui, the other one doesn't look good. and when you restart vuze for the gui change to take effect, you'll have to untick "Toolbar" in the view menu, or else you'll just see a blank screen. just untick and the normal "My Torrents" tab will appear.

Minor issue :biggrin: uTorrent had similar problems under Wine until BT Inc. incorporated the sys.enable_wine_hacks settings to enhance compatibility. But you aren't missing anything that's not available via the menu bar or context-menu.


- you can't uninstall vuze running the uninstaller. :rolling_eyes:
but deleting vuze's program files folder and vuze's aplication data folder should do the trick. (in wine's drive_c folder)

Don't forget about the registry, heh.


i still want to install the extreme mod like a native aplication, though.
it's like a goal that i want to acomplished. :mad:
i'm running arch.

I did a search but couldn't find any real results. :frown:

r5r4y
14.09.09, 07:24
Hello again capito,
i'm glad to see the extreme mod working with java under wine, it's not that the linux-java doesn't work
wine can't use linux programs to run .exe files on your linux system that's why i said you should install java under wine.

most of the torrents mods i've found are Java based and .NET based, so as long you have those two installed under wine i think anything should work.

although extreme mod can't run as native linux program it's still actually runs while linux is not even have the support for .exe files.

Instab
22.02.10, 01:34
continü there:
http://www.sb-innovation.de/showthread.php?threadid=18972