Commit Graph

128 Commits (05898aafcadcf6639d168788c42ba2d54688d501)

Author SHA1 Message Date
Lertsenem 05898aafca Add 'animate' flag for confismash template 2020-12-05 12:34:42 +01:00
Lertsenem a0414569ad Add premices of challonge implementation
Not sure if I will go through with this. Challonge does not allow for
characters infos as far as I can tell.
2020-12-03 09:36:17 +01:00
Lertsenem ee98d50417 Add new confismash template 2020-12-03 09:35:48 +01:00
Lertsenem ab84b86568 Fix twitterHandle loading from lkrz file 2020-12-03 09:35:31 +01:00
Lertsenem bdfdc398de Add SSBU char Steve 2020-12-01 17:39:07 +01:00
Lertsenem f7e4ff3fbd Adjust chars pos in rebootlyon2020 2020-11-18 12:10:23 +01:00
Lertsenem 732b201a99 Update playerskins db 2020-09-17 17:29:17 +02:00
Lertsenem 7b8d56bc9c Add redirect to players DB 2020-09-17 17:29:08 +02:00
Lertsenem a454625207 Add support for json url for playerskins DB 2020-09-17 15:06:23 +02:00
Lertsenem b9e7ed45b7 Move chars in meltdown template
Move palutena, terry and ridley.
2020-09-17 12:29:16 +02:00
Lertsenem 5a0744744d Update players skins DB 2020-09-17 12:20:19 +02:00
Lertsenem 4be84b9d0c Move pichu in reboot template 2020-09-17 12:19:59 +02:00
Lertsenem 4a8426b887 Move Tink in meltdown template 2020-09-17 12:19:45 +02:00
Lertsenem e2d3e41a38 Add Ridley smashgg id 2020-09-17 12:18:21 +02:00
Lertsenem 24c5c2d12b Update playerskins DB 2020-09-09 13:19:14 +02:00
Lertsenem db9c6210fd Update data in playerskins DB 2020-09-05 16:31:06 +02:00
Lertsenem 8454bfe335 Update playerskins DB 2020-09-04 12:49:44 +02:00
Lertsenem 9904d37e10 Update byleth f position in template meltownlyon2020 2020-09-04 12:46:59 +02:00
Lertsenem 6d12851ea5 Update playerskins DB 2020-09-04 12:46:23 +02:00
Lertsenem 83c62d45aa Add char scaling to template rebootlyon2020 2020-09-03 15:51:41 +02:00
Lertsenem 3a5d7a5f2b Update skins in playerskins DB 2020-09-03 13:44:05 +02:00
Lertsenem b02093addf Fix chars positions in template meltdownlyon2020 2020-09-02 09:13:07 +02:00
Lertsenem 0a219ca856 Add shadow to template meltdownlyon2020
Add a backdrop shadow behind the player rank for better readability.
2020-09-02 09:12:01 +02:00
Lertsenem 292a5cf413 Fix chars positions in template rebootlyon2020 2020-09-02 09:11:36 +02:00
Lertsenem f35d467a40 Fix export issue
PNG came out wrong because of concurrency (?) issues where the SVG file
was converted before being fully generated. The solution was to close
the temporary file between each operation.
2020-09-02 09:09:35 +02:00
Lertsenem 4c6408bd61 Add --use-smashgg-prefix option
Since most local results don't use player-set prefixes from smash.gg but
rather sponsor infos from the playerskins DB, it's easier to toggle off
the download of those prefixes from smash.gg by default.
2020-09-02 09:07:36 +02:00
Lertsenem 9fd12d7a90 Add smashgg id for chrom and richter 2020-09-02 09:06:38 +02:00
Lertsenem 61d8074a67 Update playerskins DB 2020-09-02 09:06:12 +02:00
Niels Giorno e5907ad380 Fix jinja2 dump in temporary file for Windows
tempfile.NamedTemporaryFile() creates **and opens** the file.
jinja2.stream().dump() will try to open the file too, if given a str
(filename). This does not cause issue on Linux, but on Windows the same
file cannot be open twice at the same time...

The solution was to pass a file pointer to 'dump()' instead of the
filename, so jinja2 does not need to open it again.
2020-08-28 12:53:46 +02:00
Niels Giorno 01f90de9c2 Fix export when cairosvg module is not found
If not found, the program should not try to export the image using it
anyway.
2020-08-28 12:52:53 +02:00
Niels Giorno deb2e031a1 Fix temporary file suffix svg -> .svg 2020-08-28 12:51:49 +02:00
Niels Giorno 1eb7a022ff Fix the loading of playerskins DB on Windows
Windows does not load the file with utf8 encoding by default, so I had
to specify it.
2020-08-28 12:50:26 +02:00
Niels Giorno 46bffbe700 Add a new cachedir param 2020-08-28 12:49:55 +02:00
Niels Giorno a70184923b Fix typo in template meltdownlyon2020
Forgot closing parenthesis when referencing images clips, which caused
the SVG to display correctly in browser but not in inkscape (hence
malformed PNG exports).
2020-08-28 12:47:46 +02:00
Lertsenem cc4a2f1053 Add new meltdownlyon2020 template 2020-08-28 08:58:47 +02:00
Lertsenem 3835adc079 Fix & Update playerskins data 2020-08-28 08:58:04 +02:00
Lertsenem f8861f553e Update playerskins db 2020-08-27 09:27:34 +02:00
Lertsenem 041c36045f Add some missing smashgg ids for some characters 2020-08-26 18:21:58 +02:00
Lertsenem 34cdfc8606 Add skin-dependant framing for reboot2020 template
Some characters have skins different enough that they need to be framed
differently (bowser jr, bayonetta, etc). Now the character
"corrections" used by the template to frame the characters correctly can
be set independently for each skin.
2020-08-21 22:50:10 +02:00
Lertsenem edd220a521 Add data to players db 2020-08-21 22:49:27 +02:00
Lertsenem 4b2e5489e5 Fix lkrz trying to load if file does not exist 2020-08-21 11:39:13 +02:00
Lertsenem d6f792c01d Fix players db typos 2020-08-21 11:38:51 +02:00
Lertsenem 8ca17429de Add sponsor infos in DB 2020-08-21 11:34:02 +02:00
Lertsenem bdc46de226 Fix some chars positions in rebootlyon2020
In the long run, positions should become skins dependent since some
chars alts can't be framed identically (case in point : Bowser Jr).
2020-08-21 11:27:21 +02:00
Lertsenem 9931944def Remove covid masks for BJr alts in rebootlyon2020 2020-08-21 11:26:16 +02:00
Lertsenem b27a485cc8 Changes in rebootlyon2020 template
- title in grey
- fix font size & spacing in footer
- change color & opacity for secondaries backgrounds
2020-08-21 11:24:13 +02:00
Lertsenem 8b924c9356 Add B&K smash.gg ID 2020-08-21 11:23:27 +02:00
Lertsenem 708ccf8d0b Fix rebootlyon2020 template footer
And fix some characters positions
2020-07-27 16:24:03 +02:00
Lertsenem d36d369005 Add covid masks for rebootlyon2020 template 2020-07-27 16:13:04 +02:00
Lertsenem 5070b5beac Fix some data in playerskins DB 2020-07-27 14:03:13 +02:00