Go Back   Flash Flash Revolution > Flash Flash Revolution > FFR General Talk
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
Old 08-18-2014, 08:49 PM   #1
Guest15937
One-handed elite
FFR Veteran
 
Guest15937's Avatar
 
Join Date: May 2008
Posts: 1,464
Default 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..
Guest15937 is offline   Reply With Quote
Old 08-18-2014, 10:05 PM   #2
AutotelicBrown
Under the scarlet moon
FFR Simfile AuthorD7 Elite KeysmasherFFR Veteran
 
AutotelicBrown's Avatar
 
Join Date: Jan 2014
Age: 31
Posts: 921
Default 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:
analyzeSong(Double.parseDouble(thing.get(1)),thing.get(2),Double.parseDouble(thing.get(4)),Double.parseDouble(thing.get(5)),Double.parseDouble(thing.get(6)),Double.parseDouble(thing.get(7)),Double.parseDouble(thing.get(8)));
And god, this statement.
AutotelicBrown is offline   Reply With Quote
Old 08-18-2014, 10:10 PM   #3
justin_ator
🥓<strong><span style="col
Resident Overseer
FFR Veteran
 
justin_ator's Avatar
 
Join Date: Mar 2007
Location: Kingsport, TN
Posts: 7,648
Default 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.
__________________
justin_ator is offline   Reply With Quote
Old 08-18-2014, 10:13 PM   #4
gabrieljd
FFR Veteran
FFR Veteran
 
gabrieljd's Avatar
 
Join Date: Sep 2006
Location: New York, NY
Age: 28
Posts: 259
Default 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.
gabrieljd is offline   Reply With Quote
Old 08-18-2014, 11:09 PM   #5
Guest15937
One-handed elite
FFR Veteran
 
Guest15937's Avatar
 
Join Date: May 2008
Posts: 1,464
Default 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.
Guest15937 is offline   Reply With Quote
Old 08-18-2014, 11:11 PM   #6
YoshL
Celestial Harbor
FFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
YoshL's Avatar
 
Join Date: Aug 2008
Location: Celestial Harbor
Age: 30
Posts: 6,156
Send a message via AIM to YoshL Send a message via MSN to YoshL Send a message via Skype™ to YoshL
Default 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
__________________


Quote:
Originally Posted by Charu View Post
Only yours, for an easy price of $19.99! You too can experience the wonders of full motion rump sticking.

Last edited by YoshL; 08-18-2014 at 11:15 PM..
YoshL is offline   Reply With Quote
Old 08-18-2014, 11:39 PM   #7
Guest15937
One-handed elite
FFR Veteran
 
Guest15937's Avatar
 
Join Date: May 2008
Posts: 1,464
Default Re: Program that sorts your levelrank from best to worst

Quote:
Originally Posted by YoshL View Post
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
Well there's never going to be one catch-all, end-all formula for rating one score over another that will satisfy everyone. People may always disagree on whether a 2g on a 60 is better or worse than a 12-0-1-2 on a 64. I can agree that the 10th power was picked rather arbitrarily, but it produced results that match, or nearly match, which scores I think are my best ones.

As for the JDK thing...crap. I never even thought of that.
__________________
The renegade has betrayed me.
Guest15937 is offline   Reply With Quote
Old 08-19-2014, 08:58 AM   #8
rushyrulz
Digital Dancing!
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
rushyrulz's Avatar
 
Join Date: Feb 2006
Location: 80 billion club, NE
Age: 31
Posts: 12,980
Default Re: Program that sorts your levelrank from best to worst

Quote:
Originally Posted by YoshL View Post
you're assuming that people have the jdk downloaded; if they don't, they won't be able to run the program.
Main reason I pretty much halted java development.

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..
rushyrulz is offline   Reply With Quote
Old 08-19-2014, 09:07 AM   #9
YoshL
Celestial Harbor
FFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
YoshL's Avatar
 
Join Date: Aug 2008
Location: Celestial Harbor
Age: 30
Posts: 6,156
Send a message via AIM to YoshL Send a message via MSN to YoshL Send a message via Skype™ to YoshL
Default 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.
__________________


Quote:
Originally Posted by Charu View Post
Only yours, for an easy price of $19.99! You too can experience the wonders of full motion rump sticking.
YoshL is offline   Reply With Quote
Old 08-19-2014, 09:12 AM   #10
rushyrulz
Digital Dancing!
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
rushyrulz's Avatar
 
Join Date: Feb 2006
Location: 80 billion club, NE
Age: 31
Posts: 12,980
Default 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..
rushyrulz is offline   Reply With Quote
Old 08-19-2014, 10:23 AM   #11
TC_Halogen
Rhythm game specialist.
Retired StaffFFR Simfile AuthorFFR Music ProducerD8 Godly KeysmasherFFR Veteran
 
TC_Halogen's Avatar
 
Join Date: Feb 2008
Location: Bel Air, Maryland
Age: 32
Posts: 19,376
Send a message via AIM to TC_Halogen Send a message via Skype™ to TC_Halogen
Default Re: Program that sorts your levelrank from best to worst

