@zengm-games/export-faces

1.0.0 • Public • Published

@zengm-games/export-faces

Take a league file export from Basketball GM or any of the other ZenGM games, and generate a folder containig images of all the players, in PNG format.

First install Node.js and then you can run it like:

npx @zengm-games/export-faces --league BBGM_League_1_2025_preseason.json

By default that will export the current active players on their current teams, to a folder named "exported-faces".

You can also specify a couple additional options to customize this behavior.

Use the --season option to pick a season of faces to export, rather than current active players:

npx @zengm-games/export-faces --league BBGM_League_1_2025_preseason.json --season 2024

And use the --folder option to pick a different folder for the PNGs:

npx @zengm-games/export-faces --league BBGM_League_1_2025_preseason.json --folder my-folder

Readme

Keywords

none

Package Sidebar

Install

npm i @zengm-games/export-faces

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

4.65 kB

Total Files

3

Last publish

Collaborators

  • dumbmatter