Page 1 of 3

[Mod] Unified_Inventory Skins [u_skins]

Posted: Mon Mar 17, 2014 06:59
by dmonty
minetest-u_skins
============

u_skins mod add Skins to unified_inventory.

by Dean Montgomery
License LGPLv2

Texture credits are displayed based on addi's skin database.

Download zip:
https://github.com/dmonty2/minetest-u_s ... master.zip

Download github:
https://github.com/dmonty2/minetest-u_skinsdb

Requires latest unified_inventory from:
https://github.com/minetest-technic/unified_inventory

Image

Image

The "u_skinsdb" is meant to download the skins from addi's skin database (http://minetest.fensta.bplaced.net).

To re-download the latest skins you may want to run:
"./update_from_db.py" OR
"./update_from_db2.py"
script, then "./generate_previews.sh" before using the mod.


Credits:
MirceaKitsune (WTFPL) + bundled script by Zeg9 (WTFPL too):
skin_previews.blend
RealyBadAngel unified_inventory and Zeg9 skinsdb
** feel free to merge it into skinsdb or unified_inventory git.

Posted: Mon Mar 17, 2014 07:25
by CraigyDavi
Nice!

Posted: Mon Mar 31, 2014 16:25
by JPRuehmann
Hello this mod is a big help.

But it is possible to make the skins persistent?
Everytime I log out and back in mi Avatar is displayed with the default Skin. I have to change the Skin anew so that the world can see me in this skin. In the inventory the skin is choosen but my avatar is not Displayed in it.

Thanks,
JPR

Posted: Mon Mar 31, 2014 20:25
by u34
awesome mod...
works fine for me...

Posted: Tue Apr 01, 2014 00:05
by hoodedice
I think you should ask RealBadAngel to merge it with his Unified Inventory. Maybe make a pull request to it on GitHub

Posted: Tue Apr 01, 2014 01:19
by philipbenr
This is great! I have been looking for something like this for a while. :)

Posted: Tue Apr 01, 2014 04:00
by Inocudom
This smells like heaven. It really does.

Posted: Tue Apr 01, 2014 10:57
by Krock
Yes, this mod is very good! I like it!

Posted: Wed Apr 02, 2014 01:23
by CheerfulCherub
This work for me, love it and ty, only one problem took out my hud, is there anyway in which to fix this.

Posted: Tue Apr 08, 2014 10:03
by Krock
Okay, I found a "hacky" way to generate previews of the players.
I don't have a program to run *.sh files (yes, Windows user) and blender wasn't found.
So, I decided to grab those previews from the server too.

#EDIT START
I found a way to save space:
Do not save character_1 (default) skins, because it sets back itself to that skin if it doesn't exist.
#EDIT END

Moo-haha, new update script below --v

Posted: Wed Apr 16, 2014 18:49
by Inocudom
This seems to be a much-ignored mod. I see real potential here.

Posted: Wed Apr 16, 2014 20:19
by stu
Agreed, it should be moved to release if the author has requested that.
I already added support for it in my armor mod.

Posted: Wed Apr 16, 2014 20:40
by Krock
Yes, I like this mod but it didn't seem as people use it. Therefore I didn't create a pull request yet.
I fixed some things in there and will create a pull request tomorrow.

Posted: Wed Apr 16, 2014 20:51
by stu
Krock wrote:Yes, I like this mod but it didn't seem as people use it. Therefore I didn't create a pull request yet.
I fixed some things in there and will create a pull request tomorrow.
Now that we have third person view this mod and the original skins (by Zeg9) will be useful even in singleplayer mode.
I think it will be used a lot more when 0.4.10 is released (or whatever way they version it)
I am curious as to what bugs you found, it seemed to work ok for me, though someone did report some issue with 3d_armor,
I was unable to reproduce it.

