Page 1 of 1

Texture pack problems

PostPosted: Mon Jul 09, 2012 13:10
by Ivar
Hi

Just discovered Minetest, and my whole family loves it :)

I have a problem loading texture packs tho.. I hope some of you might help;
I got Minetest 0.4.dev-20120606 running on Ubuntu Server and everything seems to be working just fine.
I downloaded 3 separate texture packs that I think should be compatible, but no joy so far, one of them MineToon 0.4.
I extracted all of the .png's to the textures/all dir.
My minetest.conf contains this parameter:
texture_path = /home/ivar/minetest/serv/textures/all

Any ideas?

The other texture packs I've tried is misa-minetest-pack-04-120617 and Minetest HD.

Best regards
Ivar

PostPosted: Mon Jul 09, 2012 14:16
by Calinou
texture_path should be a relative path, not an absolute path. Also, very old texture packs will not work with the latest Minetest version (all my packs do, as long as you downloaded the "for 0.4" version).

The default texture_path is ../textures/all - example structure so that it works:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
bin/
builtin/
...
textures/
- all/
-- default_stone.png
-- ...
-- default_water.png
-- default_wood.png

PostPosted: Mon Jul 09, 2012 16:28
by Ivar
Calinou wrote:texture_path should be a relative path, not an absolute path. Also, very old texture packs will not work with the latest Minetest version (all my packs do, as long as you downloaded the "for 0.4" version).

The default texture_path is ../textures/all - example structure so that it works:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
bin/
builtin/
...
textures/
- all/
-- default_stone.png
-- ...
-- default_water.png
-- default_wood.png


Hi Calinou
Thank you for the suggestion.

Okay.. changed the path to:
texture_path = ../textures/all

Still not working I'm afraid.
I even did recompile the server ensuring the "-DRUN_IN_PLACE=1" flag is set.
I also set the map_dir to relative path.
map-dir = ../custom/world

I followed the guide on Github to install:
https://github.com/celeron55/minetest/#readme

//Ivar

PostPosted: Mon Jul 09, 2012 17:44
by Calinou
Ivar wrote:Okay.. changed the path to:
texture_path = ../textures/all


You could just comment it (add a # before texture_path)... and it should work.
The map-dir parameter is deprecated. Use the --worldname argument when starting a server.

Ivar wrote:I even did recompile the server ensuring the "-DRUN_IN_PLACE=1" flag is set.

Also recompile the client with this... Are you talking about server side texture packs?

On a packaged installation (without run in place setting) on Linux, the user data path is ~/.minetest.

Server-side texture packs are harder to install; you have to replace the original mods' textures. Note that clients may still use client-side texture packs.

PostPosted: Tue Jul 10, 2012 07:03
by Ivar
Calinou wrote:
Ivar wrote:Okay.. changed the path to:
texture_path = ../textures/all


You could just comment it (add a # before texture_path)... and it should work.
The map-dir parameter is deprecated. Use the --worldname argument when starting a server.

Okay.. will do.

Calinou wrote:
Ivar wrote:I even did recompile the server ensuring the "-DRUN_IN_PLACE=1" flag is set.

Also recompile the client with this... Are you talking about server side texture packs?

Yes. We are running 4 client computers (Win/Linux mix) connecting to one server (Ubuntu Server). I thought adding the texture map to the server would make the experience the same for all users. I realize now that this is not the case then, and that texture packs are client side.

Calinou wrote:
On a packaged installation (without run in place setting) on Linux, the user data path is ~/.minetest.

Server-side texture packs are harder to install; you have to replace the original mods' textures. Note that clients may still use client-side texture packs.


Okay.. I'll try this and report back.

Thanks again for your time Calinou :)
//Ivar

PostPosted: Tue Jul 10, 2012 08:15
by Ivar
Hello again

Copied the *.png files from MineToon 0.4 package over to add and replace the files in
games -> minetest_games -> mods -> (corresponding folders)

Everything seems to work fine on all client computers.

Thanks again for putting me on the right track :)
//Ivar