PDA

View Full Version : Running RM under Ubuntu v2



SBfreak
21.02.10, 18:16
This tutorial was tested with RatioMaster 1.9.0 under Ubuntu Karmic Koala 9.10 x64
All credits belong to r5r4y who made the original tutorial (http://www.sb-innovation.de/f59/guide-runing-ratiomaster-under-linux-15010/#post124008).
I'm just re-polishing all into a easy and extreme noob edition.



1.Installing the latest version and configuring Wine:

Go to the Ubuntu Menu->Accessories->Terminal
Type [FONT="Georgia"]sudo synaptic and enter your user password.
This will take you to the Synaptic Package Manager.
In order to move on you need to access The Ubuntu Wine Team PPA (https://launchpad.net/~ubuntu-wine/+archive/ppa) and read all the info on that page (I found that relatively useful)
In Synaptic Package Manager go to Settings->Repositories->Other Software->Add..
[FONT="Georgia"]ppa:ubuntu-wine/ppa then jump to 11.
If you're not using Ubuntu 9.10 or lower you need to do this:
Add...:
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu jaunty main
jaunty can be replaced with hardy or something else,depending on your distro.You can find more on the Wine Team PPA site.
After that open a terminal and enter:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
Click Reload in Synaptic Package Manager.
Search for and install the following packages and their dependencies: [FONT="Georgia"]wine1.2 , libmono-db2-1.0-cil
Close Synaptic Package Manager

2. Installing winetricks

Open Terminal again and enter
sudo apt-get install winetricks
Then
winetricks corefonts dotnet20
The hole process can take like 5 minutes or more.

3. RatioMaster facts:

All preparations for running RM are finished now.
Just download RatioMaster,extract it somewhere,preferably the home folder.
Delete all language files in[FONT="Georgia"] /RatioMaster 1.9.0 - updated by SB-Innovation/lng except the one you use.
Read this awesome tutorial made by anon (http://www.sb-innovation.de/f59/tutorial-about-ratiomaster-all-settings-explained-18270/#post158738)
If the memory reader fails at search remove all the torrents from the client and try again.

Instab
21.02.10, 21:56
interesting, i've never been able to run rm under wine on osx (darwine)

saebrtooth
22.02.10, 01:34
Although Im a windows fanboy but Im also impressed by the varied appz Linux can handle.

SBfreak, can you also tell us if the emulation is perfect and what problems you have encountered when running RM by itself and with VEM.

Instab
22.02.10, 01:52
okay, i took a little more time to try the darwine thing again and it's been a success :biggrin:

i used a much more current wine version from there:
WineBottler - Run Windows Programs directly on OS X (http://winebottler.kronenberg.org)

anyway it's not totally flawless. i had to add the bin directory of the wine.app to the path and to install .net 2.0 i had to run the winetricks.sh manually.
also you might have to rebuild the fontcache via 'fc-cache -f -v'.
further i did not use winebottler at all but feel free to do so.

but after all i got a running ut and most important a running rm :biggrin:
mem reader works and some tests on low level sites have been successful. i hope i don't need the vm with xp anymore :top:

anon
22.02.10, 17:37
but after all i got a running ut and most important a running rm :biggrin:
mem reader works and some tests on low level sites have been successful. i hope i don't need the vm with xp anymore :top:

Running the RM without resorting to VMs or dual-booting, this must mean the world to you :biggrin:

tworkemon
26.02.10, 21:04
Great tutorial. Trying it out now on Karmic. Will have to try out the "Memory Reader" whenever I install a client on the windows side.

SBfreak
26.02.10, 21:08
It also has to work on ubuntu.(memory reader)

tworkemon
26.02.10, 21:13
It also has to work on ubuntu.(memory reader)
It works, I believe though I need to have a client running in wine for it to truly work properly. That is the portion I still need to test.

Instab
26.02.10, 21:16
Running the RM without resorting to VMs or dual-booting, this must mean the world to you :biggrin:

hehe, wouldn't go that far but yes, it's a relief. actually rm was the only reason to bother with windows for me

dju
28.07.10, 14:23
It works under older versions of wine as well as under a virtual machine. VMWare + XP is a great solution if installing dotnet 2.0 fails at wine. On latest wine versions installing net framework returns an error, it's a major issue and i was unable to run RM under 10.04LTS both x86 and x64 versions. As i remember it was wine 1.2rc6 or something like that. There are even no possible solutions at winehq..org

rubben2
30.01.11, 13:38
I'm using Fedora 14. I followed all the steps (Wine, then Winetricks, then corefonts & .net2.0). But when I try to open it this is the output:

http://www.sb-innovation.de/members/rubben2-albums-1-picture9344-screenshot1.jpg

Can anybody help me please?

cheatos
30.01.11, 13:53
I'm using Fedora 14. I followed all the steps (Wine, then Winetricks, then corefonts & .net2.0). But when I try to open it this is the output:

http://www.sb-innovation.de/members/rubben2-albums-1-picture9344-screenshot1.jpg

Can anybody help me please?

I see, 'fontfix' package in this pic:

http://www.sb-innovation.de/members/sbfreak-albums-linux-picture3494-screenshot.png

You can try installing it.
--
by the way, Did you delete all the fonts except the english one?

rubben2
30.01.11, 14:03
I installed with:
$ sh winetricks fontfix
Still same error. Also I didn't deleted any fonts.

I just read here (WineHQ - .NET Framework 1.1 (http://appdb.winehq.org/objectManager.php?sClass=version&iId=4278)) that it's not necessary to run wine through root. So I tried it without root, then it gives:

wine: Install the Windows version of Mono to run .NET executables

cheatos
30.01.11, 14:12
Also I didn't deleted any fonts.

I didn't mean to delete fonts,
the tutorial said its necessary to delete RatioMaster's language files which are located in /lng,
maybe RM is trying to read a language which the installed doesn't support and needs to be removed.


Delete all language files in /RatioMaster 1.9.0 - updated by SB-Innovation/lng except the one you use.



wine: Install the Windows version of Mono to run .NET executables

Mono won't help you, it doesn't support Threading which is required to run RM,
to run RM you need wine.
Anyway, .net framework 1.1 won't make RM work, because RM needs .net 2.0 (I read you've installed 2.0 which should be ok)

I got RM to work on Ubuntu, I followed this tutorial:
http://www.sb-innovation.de/showthread.php?threadid=15010#post124008
its nearly the same.

---
Did you install this package:
libmono-db2-1.0-cil (you didn't mention that in your post, maybe you didn't install it ?)
Did you restart the computer?

rubben2
30.01.11, 14:21
Yes I rebooted the PC after final step i.e. after installing .net 2.0.
By the way, I don't know how to install 'libmono-db2-1.0-cil'. I tried through yum, but it said that no such package is available.

Also I kept only english language in lng folder. Still no success!

cheatos
30.01.11, 14:32
By the way, I don't know how to install 'libmono-db2-1.0-cil'. I tried through yum, but it said that no such package is available.

Install yumex
Tools/yum - FedoraProject (http://fedoraproject.org/wiki/Tools/yum)

yum install yumex

Try:
updating the repository
searching for 'libmono-db2-1.0-cil'
now you have a gui! which i think is easier.

---
I don't use Fedora myself and I've never tried yumex before.

rubben2
30.01.11, 17:16
I was unable to find that package: libmono-db2-1.0-cil.
So I gave up & installed 'mono' instead. Now I'm able to open ratio master through mono, but not uTorrent (it says: "File does not contain a valid CIL image.") So I can't use memory reader, since it says "No uTorrent process found" (even if I open utorrent through wine).
What should I do now?

cheatos
30.01.11, 17:48
I was unable to find that package: libmono-db2-1.0-cil.
So I gave up & installed 'mono' instead. Now I'm able to open ratio master through mono,

Its good to hear that mono can now run RM :)


but not uTorrent (it says: "File does not contain a valid CIL image.") So I can't use memory reader, since it says "No uTorrent process found" (even if I open utorrent through wine).
What should I do now?

you can't run uT in mono, because utorrent isn't a .net application,

now on what you should do:
you need to sniff the HTTP announce using wireshark(install it, there is one for linux) and input the settings manually for each instance and everytime :dabs:

basically, you install wireshark, run it, click on start capturing, start uTorrent and start a torrent, wait for wireshark to show some crap then click stop on wireshark after you've started or stopped uTorrent (its recommended to start and stop to get the announce), then copy the peer_id,key and port to RM.

EDIT: or try harder, or let me search on how to install that package on fedora,
if you can, try cleaning thing and starting over. So you can use RM+uT+memory reader from wine.

seitan
13.09.11, 19:05
I install everything without any error.... but MR doest'n work.... shame... any suggestion to solve it?

anon
13.09.11, 19:09
Runing RatioMaster 1.8.7 under Linux... (http://www.moofdev.net/forums/index.php/topic,3617.msg18366.html#msg18366)

That guy got the memory reader working, it seems.