Unbewohnte
f9eca425b6
|
4 years ago | |
---|---|---|
logger | 4 years ago | |
manager | 4 years ago | |
settings | 4 years ago | |
util | 4 years ago | |
LICENSE | 4 years ago | |
OBM.go | 4 years ago | |
README.md | 4 years ago | |
flags.go | 4 years ago | |
go.mod | 4 years ago | |
worker.go | 4 years ago |
README.md
OBM (Osu!-Background-Manager)
This utility will help you with replacement, retrievement and removement of Osu!`s beatmaps` backgrounds
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
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 (starting from version 1.3.4)
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