forum

Collections Manager - Open source

posted
Total Posts
109
show more
Topic Starter
Piotrekol
;)

pielak213- wrote:

I'm confused about this error when trying to list my missing beatmaps. http://puu.sh/3KCzo.png
That only happens when you load *.db file(with is osu!-generated one and doesn't contain any useful data in case you're missing a beatmap) instead of *.osdb file(with is generated by my program)

pielak213- wrote:

I also get this error when attempting to generate a txt file of all maps in a collection. http://puu.sh/3KCKs.png
SPOILER
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.ThrowHelper.ThrowArgumentOutOfRangeException()
at System.Collections.Generic.List`1.get_Item(Int32 index)
at #=q93TaSZDpYFapvupd0K7jO9S2H$D5zpZVmfVXyJMnu509je_UZUkvhIYMrqVGnuyy.#=qirbpcu$_5snqfIiPUmqClQ==(String #=qh4QcwNNWkfjSv_pPfc4CKQ==, Int32 #=qcI4y7$1_7MKmoGpPE$qnohwvkXNfHXPfUHT$hQsl6og=, IList`1 #=qXPThP1Qj6ynAfYt$LOI5Cw==, IList`1 #=qpqKP11QhWX4R5IK17Fm57w==, Boolean #=qq361W1E2eF6gIueSOdgN2C7BAqc5VBb2XDbB2JkwD6c=)
at #=qu0IlvfQgOpk2gl1WtCpG8AWXOp9jn3IWWykD_qiPHek=.#=qbk3JZbD9WwNKBUW_EvJIJap272onae1mDsuoYzOtCXLFnlNOZBD0bqxel2t0exlz(Object #=qxCVvgeXHRg6TiKF5f9p$UQ==, EventArgs #=qvERqGrra$isMNC6YC7Neuw==)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18052 built by: FX45RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
osu!CollectionEditor
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file: your file
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18047 built by: FX45RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18044 built by: FX45RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

This is what I got in the output file http://puu.sh/3KCCc.txt
Tried loading multiple collection combinations (both collection.db and .osdb files) and I couldn't reproduce this error. Could I get this collection(file)?
pielak213
­
Zkeyblade
How do you analyze collection.db?

Can you pm me the sample code?

^ ^
Primula_old

Zkeyblade wrote:

How do you analyze collection.db?

Can you pm me the sample code?

^ ^
PM'd you with some basic info.
The collections db will only get you the hash of a map, you need to read osu! db for the map name from that hash.
I'll make my method of doing this public if I ever finish it ^-^ (might finish within a week or two if I get time to work on it)
Zkeyblade

Primula wrote:

Zkeyblade wrote:

How do you analyze collection.db?

Can you pm me the sample code?

^ ^
PM'd you with some basic info.
The collections db will only get you the hash of a map, you need to read osu! db for the map name from that hash.
I'll make my method of doing this public if I ever finish it ^-^ (might finish within a week or two if I get time to work on it)

Thank you all Piotrekol & Primula ! ^ ^

I just want to write a tool to extract the audio files in collection.I have done a tool which can pick up the songs according to the txt output from osu!collectioneditor.

Now I can make my tool independent. ^ ^
Topic Starter
Piotrekol
Update- Added ability to rename and Sort Collections.
REMEMBER TO BACKUP YOUR COLLECTION FILE JUST IN CASE.
(I didn't have any problems with it but who knows)
EDIT:
//fixed beatmap loading
wwared
There's a bug with the "Generate list of all maps in collection" feature:
I created a collection with these four maps: http://puu.sh/4zBJc.png
However, when I tell the editor to generate a list of all maps in the collection, I get:
SPOILER
==============Osu! Collection File==============

Edited by: wwared

Number of collections listed: 1

Collection 1: test

http://osu.ppy.sh/b/281843/ Demetori - Crimson Belvedere ~ Eastern Dream

By Piotrekol
That is, it only lists one map even though the collection has 4 maps.
The exported .osdb file contains the information of all maps in the collection (here it is http://puu.sh/4zBO6.osdb if you need it), but it doesn't seem to list maps with the same artist, for some reason.

Thanks a lot for this tool, by the way! :)

Edit: Forgot to mention, this happens when generating a list regardless of the output format (.txt or .html).
Topic Starter
Piotrekol
@wwared
will look into that in a moment
//well fixed(changed literary 4 characters of code in total)
link in the first post!
Xho
Thanks, this is pretty useful!
Vulpes
-
Vendethiel
Thanks for that. Would love to have the code though :).
Topic Starter
Piotrekol

CandyFox wrote:

It says all my maps are in the collection but just to test it out I added a song without adding it to a collection and it didn't change. It doesn't let me create a list of missing beatmaps (yes used *.osdb)
what? (got no response on PM- aka can't reproduce(or rather I can't understand steps to reproduce))

Vendethiel wrote:

Thanks for that. Would love to have the code though :).
Tell me what would you want me to add/fix - I might do it :)
MandyJS
Just wanted to send my thanks for this program you made :)

The order of my collections was annoying me sooo much and no matter what I tried to do in the game, I couldn't reorder them. So I did a search hoping to find some magical solution to the problem and this forum thread came up. I downloaded the program and it fixed the problem in no time.