Posted: Wed Apr 16, 2014 21:02
by Krock
stu wrote:Now that we have third person view this mod and the original skins (by Zeg9) will be useful even in singleplayer mode.
I think it will be used a lot more when 0.4.10 is released (or whatever way they version it)
I am curious as to what bugs you found, it seemed to work ok for me, though someone did report some issue with 3d_armor,
I was unable to reproduce it.
Well, it overwrote the "character.x" mesh while changing the texture of other players. Then I've found a thing to correct while saving the skins (see 2 posts of me above)

Posted: Wed Apr 16, 2014 22:10
by Inocudom
Ahh, I am seeing renewed interest in this mod. Very good.

Posted: Thu Apr 17, 2014 08:41
by Krock
Inocudom wrote:Ahh, I am seeing renewed interest in this mod. Very good.
Let's see how long...

Posted: Thu Apr 17, 2014 14:18
by philipbenr
Krock wrote:
Inocudom wrote:Ahh, I am seeing renewed interest in this mod. Very good.
Let's see how long...
Not very. In mods like this, there isn't much to talk about while it is still in development. anyhow, there areen't any new changes to gripe about either. ;)

Posted: Thu Apr 17, 2014 14:28
by mcfan
Looks good. I'll see if I can make it work on my server.

Re: [Mod] Unified_Inventory Skins [u_skins]

Posted: Wed May 14, 2014 15:38
by Krock
I made some changes and bugfixes

Check for existing skins:
- ignore missing numbers in skins ("character_44",,,, "character_48", "character_49")
- check for invalid skins

Previews:
- remove preview of backside (can not download from skins db)
- make "hacky" skin preview generation as default
- update updater, the update script

Other:
- remove most of the skins
- better meta saving/reading
- make it not saving default character
- remove checking for 2d-skins (should be easy to code self)

Changes made at: https://github.com/SmallJoker/minetest-u_skinsdb
Auto skin updater (written with .NET) as alternative available on PM-request.

Re: [Mod] Unified_Inventory Skins [u_skins]

Posted: Thu Oct 02, 2014 17:45
by lisacvuk
Hi, I'm using this mod on my server(Lisacvuk and raven's server), and I have a problem. When player choose a skin, his texture becomes completly white. Its happening always, only way to fix it is to reconnect or place some armor. Any advise? Thanks.

Re: [Mod] Unified_Inventory Skins [u_skins]

Posted: Thu Oct 02, 2014 18:48
by stu
lisacvuk wrote:Hi, I'm using this mod on my server(Lisacvuk and raven's server), and I have a problem. When player choose a skin, his texture becomes completly white. Its happening always, only way to fix it is to reconnect or place some armor. Any advise? Thanks.
Are you sure you are actually using this version? I do know that the above mentioned fork has this problem with 3d_armor

See: https://github.com/stujones11/minetest- ... /issues/13

Re: [Mod] Unified_Inventory Skins [u_skins]

Posted: Thu Oct 02, 2014 18:57
by Pitriss
lisacvuk wrote:Hi, I'm using this mod on my server(Lisacvuk and raven's server), and I have a problem. When player choose a skin, his texture becomes completly white. Its happening always, only way to fix it is to reconnect or place some armor. Any advise? Thanks.
Try this.. It's my hybrid between uskins and older skins which doesn't suffer with this bug

Re: [Mod] Unified_Inventory Skins [u_skins]

Posted: Thu Oct 02, 2014 19:23
by Krock
Pitriss wrote:Try this.. It's my hybrid between uskins and older skins which doesn't suffer with this bug
Nice. If it actually works, I would like to see a pull request to fix this problem.

Re: [Mod] Unified_Inventory Skins [u_skins]

Posted: Thu Oct 02, 2014 20:09
by stu
Krock wrote:
Pitriss wrote:Try this.. It's my hybrid between uskins and older skins which doesn't suffer with this bug
Nice. If it actually works, I would like to see a pull request to fix this problem.
Krock, I looked over the code and the cause is simply that someone removed the underscore that was between u_skins_set and the skin number. I just pushed a change to 3d_armor that fixes this ;-)