Textures Issue

Textures Issue

Postby Mineme123 » Thu Mar 30, 2017 3:05 am

I just started learning to mod Minetest When i ran into this odd issue screenshots below

System Spec:
Windows 7 Home Premium
2Gb Ram
300Gb Internal HDD
1Tb External HDD <<< (Minetest located here)
Nividia Quadro NVS 135M (Graphics Card)
Intel Core2 Duo CPU T7250 2.00GHz
___________________________________
Here is the code

Code: Select all
minetest.register_node("prc:f_node", {
   description = "Dirt snow spot",
   tiles = {"texture.png"},
   group = {snappy=1, oddly_breakable_by_hand=2},
})

minetest.register_craft({

output = "prc:f_node 10",
recipe = {
{"default:dirt", "default:dirt",},
{"default:dirt", "default:dirt",},
}

})

____________________________

My Browser would not upload the file because it was to big
this is only part of the debug file.


Here is the Debug info
__________________________________________________________________________________
2017-03-29 20:25:32: WARNING[Main]: NodeDefManager: Ignoring CONTENT_IGNORE redefinition
2017-03-29 20:25:33: ACTION[Main]: .__ __ __
2017-03-29 20:25:33: ACTION[Main]: _____ |__| ____ _____/ |_ ____ _______/ |_
2017-03-29 20:25:33: ACTION[Main]: / \| |/ \_/ __ \ __\/ __ \ / ___/\ __\
2017-03-29 20:25:33: ACTION[Main]: | Y Y \ | | \ ___/| | \ ___/ \___ \ | |
2017-03-29 20:25:33: ACTION[Main]: |__|_| /__|___| /\___ >__| \___ >____ > |__|
2017-03-29 20:25:33: ACTION[Main]: \/ \/ \/ \/ \/
2017-03-29 20:25:33: ACTION[Main]: World at [E:\Software Files\minetest-0.4.15-win32\bin\..\worlds\test]
2017-03-29 20:25:33: ACTION[Main]: Server for gameid="minetest" listening on 0.0.0.0:62253.
2017-03-29 20:25:33: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:33: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:33: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:33: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:33: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:33: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:33: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:33: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:33: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:33: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:33: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:33: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:34: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:34: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:34: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:34: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:34: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:34: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:34: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:34: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:34: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:34: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
2017-03-29 20:25:34: ERROR[Main]: generateImage(): Could not load image "texture.png" while building texture
2017-03-29 20:25:34: ERROR[Main]: generateImage(): Creating a dummy image for "texture.png"
2017-03-29 20:25:34: ERROR[Main]: generateImage(): Could not load image "texture.png" while building texture
2017-03-29 20:25:34: ERROR[Main]: generateImage(): Creating a dummy image for "texture.png"
2017-03-29 20:25:35: ACTION[Server]: singleplayer [127.0.0.1] joins game.
2017-03-29 20:25:35: ACTION[Server]: singleplayer joins game. List of players: singleplayer
2017-03-29 20:40:00: [#0x199c]: INFO: event_handler(): Ctrl+C, Close Event, Logoff Event or Shutdown Event, shutting down.
__________________________________________________________________
Mineme123
New member
 
Posts: 2
Joined: Thu Mar 30, 2017 2:18 am
In-game: Host

Re: Textures Issue

Postby TumeniNodes » Thu Mar 30, 2017 6:12 am

can you upload the texture please
TumeniNodes
Member
 
Posts: 2633
Joined: Fri Feb 26, 2016 7:49 pm
GitHub: TumeniNodes
In-game: TumeniNodes

Re: Textures Issue

Postby bell07 » Thu Mar 30, 2017 7:27 am

You need to create a "textures" folder in the mod folder and add your texture file to this folder. See http://rubenwardy.com/minetest_modding_book/chapters/folders.html
To avoid conflicts to the other mods please rename your "texture.png" to "prc_texture.png" or something like containing the mod name in the file name.
bell07
Member
 
Posts: 561
Joined: Sun Sep 04, 2016 3:15 pm
GitHub: bell07

Re: Textures Issue

Postby Mineme123 » Thu Mar 30, 2017 7:37 pm

bell07 wrote:You need to create a "textures" folder in the mod folder and add your texture file to this folder. See http://rubenwardy.com/minetest_modding_book/chapters/folders.html
To avoid conflicts to the other mods please rename your "texture.png" to "prc_texture.png" or something like containing the mod name in the file name.


Thank you

That fixed my issue the video tutorial i was using did not tell me the textures folder was required.
Mineme123
New member
 
Posts: 2
Joined: Thu Mar 30, 2017 2:18 am
In-game: Host

Re: Textures Issue

Postby bell07 » Sun Apr 02, 2017 10:13 pm

Often already existing textures from an other loaded mod are re-used for new nodes. So no textures folder is needed in this case.
bell07
Member
 
Posts: 561
Joined: Sun Sep 04, 2016 3:15 pm
GitHub: bell07

Irrlicht: PNG warning: iCCP: known incorrect sRGB profile

Postby Festus1965 » Sun Mar 31, 2019 1:42 am

still,
wanna now how much messages every server and client producing every day about this

a shame
and depend on the game programmer and mod-coder to do that!
Why them ? = Imagine every server admin has to do it again after he updated server, including update all images from source, so same for used mod, imagine every time you take new Mod version ...

also 25.12.2016 seen and not soluted

Solution might be describe here : libpng warning: iCCP: known incorrect sRGB profile

not tested yet, as I am not offering textures ;-)


but the two things work:
* check with "pngcrush -n -q *.png"
and
* mogrity with "sudo mogrify *.png" inside that textures folder
when inside that folders - will see later if sure, as testing it on 3rd server
Festus1965
Member
 
Posts: 948
Joined: Sun Jan 03, 2016 11:58 am
GitHub: Minetest-One
In-game: Thomas Explorer

Re: Textures Issue

Postby Festus1965 » Sun Mar 31, 2019 3:21 am

maybe belong into here, or just nearby to separate later:

WARNING - DIDN'T work so far - got failure at loading ... need to be proofed again

when for test start a win64 client via wine, connect to server ... appear

this one now after "sudo mogrify *.png" this client *.png had changed should be ok
Code: Select all
Loaded texture: Z:/home/.../.../minetest-5.0.0-win64/textures/base/pack/menu_header.png
maybe explained here

reason ?
Code: Select all
2019-03-31 10:15:47: WARNING[Main]: NodeDefManager::deSerialize(): already defined with different ID: stairs:stair_brick


reason ?
Code: Select all
2019-03-31 10:15:50: WARNING[Main]: Irrlicht: PNG warning: bKGD: invalid


reason ?
Code: Select all
2019-03-31 10:15:51: WARNING[Main]: Irrlicht: PNG warning: Interlace handling should be turned on when using png_read_image
possible solution ?

clear, still not changed the textures on server i guess (sudo mogrify *.png)
Code: Select all
2019-03-31 10:15:51: WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
Festus1965
Member
 
Posts: 948
Joined: Sun Jan 03, 2016 11:58 am
GitHub: Minetest-One
In-game: Thomas Explorer

Re: Textures Issue

Postby paramat » Sun Mar 31, 2019 10:20 pm

If a texture for a node is not found Minetest generates a random colour plain texture for the node, which is why it was pink.
paramat
Developer
 
Posts: 3364
Joined: Sun Oct 28, 2012 12:05 am
GitHub: paramat



Return to Modding Discussion



Who is online

Users browsing this forum: Bing Bot [Bot] and 0 guests