How to make your own texture common for all TP?
How to make your own texture common for all TP?
How to make your own texture common for all texture packs (TP)?
For example, I want to make my texture for highlighting block I point to. To do this I have to make halo.png. But if I make folder ~/.minetest/textures/all and put halo.png there, then I just make another TP with only thing that differ from default TP.
For example, I want to make my texture for highlighting block I point to. To do this I have to make halo.png. But if I make folder ~/.minetest/textures/all and put halo.png there, then I just make another TP with only thing that differ from default TP.
Re: How to make your own texture common for all TP?
Did you also selected the right TP in the menu?
Re: How to make your own texture common for all TP?
Yes. But view of right TP is not with my highlighting feature.RHR wrote:Did you also selected the right TP in the menu?
I have file ~/.minetest/textures/all/halo.png which defines highlighting of block I point to. Of course, in Settings tab "node highlighting" is selected in drop-down list instead of default "node outlining". I downloaded vanilla 32x32 texture pack. Unpack archive into ~/.minetest/textures/ folder. In Texturepacks tab now there are None, all and vanilla 32x32 texture packs. I select the lower texture pack and start playing but my highlighting method is ignored. Instead, default semitransparent blue wrapper around pointing block is applied.
- Attachments
-
- 2017-01-25_01-47-22_1280x1024.png (32.65 KiB) Viewed 585 times
Re: How to make your own texture common for all TP?
Of course, minetest only loads the texturepack you selected. If you want to play with the "vanilla 32x32 texture pack" and your new "halo.png" then you have to copy and paste it from the all folder to the vanilla 32x32 folder if you want to do it this way.Sergey wrote:I select the lower texture pack and start playing but my highlighting method is ignored. Instead, default semitransparent blue wrapper around pointing block is applied.
I saw you changed your title to "a texture for all texture packs". You can also change the original halo.png textrure in minetest/textures/base/pack then it is also loaded for all other texture packs you want to use.
Re: How to make your own texture common for all TP?
Neither ~/.minetest/textures/all nor ~/.minetest/textures/base/pack does help. By the way, none of these folders did exist after I installed the game. Folder ~/.minetest/textures was empty. But, as I just said, manual creation of these folders and putting files in it, does not help.RHR wrote:Of course, minetest only loads the texturepack you selected. If you want to play with the "vanilla 32x32 texture pack" and your new "halo.png" then you have to copy and paste it from the all folder to the vanilla 32x32 folder if you want to do it this way.Sergey wrote:I select the lower texture pack and start playing but my highlighting method is ignored. Instead, default semitransparent blue wrapper around pointing block is applied.
I saw you changed your title to "a texture for all texture packs". You can also change the original halo.png textrure in minetest/textures/base/pack then it is also loaded for all other texture packs you want to use.
Re: How to make your own texture common for all TP?
Can anyone help me how to use my halo.png with any TP?
- ExeterDad
- Member
- Posts: 1717
- Joined: Sun Jun 01, 2014 20:00
- In-game: ExeterDad
- Location: New Hampshire U.S.A
Re: How to make your own texture common for all TP?
I think if you replace halo.png in textures/base/pack/halo.png
It will work with any texture pack. This will only work in your client.
It will work with any texture pack. This will only work in your client.
HOMETOWN -Our little server. Keep the HOMETOWN chatter @ http://hometownserver.com - Our server map: http://media.hometownserver.com
Re: How to make your own texture common for all TP?
I already said that there were no folders like ~/.minetest/textures/all or ~/.minetest/textures/base/pack after installation of game. Folder ~/.minetest/textures was just empty. And manual creation of them and putting file there does not help.ExeterDad wrote:I think if you replace halo.png in textures/base/pack/halo.png
It will work with any texture pack. This will only work in your client.
- ExeterDad
- Member
- Posts: 1717
- Joined: Sun Jun 01, 2014 20:00
- In-game: ExeterDad
- Location: New Hampshire U.S.A
Re: How to make your own texture common for all TP?
The textures folder I'm referring to isn't located in /.minetest. I'm sorry I didn't think to specify.Sergey wrote:I already said that there were no folders like ~/.minetest/textures/all or ~/.minetest/textures/base/pack after installation of game. Folder ~/.minetest/textures was just empty. And manual creation of them and putting file there does not help.ExeterDad wrote:I think if you replace halo.png in textures/base/pack/halo.png
It will work with any texture pack. This will only work in your client.
On my Debian system it's /usr/share/minetest/textures/base/pack
But it's a .deb package I rolled myself so the location might not be the same as official Debian. With a run in place build, I believe the textures folder is located right next to the bin folder. In a Windows run in place build it is there as well.
Sorry I can't be more specific, but there's so many ways to run Minetest :P
HOMETOWN -Our little server. Keep the HOMETOWN chatter @ http://hometownserver.com - Our server map: http://media.hometownserver.com
Re: How to make your own texture common for all TP?
I don't want to overwrite what MT copied to system folders while installation (like in /usr/share/minetest). There are folder/file(s) for user-specific adjustment in user home directory (or in its config subdirectory). That is their purpose.ExeterDad wrote:The textures folder I'm referring to isn't located in /.minetest. I'm sorry I didn't think to specify.
On my Debian system it's /usr/share/minetest/textures/base/pack
But it's a .deb package I rolled myself so the location might not be the same as official Debian. With a run in place build, I believe the textures folder is located right next to the bin folder. In a Windows run in place build it is there as well.
Sorry I can't be more specific, but there's so many ways to run Minetest :P
- ExeterDad
- Member
- Posts: 1717
- Joined: Sun Jun 01, 2014 20:00
- In-game: ExeterDad
- Location: New Hampshire U.S.A
Re: How to make your own texture common for all TP?
At this time, aside from placing your own copy of halo.png in each texture pack, editing the system files are your only option. The image files in that texture folder ARE system files, and currently can't be overridden in the way you are wanting. The same goes for the mini map images. Feel free to submit a pull request with a fix on Github. This issue has been discussed countless times, and to my knowledge no one has made a move to help fix it.Sergey wrote:I don't want to overwrite what MT copied to system folders while installation (like in /usr/share/minetest). There are folder/file(s) for user-specific adjustment in user home directory (or in its config subdirectory). That is their purpose.ExeterDad wrote:The textures folder I'm referring to isn't located in /.minetest. I'm sorry I didn't think to specify.
On my Debian system it's /usr/share/minetest/textures/base/pack
But it's a .deb package I rolled myself so the location might not be the same as official Debian. With a run in place build, I believe the textures folder is located right next to the bin folder. In a Windows run in place build it is there as well.
Sorry I can't be more specific, but there's so many ways to run Minetest :P
HOMETOWN -Our little server. Keep the HOMETOWN chatter @ http://hometownserver.com - Our server map: http://media.hometownserver.com
Re: How to make your own texture common for all TP?
I had to move my halo.png to system directoryExeterDad wrote:The textures folder I'm referring to isn't located in /.minetest. I'm sorry I didn't think to specify.Sergey wrote:I already said that there were no folders like ~/.minetest/textures/all or ~/.minetest/textures/base/pack after installation of game. Folder ~/.minetest/textures was just empty. And manual creation of them and putting file there does not help.ExeterDad wrote:I think if you replace halo.png in textures/base/pack/halo.png
It will work with any texture pack. This will only work in your client.
On my Debian system it's /usr/share/minetest/textures/base/pack
But it's a .deb package I rolled myself so the location might not be the same as official Debian. With a run in place build, I believe the textures folder is located right next to the bin folder. In a Windows run in place build it is there as well.
Sorry I can't be more specific, but there's so many ways to run Minetest :P
Code: Select all
sudo cp -b halo.png /usr/share/minetest/textures/base/pack
- Desour
- Member
- Posts: 1473
- Joined: Thu Jun 19, 2014 19:49
- GitHub: Desour
- IRC: Desour
- In-game: DS
- Location: I'm scared that if this is too exact, I will be unable to use my keyboard.
Re: How to make your own texture common for all TP?
Just call create a folder named "server" in your .minetest/textures folder. Put in there the halo.png.
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)
Who is online
Users browsing this forum: No registered users and 13 guests