valaphee / mcrputil

Minecraft Resource Pack Util for encrypting and decrypting resource packs.
https://valaphee.com/article/1-minecraft-resource-pack-util/
Apache License 2.0
108 stars 14 forks source link

Error encrypting images and json in texture #9

Closed iAldrich23xX closed 1 year ago

iAldrich23xX commented 1 year ago

(If you put the .key)

Not encrypted:

image

Encrypted:

image

valaphee commented 1 year ago

Hey, can you share the output of your console?

iAldrich23xX commented 1 year ago

image

There is no error or anything, it is simply not possible to see the texture in game correctly.

valaphee commented 1 year ago

Hmm, could you sent your unencrypted, and encrypted resource pack with key, to iam@valaphee.com, that I could take a look?

iAldrich23xX commented 1 year ago

Hmm, could you sent your unencrypted, and encrypted resource pack with key, to iam@valaphee.com, that I could take a look?

Sent...

gamezaSRC commented 1 year ago

i had that problem with another encryptor, that why i started searching for alternatives and found this repository

gamezaSRC commented 1 year ago

im having the same issue, minecraft cant read the encrypted data

valaphee commented 1 year ago

Ah did you zipped the folder?

For example CloverEncrypt is your output, and you have to manually zip the content again, and rename the key to CloverEncrypt.zip,

and some server softwares don't load .key files atm, Geyser for example should work fine, but don't know if Nukkit loads it automatically

valaphee commented 1 year ago

For ease of use, I could automate this process in the future

gamezaSRC commented 1 year ago

I'm using bedrock vanilla server, where should i put the key file? Inside My pack?

valaphee commented 1 year ago

This is not a vanilla feature and therefore won't work with Vanilla, might be possible, but would require the world to be modified

gamezaSRC commented 1 year ago

Humm and with better altay??

iAldrich23xX commented 1 year ago

Indeed, both in pocketmine and in nukkit it is used in .zip and the key in .key format, example (texturepack.zip.key) and waterdogpe

valaphee commented 1 year ago

Was this issue related to, server software not supporting encryption? / is it already solved

iAldrich23xX commented 1 year ago

Yes, it is already resolved in the aforementioned software, the difference is that they read in .zip, not in folders.