-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQUEST] export collections to .osdb, merge collections with the same name via cli #65
Comments
just to clarify, there are 2 requests here?
|
Exactly, 2 requests. Both of them should be achievable by cli.
That's how ideally I'd like it to work, but you might have better ideas. |
also somewhat related |
looks resoanable
not sure what this would end up doing? extracting all collections to separate .osdb files(or .db, depending on input)? Instead, I would image something like
There are none at the moment. There's class responsible for reading and writing these if that helps - read method is a bit convoluted as it allows reading of pretty much all .osdb versions... as such if you end up analyzing it I'd suggest following |
Yea this looks much better I'd say. I don't think an --extractAll is needed (and if it is, people can always process --listNames output with grep).
I see. I was thinking about processing .osdb files with Python (eg. extracting at least the beatmapID so that I can look it up on the website, and if possible more info like Title and diffname), but I guess I'll figure something out myself. |
Exactly, 2 requests. Both of them should be achievable by cli.
Eg:
App.exe --input a.osdb b.osdb c.osdb --output merge.osdb
App.exe --input collections.osdb --extract
That's how ideally I'd like it to work, but you might have better ideas.
Let me know if you need more infos, and obviously thanks in advance.
…On Mon, Jul 18, 2022, 7:46 PM Piotr Partyka ***@***.***> wrote:
just to clarify, there are 2 requests here?
- exporting single collection from *collection file*(.db/.osdb)
containing multiple collections inside
- merging of 2 *collection files*(.db/.osdb) and contacting maps
contained if collection name conflicts occur
—
Reply to this email directly, view it on GitHub
<#65 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHN2X26IG4YIZBS7MPLUYODVUWJ65ANCNFSM532M37XQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
as title suggests, export collections to .osdb given set name (and if none are given, just export every collection in current working directory) and merge collections to existing osu!collection or output file (eg. collection.osdb)
The main focus of this request would be the one to share maps with ease using command line. Doing that people could share collections with the same name (eg. "DT.osdb") and merge it with other people collection in a community.
The idea was:
I know this might be out of scope of the program, but it'd be very useful if it was possible to do so.
The text was updated successfully, but these errors were encountered: