Track and check permissions for every third-party asset in a game: images, sprites, fonts, 3D models, video, audio and bundled code libraries. Matches each file to a credits entry (by file, folder or name) or a license header, names the license, and flags missing credits, unknown licenses, NonCommercial in sold games, NoDerivatives files that were changed, BY credits without an author, GPL or S...
Download skill (.zip) Files on GitHubGame asset license audit
python3 scripts/license-audit.py . # everything
python3 scripts/license-audit.py . --commercial --out docs/ASSET-LICENSES.md
python3 scripts/license-audit.py . --only images,fonts --json
Keep a credits file
CREDITS.md at the top of the project, one line per file or folder:
- assets/sprites/: made by me
- assets/tiles/dungeon.png: "Dungeon Tileset" by Ann (https://...), CC BY 4.0, recolored
- assets/fonts/pixel.ttf: "Pixel Sans" by Bob, SIL Open Font License
- vendor/howler.min.js: howler.js, MIT
Write down changes you made (“recolored”, “trimmed”): NoDerivatives licenses forbid them. Add an entry the moment a file is added; tracing it later is much harder.
What licenses mean for a game
| License | Use in a sold game | Change it | Credit |
|---|---|---|---|
| CC0, public domain | yes | yes | not needed, nice to give |
| CC BY | yes | yes | required, in the game |
| CC BY-SA | yes | yes, same license for the changed file | required |
| CC BY-NC | no | yes | required |
| CC BY-ND | yes | no | required |
| OFL (fonts) | yes | yes, under another name | keep the license file |
| MIT, Apache, BSD (code) | yes | yes | keep the license text |
| GPL (code) | yes, but the game’s code must be shared too | yes | keep the license |
| Store licenses | read the terms | usually | often not required; keep the receipt |
Some store licenses forbid putting the files in a public repo. Check before the repo goes public (bash-public-repo-privacy-check).
Audio only: audio-license-audit (same script, --only audio). This is a check, not legal advice.
Pitfalls
“Found it on Google”, fan art of famous characters, fonts copied from the computer (many system fonts can’t be shipped), credits only on the store page, and licenses not recorded when the file was added.