[Mod] Simple Skins [0.7] [simple_skins]

User avatar
FreeGamers
Member
Posts: 638
Joined: Sat May 25, 2019 00:15
GitHub: is proprietary I use NotABug
Location: United States
Contact:

Re: [Mod] Simple Skins [0.7] [simple_skins]

by FreeGamers » Post

bosapara wrote: I discovered some good thing, preview can be generated even without preview images:
Nice! Exactly what I was looking for. SkinsDB is inefficient with preview images. Simple_skins could use this dynamic image preview generation function, Oh but its not added... it also has a lot of unused space!

I used the code that bospara shared to create a version that looks a bit nicer and I rearranged allthe SFINV elements and added back some meta data that was cut from the simple_skins version. I didn't think the back of the skin was as important as the front so I removed that element. I ended up with a version like this:

Here is the source, so your skins interface can look as beautiful as mine:
https://www.notabug.org/FreeGamers/Sara ... s/init.lua

I only use sfinv because I think its the easiest for anyone to understand, so I did not test this with any other inventory mod.

Image
Attachments
Screenshot_2019-11-28_22-43-19.png
(56.11 KiB) Not downloaded yet

User avatar
bosapara
Member
Posts: 617
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Simple Skins [0.7] [simple_skins]

by bosapara » Post

FreeGamers wrote: I only use sfinv because I think its the easiest for anyone to understand, so I did not test this with any other inventory mod.

Looks good too. I prefer this version of GUI:

Image

User avatar
FreeGamers
Member
Posts: 638
Joined: Sat May 25, 2019 00:15
GitHub: is proprietary I use NotABug
Location: United States
Contact:

Re: [Mod] Simple Skins [0.7] [simple_skins]

by FreeGamers » Post

bosapara wrote:re:
Bosapara, one thing I noticed was that the right leg texture doesn't get flipped so we end up with two leg's that are both the same texture orientation. Its not a big deal but its something I noticed. Is it something simple to fix?

User avatar
bosapara
Member
Posts: 617
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Simple Skins [0.7] [simple_skins]

by bosapara » Post

FreeGamers wrote: Bosapara, one thing I noticed was that the right leg texture doesn't get flipped so we end up with two leg's that are both the same texture orientation. Its not a big deal but its something I noticed. Is it something simple to fix?
Of course, its possible to fix. Use the code below.

Image

Code: Select all

local head = "[combine:8x8:-8,-8="..skins.skins[name]..".png"
local body = "[combine:8x12:-20,-20="..skins.skins[name]..".png"
local left_leg = "[combine:4x12:-4,-20="..skins.skins[name]..".png"
local right_leg = "[combine:4x12:-4,-20="..skins.skins[name]..".png^[transformFX"

local left_hand = "[combine:4x12:-44,-20="..skins.skins[name]..".png"
local right_hand = "[combine:4x12:-44,-20="..skins.skins[name]..".png^[transformFX"

local back_head = "[combine:8x8:-24,-8="..skins.skins[name]..".png"
local body_back = "[combine:8x12:-32,-20="..skins.skins[name]..".png"
local legs_back = "[combine:4x12:-12,-20="..skins.skins[name]..".png"

local left_leg_back = "[combine:4x12:-12,-20="..skins.skins[name]..".png"
local right_leg_back = "[combine:4x12:-12,-20="..skins.skins[name]..".png^[transformFX"


local left_hand_back = "[combine:4x12:-52,-20="..skins.skins[name]..".png"
local right_hand_back = "[combine:4x12:-52,-20="..skins.skins[name]..".png^[transformFX"

image[3,1;2,2;".. head .. "] image[3,2.75;2,3;".. body .. "] image[3,5.35;1,3;".. left_leg .. "] image[3.82,5.35;1,3;".. right_leg .. "] image[2.2,2.75;1,3;".. left_hand .. "] image[4.63,2.75;1,3;".. right_hand .. "] image[7,1;2,2;".. back_head .. "] image[7,2.75;2,3;".. body_back .. "] image[7,5.35;1,3;".. left_leg_back .. "] image[7.82,5.35;1,3;".. right_leg_back .. "] image[6.2,2.75;1,3;".. left_hand_back .. "] image[8.63,2.75;1,3;".. right_hand_back .. "]


User avatar
FreeGamers
Member
Posts: 638
Joined: Sat May 25, 2019 00:15
GitHub: is proprietary I use NotABug
Location: United States
Contact:

Re: [Mod] Simple Skins [0.7] [simple_skins]

by FreeGamers » Post

Perfect! Thanks!

User avatar
ufa
Member
Posts: 70
Joined: Mon Feb 27, 2012 14:19

Re: [Mod] Simple Skins [0.6] [simple_skins]

by ufa » Post

TenPlus1 wrote:
Wed Nov 08, 2017 20:50
Each of the textures have the author name in the metadata and are from minecraftskins.com and free for use.

I tried to download and install a skin from this site, and got this in attached image
Why? Isn't it compatible?.
Attachments
screenshot_20200528_180630.png
(462.06 KiB) Not downloaded yet

User avatar
bosapara
Member
Posts: 617
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Simple Skins [0.6] [simple_skins]

by bosapara » Post

ufa wrote:
Thu May 28, 2020 21:07
TenPlus1 wrote:
Wed Nov 08, 2017 20:50
Each of the textures have the author name in the metadata and are from minecraftskins.com and free for use.

I tried to download and install a skin from this site, and got this in attached image
Why? Isn't it compatible?.
You must crop it from 64x64 to 64x32

Image
Attachments
skin.png
(42.11 KiB) Not downloaded yet

User avatar
ufa
Member
Posts: 70
Joined: Mon Feb 27, 2012 14:19

Re: [Mod] Simple Skins [0.7] [simple_skins]

by ufa » Post

it worked, thank you

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests