forum

opsu! - an open-source osu! client (UNOFFICIAL)

posted
Total Posts
343
show more
Topic Starter
euphyy_old
Release: v0.6.0
Lots of major updates again, and thanks to everyone who contributed! Here's a summary of the changes:
  1. Audio: MP3s in beatmaps are now streamed instead of converted (finally!). Also improved sound effect loading, and added preliminary MP3 support for them.
  2. UI: Added new menus -- game mods (F1), beatmap options (F3), beatmap deletion, song reloading (F5), score management -- and made a lot of changes in the song menu and gameplay. These include fixes to long-standing bugs like misaligned scorebars, missing rotation and fade effects, poor aspect ratios, etc. Check it out!
  3. Other: Spinners are now "weighted"; the beatmap downloader detects songs that are already loaded; added hit error bar; fixed issues with the image loader; and many other updates (see the release notes for details).

chong601 wrote:

Score digits are now fixed-width, and scorebars are fixed. There's still no parser for skin.ini, though. I didn't look at the memory issues either, but let me know if anything's changed in this release. Hitsounds are a known issue, no idea how to fix it.

FieryLight wrote:

Are you still experiencing this? (The errors in the log file don't mean anything, so I have no idea what could be wrong.)

Tuxdude143 wrote:

If you can program in other languages, it shouldn't be too hard to read the source code for this (Java is very readable, imo :P). It's my first real project, so there's nothing fancy happening anywhere, really.
FieryLight

euphyy wrote:

FieryLight wrote:

Are you still experiencing this? (The errors in the log file don't mean anything, so I have no idea what could be wrong.)
Yep, unfortunately.

Other .jar's work fine though (I actually wasted quite a bit of time "checking" with a tetris clone xD)
opsu works fine on my laptop though (though I don't use that to play so.. :| )
chong601
Issue: MP3 sound effects no longer works
Affects: opsu! 0.6.0
Previous working version: opsu! 0.5.0

Stack trace:
Mon Feb 23 20:32:30 SGT 2015 ERROR:Failed to load file 'D:\opsu\Skins\applause.mp3'.
Mon Feb 23 20:32:30 SGT 2015 ERROR:could not get audio input stream from input URL
javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input URL
at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
at itdelatrisu.opsu.audio.SoundController.loadClip(SoundController.java:86)
at itdelatrisu.opsu.audio.SoundController.init(SoundController.java:199)
at itdelatrisu.opsu.states.Splash$1.run(Splash.java:108)
Mon Feb 23 20:32:47 SGT 2015 ERROR:Failed to load file 'D:\opsu\Skins\combobreak.mp3'.
Mon Feb 23 20:32:47 SGT 2015 ERROR:could not get audio input stream from input URL
javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input URL
at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
at itdelatrisu.opsu.audio.SoundController.loadClip(SoundController.java:86)
at itdelatrisu.opsu.audio.SoundController.init(SoundController.java:199)
at itdelatrisu.opsu.states.Splash$1.run(Splash.java:108)
Mon Feb 23 20:32:48 SGT 2015 ERROR:Failed to load file 'D:\opsu\Skins\failsound.mp3'.
Mon Feb 23 20:32:48 SGT 2015 ERROR:could not get audio input stream from input URL
javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input URL
at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
at itdelatrisu.opsu.audio.SoundController.loadClip(SoundController.java:86)
at itdelatrisu.opsu.audio.SoundController.init(SoundController.java:199)
at itdelatrisu.opsu.states.Splash$1.run(Splash.java:108)
Mon Feb 23 20:32:50 SGT 2015 ERROR:Failed to load file 'D:\opsu\Skins\sectionfail.mp3'.
Mon Feb 23 20:32:50 SGT 2015 ERROR:could not get audio input stream from input URL
javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input URL
at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
at itdelatrisu.opsu.audio.SoundController.loadClip(SoundController.java:86)
at itdelatrisu.opsu.audio.SoundController.init(SoundController.java:199)
at itdelatrisu.opsu.states.Splash$1.run(Splash.java:108)
Mon Feb 23 20:32:51 SGT 2015 ERROR:Failed to load file 'D:\opsu\Skins\sectionpass.mp3'.
Mon Feb 23 20:32:51 SGT 2015 ERROR:could not get audio input stream from input URL
javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input URL
at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
at itdelatrisu.opsu.audio.SoundController.loadClip(SoundController.java:86)
at itdelatrisu.opsu.audio.SoundController.init(SoundController.java:199)
at itdelatrisu.opsu.states.Splash$1.run(Splash.java:108)

euphyy wrote:

  1. Audio: MP3s in beatmaps are now streamed instead of converted (finally!). Also improved sound effect loading, and added preliminary MP3 support for them.
*heavy breathing*
No delay in any song loading (even on 52 min map :O )

euphyy wrote:

  1. UI: Added new menus -- game mods (F1), beatmap options (F3), beatmap deletion, song reloading (F5), score management -- and made a lot of changes in the song menu and gameplay. These include fixes to long-standing bugs like misaligned scorebars, missing rotation and fade effects, poor aspect ratios, etc. Check it out!
Sweeeeeeeeeet <3<3<3
Now it actually looked almost osu! now o_o
But, the slider loading is a bit weird... It used to have all loaded in once but now the number comes in first and the whole slider finally becomes opaque after a moment later...

euphyy wrote:

  1. Other: Spinners are now "weighted"; the beatmap downloader detects songs that are already loaded; added hit error bar; fixed issues with the image loader; and many other updates (see the release notes for details).
HIT ERROR BAR?!?!?!?!?!?!
HOLY SHEET THIS IS WHAT I WANT LOL (i have my own version inbuilt though, text version only, will show the last 5 clicks but it is very off compared to this one)
Topic Starter
euphyy_old

FieryLight wrote:

What kind of system are you using? LWJGL is supposed to support almost everything though, so I'm really confused as to why it wouldn't work for you on a Windows PC... x.x

chong601 wrote:

Issue: MP3 sound effects no longer works
Previous working version: opsu! 0.5.0

[...]

But, the slider loading is a bit weird... It used to have all loaded in once but now the number comes in first and the whole slider finally becomes opaque after a moment later...
MP3 sound effects weren't even being loaded until this release. Did you make your own changes to load them before? And can you link me to an example of a file that doesn't work now?

The sliders should really be drawn offscreen first, yeah. I'll look into it when I have time.

If it's not too much trouble, could you post issues on GitHub instead? It'll make it much easier for me to keep track of them -- thanks!
AGRX
will opsu support @2x (HD) resolution files?
FieryLight

euphyy wrote:

FieryLight wrote:

What kind of system are you using? LWJGL is supposed to support almost everything though, so I'm really confused as to why it wouldn't work for you on a Windows PC... x.x
I'm not sure.. does this help with anything?
Steffie
Do you have to use the set skin?
Or can you use your own?
Because i literally cannot play with any other skin than my own :P
Topic Starter
euphyy_old

euphyy wrote:

The sliders should really be drawn offscreen first, yeah. I'll look into it when I have time.
So I tried doing this, but without any satisfactory results. I made a couple of tweaks in 4f0f093 so that the fading doesn't look quite as bad, but it's still not great.

Agrrox wrote:

will opsu support @2x (HD) resolution files?
It's on my to-do list, but honestly I don't know if I'll get to it. It's very tedious to fix all the broken image scales when loading the HD images...

FieryLight wrote:

I'm not sure.. does this help with anything?
Sorry, this is really beyond me. x.x

Stefive wrote:

Do you have to use the set skin?
A "Skins" folder is created in the working directory when you launch opsu!. You can drop any files in there, and they'll be loaded the next time the application starts.
Steffie
A "Skins" folder is created in the working directory when you launch opsu!. You can drop any files in there, and they'll be loaded the next time the application starts.
Okay, thanks! :)
AGRX

Stefive wrote:

Do you have to use the set skin?

euphyy wrote:

A "Skins" folder is created in the working directory when you launch opsu!. You can drop any files in there, and they'll be loaded the next time the application starts.
So you place image files in the root of Skins folder ? I was putting there skin folder inside of it and it will not register.
So basically it loads every image that is in Skins folder?
Topic Starter
euphyy_old

Agrrox wrote:

So you place image files in the root of Skins folder ?
Yeah. I haven't worked on skin switching yet, and there's no parser for skin.ini either. If you just want to load a specific skin located elsewhere, you could change the skin directory path in the config file for now.
AGRX
Also I have interest of making skin for opsu! I have skills with bitmap/vector graphics.
Topic Starter
euphyy_old
Updates:
So fluddokt has been working on an Android port of opsu! for a while now, and the latest version is pretty stable. I think it's way better than osu!droid, so check it out! You can download the APK here: https://github.com/fluddokt/opsu/releases/tag/0.6.0b (Note that since opsu! wasn't designed with mobile in mind, the UI isn't very phone-friendly yet, but just about everything works.)

I've also put up a pretty minimal web page for the project that includes download links (including the APK, if you're on a mobile device) and screenshots: http://itdelatrisu.github.io/opsu/ (I'll probably update it some more soon so that it's actually useful and not just a copy of the README.)

Agrrox wrote:

Also I have interest of making skin for opsu! I have skills with bitmap/vector graphics.
That'd be fantastic! I sent you a PM.
xasuma
Damn!!!! Im pumped for the android version.
XinCrin
For android version , could be cool to make a improved UI.


Keep doing a great job :D
chong601

euphyy wrote:

MP3 sound effects weren't even being loaded until this release. Did you make your own changes to load them before? And can you link me to an example of a file that doesn't work now?

The sliders should really be drawn offscreen first, yeah. I'll look into it when I have time.

If it's not too much trouble, could you post issues on GitHub instead? It'll make it much easier for me to keep track of them -- thanks!
Yeah, just noticed this when i run back 0.5.0, none of the .MP3 hitsounds were played. But, in 0.5.0, all mp3 hitsounds are ignored by default, but on 0.6.0, all of them are rendered even if they aren't supported.

Sliders... well not a big issue though, just weird that numbers show up first then followed by the whole slider... just feels a bit unnatural for me...

Github... currently i don't have an account for that but will do that on the future issues found :D

Extra notes:
This map will not play on opsu! 0.6.0. It just hangs when trying to play that map (Happens as well on 0.5.0)

About the hitsound issues, I found out that it's related to the way the WAV files are created... If i play opsu! with the preloaded hitsounds, it works (but sometimes it will be silenced). When I use the osu! default hitsound, it just happens a lot... possibly due to the WAV parsing when setting the parameters in javax.sound.sampled? (only optimized to the preloaded hitsounds).

euphyy wrote:

Updates:
So fluddokt has been working on an Android port of opsu! for a while now, and the latest version is pretty stable. I think it's way better than osu!droid, so check it out! You can download the APK here: https://github.com/fluddokt/opsu/releases/tag/0.6.0b (Note that since opsu! wasn't designed with mobile in mind, the UI isn't very phone-friendly yet, but just about everything works.)

I've also put up a pretty minimal web page for the project that includes download links (including the APK, if you're on a mobile device) and screenshots: http://itdelatrisu.github.io/opsu/ (I'll probably update it some more soon so that it's actually useful and not just a copy of the README.)
>Android port of opsu!
*breathing intensifies*
I just checked it out, and HORY SHET IT WORKS (wasted almost half of the day playing around with it and get nagged by the manager at my workplace xD)
Everything is handled well, hitsounds works without any issues (even if the base is Linux)
Just the spinner is a bit too harsh to clear (opsu! does suffer from this but appears to be more forgiving than the Android version)
FPS is good; 57-59 all the way.
Howl

