Problem creating skins in Gimp

User avatar
GFX_Garage
Member
 
Posts: 27
Joined: Thu May 14, 2015 15:12
GitHub: GraphicsGarage
In-game: GFX

Problem creating skins in Gimp

by GFX_Garage » Sun Jan 03, 2016 05:03

I've made custom skin and it won't load in-game. I replaced the character.png with my own and named it character.png. For some reason (not specified in the debug.txt file), the game can't load it. It seems to have the same properties; but I'm not certain that the format is exactly the same.

Does anyone know of a reason that the export of the image could create the problem? There are several tick boxes when exporting. Could one of the options there be causing it?

I'm just trying to make my skin work in single player without a mod. I have yet to get any of them to work with Unified inventory.
"Well it is an ambiguous enterprise, and fraught with contradiction, but forward, ever forward" ~ Terence McKenna

https://www.youtube.com/user/GraphicsGarage/featured

http://torywright.deviantart.com/
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: Problem creating skins in Gimp

by kaadmy » Sun Jan 03, 2016 17:14

I use GIMP for all my images, they work fine when exported to PNG.
What does it look like in third-person (Press F7)?
Never paint white stripes on roads near Zebra crossings.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Problem creating skins in Gimp

by rubenwardy » Sun Jan 03, 2016 17:29

Did you export the image as a png? You can't just change an extension to convert it, that won't work.
 

User avatar
GFX_Garage
Member
 
Posts: 27
Joined: Thu May 14, 2015 15:12
GitHub: GraphicsGarage
In-game: GFX

Re: Problem creating skins in Gimp

by GFX_Garage » Sun Jan 03, 2016 19:34

@kaadmy and rubenwardy:

Have you explicitly replaced your default singleplayer skin in the models folder?
"Well it is an ambiguous enterprise, and fraught with contradiction, but forward, ever forward" ~ Terence McKenna

https://www.youtube.com/user/GraphicsGarage/featured

http://torywright.deviantart.com/
 

User avatar
maikerumine
Member
 
Posts: 946
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine

Re: Problem creating skins in Gimp

by maikerumine » Sun Jan 03, 2016 22:17

Hey GFX!
I just did a quick test in minetest game and here is the result:
Image
I opened the character.png in the modeled folder in default in gimp

*did some basic tweaking's to the file.

*exported it to overwrite the existing file

*started the game and it was all set.

Did you save as or export the image file?

Export and overwrite, this will work for you.
I hope this helps.
Attachments
screenshot_20160103_171348.png
screenshot_20160103_171348.png (252.6 KiB) Viewed 2051 times
 

User avatar
GFX_Garage
Member
 
Posts: 27
Joined: Thu May 14, 2015 15:12
GitHub: GraphicsGarage
In-game: GFX

Re: Problem creating skins in Gimp

by GFX_Garage » Mon Jan 04, 2016 02:09

@Maikerumine:

I have to add it in as root, and I can't do that with Gimp.
"Well it is an ambiguous enterprise, and fraught with contradiction, but forward, ever forward" ~ Terence McKenna

https://www.youtube.com/user/GraphicsGarage/featured

http://torywright.deviantart.com/
 

User avatar
firefox
Member
 
Posts: 1185
Joined: Wed Jan 14, 2015 07:34
In-game: Red_Fox

Re: Problem creating skins in Gimp

by firefox » Mon Jan 04, 2016 07:41

you can "opne folders as admin" to get the writing rights of root within a set window, then move the file to the folder where you want to move it.
i have to do that when i update the default minetest_game.

a more simple option is to make a texture pack in your local .minetest folder and place the image there.
or use a skin mod (pilzadams player_testures is the most basic one) and set it there.

my skin is also made with Gimp, i downloaded a minecraft skin soemwhere and then edited it with Gimp.
i remember that the saving function used to be different in the past, but today saving will just save a project file.
to save it as a png image you have to use the export function.
and altering the filename to .png will not change the format, just the name.
 

User avatar
GFX_Garage
Member
 
Posts: 27
Joined: Thu May 14, 2015 15:12
GitHub: GraphicsGarage
In-game: GFX

Re: Problem creating skins in Gimp

by GFX_Garage » Mon Jan 04, 2016 18:07

Ok, what I'm actually asking for is the specifics on the character.png.
"Well it is an ambiguous enterprise, and fraught with contradiction, but forward, ever forward" ~ Terence McKenna

https://www.youtube.com/user/GraphicsGarage/featured

http://torywright.deviantart.com/
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: Problem creating skins in Gimp

by kaeza » Mon Jan 04, 2016 22:46

Editing the default game in-place is bad, especially if it's installed system-wide from a package manager.

WRT your question, `character.png` must be a valid PNG file supported by Irrlicht (which I believe uses `libpng`, so it should support any PNG file), its size must be 64x32 (IIRC), and must be located somewhere in Minetest texture search path (i.e. in the `textures` directory of some mod, or in a texture pack).

