forum

OCE: Osu Collections Editor

posted
Total Posts
14
Topic Starter
Kurocon
OCE: The Osu Collections Editor

Hello all, you may not know me, this is in fact the first time I post on the osu! forums, but I have been playing osu! for quite a while now. Every time I try to organise my osu library into collections however, I stumble upon the clunky and user-unfriendly collection management interface. osu!Collections Editor has been dead for quite a bit too, so I decided to make my own collections management tool. And here it is! OCE!



Features
- Works on both Windows and Linux!
- OCE allows you to easily create, remove, rename and reorder collections, and add and remove songs and mapsets to them.
What makes OCE unique though, is that OCE can find beatmaps in your collections which are not in your osu! song folder by using the osu! API. Then you can download those missing maps from the osu website or bloodcat.

Screenshots
SPOILER
The main screen, with icons to indicate beatmaps found using the API and unknown maps

Opening your collection

API matching

Adding songs

Finding missing maps

More info
For more information, see the GitHub page.
The source code is also available there, if you are interested!
Contributions in the form of bug reports or improvement suggestions are more than welcome!

Download OCE releases here (Latest version: v1.1.2, updated 26-04-2016)
https://github.com/Kurocon/Osu-Collections-Editor/releases/latest
Direct links: Windows - Windows Portable - Linux - Linux Portable
Mirrors: All versions

Have fun and let me know what you think!
- Kurocon
Diony
Awesome program, I'll be using this in the future.

However, on launch it takes several minutes to process all my beatmaps, which is understandable, but each time I want to add songs to a collection it takes just over 20 seconds to retrieve that list again. Is it possible to skip this step?
Although this is probably only necessary once you have a certain amount of maps (I have just over 11,000 beatmaps).

Keep up the good work!
Piotrekol
I can't get it to load my beatmaps (it just closes without any error after loading ~5% of ~47k beatmaps)
Consider loading osu!.db file instead of one-by-one reading of .osu files.

//
That's why I posted there in the first place- error is nowhere to be found. All I can see in log file is this:
1461493374.560698 - 9984 (__main__) - [INFO] osu! Collection Editor starting...
Topic Starter
Kurocon

Dionysaw wrote:

each time I want to add songs to a collection it takes just over 20 seconds to retrieve that list again. Is it possible to skip this step?
Yeah, the loading on the add dialog is a bit nasty on large collections. I have some ideas on how to improve it though, so I'll give it a try.

Piotrekol wrote:

I can't get it to load my beatmaps (it just closes without any error after loading ~5% of ~47k beatmaps)
Consider loading osu!.db file instead of one-by-one reading of .osu files.
That's unfortunate, the .osu parser probably encountered a corrupt file or very old map. You can check the oce.log file, that might give some hints. Thanks for the tip about the osu!.db, that would be considerably faster and I did not even notice that all the beatmap info is right in there. I'll get right to implementing that.

//
I've updated the application with both of your suggestions in there. Loading should now be a lot faster in both opening your collection and opening the "Add songs" window. Let me know how it works.
Piotrekol
still just closes after reaching about 800mb ram usage(wtf?) in ~1min (using osu!.db)


no error in log file
Topic Starter
Kurocon

Piotrekol wrote:

still just closes after reaching about 800mb ram usage(wtf?) in ~1min (using osu!.db)


no error in log file
Strange. Could you try lowering the log level to debug as described here, then try again, and then post or PM me the logfile? That might clear some things up.
BreadMoirai
Wow. This is great, exactly what I've been looking for ever since folder sort was taken out.
Now i'm able to load each folder separately and simply ctrl+a all the songs into a corresponding collection. Really cool. However..


When adding large amounts of maps (~400+) to a collection the application freezes up, become unresponsive, and looks like it's about to crash for a few seconds (the window fades out to white) even though it's working fine and returns to normal.

When detecting by folder, it doesn't detect any songs within subfolders e.g. I have songs in C:/.../osu!/songs and songs in C:/.../osu!/songs/Anime Pack 5 it will load up songs in /songs but not in /songs/Anime Pack 5.
NewKey
omg i luv u haha

I have a HUGE amount of Beatmaps and create collections with the Osu Game would take a eternity. Good Job
Marseille
I don't always (read never) type in all-caps, so believe me in the full extent of any interpretation that could result:

