- Rust 51.2%
- Lua 45.3%
- Shell 3.5%
| collision | ||
| fonts | ||
| gfx | ||
| snd | ||
| src | ||
| .gitattributes | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| Readme.md | ||
Naev Assets (Lossless)
This repository is intended to provide production-ready lossless assets files for use in Naev. All assets uploads should be done to naev-assets-sources and the generated results should be stored here.
Git Large File System (GIT-LFS)
This repository uses git large file system which will have to be installed and set up for you to use it.
This amounts to installing git-lfs and running the following account once per user:
git lfs install
Please see https://git-lfs.com/ for instructions for your operating system.
Generating Lossy Files
Naev uses lossy files to reduce the file size with no noticeable artefacts. You can generate the lossy files to update the naev-assets-lossy repository (here as a submodule), using the following:
$ cargo run /path/to/lossy/repo lossify
Note that, besides rust and cargo, this currently requires:
- libavif-git
- svt-av1-git
- ffmpeg
- rsgain
Computing Metrics
To compute ssimulacra2 on images you can use the following command:
$ cargo run /path/to/lossy/repo verify-images