Coding a java app for more in depth level rank analysis!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ReikonKeiri
    i wanna be ur pop star
    • Jun 2006
    • 2388

    #1

    Coding a java app for more in depth level rank analysis!

    Haven't coded in Java recently so I'm giving myself a little project. It's going to be GUI based with level ranks copied into notepad for input. Things I'm definitely adding:

    -Obvious basic sorting
    -Display only Challenging, VC, FMOs etc
    -Display only blackflags/booflags/missflags/SDGs (within given difficulty range)
    -Remove Legacy files/Add Token songs

    Given two input files:
    -Show files AAAd/FCd by one user and not the other
    -SORT BY RANK DIFFERENCE

    In the distant future if I learn how to extract data from a web page, I might use that as input instead. Or when I'm done with the basics I could make it opensource. I had a lot of ideas and not all of them are passing through my brain at this exact moment so feel free to shoot me some suggestions! I've always had a lot of things I wished level ranks was capable of and I want to make it all possible. Also, by using an object oriented approach once I have the skeleton in place, adding fuctionalities will be cake.


    FMO AAAs (3): Heavenly Spores (68), Fast Asleep (67)!, 0 (piano version) (66)! VC AAAs: 76
    Best VCs: Finders Keepers (64), Purple (64), Travel Demon (63), Final Step (63), A World of Piano (63), Balloon Fever (63), The Fusion (63)

    It's Only Natural BF
    Southern Cross BF
    Minute Waltz v2 BF
    Novo Mundo BF
    Stark Raving Mad BF
    Midnight Dragon 1-0-0-1
    Choprite 2 clean
    Rottel 2 clean
    J&C 2 clean
    Chronograph 2-1-0-1
    BB Evo 3 clean
    Staring at my Spaceship 3 clean
    Epilogue 3-0-0-1
    Banned Forever 3-0-0-1
    World Tour 2004 3-0-1-4
    Demon Beast Appearance 4 clean
    Gacha Gacha Figu Atto Radio 4 clean
    Gravity Blast 4 clean
    Just Why 4 clean
    Eternal Drain [Heavy] 4 clean
    300 4-0-0-1
    Pure Ruby 5 clean
    Destination of the Heart 5 clean
    Plasmatextor 5-0-0-4
    Oni 6 clean
    Yorukumoryuu Yamikaze 6 clean
    Ambient Angels 6 clean
    Colorful Course 6 clean
    Hajnal 6 clean
    Arsonist 7-0-0-1
    Setsujou! Hyakka Ryouran 7-1-0-1
    Face in the Gutter 8 clean
    Kanon Medley 8 clean
    Colibri 8 clean
    Summer Time Perfume 8 clean
    Blindfolds Aside 8-0-0-1
    Bubble Bath Aftermath 8-0-0-1
    Bloody Tears 8-0-0-2
    Ochitsukeruwakenaiwayo! [Heavy] 9 clean


    Originally posted by Moogle-master
    To be fair, having all the BlazBlue's isn't good taste more then it is common sense.
  • justin_ator
    🥓<strong><span style="col
    • Mar 2007
    • 7648

    #2
    Re: Coding a java app for more in depth level rank analysis!

    Comparing any two users level ranks?

    Comment

    • ReikonKeiri
      i wanna be ur pop star
      • Jun 2006
      • 2388

      #3
      Re: Coding a java app for more in depth level rank analysis!

      Yes. The way I'm coding it you will have to copy the entirety of the two level rank pages you are interested in and place the text files into the source folder.

      Also I think I'm gonna ignore anything related to token ranks because I realized that would require twice as many input files. Maybe once I learn how to extract from a web page I'll add that.


      FMO AAAs (3): Heavenly Spores (68), Fast Asleep (67)!, 0 (piano version) (66)! VC AAAs: 76
      Best VCs: Finders Keepers (64), Purple (64), Travel Demon (63), Final Step (63), A World of Piano (63), Balloon Fever (63), The Fusion (63)

      It's Only Natural BF
      Southern Cross BF
      Minute Waltz v2 BF
      Novo Mundo BF
      Stark Raving Mad BF
      Midnight Dragon 1-0-0-1
      Choprite 2 clean
      Rottel 2 clean
      J&C 2 clean
      Chronograph 2-1-0-1
      BB Evo 3 clean
      Staring at my Spaceship 3 clean
      Epilogue 3-0-0-1
      Banned Forever 3-0-0-1
      World Tour 2004 3-0-1-4
      Demon Beast Appearance 4 clean
      Gacha Gacha Figu Atto Radio 4 clean
      Gravity Blast 4 clean
      Just Why 4 clean
      Eternal Drain [Heavy] 4 clean
      300 4-0-0-1
      Pure Ruby 5 clean
      Destination of the Heart 5 clean
      Plasmatextor 5-0-0-4
      Oni 6 clean
      Yorukumoryuu Yamikaze 6 clean
      Ambient Angels 6 clean
      Colorful Course 6 clean
      Hajnal 6 clean
      Arsonist 7-0-0-1
      Setsujou! Hyakka Ryouran 7-1-0-1
      Face in the Gutter 8 clean
      Kanon Medley 8 clean
      Colibri 8 clean
      Summer Time Perfume 8 clean
      Blindfolds Aside 8-0-0-1
      Bubble Bath Aftermath 8-0-0-1
      Bloody Tears 8-0-0-2
      Ochitsukeruwakenaiwayo! [Heavy] 9 clean


      Originally posted by Moogle-master
      To be fair, having all the BlazBlue's isn't good taste more then it is common sense.

      Comment

      • ReikonKeiri
        i wanna be ur pop star
        • Jun 2006
        • 2388

        #4
        Re: Coding a java app for more in depth level rank analysis!

        double post cause this is real.

        I'm making progress fast and should be releasing a beta before the end of the week. Still open for suggestions. Also spoilers:
        one line of code omg wat


        FMO AAAs (3): Heavenly Spores (68), Fast Asleep (67)!, 0 (piano version) (66)! VC AAAs: 76
        Best VCs: Finders Keepers (64), Purple (64), Travel Demon (63), Final Step (63), A World of Piano (63), Balloon Fever (63), The Fusion (63)

        It's Only Natural BF
        Southern Cross BF
        Minute Waltz v2 BF
        Novo Mundo BF
        Stark Raving Mad BF
        Midnight Dragon 1-0-0-1
        Choprite 2 clean
        Rottel 2 clean
        J&C 2 clean
        Chronograph 2-1-0-1
        BB Evo 3 clean
        Staring at my Spaceship 3 clean
        Epilogue 3-0-0-1
        Banned Forever 3-0-0-1
        World Tour 2004 3-0-1-4
        Demon Beast Appearance 4 clean
        Gacha Gacha Figu Atto Radio 4 clean
        Gravity Blast 4 clean
        Just Why 4 clean
        Eternal Drain [Heavy] 4 clean
        300 4-0-0-1
        Pure Ruby 5 clean
        Destination of the Heart 5 clean
        Plasmatextor 5-0-0-4
        Oni 6 clean
        Yorukumoryuu Yamikaze 6 clean
        Ambient Angels 6 clean
        Colorful Course 6 clean
        Hajnal 6 clean
        Arsonist 7-0-0-1
        Setsujou! Hyakka Ryouran 7-1-0-1
        Face in the Gutter 8 clean
        Kanon Medley 8 clean
        Colibri 8 clean
        Summer Time Perfume 8 clean
        Blindfolds Aside 8-0-0-1
        Bubble Bath Aftermath 8-0-0-1
        Bloody Tears 8-0-0-2
        Ochitsukeruwakenaiwayo! [Heavy] 9 clean


        Originally posted by Moogle-master
        To be fair, having all the BlazBlue's isn't good taste more then it is common sense.

        Comment

        • PrawnSkunk
          Administrator
          FFR Simfile Author
          FFR Administrator
          • Dec 2007
          • 3907

          #5
          Re: Coding a java app for more in depth level rank analysis!

          This is pretty damn cool!

          What about users that are not veteran? Will they even be able to compare level ranks with other people?

          Comment

          • hi19hi19
            lol happy
            FFR Simfile Author
            • Oct 2005
            • 12194

            #6
            Re: Coding a java app for more in depth level rank analysis!

            Originally posted by ReikonKeiri
            double post cause this is real.

            I'm making progress fast and should be releasing a beta before the end of the week. Still open for suggestions. Also spoilers:
            one line of code omg wat
            Couldn't you just like, check if its levelID was between 1 and 110 (or whatever)

            Seems a bit contrived to do it that way but still... I'm excited to see how this turns out! Could be really cool.


            Comment

            • TC_Halogen
              Rhythm game specialist.
              FFR Simfile Author
              FFR Music Producer
              • Feb 2008
              • 19376

              #7
              Re: Coding a java app for more in depth level rank analysis!

              I'm definitely interested in this.

              However, I can't help but feel that the way that this is coded almost seems overly tedious, but then again, I'm not exactly a programmer (yet, only because I haven't sat down to learn syntax for different languages).

              Is it at all possible to use an incrementing variable along with a loop to pull the levelIDs, and then have another loop that would grab the data for the respective levelIDs? I know it's possible to do something like this with while loops. You'd also probably want to break when a levelID doesn't exist in the game...

              I don't know. I probably sound like a complete idiot right now, lol

              Comment

              • ReikonKeiri
                i wanna be ur pop star
                • Jun 2006
                • 2388

                #8
                Re: Coding a java app for more in depth level rank analysis!

                Because the input file is just copy paste from what is on level ranks, there's nothing I can do regarding Song ID because the data isn't there. The only thing actually distinguishing Legacy files from anything else in level ranks is their song names. That's the only thing I've coded so far that required me to type anything out like that. The rest of this isn't really tedious at all, and I'm having a blast coding it !

                I'm about 6 hours in coding, going at about a rate of 3 hours/day. By the end of the week I should have something pretty impressive. I'll be constantly updating it as time goes by and I think of new things to add, but right now I'm just focusing on the basics. Plus, every week I'll have to update the constant NUM_SONGS lol. Maybe someday Velocity will integrate my code as an applet on FFR so that kind of thing would update automatically. That'd be neat XD.

                Yes, unfortunately non veterans would not be able to compare users. Are you even able to use FFR's built in compare users as a non vet? Basically when the GUI opens it's going to ask if you have one or two input files so you'll just have to say there's only one whenever you run it.


                FMO AAAs (3): Heavenly Spores (68), Fast Asleep (67)!, 0 (piano version) (66)! VC AAAs: 76
                Best VCs: Finders Keepers (64), Purple (64), Travel Demon (63), Final Step (63), A World of Piano (63), Balloon Fever (63), The Fusion (63)

                It's Only Natural BF
                Southern Cross BF
                Minute Waltz v2 BF
                Novo Mundo BF
                Stark Raving Mad BF
                Midnight Dragon 1-0-0-1
                Choprite 2 clean
                Rottel 2 clean
                J&C 2 clean
                Chronograph 2-1-0-1
                BB Evo 3 clean
                Staring at my Spaceship 3 clean
                Epilogue 3-0-0-1
                Banned Forever 3-0-0-1
                World Tour 2004 3-0-1-4
                Demon Beast Appearance 4 clean
                Gacha Gacha Figu Atto Radio 4 clean
                Gravity Blast 4 clean
                Just Why 4 clean
                Eternal Drain [Heavy] 4 clean
                300 4-0-0-1
                Pure Ruby 5 clean
                Destination of the Heart 5 clean
                Plasmatextor 5-0-0-4
                Oni 6 clean
                Yorukumoryuu Yamikaze 6 clean
                Ambient Angels 6 clean
                Colorful Course 6 clean
                Hajnal 6 clean
                Arsonist 7-0-0-1
                Setsujou! Hyakka Ryouran 7-1-0-1
                Face in the Gutter 8 clean
                Kanon Medley 8 clean
                Colibri 8 clean
                Summer Time Perfume 8 clean
                Blindfolds Aside 8-0-0-1
                Bubble Bath Aftermath 8-0-0-1
                Bloody Tears 8-0-0-2
                Ochitsukeruwakenaiwayo! [Heavy] 9 clean


                Originally posted by Moogle-master
                To be fair, having all the BlazBlue's isn't good taste more then it is common sense.

                Comment

                • SKG_Scintill
                  Spun a twirly fruitcake,
                  FFR Simfile Author
                  • Feb 2009
                  • 3875

                  #9
                  Re: Coding a java app for more in depth level rank analysis!

                  Why wouldn't you use an SQL server for all the data storage and comparison?
                  It may be more work, but definately more... synoptic (if that's the right word)





                  Originally posted by bluguerilla
                  So Sexy Robotnik (SKG_Scintill) {.0001/10} [--]
                  ___
                  . RHYTHMS PR LAYERING
                  . ZOMG I HAD TO QUIT OUT TERRIBLE
                  .

                  Comment

                  • ReikonKeiri
                    i wanna be ur pop star
                    • Jun 2006
                    • 2388

                    #10
                    Re: Coding a java app for more in depth level rank analysis!

                    because I don't know SQL obviously. I'm learning it this semester though, and if it seems convenient/appropriate I'll modify my code at some point. This is an application I want ASAP and it's not only possible but fairly easy with what I know now. Also I don't know if this really makes sense, but I'm also doing it this way for practice. I've built up a lot of java skill in my first few years at college but I haven't had to do much with Java for a while and I don't want to get rusty.
                    Last edited by ReikonKeiri; 09-18-2012, 12:23 AM.


                    FMO AAAs (3): Heavenly Spores (68), Fast Asleep (67)!, 0 (piano version) (66)! VC AAAs: 76
                    Best VCs: Finders Keepers (64), Purple (64), Travel Demon (63), Final Step (63), A World of Piano (63), Balloon Fever (63), The Fusion (63)

                    It's Only Natural BF
                    Southern Cross BF
                    Minute Waltz v2 BF
                    Novo Mundo BF
                    Stark Raving Mad BF
                    Midnight Dragon 1-0-0-1
                    Choprite 2 clean
                    Rottel 2 clean
                    J&C 2 clean
                    Chronograph 2-1-0-1
                    BB Evo 3 clean
                    Staring at my Spaceship 3 clean
                    Epilogue 3-0-0-1
                    Banned Forever 3-0-0-1
                    World Tour 2004 3-0-1-4
                    Demon Beast Appearance 4 clean
                    Gacha Gacha Figu Atto Radio 4 clean
                    Gravity Blast 4 clean
                    Just Why 4 clean
                    Eternal Drain [Heavy] 4 clean
                    300 4-0-0-1
                    Pure Ruby 5 clean
                    Destination of the Heart 5 clean
                    Plasmatextor 5-0-0-4
                    Oni 6 clean
                    Yorukumoryuu Yamikaze 6 clean
                    Ambient Angels 6 clean
                    Colorful Course 6 clean
                    Hajnal 6 clean
                    Arsonist 7-0-0-1
                    Setsujou! Hyakka Ryouran 7-1-0-1
                    Face in the Gutter 8 clean
                    Kanon Medley 8 clean
                    Colibri 8 clean
                    Summer Time Perfume 8 clean
                    Blindfolds Aside 8-0-0-1
                    Bubble Bath Aftermath 8-0-0-1
                    Bloody Tears 8-0-0-2
                    Ochitsukeruwakenaiwayo! [Heavy] 9 clean


                    Originally posted by Moogle-master
                    To be fair, having all the BlazBlue's isn't good taste more then it is common sense.

                    Comment

                    • qqwref
                      stepmania archaeologist
                      FFR Simfile Author
                      • Aug 2005
                      • 4092

                      #11
                      Re: Coding a java app for more in depth level rank analysis!

                      Originally posted by ReikonKeiri
                      -Display only Challenging, VC, FMOs etc
                      -Display only blackflags/booflags/missflags/SDGs (within given difficulty range)
                      -Remove Legacy files/Add Token songs
                      These are some interesting ideas. Perhaps someday they will be in the real FFR level rank page
                      Best AAA: Policy In The Sky [Oni] (81)
                      Best SDG: PANTS (86)
                      Best FC: Future Invasion (93)

                      Comment

                      • TC_Halogen
                        Rhythm game specialist.
                        FFR Simfile Author
                        FFR Music Producer
                        • Feb 2008
                        • 19376

                        #12
                        Re: Coding a java app for more in depth level rank analysis!

                        Originally posted by qqwref
                        These are some interesting ideas. Perhaps someday they will be in the real FFR level rank page
                        i.e. "give me 5 minutes", right?

                        Comment

                        • ReikonKeiri
                          i wanna be ur pop star
                          • Jun 2006
                          • 2388

                          #13
                          Re: Coding a java app for more in depth level rank analysis!

                          Today's progress:

                          I have actual homework to do tonight so I'm not doing much until I get that done. I did finish the basic outline for the GUI, however.
                          closeenough.png

                          Most of the buttons don't do anything yet, but my the level ranks are storing properly in my design so adding the button commands will be very easy. I estimate a beta by Friday night. The beta will not include user comparison yet. I have special plans for that.
                          Last edited by ReikonKeiri; 09-18-2012, 05:35 PM.


                          FMO AAAs (3): Heavenly Spores (68), Fast Asleep (67)!, 0 (piano version) (66)! VC AAAs: 76
                          Best VCs: Finders Keepers (64), Purple (64), Travel Demon (63), Final Step (63), A World of Piano (63), Balloon Fever (63), The Fusion (63)

                          It's Only Natural BF
                          Southern Cross BF
                          Minute Waltz v2 BF
                          Novo Mundo BF
                          Stark Raving Mad BF
                          Midnight Dragon 1-0-0-1
                          Choprite 2 clean
                          Rottel 2 clean
                          J&C 2 clean
                          Chronograph 2-1-0-1
                          BB Evo 3 clean
                          Staring at my Spaceship 3 clean
                          Epilogue 3-0-0-1
                          Banned Forever 3-0-0-1
                          World Tour 2004 3-0-1-4
                          Demon Beast Appearance 4 clean
                          Gacha Gacha Figu Atto Radio 4 clean
                          Gravity Blast 4 clean
                          Just Why 4 clean
                          Eternal Drain [Heavy] 4 clean
                          300 4-0-0-1
                          Pure Ruby 5 clean
                          Destination of the Heart 5 clean
                          Plasmatextor 5-0-0-4
                          Oni 6 clean
                          Yorukumoryuu Yamikaze 6 clean
                          Ambient Angels 6 clean
                          Colorful Course 6 clean
                          Hajnal 6 clean
                          Arsonist 7-0-0-1
                          Setsujou! Hyakka Ryouran 7-1-0-1
                          Face in the Gutter 8 clean
                          Kanon Medley 8 clean
                          Colibri 8 clean
                          Summer Time Perfume 8 clean
                          Blindfolds Aside 8-0-0-1
                          Bubble Bath Aftermath 8-0-0-1
                          Bloody Tears 8-0-0-2
                          Ochitsukeruwakenaiwayo! [Heavy] 9 clean


                          Originally posted by Moogle-master
                          To be fair, having all the BlazBlue's isn't good taste more then it is common sense.

                          Comment

                          • hi19hi19
                            lol happy
                            FFR Simfile Author
                            • Oct 2005
                            • 12194

                            #14
                            Re: Coding a java app for more in depth level rank analysis!

                            That's actually a very impressive GUI for java

                            swing is a ****in nightmare


                            Comment

                            • ReikonKeiri
                              i wanna be ur pop star
                              • Jun 2006
                              • 2388

                              #15
                              Re: Coding a java app for more in depth level rank analysis!

                              Edited the image. I totally forgot something important lol. The only thing bugging the hell out of me is how far apart the sort options are split. It's because all the sort options are on the center of a border layout so it wants them to fit in the entirety of the open space there. I can fix anything in 100 lines of code, but I want to find a way to do it in 4 lines or less :[


                              FMO AAAs (3): Heavenly Spores (68), Fast Asleep (67)!, 0 (piano version) (66)! VC AAAs: 76
                              Best VCs: Finders Keepers (64), Purple (64), Travel Demon (63), Final Step (63), A World of Piano (63), Balloon Fever (63), The Fusion (63)

                              It's Only Natural BF
                              Southern Cross BF
                              Minute Waltz v2 BF
                              Novo Mundo BF
                              Stark Raving Mad BF
                              Midnight Dragon 1-0-0-1
                              Choprite 2 clean
                              Rottel 2 clean
                              J&C 2 clean
                              Chronograph 2-1-0-1
                              BB Evo 3 clean
                              Staring at my Spaceship 3 clean
                              Epilogue 3-0-0-1
                              Banned Forever 3-0-0-1
                              World Tour 2004 3-0-1-4
                              Demon Beast Appearance 4 clean
                              Gacha Gacha Figu Atto Radio 4 clean
                              Gravity Blast 4 clean
                              Just Why 4 clean
                              Eternal Drain [Heavy] 4 clean
                              300 4-0-0-1
                              Pure Ruby 5 clean
                              Destination of the Heart 5 clean
                              Plasmatextor 5-0-0-4
                              Oni 6 clean
                              Yorukumoryuu Yamikaze 6 clean
                              Ambient Angels 6 clean
                              Colorful Course 6 clean
                              Hajnal 6 clean
                              Arsonist 7-0-0-1
                              Setsujou! Hyakka Ryouran 7-1-0-1
                              Face in the Gutter 8 clean
                              Kanon Medley 8 clean
                              Colibri 8 clean
                              Summer Time Perfume 8 clean
                              Blindfolds Aside 8-0-0-1
                              Bubble Bath Aftermath 8-0-0-1
                              Bloody Tears 8-0-0-2
                              Ochitsukeruwakenaiwayo! [Heavy] 9 clean


                              Originally posted by Moogle-master
                              To be fair, having all the BlazBlue's isn't good taste more then it is common sense.

                              Comment

                              Working...