08-18-2014, 08:49 PM | #1 |
One-handed elite
Join Date: May 2008
Posts: 1,464
|
Program that sorts your levelrank from best to worst
This is a product of some boredom + about 2 hrs of spare time
This takes your levelrank line-by-line, gives each score a rating (called the "AAA-equivalent", or the difficulty of song the score is equivalent to an AAA of), then sorts them from best to worst and spits out a file containing the results. The formula it uses is actually really simple: ([Raw score]/[Raw score for an AAA of the song])^10 * [Song's difficulty] How to run this: 1. Download the Java file from here and put it in a folder: The Java File 2. Download the list of songs and the number of notes in each one that I have compiled for this program's use, and put it in the same folder: The Master List of FFR Songs and their # of Notes 3. Copy-paste your levelranks into a text file, save it in the same folder as "Levelrank.txt" (note: if you ctrl-a your levelranks, you MUST delete all the extra stuff or it won't work) 4. Run the program. It will generate a file in the same folder called "AnalyzedLevelranks.txt". This will contain your AAA-eq's. This is a sample of the output (only showing the top 20, because no one wants to see a wall of numbers): Starlight (57) 57.0 [709-0-0-0-0] Fei Longer (57) 56.3851192037817 [737-1-0-0-3] Survive (60) 55.93710204585523 [1767-19-3-0-3] World Tour 2004 (74) 55.75158787688937 [3759-156-15-10-65] Camel (65) 52.50507406528722 [1037-25-3-5-14] Scavenger (54) 52.20316194545844 [737-2-0-1-3] Rondo Alla Turca (54) 52.14793111162251 [1540-10-0-0-4] Case Closed (54) 50.98246841575738 [1019-8-2-0-1] End Night (61) 50.85328655014235 [1090-33-1-2-5] Haruka Kanata (55) 50.404946146959745 [930-12-2-0-4] Streets (58) 49.85350325644671 [914-12-1-5-11] Musicmaker RX (52) 49.19105272940202 [930-8-0-1-0] Witches Hat (59) 49.16914021207423 [1249-39-2-0-20] Szamar Madar (58) 49.0878316766038 [1066-22-2-4-5] Infernoplex (53) 48.9568896857658 [1434-20-0-1-3] Yukitsuki-yashou (49) 48.7306959189042 [1088-1-0-0-1] Robotix (49) 48.6435082921343 [821-1-0-0-1] Enchanting Venus (50) 48.45307358121127 [729-4-0-0-3] Aishiteru Yo Ne (57) 48.027877324064825 [1593-48-1-1-18] BB Evolution (69) 47.95625734897515 [2488-111-7-25-22] Note that the program skips over unplayed files (they won't show up in the results file.) Also, only public songs are included (obviously, because that's all that is in the levelranks.) Update: Here is a link to Oni-Paranoia's Python version of this program. It uses a different formula that seems to rate higher-difficulty FC's more strongly than my program, but requires neither the JDK nor the master list file. To run his, just download it, copy your levelranks into a file called "rank.txt" and save it to the desktop, then run the executable. (Note: the file is much larger than mine, in the 3 mb range. Also, his only displays your top 10 scores, rather than your entire levelranks, and does not display the PA or difficulty of the songs.)
__________________
The renegade has betrayed me. Last edited by Guest15937; 08-20-2014 at 01:53 AM.. |
08-18-2014, 10:05 PM | #2 | |
Under the scarlet moon
Join Date: Jan 2014
Age: 31
Posts: 921
|
Re: Program that sorts your levelrank from best to worst
I expected a worse result from that metric, but it actually gives reasonable results.
My top20: STRAWBERRY SWEETZ 77.0133906997945 Pants 76.85826614866383 Little God Ch@nnel 76.6247477682971 Tenimuhou 76.5393118227496 Twister 75.49434454481735 Across Rooftops 75.39675672913457 Crow's Ghost 75.27806220290785 Integraation 75.17466083446327 11ELEVEN 74.98705877271205 Frictional Nevada 74.82207800472752 Sleepmix Strikes Back 74.26719874489399 October 73.90432914945343 Lightning Strikes Again - Metal Squad 73.67385543297242 Beautiful Arrhythmia 73.5811304797727 All i wanna do is touch your powerpoints 73.54975768241856 Sleep 73.50670379979496 Fuse Gymnast 73.48484790547342 Tageri 73.46445729554029 Purple Drank 73.42398237856911 RAN 73.42042163150286 You placed quite a burden on the user to run the program though, uploading separate small text files on Mega, having to use Java, parsing the levelrank page for the program... Quote:
|
|
08-18-2014, 10:10 PM | #3 |
🥓<strong><span style="col
Resident Overseer
Join Date: Mar 2007
Location: Kingsport, TN
Posts: 7,648
|
Re: Program that sorts your levelrank from best to worst
Constructive criticism will help him learn d:
Neat overall, though I think some way to see the "compared" scores would be quite useful. For example that 73 compared to the 75, what were the PA scores on the songs? Is my 50 comparable to your 50? I think it'd be neat to see what kinds of scores are actually comparable on different songs.
__________________
|
08-18-2014, 10:13 PM | #4 |
FFR Veteran
Join Date: Sep 2006
Location: São Paulo, Brazil
Age: 29
Posts: 259
|
Re: Program that sorts your levelrank from best to worst
Would be nice having something that can be run by someone who isn't a computer science graduate.
|
08-18-2014, 11:09 PM | #5 |
One-handed elite
Join Date: May 2008
Posts: 1,464
|
Re: Program that sorts your levelrank from best to worst
Update: The difficulty and PA of the song is included.
Link to new version: here (will also be updated in the OP) New output sample: Starlight (57) 57.0 [709-0-0-0-0] Fei Longer (57) 56.3851192037817 [737-1-0-0-3] Survive (60) 55.93710204585523 [1767-19-3-0-3] World Tour 2004 (74) 55.75158787688937 [3759-156-15-10-65] Camel (65) 52.50507406528722 [1037-25-3-5-14] And I know it's a bit cumbersome to run...but it's really not that big a deal, it's just a matter of a couple of files. I guess I could put the two files together in a rar...
__________________
The renegade has betrayed me. |
08-18-2014, 11:11 PM | #6 |
Celestial Harbor
|
Re: Program that sorts your levelrank from best to worst
you're assuming that people have the jdk downloaded; if they don't, they won't be able to run the program.
also, the formula feels quite arbitrary, and probably would result in a bunch of "ratings" that wouldn't make sense given the expanse of levelranks that everyone has
__________________
Last edited by YoshL; 08-18-2014 at 11:15 PM.. |
08-18-2014, 11:39 PM | #7 | |
One-handed elite
Join Date: May 2008
Posts: 1,464
|
Re: Program that sorts your levelrank from best to worst
Quote:
As for the JDK thing...crap. I never even thought of that.
__________________
The renegade has betrayed me. |
|
08-19-2014, 08:58 AM | #8 | |
Digital Dancing!
Join Date: Feb 2006
Location: 80 billion club, NE
Age: 31
Posts: 12,981
|
Re: Program that sorts your levelrank from best to worst
Quote:
Also, %.2f PLEASE. I thought about implementing something like this into my levelrank analysis program, but never got around to it. I also wanted to make it give a rough division placement calculator, but figured that would cause a bit of controversy. I don't know how I feel about the equation you chose, though.
__________________
Last edited by rushyrulz; 08-19-2014 at 09:07 AM.. |
|
08-19-2014, 09:07 AM | #9 |
Celestial Harbor
|
Re: Program that sorts your levelrank from best to worst
i do like the concept of the formula though.
by taking the % of the max raw score and multiplying some factor of it by the difficulty is a nice idea, just would probably need some fine tuning, and maybe/probably incorporation of other aspects of the song, like perhaps max NPS, average NPS, etc. |
08-19-2014, 09:12 AM | #10 |
Digital Dancing!
Join Date: Feb 2006
Location: 80 billion club, NE
Age: 31
Posts: 12,981
|
Re: Program that sorts your levelrank from best to worst
I tried doing an average NPS calc by pulling note data from each file, but the program ran longer than my connection to my school's UNIX server would last. I might have been going about it wrong, though. All you would really need is like a text file containing NPS data tho to do calculations based on it.
__________________
Last edited by rushyrulz; 08-19-2014 at 09:13 AM.. |
08-19-2014, 10:23 AM | #11 | |
Rhythm game specialist.
|
Re: Program that sorts your levelrank from best to worst
Quote:
Once you have that, download the files accordingly and follow instructions. If it doesn't execute anything (no errors, nothing), you likely need to create an association between the .java file and javac.exe found in the JDK (that's the simple way; you could just execute through command prompt). At least, that's what I think you need to do... ...it's been quite a while. |
|
08-19-2014, 10:41 AM | #12 |
Celestial Harbor
|
Re: Program that sorts your levelrank from best to worst
even if you execute through command prompt, you still need to set up the proper path so that you can actually use the javac command
|
08-19-2014, 11:01 AM | #13 | |
D6 Challeneged
Join Date: Aug 2012
Age: 31
Posts: 1,267
|
Re: Program that sorts your levelrank from best to worst
Quote:
Edit: Or 20K to the first person to run it on my levelranks and PM me the results dohohoho Last edited by Untimely Friction; 08-19-2014 at 11:02 AM.. |
|
08-19-2014, 11:07 AM | #14 |
Snivy! Dohoho!
Join Date: Mar 2006
Age: 33
Posts: 6,161
|
Re: Program that sorts your levelrank from best to worst
|
08-19-2014, 12:59 PM | #15 |
rain of memories...
|
Re: Program that sorts your levelrank from best to worst
I followed the directions and used javac to run LevelrankAnalyzer, and it opened a file called 'AnalyzedLevelranks.class'. I've tried to open it with notepad, but it shows up as a bunch of unrecognizable symbols and characters. I have also tried to open the .class file with jd-gui because this website told me that the program can read .class files.
However, when I used that program to open AnalyzedLevelranks.class, it only showed me the original java code instead of the results. Does anyone know what I'm doing incorrectly?
__________________
i'm a transgender woman in case you didn't know my discord username is drizzleRomanceGirl0706 in case anyone wants to message me |
08-19-2014, 01:02 PM | #16 |
One-handed elite
Join Date: May 2008
Posts: 1,464
|
Re: Program that sorts your levelrank from best to worst
Did the program produce a file called "AnalyzedLevelranks.txt"? That's where your results would be.
__________________
The renegade has betrayed me. |
08-19-2014, 01:07 PM | #17 |
Digital Dancing!
Join Date: Feb 2006
Location: 80 billion club, NE
Age: 31
Posts: 12,981
|
Re: Program that sorts your levelrank from best to worst
lol if I got the source code for this, I could convert it to executable.
__________________
|
08-19-2014, 01:13 PM | #18 |
Celestial Harbor
|
Re: Program that sorts your levelrank from best to worst
the .java file, just open with notepad++ or something lol
|
08-19-2014, 01:16 PM | #19 |
One-handed elite
Join Date: May 2008
Posts: 1,464
|
Re: Program that sorts your levelrank from best to worst
Yeah the source code is just the .java file. :P
__________________
The renegade has betrayed me. |
08-19-2014, 01:26 PM | #20 |
Celestial Harbor
|
Re: Program that sorts your levelrank from best to worst
how do you convert to executable for java files anyways?
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|