open MT-Skin Database
- philipbenr
- Member
- Posts: 1897
- Joined: Fri Jun 14, 2013 01:56
- GitHub: philipbenr
- IRC: philipbenr
- In-game: robinspi
- Location: United States
Too bad it needs javascript, I would have tried it out otherwise.addi wrote: to run that page you need a modern browser that supports webGL, Html5, enabled JavaScript, css3, x3dom(*.x3d)
I'm running 0.4.13 stable with [technic][carts][farming_plus][biome_lib][unified_inventory] and a few other mods.
- addi
- Member
- Posts: 666
- Joined: Thu Sep 20, 2012 03:16
- GitHub: adrido
- Location: Black-Forest, Germany
what do you prefer instead of JavaScript? Java?,Flash?,ActiveX?,Adobe Air?, a client to download?Exilyth wrote:Too bad it needs javascript, I would have tried it out otherwise.addi wrote: to run that page you need a modern browser that supports webGL, Html5, enabled JavaScript, css3, x3dom(*.x3d)
later ill make a php version for robots and this people wich have javascript disabled. but there its impossible to get a 3d preview. it can only list the raw skin files.
This database is very useful.
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
- philipbenr
- Member
- Posts: 1897
- Joined: Fri Jun 14, 2013 01:56
- GitHub: philipbenr
- IRC: philipbenr
- In-game: robinspi
- Location: United States
Look at my skins mod, it has a blender+python script for generating (static) previews.addi wrote:what do you prefer instead of JavaScript? Java?,Flash?,ActiveX?,Adobe Air?, a client to download?Exilyth wrote:Too bad it needs javascript, I would have tried it out otherwise.addi wrote: to run that page you need a modern browser that supports webGL, Html5, enabled JavaScript, css3, x3dom(*.x3d)
later ill make a php version for robots and this people wich have javascript disabled. but there its impossible to get a 3d preview. it can only list the raw skin files.
I bet you could also use some ImageMagick to render this.
Btw, great website.
Do you have an HTTP API that could be called from mods?
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
- addi
- Member
- Posts: 666
- Joined: Thu Sep 20, 2012 03:16
- GitHub: adrido
- Location: Black-Forest, Germany
thanks at all :-D
the filter dose now work
EDIT: do you need some special functions in the api ?
the filter dose now work
im just working on a api wich mods can access it. i think it willl work in 2 daysZeg9 wrote:Do you have an HTTP API that could be called from mods?
EDIT: do you need some special functions in the api ?
hmm normaly it says nothing. this is just a bit waste i forgott to remove.Hybrid Dog wrote:<div id="warning_displaysize"> WARNING: to view this page correct you need a minimum size of 300px screen height! </div>
but if you could send me the content of that x3dom_logdiv may it helps me a lot.Hybrid Dog wrote:<div id="x3dom_logdiv" class="x3dom-logContainer" style="clear: both; display: none;">
Last edited by addi on Wed Aug 28, 2013 20:13, edited 1 time in total.
Niceaddi wrote:im just working on a api wich mods can access it. i think it willl work in 2 days
do you need some special functions in the api ?
Well, I would need a list of skins, a way to get their author/license, and of course, a way to download the skins.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
- addi
- Member
- Posts: 666
- Joined: Thu Sep 20, 2012 03:16
- GitHub: adrido
- Location: Black-Forest, Germany
i worked very hard and here is the first working version of the api
(from the git repo https://bitbucket.org/kingarthursteam/m ... pidoku.md)
maybe ill change something in the backend, but i think the output and input of this will keep as it is.
so you can now do some experiments with that
(from the git repo https://bitbucket.org/kingarthursteam/m ... pidoku.md)
Spoiler
getlist
the JSON response for the getlist <pre>/api/get.json.php?getlist&outformat=base64&page=1</pre> this will return a JSON containing an array "skin" wich contains 10 single skins.
Param's
per_page: the amount of the skins can be set with the param per_page. possible values for per_page are 5,10,20 the default is 10.
page: the page is just the number of wich page wich shuld be read.
outformat: the outformat of the binary files. possible values are base64 or hex
example output:
http://minetest.fensta.bplaced.net/api/ ... mat=base64
{
"page": 1,
"pages": 3,
"per_page": 10,
"skins": [
{
"id": 1,
"name": "Sam 0",
"author": "Jordach",
"license": "CC BY-SA 3.0",
"uploaded": "0000-00-00 00:00:00",
"type": "image/png",
"img": "iVBOEUgAAAEAAAA.....Bhc3NpdmUvSHVtYW7b7F0Y"
},
{
"id": 2,
"name": "Sam I",
"author": "Jordach",
"license": "CC BY-SA 3.0",
"uploaded": "0000-00-00 00:00:00",
"type": "image\/png",
"img": "iVBORw0KGgoA.....WhQTz\/1+E5ErkJggg=="
},
{
...
},
...
],
"success"=true
}
the json format:
the json format is a very strong data-interchange format wich can be readen and written by very much programming languages.
only lua dose it not know by default. but there exist a function to transform it into a luatable. http://regex.info/blog/lua/json
base64 or hex?:
base64 is a format for binary files wich needs less space than the hex format.
for one skin its 0,2 KB less than hex. for the whole skin list its 2 KB lesser. to convert a base64 string into a binary string you can show at this page: http://lua-users.org/wiki/BaseSixtyFour.
the JSON response for the getlist <pre>/api/get.json.php?getlist&outformat=base64&page=1</pre> this will return a JSON containing an array "skin" wich contains 10 single skins.
Param's
per_page: the amount of the skins can be set with the param per_page. possible values for per_page are 5,10,20 the default is 10.
page: the page is just the number of wich page wich shuld be read.
outformat: the outformat of the binary files. possible values are base64 or hex
example output:
http://minetest.fensta.bplaced.net/api/ ... mat=base64
{
"page": 1,
"pages": 3,
"per_page": 10,
"skins": [
{
"id": 1,
"name": "Sam 0",
"author": "Jordach",
"license": "CC BY-SA 3.0",
"uploaded": "0000-00-00 00:00:00",
"type": "image/png",
"img": "iVBOEUgAAAEAAAA.....Bhc3NpdmUvSHVtYW7b7F0Y"
},
{
"id": 2,
"name": "Sam I",
"author": "Jordach",
"license": "CC BY-SA 3.0",
"uploaded": "0000-00-00 00:00:00",
"type": "image\/png",
"img": "iVBORw0KGgoA.....WhQTz\/1+E5ErkJggg=="
},
{
...
},
...
],
"success"=true
}
the json format:
the json format is a very strong data-interchange format wich can be readen and written by very much programming languages.
only lua dose it not know by default. but there exist a function to transform it into a luatable. http://regex.info/blog/lua/json
base64 or hex?:
base64 is a format for binary files wich needs less space than the hex format.
for one skin its 0,2 KB less than hex. for the whole skin list its 2 KB lesser. to convert a base64 string into a binary string you can show at this page: http://lua-users.org/wiki/BaseSixtyFour.
so you can now do some experiments with that
- philipbenr
- Member
- Posts: 1897
- Joined: Fri Jun 14, 2013 01:56
- GitHub: philipbenr
- IRC: philipbenr
- In-game: robinspi
- Location: United States
Alright, I'm going to work on this, on a separate branch of my skins mod.addi wrote:i worked very hard and here is the first working version of the api
(from the git repo https://bitbucket.org/kingarthursteam/m ... pidoku.md)
maybe ill change something in the backend, but i think the output and input of this will keep as it is.Spoiler
getlist
the JSON response for the getlist <pre>/api/get.json.php?getlist&outformat=base64&page=1</pre> this will return a JSON containing an array "skin" wich contains 10 single skins.
Param's
per_page: the amount of the skins can be set with the param per_page. possible values for per_page are 5,10,20 the default is 10.
page: the page is just the number of wich page wich shuld be read.
outformat: the outformat of the binary files. possible values are base64 or hex
example output:
http://minetest.fensta.bplaced.net/api/ ... mat=base64
{
"page": 1,
"pages": 3,
"per_page": 10,
"skins": [
{
"id": 1,
"name": "Sam 0",
"author": "Jordach",
"license": "CC BY-SA 3.0",
"uploaded": "0000-00-00 00:00:00",
"type": "image/png",
"img": "iVBOEUgAAAEAAAA.....Bhc3NpdmUvSHVtYW7b7F0Y"
},
{
"id": 2,
"name": "Sam I",
"author": "Jordach",
"license": "CC BY-SA 3.0",
"uploaded": "0000-00-00 00:00:00",
"type": "image\/png",
"img": "iVBORw0KGgoA.....WhQTz\/1+E5ErkJggg=="
},
{
...
},
...
],
"success"=true
}
the json format:
the json format is a very strong data-interchange format wich can be readen and written by very much programming languages.
only lua dose it not know by default. but there exist a function to transform it into a luatable. http://regex.info/blog/lua/json
base64 or hex?:
base64 is a format for binary files wich needs less space than the hex format.
for one skin its 0,2 KB less than hex. for the whole skin list its 2 KB lesser. to convert a base64 string into a binary string you can show at this page: http://lua-users.org/wiki/BaseSixtyFour.
so you can now do some experiments with that
EDIT: It seems that the page argument is ignored:
Code: Select all
http://minetest.fensta.bplaced.net/api/get.json.php?getlist&page=1&outformat=base64
Code: Select all
http://minetest.fensta.bplaced.net/api/get.json.php?getlist&page=2&outformat=base64
Last edited by Zeg9 on Mon Sep 02, 2013 09:18, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
- philipbenr
- Member
- Posts: 1897
- Joined: Fri Jun 14, 2013 01:56
- GitHub: philipbenr
- IRC: philipbenr
- In-game: robinspi
- Location: United States
- addi
- Member
- Posts: 666
- Joined: Thu Sep 20, 2012 03:16
- GitHub: adrido
- Location: Black-Forest, Germany
ii fixed it just nowZeg9 wrote:Alright, I'm going to work on this, on a separate branch of my skins mod.addi wrote:i worked very hard and here is the first working version of the api
(from the git repo https://bitbucket.org/kingarthursteam/m ... pidoku.md)
maybe ill change something in the backend, but i think the output and input of this will keep as it is.Spoiler
getlist
the JSON response for the getlist <pre>/api/get.json.php?getlist&outformat=base64&page=1</pre> this will return a JSON containing an array "skin" wich contains 10 single skins.
Param's
per_page: the amount of the skins can be set with the param per_page. possible values for per_page are 5,10,20 the default is 10.
page: the page is just the number of wich page wich shuld be read.
outformat: the outformat of the binary files. possible values are base64 or hex
example output:
http://minetest.fensta.bplaced.net/api/ ... mat=base64
{
"page": 1,
"pages": 3,
"per_page": 10,
"skins": [
{
"id": 1,
"name": "Sam 0",
"author": "Jordach",
"license": "CC BY-SA 3.0",
"uploaded": "0000-00-00 00:00:00",
"type": "image/png",
"img": "iVBOEUgAAAEAAAA.....Bhc3NpdmUvSHVtYW7b7F0Y"
},
{
"id": 2,
"name": "Sam I",
"author": "Jordach",
"license": "CC BY-SA 3.0",
"uploaded": "0000-00-00 00:00:00",
"type": "image\/png",
"img": "iVBORw0KGgoA.....WhQTz\/1+E5ErkJggg=="
},
{
...
},
...
],
"success"=true
}
the json format:
the json format is a very strong data-interchange format wich can be readen and written by very much programming languages.
only lua dose it not know by default. but there exist a function to transform it into a luatable. http://regex.info/blog/lua/json
base64 or hex?:
base64 is a format for binary files wich needs less space than the hex format.
for one skin its 0,2 KB less than hex. for the whole skin list its 2 KB lesser. to convert a base64 string into a binary string you can show at this page: http://lua-users.org/wiki/BaseSixtyFour.
so you can now do some experiments with that
EDIT: It seems that the page argument is ignored:andCode: Select all
http://minetest.fensta.bplaced.net/api/get.json.php?getlist&page=1&outformat=base64
give the same result. Is it possible to get the entire list in one go (without page stuff)?Code: Select all
http://minetest.fensta.bplaced.net/api/get.json.php?getlist&page=2&outformat=base64
and you can add another param:per_page
Code: Select all
http://minetest.fensta.bplaced.net/api/get.json.php?getlist&page=1&outformat=base64&per_page=100
this param accept all numbers between 1 and 100;
i need more skins to find out how fast the server can handle it. if it handles it fast enough i think ill change the maximum to a higher value.
i also added now a help link to that wikipedia page.Hybrid Dog wrote:What about adding a link to an explanation?addi wrote:dose somebody have a good idea how to tell the people what a license is?Hybrid Dog wrote:There shouldn't be more skins with the same name.
jojoa1997 wrote:I think that skin makers should be able to decide whether their skin is used or not.
hmm maybe i can add a checkbox that you can mark it for only download use or something. but like philipbenr has written i dose not understand wich sense dose it makephilipbenr wrote:I don't see why they would post them then...
Great !
I've finally made the script work, thanks a lot, addi!
I'll push to the "skindb" branch soon. edit: done.
About the license issue, you should only let people select from a given list, containing a few free/libre licenses, as CC BY-SA 3.0, WTFPL, GPL (who knows),... I don't think you should allow skins under a proprietary license.
I've finally made the script work, thanks a lot, addi!
I'll push to the "skindb" branch soon. edit: done.
About the license issue, you should only let people select from a given list, containing a few free/libre licenses, as CC BY-SA 3.0, WTFPL, GPL (who knows),... I don't think you should allow skins under a proprietary license.
Last edited by Zeg9 on Mon Sep 02, 2013 16:51, edited 1 time in total.
I made a few (a lot of?) mods for minetest: here is a list.
See also the MT-Faithful texture pack (work in progress).
See also the MT-Faithful texture pack (work in progress).
/me like it
Minetest Redcrab Server 0.4.4 - Pyrite and Evergreens town - PPS (Pyrite Police Station) officer - PCS (Pyrite Car Shop)
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP
P0RTAL-gun-mod (WIP)+all pblocks-stuff
Minetest Mod Creator- Application
like-dislike-button-mod WIP, discostuff-mod WIP
- addi
- Member
- Posts: 666
- Joined: Thu Sep 20, 2012 03:16
- GitHub: adrido
- Location: Black-Forest, Germany
uhm no normaly it shuld look normaly not so bright:/Hybrid Dog wrote:It didn't work because my webgl is too slow that firefox automatically enables it.addi wrote:Hybrid Dog wrote:firefox 23
no, I can'tim using Firefox 23.1 too but to me all working correctphilipbenr wrote:I updated to firefox 23.0.1 and I'm having problems as well. I can access the examples above fine, but the skin database is messing-up. :\ weird. I think I'll downgrade.
if you want to help me you could install the firebug plugin https://addons.mozilla.org/en-US/firefox/addon/firebug/
after installing please visit the skin_db and press F12. than F5, after that switch to the tab Console and please post me all errors you find there.
sorry but i dont know where the problem is
unfortunately that is the disadvantage of webgl technology.
but it is in my opinion better than Java or Adobe Flash.
i hope in the time after christmas i have a bit time to make a version that works without webgl
Last edited by addi on Sun Nov 10, 2013 17:03, edited 1 time in total.
- addi
- Member
- Posts: 666
- Joined: Thu Sep 20, 2012 03:16
- GitHub: adrido
- Location: Black-Forest, Germany
yes thats also possible. but until christmas i have no time to do it . :-(Hybrid Dog wrote:If webgl works faster than java or Adobe Flash depends on the graphics card, I think.addi wrote:uhm no normaly it shuld look normaly not so bright:/Hybrid Dog wrote:It didn't work because my webgl is too slow that firefox automatically enables it.
unfortunately that is the disadvantage of webgl technology.
but it is in my opinion better than Java or Adobe Flash.
i hope in the time after christmas i have a bit time to make a version that works without webgl
Could you make a version for which you don't need a browser?
but the database has a API wich programms (or minetest mods) can access it. so, if someone is feeling lucky, he/she can write a programm by self.
Awesome stuff but please fix your grammar in topic post.
“If you live to be a hundred, I want to live to be a hundred minus one day so I never have to live without you.”
― A.A. Milne, Winnie-the-Pooh
“I'm not lost for I know where I am. But however, where I am may be lost.”
― A.A. Milne, Winnie-the-Pooh My Texture Packs'
― A.A. Milne, Winnie-the-Pooh
“I'm not lost for I know where I am. But however, where I am may be lost.”
― A.A. Milne, Winnie-the-Pooh My Texture Packs'
- addi
- Member
- Posts: 666
- Joined: Thu Sep 20, 2012 03:16
- GitHub: adrido
- Location: Black-Forest, Germany
it was a lot of work, but finaly i fixed the error with the not working filters.Hybrid Dog wrote:http://ubuntuone.com/0HnKW4PeqpCZCa2aRGcrjy
great that it works now but it looks a bit bright :\
also i fixed the bug with the navigation if filters are active
uhhm.Annahstas wrote:Awesome stuff but please fix your grammar in topic post.
i have enough grammar truoble with my native language.
i also have even more trouble in english.
but maybe you can tell me whats wrong with that. than I can improve my English. :-)
EDIT:
i updated the x3dom libary from 1.5.0-dev to 1.5.1 stable
the changelog says they fixed something with the shininess
Last edited by addi on Fri Nov 15, 2013 12:06, edited 1 time in total.
- addi
- Member
- Posts: 666
- Joined: Thu Sep 20, 2012 03:16
- GitHub: adrido
- Location: Black-Forest, Germany
http://minetest.fensta.bplaced.net/js/x3dom.jsHybrid Dog wrote:Have you updated http://minetest.fensta.bplaced.net/ ? for me it's still shiny.addi wrote:EDIT:
i updated the x3dom libary from 1.5.0-dev to 1.5.1 stable
the changelog says they fixed something with the shininess
Code: Select all
/** X3DOM Runtime, http://www.x3dom.org/ 1.5.1 - c0f47cbb994175bc43240b8de110f51628c95b6a - Wed Oct 23 16:23:43 2013 +0200 */
maybe it helps to turn off hardware acceleration
https://support.mozilla.org/en-US/kb/up ... celeration
also i found a page wich lists more detailed information
Who is online
Users browsing this forum: No registered users and 1 guest