Page 1 of 1

[mod] fetching all skins from skin db [skindb][0.1 alpha]

PostPosted: Thu Apr 17, 2014 13:33
by addi
WARNING: THIS IS CURRENTLY REALY UNSTABLE!

INFO: THIS MOD ADDS NO MECHANICS TO CHANGE THE PLAYERSKIN.

ok the most impartant stuff is sayed.

ive written now a mod wich fetches all skins from the SkinDB and writes that down to hdd (or SSD) :-P.
it should work on linux (tested with ubuntu)
but it does not work on Windows (currently).

it does not generate any (2d) preview of the skin.


How it works:

on each server start it connects to the skinDb an loads all skins into a luatable.

than it does delete the old skins.
after that it writes the new skins to the /textures folder.


here is the source code: https://bitbucket.org/kingarthursteam/skindb

PostPosted: Thu Apr 17, 2014 14:16
by philipbenr
Sounds really cool! I will test it this weekend.

PostPosted: Thu Apr 17, 2014 14:32
by Krock
addi wrote:but it does not work on Windows (currently).

Hmm why are you using lua?
It works fine under windows with phyton -> https://github.com/SmallJoker/minetest-u_skinsdb/blob/master/update_from_db_hacky.py
Most of that script isn't made by me. No idea about license and stuff...

PostPosted: Thu Apr 17, 2014 17:17
by addi
Krock wrote:
addi wrote:but it does not work on Windows (currently).

Hmm why are you using lua?
It works fine under windows with phyton -> https://github.com/SmallJoker/minetest-u_skinsdb/blob/master/update_from_db_hacky.py
Most of that script isn't made by me. No idea about license and stuff...


because I want to do it automatical, so that it could act like a mod where other mod can depend on it.
and that some people - wich dont know what they are doing - can easy use it.
([DE:] so dass es ein DAU - Dümmster anzunehmender user - auch hinbekommt) :-P

also another reason (also my goal) is, that it doese not have other requirements eg. install python, install blender,install something other,... etc.

PostPosted: Fri Apr 18, 2014 12:19
by Sokomine
Sounds like a good idea. That way, players can find their skins ready to use once they connect. The only problem might be that there might be too many skins around.