You're the best :D
Oinari-sama
I've been using this for quite a while now and it's great! I've just completed a tutorial in Chinese and posted to the Chinese forum.

Thanks for the great app!
TocoToucan
Did you use obfuscator? :oops:
Topic Starter
Piotrekol
@up
Yes, I did.

@topic
Updated because of changed osu!.db format- Please re-download.

https://db.tt/hhrtvzKu
Garudah
thx
Topic Starter
Piotrekol
If anyone still really cares(or rather uses this program)- PM me and I'll fix it(should be broken because of osu!.db updates).
Topic Starter
Piotrekol
Seems like it's still used by SOME users

Re-based to use same database reader files as in osu!StreamCompanion
DL:
https://db.tt/vVwgEEVQ
or in first post.
sadpwner
resorting of collections does not work. followed instructions properly. No errors, just no changes are made, but are shown in the program. I think osu! sorts the collections automatically based on alphabetical and numberical order now
Oinari-sama

sadpwner wrote:

I think osu! sorts the collections automatically based on alphabetical and numberical order now
I think that's the case. The sort is forced (lost my custom order too)
RyanTheNerd
This program is amazingly helpful. It's not pretty, but it's amazing. It does exactly what I was going to do by hand.
Hums
One way to bypass the auto-sort is to rename every collection and add a prefix Letter to the start of each collection name.
(By default I used numbers but that gave a null error, so use letters)

IF you use up A-Z can then start doing AA AB AC etc.. To keep sorting consistent in this manner there should be a space between the prefix and the actual collection name.

Example--
Say you have 3 collections: Double Time, Hard Rock, Hidden
They would initially be in that order but say you want Hidden to come first, you would then rename to:
A Hidden, B Double Time, C Hard Rock

Granted this is a bit of work and doesn't look 'pretty' -- though personally its so uniform i don't find it to look bad either.
Karuta-_old_1
Thank you for making this, I have always fancied transferring collection folders

so far I have exported the .osdb file from one computer and loaded it on another computer

Loaded the beatmaps successfully and generated a html list of songs that I am missing

And the split function works too

Will report if there is anything else
firedigger
Nice app, a quick recommendation: in .txt export I would like to see difficulty in [] (although the link has the right diff in it), I think it is easy to implement and quite convenient.
Rarita
Hi,

When i fist saw this I was like: This is exactly what I was looking for (hopefully)

But after reading your post and trying it i was disappointed. Why?
Well I really want to sork out song in osu! to collection but only way it is possible in game is one by one.
I hoped that your program would be able to search in database of the songs I have downloaded and then select there for example all that have TVsize in there name and at the same time put them into one collection of my choice.

What I want to do by explaining this to you is that I would by really happy if something like this would be possible and you have good base of program to maybe do it.

Of course if you think that none but me would use it or you just dont have time for this kind of stuff feel free to not do it. I just want to give it a shot. :)

Thank you!
Topic Starter
Piotrekol
Updated to support recent osu!.db changes.
dl link in first post

//edit
Changed download link
NewKey
Createa tutorial, i cannot understand some functions
Topic Starter
Piotrekol

NewKey wrote:

Createa tutorial, i cannot understand some functions
Weird timing...

end of this week? (MAYBE?)
Endaris
oh wow, i'm totally looking forward to that new version o.o
Topic Starter
Piotrekol
I did say that it may not be released in previous week.
Here's part of the reason
snip
;)
Topic Starter
Piotrekol
Collections Manager.
Share collections with everyone!

Collections Manager(CM) gives you ability to create and manage your collections more easily. It also makes sharing your collections/maps with others easier.


Links:
In the first post in this thread t/131103
HitmarE
The program crash'es when osu! folder is not named osu!
Topic Starter
Piotrekol
I can't reproduce that, any more details?

//Update v2
- Increased number of beatmaps that can be opened at the same time from 10 to 100(I experienced firsthand how annyoing that limit was)
- When downloading beatmaps using selection, it now makes sure it only opens only one download page per beatmapSet
- Add more logging around osu!.db loading and osu! directory finder.

//edit
virustotal is showing false-positive(s) for this program with seems to be caused by providing .dlls from exe.
I included second download link with has all .dlls provided separately.
vetochka
Hello.
Could you please return feature "export as html"? Or I'm dumb and just not see it in this release :(
Topic Starter
Piotrekol
"list all collections" button is what You are looking for ;)
Luthardt
For me, it shows some beatmaps as being a different difficulty than in game. Maybe like 1 out of 10 beatmaps have different difficulty in the program compared to osu?

Example:
http://i.imgur.com/9q9vduj.png
Topic Starter
Piotrekol

I only use values that osu database is providing, so they must have changed(recalculated) when you opened that map in osu! (at least that's what I assume is happening there)

Nothing I can do here to fix this, but you should be able to avoid this by just leaving your osu! running idle for some time, so it'll recalculate your maps star ratings
SlowLogicBoy
Open Source any time soon? I would love to help ya out.
Topic Starter
Piotrekol

SlowLogicBoy wrote:

Open Source any time soon? I would love to help ya out.
Sorry, I'm not planning to open source this anytime soon.

Update v3
- Added support for custom osu! Songs directory.
- Collection Editor will now inform you about not working download links when loading "old" .osdb file


Next version will most likely include a way of getting missing map data via osu!api
show more
Please sign in to reply.

New reply