euphyy wrote:

Updates:
So fluddokt has been working on an Android port of opsu! for a while now, and the latest version is pretty stable. I think it's way better than osu!droid, so check it out! You can download the APK here: https://github.com/fluddokt/opsu/releases/tag/0.6.0b (Note that since opsu! wasn't designed with mobile in mind, the UI isn't very phone-friendly yet, but just about everything works.)
LIVING THE DREAM
Bebos
Android version doesn't work for my nexus 4, its just show black screen.
- Marco -
onle little problem on opsu-android, if i ssearch for a beatmap it shows the keyboard but i can't type anything
xasuma
If these things im about to mention are already in the game, sorry but I couldnt find them (and havent read all release notes).
Anyways I think it would be good to look into them.

- Disable mouse/pen clicks. (So people who drag the pen can properly play).
- Check the skinable sounds, with the default skin not all hitsounds work. Leaving some "noiseless" notes. (Also the option to change skins) :D
- The options menu is in a weird un-intuitive spot. (this is not important though actually).

other than that is looking much better than before!
AstralPhnx
Opsu droid completely carks and doesn't boot at all on my moto g 2014. It just boots straight to a black screen. I'm running pac-rom for the moto g 2014 based off android 5.0 lollipop. Don't tell me that you didn't program it for ART properly?
chong601
Opsu-Android works on stock Android 4.4.2 with modifications to run any app using ART rather than Dalvik
I don't think modified android will make it unrunnable (and the game is actually written in Java and uses libGDX to make it Android-compatible)
Paraphen
Yeah I'm thinking there might be an ART issue here, my nexus 5 running 5.0.1 is booting to a black screen :(
AstralPhnx

