EverestAPI / EverestAPI/Everest
Logging for invalid image files
Open
enhancement
- Dominant language
- C#
- Stars
- 516
- Forks
- 106
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 5
Description
### I am planning on implementing this myself
Probably not
### Describe your request
Currently, non-png images cause the game to crash when loading, but which images are "invalid" varies slightly between XNA and FNA, so this can sometimes go under the radar until a mod releases. Without some kind of logging for the path of the image, it can be hard to find the exact image responsible. It would be good if Everest would catch errors while loading a texture and log the path before crashing,
An example log from one such issue: https://cdn.discordapp.com/attachments/1049090266277105724/1049091972893261874/errorLog.txt
Contributor guide
Assessment
This issue has not been assessed yet.