leoshen999 / LR2RivalRanking

Replace the original ranking in LR2 with the "rival-only" ranking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LR2 Rival Ranking

Pre-built Executable

Latest released executable version: v2.1.
The download link is >> HERE <<.

It's built and tested on Windows 7 SP1 64bits with Python 2.7.

Overview

LR2 Rival Ranking(LR2RR) is a plug-in of Lunatic Rave 2(LR2).

When LR2RR is running, the ranking in LR2 will be replaced.
The new ranking will only show the score of your rivals and yourself.
It's easier to compare the scores with your rivals.

The LR2IR website is also modified.
You are able to view the scores of recent plays or difficulties.

Installation

The following tools or packages are needed to compile the python script:

  • Python 2.7
  • PyQt4
  • lxml
  • pywin32
  • py2exe

After installing all of above, just simply run:

python LR2RivalRanking.py

Or if you want to build a portable executable, please run:

python Setup.py

A single executable file LR2RivalRanking.exe will be located in the generated dist\ folder.

The program is only tested on Windows 7 and 8.
I'm not sure whether other platforms are well-supported or not.

Usage

run LR2RivalRanking.py or LR2RivalRanking.exe with administrator privilege before LR2.

If LR2 has been started before LR2RR, please close LR2 first.
(LR2RR needs to take the login procedure of LR2 to get the rival list of current player.)

In the app, there are some supplemental functions:

  • Ctrl+1: modify Ir/ folder of LR2
  • Ctrl+2: Update difficulties tables
  • Ctrl+3: Shortcut for opening LR2IR

For the first time to use, please update difficulties tables.
If the LR2IR modification function doesn't work properly, please refresh your web page.
If it's still not work, please check the browser DNS settings.

The rival data is saved in %APPDATA%\LR2RR.
You can delete this folder if you want to clean the previous saved data.

If the program is not closed correctly, it may cause connection error to LR2 server.
When the problem happens, just turn on LR2RR and close it again.
If it's still not solved, please check your hosts setting.
(%SystemRoot%\System32\drivers\etc\hosts)

The rivals can be registered on the LR2IR website:
http://www.dream-pro.info/~lavalse/LR2IR/search.cgi

History

Please refer to CHANGELOG for more information.

TODO

  • In near future (v2.0.x):
    • Original webpage form sending crashed
    • Consider to use another table sorting library
    • Add arbitrary song comparison for rivals
    • Add score comparison with arbitrary two players
    • check multiple execution of LR2RR
  • should be done someday (v2.1 or further):
    • Add user configurations
    • Support manually logging
    • Add more exception handler
    • Performance evaluation
  • not sure whether to implement:
    • Remove not played record in ranking
    • Add rival recommended song list
    • Recommend proper rivals to the player

Credits

Author: Leo Shen (LR2IR: 121168 うまい焼鴨)
Twitter: https://twitter.com/leoshen365 (seldom use it)

Part of the code is copied from GNQG's lr2irproxy.
(https://github.com/GNQG/lr2irproxy)
The basis code and the main idea help me a lot.

Some css design of webpage extension difficulty table is referred to XYZ's BMS clear lamp.
(http://xyzzz.net/bms/clearlamp.php)
Sorry about that I can't read Korean, but the layout of clear lamp manager is beautiful!

The font in the program is from Salauyou's Consolas High Line.
(https://github.com/Salauyou/Consolas-High-Line)
The font is awesome on aligning the text heights of different fonts!

The icon of the cloud is from Vecteezy's Cloud Computing.
(http://www.vecteezy.com/)
Thanks for the great art works.

License

MIT License
Copyright (c) 2016-2017 leoshen999

About

Replace the original ranking in LR2 with the "rival-only" ranking

License:MIT License


Languages

Language:Python 81.8%Language:CSS 11.0%Language:JavaScript 7.2%