Skip to content

Card templating#636

Closed
dormieriancitizen wants to merge 20 commits into
Ballsdex-Team:masterfrom
dormieriancitizen:card-templating
Closed

Card templating#636
dormieriancitizen wants to merge 20 commits into
Ballsdex-Team:masterfrom
dormieriancitizen:card-templating

Conversation

@dormieriancitizen

Copy link
Copy Markdown
Member

Description of the changes

First draft (it works tho) of card templating. Sample output:

image

Were the changes in this PR tested?

Yes, but I've not made models yet, so right now the template is a giant dict at the top of image_gen.py. Still better than what was there before I think

I've not checked for performance or error conditions yet, looking for feedback on the system before doing that.

@dormieriancitizen

Copy link
Copy Markdown
Member Author

Ok, this is now at a basic level of usability. Only feature from stock BD that isn't currently replicatable is auto-credits-color—it would be trivial to get it to work but I can't think of a good caching solution atm. But it allows for different templates for specials, regimes, and also configurable fonts and whatnot.

I have not added any way to upload fonts yet but I may do that at some point.

@dormieriancitizen dormieriancitizen marked this pull request as ready for review July 21, 2025 04:30
@dormieriancitizen dormieriancitizen marked this pull request as draft January 28, 2026 13:20
@dormieriancitizen

Copy link
Copy Markdown
Member Author

Not updated for 3.0, will potentially fix later

@dormieriancitizen

dormieriancitizen commented Apr 4, 2026

Copy link
Copy Markdown
Member Author

Closing in favour of #740

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant