luanti-org/luanti

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

开放

#10,773 创建于 2021年1月3日

 (6 条评论) (0 个反应) (0 位负责人)C++ (2,395 个派生)auto 404
@ Client / AudiovisualsBugTexturesgood first issue

仓库指标

星标
 (13,341 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南