This is genius. Absolutely genius.
But didn't JLayer have a MP3 playing function?
But didn't JLayer have a MP3 playing function?
See my reply in the issue. In summary, I attempted to fix the crashes, but getting Java Sound to actually work in Linux seems near-impossible.ch1zuru wrote:
I've reported an issue on GitHub related to game sounds not loading correctly.
It does, but library's players have minimal functionality (e.g. no built in methods for seeking, getting track position, pausing, setting volume, etc.). It seems possible to stream decoded frames into OpenAL, but I really don't know how I'd do it.iceblade112 wrote:
But didn't JLayer have a MP3 playing function?
I fixed the positioning of the mod icons in 331f374. I'm not sure how osu! is able to position scorebar-colour, since I couldn't find any patterns in dimensions of the scorebar images (if you know anything, that'd be helpful). As for the ranking panel, I can't tell what the problem is...marcostudios wrote:
there is this problem with HR
Also there is a problem with my hp bar and ranking pannel (those color are my 300/100/50s)
I fixed the positioning of the mod icons in 331f374. I'm not sure how osu! is able to position scorebar-colour, since I couldn't find any patterns in dimensions of the scorebar images (if you know anything, that'd be helpful). As for the ranking panel, I can't tell what the problem is...[/quote]marcostudios wrote:
there is this problem with HR
Also there is a problem with my hp bar and ranking pannel (those color are my 300/100/50s)
if (node.index == expandedIndex) // don't choose an expanded group node
node = node.next;
xasuma wrote:
I'm sorry for the inconvenience; I don't know anything about mapping, so the possibility of that situation didn't occur to me. I've changed the default OSZ directory to a new folder ("SongPacks"), so hopefully this won't happen to anyone else. Again, I'm really sorry for all the issues this caused for you.Lanturn wrote:
I've merged your pull request; thanks for contributing! I probably fixed the null pointer in the commit above, but let me know if that doesn't do it (since I didn't actually reproduce the error).iceblade112 wrote:
Done.formi wrote:
Could you please add a feature to change Keybindings or at least adjust them to the layout used by the OS?
Sat Jul 19 08:34:26 CEST 2014 WARN:Format error in options file.
java.lang.NumberFormatException: For input string: "0,0"
at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
at java.lang.Float.parseFloat(Unknown Source)
at itdelatrisu.opsu.states.Options.parseOptions(Options.java:1359)
at itdelatrisu.opsu.Opsu.main(Opsu.java:112)
Sat Jul 19 08:34:29 CEST 2014 ERROR:** Uncaught Exception! **
Sat Jul 19 08:34:29 CEST 2014 ERROR:5
java.lang.ArrayIndexOutOfBoundsException: 5
at itdelatrisu.opsu.OsuParser.parseFile(OsuParser.java:395)
at itdelatrisu.opsu.OsuParser.parseAllFiles(OsuParser.java:90)
at itdelatrisu.opsu.states.Splash$1.run(Splash.java:123)
I updated the release (commit), so try re-downloading. The first error is related to locales (why Java's "Float" class doesn't handle this internally is beyond me), and the second is (I think) a typo on my part, but let me know if it's not fixed.formi wrote:
just download the release (opsu-0.3.2.jar)Kinac wrote:
Noob question, but where Is the opsu.jar file? I can't find anything called opsu in the opsu-master folder.
Thu Jul 24 11:34:19 BST 2014 ERROR:** Uncaught Exception! **again java = bleeeeh
Thu Jul 24 11:34:19 BST 2014 ERROR:multiple points
java.lang.NumberFormatException: multiple points
at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
at java.lang.Float.parseFloat(Unknown Source)
at itdelatrisu.opsu.OsuTimingPoint.<init>(OsuTimingPoint.java:92)
at itdelatrisu.opsu.OsuParser.parseFile(OsuParser.java:325)
at itdelatrisu.opsu.OsuParser.parseAllFiles(OsuParser.java:90)
at itdelatrisu.opsu.states.Splash$1.run(Splash.java:123)
...okay. Instead of adding extra parser checks as I've previously done, I've decided to just catch all bad input in 83e4860 (binary). Although there's absolutely no reason for there to be a decimal point error in a generated beatmap file...nookls wrote:
at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
I think you mean "open-source". ^.^xNousagi wrote:
if i'm not mistaken, peppy has planned to outsource osu @_@
One exception doesn't mean Java is a crap. It's a great language, faster than C#, and little slower than C++. I think you know Java is slow from badly written Minecraftnookls wrote:
again java = bleeeeh
what did I say?ErunamoJAZZ wrote:
the real solution is not converting mp3 -> wav... is play mp3. Try using libav/ffmpeg.
Howl wrote:
Uhm... May this can help you to avoid converting mp3 to wav? http://openinnowhere.sourceforge.net/lameonj/
Exception in thread "main" java.lang.UnsupportedClassVersionError: itdelatrisu/opsu/Opsu : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: itdelatrisu.opsu.Opsu. Program will exit.
Use newer JavaItachi17 wrote:
New version of your app doesnt work for me. The older one(I think it was 0.3.2 or so) was functional but only in home directory.(The Songs and Skins folders must be in home directory. I dont remember if the app itselft must be in home directory.)
This is the output:Exception in thread "main" java.lang.UnsupportedClassVersionError: itdelatrisu/opsu/Opsu : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:323)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: itdelatrisu.opsu.Opsu. Program will exit.
Im using GNU/Linux Ubuntu 14.04.
Thanks now it works.LudziE12 wrote:
Use newer Java
To Author: Have you done the circular curve alghorithm?
No, I haven't. I haven't really been focusing on the sliders since I really don't have any idea how osu! implements them. x.xLudziE12 wrote:
To Author: Have you done the circular curve alghorithm?
In the song menu, there's a little wrench icon next to the search bar. That'll take you to the options menu, and the first one is screen resolution.Asuka- wrote:
Good work! Is there any way to change the resolution?
I actually noticed the comboburst problem too shortly after I posted the release, and quickly made a re-release after this fix. You probably have the original version of 0.4.0, so just re-download it to fix the problem. Sorry about that!chong601 wrote: