Jump to content

Java Ratiomaster (without mono)

java ratiomaster torrent ratio faker mac

  • Please log in to reply
3 replies to this topic

#1
anthony-joal

anthony-joal

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
Hi there,
I recently coded a java Ratiomaster like software (named joal), but much more easier and safer. It's Java coded, long story short, it means you can run it on every OS without installing mono.
 
First install
 
1. Prerequisites
  • Install Java 8 : (Click "Accept License Agreement" and download the mac version)
 
2. Prepare
 
    2.1. Create config folder
Open a terminal, execute the script below then close the terminal :
cd ~ \
&& curl -fLOk https://github.com/anthonyraymond/joal/archive/master.zip \
&& unzip ./master.zip 'joal-master/resources/**' -d ./ \
&& mkdir -p ./joal-conf \
&& mv ./joal-master/resources/* ./joal-conf/ \
&& rm -rf ./joal-master \
&& rm ./master.zip
It may seems akward, but here is what it will do. It will download my project source code, extract the configuration folder and put it into your home folder "~/joal-conf/".
 
 
    2.2. Add some torrent to seed
We need some ".torrent" files to emulate a share. But BE CAREFULL, torrents have to be active (at least one leecher).
Then, go to your favorite private torrent's tracker and download something like 10 active torrents.
Move these torrents to "~/joal-conf/torrents/".
 
 
3. Downloading the software
Open a terminal, execute the script below then close the terminal :
cd ~ \
&& GITHUB_REPO="https://github.com/anthonyraymond/joal" \
&& LATEST=$(curl -sSI $GITHUB_REPO"/releases/latest" | perl -n -e '/^Location: .*?tag\/(.*?)\r*$/ && print "$1\n"') \
&& curl -f -L $GITHUB_REPO"/releases/download/"$LATEST"/"$LATEST".jar" > ./joal-conf/jack-of-all-trades.jar
Get the latest version of the software, and download it to "~/joal-conf/".
 
 
 
How to use
 
1. Start
To start emulating seed, open a terminal and execute the following command (replace X.X.X with your joal version):
     
java -jar ~/joal-conf/jack-of-all-trades-X.X.X.jar ~/joal-conf/
 
Keep the terminal open while seeding. You should see something like below (secret informations were hidden) :
1488398561-demo-joal.png 
 
 
2. Add some more torrents
To keep your account safe, each time a torrent reach 0 peers, it is automatically removed from the "~/joal-conf/torrents/" folder. You'll have to add some over the time.
 
 
 
For further details head to project's repository
 
Have fun and if you have any problem, feel free to ask.


#2
Hervé

Hervé

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,486 posts
  • Gender:Male
  • Location:Rennes, BZH of course!

Whose ratio does it keep up?  :dev:



#3
anthony-joal

anthony-joal

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

The same that RatioMaster used to do ^^

On some torrent trackers (the private ones), you need to upload as much as you download. This soft basically emulate upload to the tracker.



#4
anthony-joal

anthony-joal

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts

[RELEASE]: 1.0.1

  • On reaching 0 leechers, torrent are no longer deleted. Moved to /torrents/archived folder instead.
  • Improve documentation.






Also tagged with one or more of these keywords: java, ratiomaster, torrent, ratio faker, mac


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2016 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy