Page 1 of 1

Textures Issue

PostPosted: Thu Mar 30, 2017 03:05
by Mineme123
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

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
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.
__________________________________________________________________

Re: Textures Issue

PostPosted: Thu Mar 30, 2017 06:12
by TumeniNodes
can you upload the texture please

Re: Textures Issue

PostPosted: Thu Mar 30, 2017 07:27
by bell07
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.

Re: Textures Issue

PostPosted: Thu Mar 30, 2017 19:37
by Mineme123
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.

Re: Textures Issue

PostPosted: Sun Apr 02, 2017 22:13
by bell07
Often already existing textures from an other loaded mod are re-used for new nodes. So no textures folder is needed in this case.