OH MY GOD THANK YOU THANK YOU THANK YOU. YOU TOOK A HORRIBLE DECISION THAT MADE OSU UNPLAYABLE AND FIXED IT AND I LOVE YOU

I legitimately stopped playing this game and kicked it to the gutter because it was impossible to manage hundreds of beatmaps...

Thank you.
SimplyFoxx
1611168186.999367 - 9312 (__main__) - [INFO] osu! Collection Editor starting...
1611168233.546113 - 12132 (util.osudb_format) - [WARNING] Error while parsing .db file. unpack requires a bytes object of length 8
1611168233.546113 - 12132 (gui_controller.loading) - [ERROR] Error while parsing osu!.db: unpack requires a bytes object of length 8

How to fix it?
JayJayzzzzzz
I also have this problem:

1611744573.491552 - 12280 (__main__) - [INFO] osu! Collection Editor starting...
1611744590.857891 - 11956 (util.osudb_format) - [WARNING] Error while parsing .db file. unpack requires a bytes object of length 8
1611744590.857891 - 11956 (gui_controller.loading) - [ERROR] Error while parsing osu!.db: unpack requires a bytes object of length 8


How can I fix it?
Brnbu
I'm having the same problem as Jayjayzzzzzz and FoxikCZ158. I've tried running it without osu! being active as well but it didn't work still


OCE.LOG
1611777289.104034 - 21380 (__main__) - [INFO] osu! Collection Editor starting...
1611777974.467952 - 27768 (gui_controller.main) - [INFO] Add songs window opened.
1611778082.537981 - 27768 (gui_controller.main) - [INFO] Add songs window closed.
1611778086.556204 - 27768 (gui_controller.main) - [INFO] Saving collection database to C:/Users/andre/AppData/Local/osu!/collection.db
1611778091.947670 - 27768 (gui_controller.main) - [INFO] Saving collection database to C:/Users/andre/AppData/Local/osu!/collection.db
1611778101.737318 - 22616 (util.osudb_format) - [WARNING] Error while parsing .db file. unpack requires a bytes object of length 8
1611778101.738318 - 22616 (gui_controller.loading) - [ERROR] Error while parsing osu!.db: unpack requires a bytes object of length 8
rom Vigeo Games Pack, Volume 4 to Video Games Pack, Volume 4
1611777489.268685 - 21380 (gui_controller.main) - [INFO] Add songs window opened.
1611777721.484845 - 21380 (gui_controller.main) - [INFO] Add songs window closed.
1611777727.829302 - 21380 (gui_controller.main) - [INFO] Add songs window opened.
1611777739.644828 - 21380 (gui_controller.main) - [INFO] Add songs window closed.
1611777743.478156 - 21380 (gui_controller.main) - [INFO] Saving collection database to C:/Users/andre/AppData/Local/osu!/collection.db
1611777746.977673 - 21380 (gui_controller.main) - [INFO] Add songs window opened.
1611777924.515294 - 21380 (gui_controller.main) - [INFO] Add songs window closed.
qilieun

SimplyFoxx wrote:

1611168186.999367 - 9312 (__main__) - [INFO] osu! Collection Editor starting...
1611168233.546113 - 12132 (util.osudb_format) - [WARNING] Error while parsing .db file. unpack requires a bytes object of length 8
1611168233.546113 - 12132 (gui_controller.loading) - [ERROR] Error while parsing osu!.db: unpack requires a bytes object of length 8

How to fix it?
I don't know if you still need help with this.

I changed the settings to load the songs folder rather than the osu!.db file, and then it would fail consistently on particular maps while loading the folder.

The log would show the specific map like this:
1632247004.701574 - 13464 (gui_controller.loading) - [ERROR] Error while parsing Song folder: [Errno 2] No such file or directory: 'C:/Users/Gart/AppData/Local/osu!/songs/984684 Victorious Cast - Take a Hint feat Victoria Justice & Elizabeth Gillies (Speed Up Ver)/Victorious Cast - Take a Hint feat. Victoria Justice & Elizabeth Gillies (Speed Up Ver.) (SquareTude) [I Think You Could Use a Mint].osu'

I would remove the map from my songs folder and rerun the scan until it found the next map that wouldn't work until it eventually worked after removing about 20 maps.
darknessofUwU
Is there a way to list the song folder based on date created when adding to collections, so you don't have to search every map one by one when they have all just been downloaded?
Please sign in to reply.

New reply