The u_skins is a mod, not a modpack. Moved u_skins to the root and all updater stuff to the (new) updater directory
7
README
@ -6,9 +6,10 @@ It downloads the skins from the Minetest skin database. (http://minetest.fensta.
|
|||||||
Requires latest unified_inventory from:
|
Requires latest unified_inventory from:
|
||||||
https://github.com/minetest-technic/unified_inventory
|
https://github.com/minetest-technic/unified_inventory
|
||||||
|
|
||||||
To download the latest skins you need to run:
|
To download the latest there are 3 tools available in "updater" folder:
|
||||||
"./update_from_db.py" OR
|
"./update_skins_db.sh" bash and jq required
|
||||||
the win32.NET client
|
"./update_from_db.py" python3 required
|
||||||
|
"MT_skins_updater.exe .." windows or mono required. ".." is the path to u_skins folder
|
||||||
|
|
||||||
Licenses:
|
Licenses:
|
||||||
--------
|
--------
|
||||||
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 783 B After Width: | Height: | Size: 783 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 673 B After Width: | Height: | Size: 673 B |
Before Width: | Height: | Size: 338 B After Width: | Height: | Size: 338 B |
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
@ -10,8 +10,8 @@ def die(message,code=23):
|
|||||||
raise SystemExit(code)
|
raise SystemExit(code)
|
||||||
|
|
||||||
server = "minetest.fensta.bplaced.net"
|
server = "minetest.fensta.bplaced.net"
|
||||||
skinsdir = "u_skins/textures/"
|
skinsdir = "../textures/"
|
||||||
metadir = "u_skins/meta/"
|
metadir = "../meta/"
|
||||||
curskin = 0
|
curskin = 0
|
||||||
curpage = 1
|
curpage = 1
|
||||||
pages = None
|
pages = None
|
7
update_skins_db.sh → updater/update_skins_db.sh
Normal file → Executable file
@ -14,9 +14,10 @@ NUMPAGES="1" # Number of pages. Default is 1 page
|
|||||||
PERPAGE="2000" # Number of items per page. Default is 2000.
|
PERPAGE="2000" # Number of items per page. Default is 2000.
|
||||||
JSONURL="http://minetest.fensta.bplaced.net/api/get.json.php?getlist&page=$NUMPAGES&outformat=base64&per_page=$PERPAGE" # The URL to the database
|
JSONURL="http://minetest.fensta.bplaced.net/api/get.json.php?getlist&page=$NUMPAGES&outformat=base64&per_page=$PERPAGE" # The URL to the database
|
||||||
PREVIEWURL="http://minetest.fensta.bplaced.net/skins/1/" # The url to the location of the previews.
|
PREVIEWURL="http://minetest.fensta.bplaced.net/skins/1/" # The url to the location of the previews.
|
||||||
temp=$PWD/tmp # Where the temp folder will be. Default is $PWD/tmp, which means that the tmp folder will be put in the current folder
|
curpath="$(dirname $0)" # all path are relative to this script place
|
||||||
METADEST=$PWD/u_skins/meta # This is the folder where the meta data will be saved
|
temp="$curpath"/tmp # Where the temp folder will be. Default is $PWD/tmp, which means that the tmp folder will be put in the current folder
|
||||||
TEXTUREDEST=$PWD/u_skins/textures # This is the folder where the skins and the previews will be saved
|
METADEST="$curpath"/../meta # This is the folder where the meta data will be saved
|
||||||
|
TEXTUREDEST="$curpath"/../textures # This is the folder where the skins and the previews will be saved
|
||||||
|
|
||||||
|
|
||||||
# === Make a bunch of folders and download the db ===
|
# === Make a bunch of folders and download the db ===
|