luanti-org/luanti

override.txt doesn't work in "server" texture pack

Aperta

#10.773 aperta il 3 gen 2021

 (6 commenti) (0 reazioni) (0 assegnatari)C++ (2395 fork)auto 404
@ Client / AudiovisualsBugTexturesgood first issue

Metriche repository

Star
 (13.341 stelle)
Metriche merge PR
 (Merge medio 13g 22h) (48 PR mergiate in 30 g)

Descrizione

Minetest version
5.3.0 and 5.4.0-dev-af22dd86e
OS / Hardware

Operating system: Windows 10 64-bit CPU: Intel Core 2 Duo

Summary

The override.txt file doesn't work when it's in the "server" texture pack, even when the same file works when used in a client texture pack.

This error is output to the log when trying to use it:

2021-01-03 17:12:29: INFO[Main]: Server: ignoring unsupported file extension: "override.txt"
Steps to reproduce
  1. Create a "server" folder in the textures folder.
  2. Create a override.txt inside that folder with the following contents:
default:dirt_with_grass top default_stone.png
  1. Load into a world, and the textures for default:dirt_with_grass will not have changed.
  2. Quit, and then enable the "server" texture pack in the content tab.
  3. Load into a world again, and default:dirt_with_grass will now have the stone texture on top.

Guida contributor