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: key must be a string at line 86 column 53 #5

Closed SirvGamer closed 1 year ago

SirvGamer commented 1 year ago

Error: key must be a string at line 86 column 53

Command: .\mcrputil encrypt C:\Users\User\Documents\Pack\unencrypted C:\Users\User\Documents\Pack\encrypted

SirvGamer commented 1 year ago

Just as an addition: All files were encrypted. But one of them was not. (server_form.json)

Maybe this can help. I myself have no idea about Rust and I don't know anything about Rust.

Have also tried another version. But these do not work for me either. Also the own build did not work.

I hope this information can help!

stevei5mc commented 1 year ago

It is recommended to check the server_ form.json Whether there are grammar problems Or check whether the file is set as unencrypted

stevei5mc commented 1 year ago

Or try putting the program and resource package in the same directory

SirvGamer commented 1 year ago

Oh. I forgot to remove the comments (//) in the JSON file. After removing these it worked!