#Textures_list Generator writen with RUST

1 messages Β· Page 1 of 1 (latest)

fickle briar
#

Someone had already written the same thing in Python, but this one doesn't need a phyton to run and it's really fast, and it writes all the textures that are in "textures", not just those of "blocks" and "entities". However, the exe file only works on Windows.

To use it Navigate to the "Textures" folder, right-click on it and press Copy Path then double-click on texture_list_generator and paste the "Textures" path.

#

if you alreade have the textures_list.json file in "textures" you dont need to delet it to update it . it will overwritten.

static portal
#

Someday I will learn Rust...

#

Great work Erik!

fickle briar
#

I'm still learning, if a Rust pro would see my code, I'm sure he'd laugh

static portal
fickle briar
#

I don't know Rust is a very complicated language. You have to gain a lot of experience, that's why I did it here

#

Before you write anything, you first have to understand the basic Rust concepts like ownership and borrowing

fervent orchid
#

What's the point of creating a texture_list in an addon? im curious

fickle briar
fervent orchid
#

oh, thats useful

static portal
warm marsh
#

X2

mystic orbit
#

this is very useful on addons with a bunch of textures

slim musk
slim musk
fickle briar
#

Test it

slim musk
#

Command Line Interface. I read your source. It doesn't have it. Had to read up on rust so I knew what I was looking ath.

fickle briar
#

I should Look to implement that

fickle briar
slim musk
#

Thanks!

fickle briar
#

Sorry that it took so long. This is very simple and just panics if the path is not correct. It's performance maximized

#

@slim musk

#

if you have a idea for another simple tool let me know

kindred plinth
fickle briar
kindred plinth
#

I'd love to get a video comparison. I get skeptical of these rituals that everyone follows but nobody verifies

fickle briar
#

Bro every addon in the marketplace has that. why shouldn't you do that when it's so easy

#

It can't hurt

warm marsh
#

rust < c++

fickle briar
slim musk