[Kevlin] wrote:

Yeah I'm thinking there might be an ART issue here, my nexus 5 running 5.0.1 is booting to a black screen :(
Eh... That's a bit silly. They really need to fix this up
Topic Starter
euphyy_old
Guys, please start posting the error logs, as these aren't issues that fluddokt or I can reproduce. If you're having the black screen problem, you can follow the issue on GitHub (and perhaps add more information, if the fixes don't work for you): https://github.com/fluddokt/opsu/issues/1 fluddokt is handling the Android stuff pretty much singlehandedly at the moment, so if you have any experience with Android development, I'm sure he'd love your help.

Also, if anyone wants to try deploying his fork to iOS, please give it a shot! I don't have any Apple devices so I can't try it myself, but libGDX should make this doable without much effort. Read here: https://github.com/libgdx/libgdx/wiki/D ... loy-to-ios

xasuma wrote:

- Disable mouse/pen clicks. (So people who drag the pen can properly play).
I'll add an option for disabling mouse clicks shortly. I don't really know how to handle pen input in Slick2D (or if it's possible), and I don't have anything to test it with, sorry. x.x

chong601 wrote:

But, in 0.5.0, all mp3 hitsounds are ignored by default, but on 0.6.0, all of them are rendered even if they aren't supported.
[...]
This map will not play on opsu! 0.6.0. It just hangs when trying to play that map (Happens as well on 0.5.0)
[...]
Just the spinner is a bit too harsh to clear (opsu! does suffer from this but appears to be more forgiving than the Android version)
Thanks for all the feedback! The issue with sounds being cut off should be mostly fixed now (thanks to fluddokt, again), so try compiling the latest source if you're interested. fluddokt also fixed an issue with the new sliders, so that map should work now (it was infinite looping before). I also noticed the spinner issue on Android, as my FPS goes down dramatically (to 20-30) during them... not sure why yet, though. Lastly, I'm still not sure why you're having MP3 loading problems -- could you link to a file that doesn't load?

marcostudios wrote:

onle little problem on opsu-android, if i ssearch for a beatmap it shows the keyboard but i can't type anything
I don't know why that'd happen; try reporting it on fluddokt's GitHub?

XinCrin wrote:

For android version , could be cool to make a improved UI.
I'd love to, but I don't think anyone has time right now... UI is too painful to write in Slick2D. xD That's a really cool looking design, though!
chong601

euphyy wrote:

Also, if anyone wants to try deploying his fork to iOS, please give it a shot! I don't have any Apple devices so I can't try it myself, but libGDX should make this doable without much effort. Read here: https://github.com/libgdx/libgdx/wiki/D ... loy-to-ios
If i have an Apple PC and an iPhone... :(

euphyy wrote:

Thanks for all the feedback! The issue with sounds being cut off should be mostly fixed now (thanks to fluddokt, again), so try compiling the latest source if you're interested. fluddokt also fixed an issue with the new sliders, so that map should work now (it was infinite looping before). I also noticed the spinner issue on Android, as my FPS goes down dramatically (to 20-30) during them... not sure why yet, though. Lastly, I'm still not sure why you're having MP3 loading problems -- could you link to a file that doesn't load?
Finally I can decently play this game :D
Yeah confirmed the sliders are fixed (damn those sliders are really really fast like teleported xD)
About the spinner, the FPS is on a stable 58fps (set 240 fps but it seems android ignored that) but it really takes a lot of spins to clear even on an Easy map (but on 0.6.1 release, it seems the spinner is a bit relaxed but still harder than the default osu!)

However for the .mp3 loading issue, as of the latest build, it still happen :(
Tue Mar 03 22:18:36 SGT 2015 ERROR:Failed to load file 'D:\opsu\Skins\applause.mp3'.
Tue Mar 03 22:18:36 SGT 2015 ERROR:could not get audio input stream from input URL
javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input URL
at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
at itdelatrisu.opsu.audio.SoundController.loadClip(SoundController.java:85)
at itdelatrisu.opsu.audio.SoundController.init(SoundController.java:195)
at itdelatrisu.opsu.states.Splash$1.run(Splash.java:108)
Tue Mar 03 22:19:37 SGT 2015 ERROR:Failed to load file 'D:\opsu\Skins\combobreak.mp3'.
Tue Mar 03 22:19:37 SGT 2015 ERROR:could not get audio input stream from input URL
javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input URL
at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
at itdelatrisu.opsu.audio.SoundController.loadClip(SoundController.java:85)
at itdelatrisu.opsu.audio.SoundController.init(SoundController.java:195)
at itdelatrisu.opsu.states.Splash$1.run(Splash.java:108)
Tue Mar 03 22:19:38 SGT 2015 ERROR:Failed to load file 'D:\opsu\Skins\failsound.mp3'.
Tue Mar 03 22:19:38 SGT 2015 ERROR:could not get audio input stream from input URL
javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input URL
at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
at itdelatrisu.opsu.audio.SoundController.loadClip(SoundController.java:85)
at itdelatrisu.opsu.audio.SoundController.init(SoundController.java:195)
at itdelatrisu.opsu.states.Splash$1.run(Splash.java:108)
Tue Mar 03 22:19:39 SGT 2015 ERROR:Failed to load file 'D:\opsu\Skins\sectionfail.mp3'.
Tue Mar 03 22:19:39 SGT 2015 ERROR:could not get audio input stream from input URL
javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input URL
at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
at itdelatrisu.opsu.audio.SoundController.loadClip(SoundController.java:85)
at itdelatrisu.opsu.audio.SoundController.init(SoundController.java:195)
at itdelatrisu.opsu.states.Splash$1.run(Splash.java:108)
Tue Mar 03 22:19:39 SGT 2015 ERROR:Failed to load file 'D:\opsu\Skins\sectionpass.mp3'.
Tue Mar 03 22:19:39 SGT 2015 ERROR:could not get audio input stream from input URL
javax.sound.sampled.UnsupportedAudioFileException: could not get audio input stream from input URL
at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
at itdelatrisu.opsu.audio.SoundController.loadClip(SoundController.java:85)
at itdelatrisu.opsu.audio.SoundController.init(SoundController.java:195)
at itdelatrisu.opsu.states.Splash$1.run(Splash.java:108)
Those .mp3 hitsounds are from osu! default skin (i am currently using this skin for playing and testing this game since if the defaults work, other skin *might* work well)

I checked the old versions (0.4.0 and 0.5.0) and they seemed to ignore hitsounds with .mp3 extension. Just the 0.6.0 release and the latest version seems to load all hitsounds available.

Slight issue here:
Since v0.4.0, there's a significant amount of jitter (rapid speeding up and down of animations during gameplay). It doesn't seem to make problems on easier maps (since those jitter is really low) but on high maps (AR>8), it really gets noticeable. I have tried playing around the FPS setting (i invented the 600 fps setting xD) but it still have the jitter.


Also, I have accidentally cloned your project instead of cloning the forked project... (very new to Git) but no damage were done to your branch :)
Zone
Works totally fine on my Kindle, but not on my computer. There seems to be a problem with SQLite? I don't really know a lot about coding in that direction

** Uncaught Exception! **
java.lang.UnsatisfiedLinkError: org.sqlite.core.NativeDB._open(Ljava/lang/String;I)V
at org.sqlite.core.NativeDB._open(Native Method)
at org.sqlite.core.DB.open(DB.java:161)
at org.sqlite.core.CoreConnection.open(CoreConnection.java:145)
at org.sqlite.core.CoreConnection.<init>(CoreConnection.java:66)
at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:21)
at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:23)
at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:45)
at org.sqlite.JDBC.createConnection(JDBC.java:114)
at org.sqlite.JDBC.connect(JDBC.java:88)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at itdelatrisu.opsu.ScoreDB.init(ScoreDB.java:66)
at itdelatrisu.opsu.Opsu.main(Opsu.java:136)