Your options, as firefox said, is to use a dummy texture pack with just your skin (note that this is only useful for single player, since other users will see their default skin in multiplayer), or use a mod to modify your personal skin (works in MP too).

Another option is to copy `minetest_game` to your personal `~/.minetest/games` directory and edit it.

If that's not the information you need, you'll need to clarify the question.
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
GFX_Garage
Member
 
Posts: 27
Joined: Thu May 14, 2015 15:12
GitHub: GraphicsGarage
In-game: GFX

Re: Problem creating skins in Gimp

by GFX_Garage » Tue Jan 05, 2016 01:01

So how does replacing with a perfectly good .png file prevent the file from loading in game? That appears to be what has happened. I even reversed it with a copy of the original that I saved as a backup and it still doesn't load.
"Well it is an ambiguous enterprise, and fraught with contradiction, but forward, ever forward" ~ Terence McKenna

https://www.youtube.com/user/GraphicsGarage/featured

http://torywright.deviantart.com/
 

User avatar
kaeza
Member
 
Posts: 2141
Joined: Thu Oct 18, 2012 05:00
GitHub: kaeza
IRC: kaeza diemartin blaaaaargh
In-game: kaeza

Re: Problem creating skins in Gimp

by kaeza » Tue Jan 05, 2016 01:44

What do you mean with "it doesn't load"? Do you mean this error?
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
WARNING[Main]: Irrlicht: Could not open file of texture: character.png

It can be safely ignored. Can you post a screenshot in third person view with and without custom skin?
Your signature is not the place for a blog post. Please keep it as concise as possible. Thank you!

Check out my stuff! | Donations greatly appreciated! PayPal | BTC: 1DFZAa5VtNG7Levux4oP6BuUzr1e83pJK2
 

User avatar
GFX_Garage
Member
 
Posts: 27
Joined: Thu May 14, 2015 15:12
GitHub: GraphicsGarage
In-game: GFX

Re: Problem creating skins in Gimp

by GFX_Garage » Tue Jan 05, 2016 04:45

No it says "could not load image character.png while building texture" and "creating dummy image for character.png"

It gives a monochromatic skin (dummy image) in its place.

[EDIT]:
It seems like it might be Nautilus causing the problem. I'm going to follow up on that assumption.
"Well it is an ambiguous enterprise, and fraught with contradiction, but forward, ever forward" ~ Terence McKenna

https://www.youtube.com/user/GraphicsGarage/featured

http://torywright.deviantart.com/
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: Problem creating skins in Gimp

by TenPlus1 » Tue Jan 05, 2016 09:50

Create a textures folder inside of your .minetest folder (not the system one but the user settings folder) and create a temp directory called mytextures, inside that place your character.png file and run minetest, from textures tab select the mytextures to enable your personalized character skin.
 

User avatar
GFX_Garage
Member
 
Posts: 27
Joined: Thu May 14, 2015 15:12
GitHub: GraphicsGarage
In-game: GFX

Re: Problem creating skins in Gimp

by GFX_Garage » Tue Jan 05, 2016 18:18

TenPlus1 wrote:Create a textures folder inside of your .minetest folder (not the system one but the user settings folder) and create a temp directory called mytextures, inside that place your character.png file and run minetest, from textures tab select the mytextures to enable your personalized character skin.


(For those of you who use Linux, That would be the home/.minetest folder. Ctrl + h makes it visible)

How do I incorporate it with a texture pack? Do I just drop it in with it?
"Well it is an ambiguous enterprise, and fraught with contradiction, but forward, ever forward" ~ Terence McKenna

https://www.youtube.com/user/GraphicsGarage/featured

http://torywright.deviantart.com/
 

User avatar
TenPlus1
Member
 
Posts: 1874
Joined: Mon Jul 29, 2013 13:38
GitHub: tenplus1

Re: Problem creating skins in Gimp

by TenPlus1 » Tue Jan 05, 2016 18:48

Yes, drop your character.png file inside the texture pack folder and it should change your character skin in game.
 

User avatar
GFX_Garage
Member
 
Posts: 27
Joined: Thu May 14, 2015 15:12
GitHub: GraphicsGarage
In-game: GFX

Re: Problem creating skins in Gimp

by GFX_Garage » Tue Jan 05, 2016 19:59

TenPlus1 wrote:Yes, drop your character.png file inside the texture pack folder and it should change your character skin in game.


Ok, thanks. :-)

(For those who are wondering, it was gksu that caused the problem. It happened as a result of not partitioning my /usr folder. I thought gksu was supposed to prevent things like that from happening but whatever. I'm using Ubuntu Gnome BTW.)
"Well it is an ambiguous enterprise, and fraught with contradiction, but forward, ever forward" ~ Terence McKenna

https://www.youtube.com/user/GraphicsGarage/featured

http://torywright.deviantart.com/
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 38 guests

cron