English | 繁體中文
A Python based Rank fetcher and border-image generator
$ ./AnnaBorder --help
usage: AnnaBorder.exe [-h] [-O] [-S] -T [...] [--dryrun | --checksum]
Generator that fetches hosting event information and border datasets then generates border image.
options:
-h, --help show this help message and exit
-O , --output_path Image generate ouput path, default is "./image"
-S , --search_id Search specific event with unique ID
-T [ ...], --type [ ...]
Select fetches border type
--dryrun Don't generate border-image and output folder to disk
--checksum Don't generate any file or folder, test API response
--static Don't fetch any thing from internet, test image generate with existing JSON file
[-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 body is jf open 粉圓