Happen to have any idea on how to fix this?
hanawanta

marcostudios wrote:

onle little problem on opsu-android, if i ssearch for a beatmap it shows the keyboard but i can't type anything
What device and what version of android do you have?
Have you tried pressing space or enter after typing something?
Some keyboards seems to store up what you want to type to autocorrect.


chong601 wrote:

However for the .mp3 loading issue, as of the latest build, it still happen :(
[code]Tue Mar 03 22:18:36 SGT 2015 ERROR:Failed to load file 'D:\opsu\Skins\applause.mp3'.
...
Is this from running the release jar?
Kinda feels like you are running it from source and its missing the mp3spi.jar somehow.

chong601 wrote:

Slight issue here:
Since v0.4.0, there's a significant amount of jitter (rapid speeding up and down of animations during gameplay). It doesn't seem to make problems on easier maps (since those jitter is really low) but on high maps (AR>8), it really gets noticeable. I have tried playing around the FPS setting (i invented the 600 fps setting xD) but it still have the jitter.
Can you try the commit over on ' fluddokt/omaster' branch and see if that helps?

Yukiine wrote:

Works totally fine on my Kindle, but not on my computer. There seems to be a problem with SQLite? I don't really know a lot about coding in that direction?

What OS are you running?
Are you running it somewhere with a '!' in it?
This is from opsu-0.6.0.jar right?
chong601

hanawanta wrote:

Is this from running the release jar?
Kinda feels like you are running it from source and its missing the mp3spi.jar somehow.
I have run both version 0.6.0 and the source version (which i have built myself)
I have made a copy of the opsu-master (downloaded using zip, not clone from the master branch) and did a priming build and mp3spi.jar is automatically added to dependencies (as mp3spi-1.9.5-1.jar)

hanawanta wrote:

Can you try the commit over on ' fluddokt/omaster' branch and see if that helps?
Commit on it or just make a pull request? I'm quite new to Git though
Oh, by the way, after i tried setting FPS to 600, it appears that spinner is really broken...
On low fps setting (60, 120, 240), the spinner works just fine (can clear any spinner), but on high FPS (600 at my case), i can't clear even easy spinner...

OT: are you fluddokt by any chance? o.O
AstralPhnx
Ok! The android version now works for me and god DAYUM it is LEAPS and BOUNDS ahead of osudroid. Sync was perfect out of the box, circles were not overly massive meaning I could see what I was doing and no lag at all! AMAZING job! Keep it up!

Edit: I know that this is early stages but I'd like to suggest a few things to add. Firstly, add a way to pause the game without using the back button. Reason being that I'm using a moto g 2014 which only has software buttons. I use cyanogen mod to hide them to stop them from getting in the way during gameplay but that leaves me without the ability to pause the game. If you could pop a pause button in there that the user tap holds to pause the game in a later version then that would be really appreciated!

Secondly, hitsounds are absent. Now I know this may be related to the audio lag present in android but osudroid seemed to pull it off. Hitsounds are a really important part of the game so hopefully they get implimented soon.

Apart from that it works like a dream!
hanawanta

chong601 wrote:

I have run both version 0.6.0 and the source version (which i have built myself)
I've tested it and you're right it doesn't work.
It seems that jarsplice doesn't include 'META-INF\services' from mp3spi.
So a quick fix would be to copy that into the opsu jar.
I can't really think of a more permanent solution.

chong601 wrote:

Commit on it or just make a pull request? I'm quite new to Git though
I'm no expert on git but,
you first need add the repo as a remote,
then fetch this remote,
then checkout the branch. I think.

chong601 wrote:

Oh, by the way, after i tried setting FPS to 600, it appears that spinner is really broken...
On low fps setting (60, 120, 240), the spinner works just fine (can clear any spinner), but on high FPS (600 at my case), i can't clear even easy spinner...
Sorry, I don't know much about this.

chong601 wrote:

OT: are you fluddokt by any chance? o.O
yea


Tuxdude143 wrote:

Sync was perfect out of the box
Since its about the same as opsu, it might not be that way for all songs.

Tuxdude143 wrote:

Edit: I know that this is early stages but I'd like to suggest a few things to add. Firstly, add a way to pause the game without using the back button. Reason being that I'm using a moto g 2014 which only has software buttons. I use cyanogen mod to hide them to stop them from getting in the way during gameplay but that leaves me without the ability to pause the game. If you could pop a pause button in there that the user tap holds to pause the game in a later version then that would be really appreciated!
You might be able to swipe up from the bottom or left to right from the right to get access to the software buttons.
Yea I don't know maybe.

Tuxdude143 wrote:

Secondly, hitsounds are absent. Now I know this may be related to the audio lag present in android but osudroid seemed to pull it off. Hitsounds are a really important part of the game so hopefully they get implimented soon.
Apart from that it works like a dream!
Most hits sounds should work, its just disabled by default because.... yeah I should change that. You will need to enable it in the settings and then do a hard reset on the app by exiting from the main menu and then swiping it out in the recent app or using a task manager.
Topic Starter
euphyy_old

hanawanta wrote:

It seems that jarsplice doesn't include 'META-INF\services' from mp3spi.
So a quick fix would be to copy that into the opsu jar.
I can't really think of a more permanent solution.
I'll see what I can do.

I also just added a beatmap cache, so let me know if that actually speeds up loading times.
AstralPhnx
You might be able to swipe up from the bottom or left to right from the right to get access to the software buttons.
Yea I don't know maybe.
I can but it's still not the most ideal solution for those of us with software buttons. Games like cytus hide the software buttons but they still have a pause button for those of us who have software buttons. It's a small thing but it makes our lives a hell of a lot easier
Topic Starter
euphyy_old

euphyy wrote:

hanawanta wrote:

It seems that jarsplice doesn't include 'META-INF\services' from mp3spi.
So a quick fix would be to copy that into the opsu jar.
I can't really think of a more permanent solution.
I'll see what I can do.
Fixed: JarSplicePlus and opsu commits.
(unrelated: looking at JarSplice's code makes me cringe, re: line 70)
chong601
previous message

xasuma wrote:

- Disable mouse/pen clicks. (So people who drag the pen can properly play).
Probably this will do the disable mouse keys.... (didn't have the time to test this because i can't get access to IDEs till after April :( )
public void mouseMoved(int oldx, int oldy, int newx, int newy)
public void mousePressed(int button, int x, int y)
public void mouseReleased(int button, int x, int y)
public void mouseWheelMoved(int change)

Probably can do something like this
if (!disableMouseKeys) {
public void mousePressed(int button, int x,int y)
}
Found this on Slick2D website (http://slick.ninjacave.com/wiki/index.php?title=Input#Mouse_2)

Places where mouse keys should be disabled: during gameplay (but rellow mouse keys when game paused)
Edit:
Damn, already added LOL

About the gameplay smoothness, I think probably its due to the way this game renders the graphic... I don't think switching to higher precision timer will easily fix that issue maybe because probably due to the update FPS is lower than the render FPS causing these jitter (and I found that this game have many different update() and render() calls on different GameContainer which makes it hard to find which one to modify :? ). I will look again on the code again and see whether I can get the right place to do it or not....

In short, the update FPS can be set to absolute maximum (or set it high enough but will not bring the computer to a drag, 240fps might be good enough i guess) and then set the render FPS to the FPS setting defined in the Options (60 vsync, 120 or 240)

My proposed solution is this (non-gameplay probably doesn't need this, only gameplay since they are really sensitive to timing at milisecond accuracy since it is quite easy to not get 300 at AR>9 maps):
private long nextFrameTime;

public void init (GameContainer gc) throws SlickException{
//do all init logic here

//keep this line below
nextFrameTime=Sys.getTime();
}

//update the backend logic at 240fps
//render part not shown... i have no idea on how to do that for now xD
public void update(GameContainer gc, int delta) throws SlickException {

int count = 0;
while(nextFrameTime < Sys.getTime()) {
update(gc);
nextFrameTime += Sys.getTimerResolution() / 240;
if (++count == 8) {
nextFrameTime = Sys.getTime();
break;
}
}
}

private void update(GameContainer gc) throws SlickException {
// put all game logic here
}
Topic Starter
euphyy_old
Release: v0.7.0
A lot of general enhancements and fixes with this release -- please refer to the release notes for details. A few quick points:
  1. Beatmap cache: Beatmaps are now cached in a database after the application starts. Coupled with some other tweaks, loading times are now drastically lower (ex. loading is about 6x faster on my computer).
  2. Automatic updater: All future releases can be automatically downloaded from within the application.
  3. Bug fixes: Major spinner improvements (fade in effect, support counterclockwise rotation, show RPM for "auto"/"spun-out" mods, remove dependence on FPS); slider calculation fixes; multiple sound effects can now play simultaneously; and many others.
Thanks again for all the support!
xasuma
SPOILER
** Uncaught Exception! **
java.lang.NullPointerException
at itdelatrisu.opsu.db.OsuDB.setStatementFields(OsuDB.java:309)
at itdelatrisu.opsu.db.OsuDB.insert(OsuDB.java:250)
at itdelatrisu.opsu.OsuParser.parseDirectories(OsuParser.java:184)
at itdelatrisu.opsu.OsuParser.parseAllFiles(OsuParser.java:78)
at itdelatrisu.opsu.states.Splash$1.run(Splash.java:106)


Fixed ^

Now it works ;) , and the loading time for songs was much faster.
AstralPhnx
Thank you SO MUCH for a pause button option in the android version this update! Keep it up!
LaughingKing37
I started playing Osu for the past month so I'm fairly new to the Osu community. So why is there a need to make an Osu clone except have it open source? Isn't the main game polished enough that there wouldn't be a need to recreate it?
chong601

LaughingKing37 wrote:

I started playing Osu for the past month so I'm fairly new to the Osu community. So why is there a need to make an Osu clone except have it open source? Isn't the main game polished enough that there wouldn't be a need to recreate it?
As of now, peppy still haven't make osu! source code open for public viewing. IIRC, he did say that it will be released by end of this year.
opsu! is actually a reimplementation of the original osu! game (no osu!devs are involved in this project afaik) and it is mainly contributed by euphyy (itdelatrisu) and hanawanta (fluddokt) and some players submitting bug reports.

Another reason of making clones is because osu! isn't really available other than Windows (although it is supported in Mac and Linux via Wine but heh, not everyone have good experience with those like I can't even make it work without recompiling my kernel :o)

Another reason is because they are just have nothing to do and decided on trying to make their own :)

Examples of the osu! clone available are:
  1. osu!iPhone (currently dead since the dev (nuddles) stopped developing it)
  2. osu!droid (presumably dead since the devs (Pesets and neico) not actuvely maintaining the code and tbh, the game suffers from multiple issues ranging from lack of support for newer versions of .osu format, memory corruption and image corruption)
  3. osu!WP (not sure about the status but probably still active)
  4. osuweb (browser version, not tested yet)
  5. osu!uebu (not released yet, browser version, HTML5 based with WebGL probably still in active development, the dev (Frowned) is working on it, but no ETA on the release date)
  6. Wojtkosu (XNA based, not active i think? the thread is 2 years old since the dev last posted in the forums :? )
show more
Please sign in to reply.

New reply