1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Warn about unsupported file extensions for media

This commit is contained in:
Zughy 2023-08-06 14:16:00 +02:00 committed by GitHub
parent c816aa5374
commit 98f097dc2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 2 deletions

View file

@ -259,7 +259,18 @@ time, if necessary. (See [`Settings`])
Media files (textures, sounds, whatever) that will be transferred to the
client and will be available for use by the mod and translation files for
the clients (see [Translations]).
the clients (see [Translations]). Accepted characters for names are:
a-zA-Z0-9_.-
Accepted formats are:
images: .png, .jpg, .bmp, (deprecated) .tga
sounds: .ogg vorbis
models: .x, .b3d, .obj
Other formats won't be sent to the client (e.g. you can store .blend files
in a folder for convenience, without the risk that such files are transferred)
It is suggested to use the folders for the purpose they are thought for,
eg. put textures into `textures`, translation files into `locale`,