I forgot to say this happens when i insert opu.jar in my osu! folder but when it has his folder outside osu! it workseuphyy wrote:
@marcostudios
Honestly, I'm not sure why that happens--perhaps someone who's worked with Java's class loader can say more about it. All the machines I've tested on seemed to read resources within the jar... maybe you can try extracting all the images (.png and .jpg) from the root of the jar, which is messy but should definitely work.
I agree! :3Marcin wrote:
Why would it be, its great opportunity to learn programming for person making it.
I agree too, I was just thinking what Sieg could probably answer after having someone confirming that osu! was going to be open source.Marcin wrote:
Why would it be, its great opportunity to learn programming for person making it. Also open sourcing osu! is gonna take long time so...
Best feature ever 2014euphyy wrote:
Dynamic main menu backgrounds.
My mistake, I shouldn't have assumed that there'd be no mistakes in the *.osu files. Here's a quick fix: http://www.mediafire.com/download/bjirg ... 12b83a.jar (812b83a)xasuma wrote:
When I double clicked it it created the two files. But nothing else happens.
Any error? How much time have you waited since opening it?XinCrin wrote:
Awesome . I'd like to check it , but I can't open it :c
XinCrin wrote:
Awesome . I'd like to check it , but I can't open it :c
Interesting. I only have around 1000 beatmaps on my computer, but the parser takes consistently less than 1 second to finish for me. Admittedly, the parser isn't implemented very efficiently, but an hour is really terrible -- maybe the JVM is slowing it down, but that's a guess. I don't really think I should be looking into databases at the moment, since it'd sidetrack me too much (and correct me if I'm wrong, but I don't think too many others are experiencing this issue). I'll try to keep this issue in mind, but I can't offer any immediate solution (other than just pointing the song path elsewhere). x.xFull Tablet wrote:
It takes about 1 hour to load (with no indication it is loading besides the process and the hard drive activity) with ~85,000 beatmaps, and when closing the client and opening it again it takes another hour (loads everything again). Can it use a database so it doesn't have to load all maps at the beginning?
The same error, or a new one? The patch fixed the error in the logs, so you shouldn't be experiencing the same issue.xasuma wrote:
I downloaded the quick fix, but it still does nothing. I am using win 8.1 64 bit.
This is an unofficial version; you'll have to wait longer for osu!'s source to be released.pop102 wrote:
Wait so, since this is now open source, what kinds of things we can do with osu? Or what will people be making or doing with it?
Well, what I was really hoping to see was a lot more control in skinning. E.g.: Force background to be a certain picture, Able to control colour of approach circle without it changing to that of the hitcircle, etc.euphyy wrote:
My mistake, I shouldn't have assumed that there'd be no mistakes in the *.osu files. Here's a quick fix: http://www.mediafire.com/download/bjirg ... 12b83a.jar (812b83a)xasuma wrote:
When I double clicked it it created the two files. But nothing else happens.
If anyone has specific unofficial features they'd like to see, please post them!
Oh, I see--I kept skimming over that line x.x. Try this: http://www.mediafire.com/download/dymjp ... 0.2.1a.jarxasuma wrote:
I get this http://pastebin.com/q1aBRSg4
I already added the first suggestion (it's in the game options -> gameplay, reads "playfield.png"). As for skinning though, I don't think it makes much sense for me to expand options because osu! won't support them. D:FieryLight wrote:
Well, what I was really hoping to see was a lot more control in skinning. E.g.: Force background to be a certain picture, Able to control colour of approach circle without it changing to that of the hitcircle, etc.
Sat Jul 05 01:21:46 JST 2014 ERROR:Unable to determine Slick build number
Sat Jul 05 01:21:46 JST 2014 ERROR:Resource not found: icon16.png
java.lang.RuntimeException: Resource not found: icon16.png
at org.newdawn.slick.util.ResourceLoader.getResourceAsStream(ResourceLoader.java:69)
at org.newdawn.slick.AppGameContainer.setIcons(AppGameContainer.java:527)
at itdelatrisu.opsu.Opsu.main(Opsu.java:137)
Sat Jul 05 01:21:46 JST 2014 ERROR:Error while creating game container.
Sat Jul 05 01:21:46 JST 2014 ERROR:Failed to set the icon
org.newdawn.slick.SlickException: Failed to set the icon
at org.newdawn.slick.AppGameContainer.setIcons(AppGameContainer.java:530)
at itdelatrisu.opsu.Opsu.main(Opsu.java:137)
# opsu! configuration
# last updated on Saturday, July 05, 2014
BeatmapDirectory = C:\Games\osu!\Songs
Skin = C:\Games\osu!\Skins
Port = 49250
ScreenResolution = 3
FrameSync = 0
FpsCounter = false
ScreenshotFormat = 0
NewCursor = true
DynamicBackground = true
VolumeMusic = 30
VolumeEffect = 20
VolumeHitSound = 20
Offset = -150
DimLevel = 30
ForceDefaultPlayfield = false
HitLighting = true
ComboBurst = true
PerfectHit = true
it's still not opening for meeuphyy wrote:
Oh, I see--I kept skimming over that line x.x. Try this: http://www.mediafire.com/download/dymjp ... 0.2.1a.jarxasuma wrote:
I get this http://pastebin.com/q1aBRSg4
Check your task manager, you apparently have it running twice..NikWillOrStuff wrote:
here's my log http://puu.sh/9XWU1.txt
Thanks for the post! I've added OSZ unpacking now, so you can place any song archives in the root folder and they'll be automatically unpacked into the song directory. (You can change the OSZ loading directory in the configuration file.)lanodan wrote:
When i've tried to use it it doesn't extract the .osz files so I've tried with unar(open almost every archive).
If another program on your computer is using port 49250, try changing opsu!'s port in the configuration file. It's more likely that there's another program instance running, though.NikWillOrStuff wrote:
it's still not opening for me![]()
here's my log http://puu.sh/9XWU1.txt
My mistake, apparently the JAR won't run from the program folder. I couldn't figure out why this happens, but will let you know if I come across anything in the future. The program should still run from elsewhere.yuanzongli wrote:
The Java file doesn't do anything else except creating a *.cfg and *.log file in the osu path folder(where I put the *.jar file).
The splash screen displays the current progress, so this shouldn't be as large of an issue now.Full Tablet wrote:
It takes about 1 hour to load (with no indication it is loading besides the process and the hard drive activity)
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:
Fixed difficulty settings (CS, AR, OD, HP) are already implemented. You can go into the options menu and change them in the "Custom" section. The mechanics are still off from osu!, though, so don't expect too much.FieryLight wrote:
Oh, I see.... Well, hopefully you come across something perfect that leads you to it. I wouldn't expect it anytime soon but, still, hopefuleuphyy wrote:
Fixed difficulty settings (CS, AR, OD, HP) are already implemented. You can go into the options menu and change them in the "Custom" section. The mechanics are still off from osu!, though, so don't expect too much.FieryLight wrote:
I tried playing around with the Beads Project for MP3 decoding (which LudziE12 used for josu!), since it can decode in real-time and is generally a very versatile music player (ex. it can handle speed changes, etc.), but I just couldn't get it to work at all -- it won't even run inside of a JAR (#1 reason why I dropped the approach), doesn't give accurate track positions, and can't play OGGs as far as I can tell (I just hear a lot of static). Here's what I did so far, in a separate branch (sorry, no binaries since apparently they don't work): https://github.com/itdelatrisu/opsu/com ... 92329a29c9
So unless I have more luck with MP3 decoding in Java, it doesn't look like speed changes (Easy/Double/Nightcore, etc.) are going to happen.
Have you tried looking up other open-source Java-based MP3 player? Probably you have more luck on that (but you might need to do something with other things like speedup and timing to your preferred accuracy)euphyy wrote:
I tried playing around with the Beads Project for MP3 decoding (which LudziE12 used for josu!), since it can decode in real-time and is generally a very versatile music player (ex. it can handle speed changes, etc.), but I just couldn't get it to work at all -- it won't even run inside of a JAR (#1 reason why I dropped the approach), doesn't give accurate track positions, and can't play OGGs as far as I can tell (I just hear a lot of static). Here's what I did so far, in a separate branch (sorry, no binaries since apparently they don't work): https://github.com/itdelatrisu/opsu/com ... 92329a29c9
So unless I have more luck with MP3 decoding in Java, it doesn't look like speed changes (Easy/Double/Nightcore, etc.) are going to happen.
I don't know what the problem would be, sorry. That log message is normal (a bug in the game library), and I don't have any other information to go off of. x.xFieryLight wrote:
EDIT: Hmm, just downloaded and it doesn't seem to work for me
I've searched long and hard for an MP3 library with very basic functionality (streaming, seeking, accurate track position), but still haven't found anything that works. x.x The FPS issue is probably a bug in the Slick2D library (or maybe LWJGL), since I didn't touch any of the internals for that, but maybe you'll find something. xD And like I said before, I don't have much information about the sliders and am usually very busy at school (I'm on break now), so I can't guarantee any work on the sliders unless someone decides to help.chong601 wrote:
I'm working now on my major game with my team, but when i find time (starting 2 weeks winter holidays this weekend) i will help with the sliders and i will try to fix beads library.euphyy wrote:
I don't know what the problem would be, sorry. That log message is normal (a bug in the game library), and I don't have any other information to go off of. x.xFieryLight wrote:
EDIT: Hmm, just downloaded and it doesn't seem to work for meI've searched long and hard for an MP3 library with very basic functionality (streaming, seeking, accurate track position), but still haven't found anything that works. x.x The FPS issue is probably a bug in the Slick2D library (or maybe LWJGL), since I didn't touch any of the internals for that, but maybe you'll find something. xD And like I said before, I don't have much information about the sliders and am usually very busy at school (I'm on break now), so I can't guarantee any work on the sliders unless someone decides to help.chong601 wrote:
Afaik, it does work at my workplace Linux Ubuntu (14.10 32-bit, PulseAudio sound system)LudziE12 wrote:
I have a question: Is problem with sound and music in linux is fixed? I haven't looked to the repo for some time
Of course -- thanks for your interest! Please submit a pull request whenever you're ready, and feel free to discuss any changes you'd like to make beforehand (either here or by opening a GitHub issue).PizzaLovers007 wrote:
This is working really great! I did notice the spinners were a little bit hard to finish. I think they are supposed to have some sort "weight" so they keep spinning for a little bit if you stop spinning the cursor.
Could I assist in the project? I'll try to help as much as I can.
It's not (currently?) supported by LWJGL. After doing some quick searches, it seems like people have managed to hack together something that works (see here), but I wouldn't count on the rest of the program running smoothly (or at all) on a Raspberry Pi.Doqtor Kirby wrote:
Might try and run this again on my RPi
K. RPi. Not gonna happen as of now. But what about the problem running it on a Windows box?euphyy wrote:
It's not (currently?) supported by LWJGL. After doing some quick searches, it seems like people have managed to hack together something that works (see here), but I wouldn't count on the rest of the program running smoothly (or at all) on a Raspberry Pi.Doqtor Kirby wrote:
Might try and run this again on my RPi
Is this fixable, like, at all? Or will I need to go flesh out hundreds for a new graphics card?Doqtor Kirby wrote:
Error while creating game container.
org.newdawn.slick.SlickException: Failed to initialise the LWJGL display
at org.newdawn.slick.AppGameContainer.setup(AppGameContainer.java:378)
at itdelatrisu.opsu.Container.start(Container.java:62)
at itdelatrisu.opsu.Opsu.main(Opsu.java:160)
The arrows should be working (mostly) as of the latest release, but I haven't figured out the scorebars -- there's a TODO note about it probably involving cropping the transparent parts off of the images and centering from there, though I haven't had the chance to try it out yet.chong601 wrote:
some misaligned arrows, unusually giant score bars...
It's not about a graphics card. LWJGL (the wrapper for OpenGL/OpenAL) doesn't compile for ARM processors (i.e. Raspberry Pi) without a good deal of hacking, which some people have attempted with varying success (and you can find these projects online). I wouldn't count on it working, though -- there are too many other areas where it could fail, even if you manage to get LWJGL working, and performance will probably be horrible.Doqtor Kirby wrote:
Is this fixable, like, at all? Or will I need to go flesh out hundreds for a new graphics card?
The question was not regarding my RPi, it was regarding my x86-based Windows tablet.euphyy wrote:
The arrows should be working (mostly) as of the latest release, but I haven't figured out the scorebars -- there's a TODO note about it probably involving cropping the transparent parts off of the images and centering from there, though I haven't had the chance to try it out yet.chong601 wrote:
some misaligned arrows, unusually giant score bars...It's not about a graphics card. LWJGL (the wrapper for OpenGL/OpenAL) doesn't compile for ARM processors (i.e. Raspberry Pi) without a good deal of hacking, which some people have attempted with varying success (and you can find these projects online). I wouldn't count on it working, though -- there are too many other areas where it could fail, even if you manage to get LWJGL working, and performance will probably be horrible.Doqtor Kirby wrote:
Is this fixable, like, at all? Or will I need to go flesh out hundreds for a new graphics card?