Quote:
Originally Posted by gabrieljd View Post
Would be nice having something that can be run by someone who isn't a computer science graduate.
You hardly need to know anything about computer science to make this work. The inherent issue with this program is precisely what YoshL mentioned: you need the Java Development Kit (JDK) installed on your computer for the program to execute.

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.
TC_Halogen is offline   Reply With Quote
Old 08-19-2014, 10:41 AM   #12
YoshL
Celestial Harbor
FFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
YoshL's Avatar
 
Join Date: Aug 2008
Location: Celestial Harbor
Age: 30
Posts: 6,156
Send a message via AIM to YoshL Send a message via MSN to YoshL Send a message via Skype™ to YoshL
Default 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
__________________


Quote:
Originally Posted by Charu View Post
Only yours, for an easy price of $19.99! You too can experience the wonders of full motion rump sticking.
YoshL is offline   Reply With Quote
Old 08-19-2014, 11:01 AM   #13
Untimely Friction
D6 Challeneged
Retired StaffFFR Veteran
 
Untimely Friction's Avatar
 
Join Date: Aug 2012
Age: 31
Posts: 1,267
Default Re: Program that sorts your levelrank from best to worst

Quote:
Originally Posted by rushyrulz View Post
Main reason I pretty much halted java development.

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.
Cooooould you 2 maybe collab on this with the same concept? I could run rushys without concern I remember but i know this laptop doesnt have JDK and Im the lazy... so this is a terrible inconvenience for me that I really wanna do.

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..
Untimely Friction is offline   Reply With Quote
Old 08-19-2014, 11:07 AM   #14
Charu
Snivy! Dohoho!
FFR Simfile AuthorFFR Veteran
 
Charu's Avatar
 
Join Date: Mar 2006
Age: 33
Posts: 6,161
Default Re: Program that sorts your levelrank from best to worst

Quote:
Originally Posted by Untimely Friction View Post
dohohoho
You fiend!!!
__________________


Quote:
Originally Posted by JohnRedWolf87 View Post
Charu the red-nosed Snivy
Had a very shiny nose
And if you ever saw it
You could even say it glows

All of the other Snivies
Used to laugh and call him names
They never let poor Charu
Join in any Snivy games

(Click the arrow to see the rest)


Quote:
Originally Posted by Vendetta21 View Post
All in all I would say that Charu not only won this game, his play made me reconsider how I play it.
Charu is offline   Reply With Quote
Old 08-19-2014, 12:59 PM   #15
drizzleRomanceGirl
rain of memories...
FFR Veteran
 
drizzleRomanceGirl's Avatar
 
Join Date: Oct 2012
Location: Washington (state)
Age: 29
Posts: 2,952
Send a message via Skype™ to drizzleRomanceGirl
Default 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

Division 5 2nd place

Quote:
Originally Posted by hosua View Post
Oh, I thought it was just my internet this whole time.
Quote:
Originally Posted by rushyrulz View Post
Also that triple post is almost as delicious as a hot, fresh, Domino's pizza.
Quote:
Originally Posted by aperson View Post
can y'all take a break and kiss
(the first section of this chapter)

https://www.fanfiction.net/s/5125582...sokyo-no-Jinja
drizzleRomanceGirl is offline   Reply With Quote
Old 08-19-2014, 01:02 PM   #16
Guest15937
One-handed elite
FFR Veteran
 
Guest15937's Avatar
 
Join Date: May 2008
Posts: 1,464
Default 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.
Guest15937 is offline   Reply With Quote
Old 08-19-2014, 01:07 PM   #17
rushyrulz
Digital Dancing!
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
rushyrulz's Avatar
 
Join Date: Feb 2006
Location: 80 billion club, NE
Age: 31
Posts: 12,980
Default 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.
__________________


rushyrulz is offline   Reply With Quote
Old 08-19-2014, 01:13 PM   #18
YoshL
Celestial Harbor
FFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
YoshL's Avatar
 
Join Date: Aug 2008
Location: Celestial Harbor
Age: 30
Posts: 6,156
Send a message via AIM to YoshL Send a message via MSN to YoshL Send a message via Skype™ to YoshL
Default Re: Program that sorts your levelrank from best to worst

the .java file, just open with notepad++ or something lol
__________________


Quote:
Originally Posted by Charu View Post
Only yours, for an easy price of $19.99! You too can experience the wonders of full motion rump sticking.
YoshL is offline   Reply With Quote
Old 08-19-2014, 01:16 PM   #19
Guest15937
One-handed elite
FFR Veteran
 
Guest15937's Avatar
 
Join Date: May 2008
Posts: 1,464
Default 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.
Guest15937 is offline   Reply With Quote
Old 08-19-2014, 01:26 PM   #20
YoshL
Celestial Harbor
FFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
YoshL's Avatar
 
Join Date: Aug 2008
Location: Celestial Harbor
Age: 30
Posts: 6,156
Send a message via AIM to YoshL Send a message via MSN to YoshL Send a message via Skype™ to YoshL
Default Re: Program that sorts your levelrank from best to worst

how do you convert to executable for java files anyways?
__________________


Quote:
Originally Posted by Charu View Post
Only yours, for an easy price of $19.99! You too can experience the wonders of full motion rump sticking.
YoshL is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 07:36 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution