Kasianov Nikolai Alekseevich
11d493bb14
|
2 years ago | |
---|---|---|
src | 2 years ago | |
.gitignore | 2 years ago | |
LICENSE | 4 years ago | |
Makefile | 2 years ago | |
README.md | 4 years ago |
README.md
OBM (Osu!-Background-Manager)
This utility will help you with replacement, retrievement and removement of Osu!`s beatmaps` backgrounds
NOTE: does NOT work with Osu!Lazer (Lazer has a different handling for beatmaps)
Use at your own risk ! There is no way to return removed original backgrounds unless you delete all beatmaps and reimport newly downloaded versions of them again.
Installation
From source (You`ll need Go installed)
git clone https://github.com/Unbewohnte/OBM.git
or download and unzip the archivecd
into the directorygo build
From release
- go to the releases page
- choose your OS and download the archive
cd
to the location of the downloaded version- unzip (
7z x **archive_name**
) - for 7z archives
Usage
To run - ./OBM
in terminal (on Unix) || OBM.exe
in command line (on Windows) (a simple double-click on exe will certainly work as well)
First run
- The program will generate a settings.json file if it is not already in the directory when you run it
- Paste your Osu! filepath in the "pathToOsu" field
- Enable/Disable needed features, providing valid filepaths to them
- Additionally you can disable the "createBlackBackgoundImage" by replacing true with false or change the number of workers
After
- Start the utility again. If it has found the settings file - it will perform the magic according to provided rules
Flags
Right now there are 2 arguments that you can specify before running the program - "beatmap" and "showOrder". "-beatmap" flag takes a string; it will tell the program to do its work ONLY on beatmaps with specified name; others will be ignored. The names of beatmaps in Osu! consist an id, artist and the name of the soundtrack, so you can specify any name in the flag that will contain one of those parts.
"-showOrder" flag takes a boolean; if set to true - it will print an order in which the workers perform operations over each beatmap. Right now it`s just a helper flag.
Examples
./OBM -beatmap=""
- the same as just./OBM
. It will affect all of your beatmaps./OBM -beatmap="Demetori"
- this will search for beatmaps with names that contain "Demetori" and will work only with them./OBM -beatmap=Demetori
- the same as before, but without "" (look at 4 - 5 for nuances)./OBM -beatmap=raise my sword
- NOTE that this will make the program look only for word "raise", but not for the whole sequence./OBM -beatmap="raise my sword"
- this is the valid option for 4 (You need to use "" in case of a multi-word name)
The search is case-insensitive, so for example ./OBM -beatmap="Road of Resistance"
and ./OBM -beatmap="ROAD of rEsIsTaNcE"
will get you the same results
./OBM -showOrder=true
- will print the order and exit./OBM -showOrder=true -beatmap="something here"
- will print the order and exit, just like in the previous one
License
MIT License
If you have found this program useful, then consider to give this repository a ☆. It is not difficult for you, but means a lot for me