English | 繁體中文
A Python based Rank fetcher and border-image generator
$ ./AnnaBorder --help
usage: AnnaBorder.exe [-h] [-O] [-I] [-T [...]] [--dryrun | --checksum | --static]
Generator that fetches hosting event information and border datasets then generates border image.
optional arguments:
-h, --help show this help message and exit
-O , --output_path Image generate output path, default is "./image"
-I , --identify Search specific event with unique ID
-T [ ...], --type [ ...]
Select fetches border type
--dryrun Not generates image but generates dataset, fetching dataset from API, used for testing dataset
--checksum Not generates image and dataset, used for testing API correspondence
--static Not generates dataset but generates image using local dataset, will not fetching from API
[-T [...]]
is border type, using *args
format, provides PT-rank("pt"), HighScore("hs"), LoungePoint("lp")
it can enter multiple border types, generates more than one border-image
.psd file in the ./components
folder makes everyone change border-background to their own style
config.json
is event informations data, border data, fonts, background file location, with customization, convenient the file organization
Developing libraries:
aiohttp
argparse
asyncio
PIL
For packaging library:
pyinstaller
Example prefix and parameters:
pyinstaller -F "main.py" -i "icon.ico"
Licensed under MIT.
The copyright of any characters in the image(includes .psd, .png) belongs to Bandai Namco Entertainment.
All the event information is provided by api.matsurihi.me
Font used in the image title is ChiuKong Gothic
Font used in the image subtitles and body are jf open 粉圓