enjarai / show-me-your-skin

A mod to hide or customize armor rendering.
https://www.curseforge.com/minecraft/mc-mods/show-me-your-skin
MIT License
22 stars 14 forks source link

java.lang.RuntimeException: Could not execute entrypoint stage 'client' due to errors, provided by 'showmeyourskin'! #88

Closed Marotheit closed 1 day ago

Marotheit commented 5 days ago

Show Me Your Skin causes the game to be unable to load on Minecraft 1.21.

GitHub Gist of the Crashlog: https://gist.github.com/Marotheit/e81941621d4cb8ab0a1aaa673a216924

StellarWitch7 commented 5 days ago

I think seeing your SMYS config file might be beneficial. It should be under config/ in your Minecraft instance's directory, as showmeyourskin.json. Your launcher should provide a button to open the instance's directory. (Crash log says you're using theseus, which I believe is the Modrinth Launcher?)

What is the error?

From what I can tell, your config file is broken, and therefore cannot be loaded. Deleting it may fix the issue. A couple causes of this issue may be either the file was edited outside of the mod's config menu, or SMYS failed to save it properly. If you edit the config file in a text editor, take care to maintain the format and structure.

I hope this helps!

Note: I am not a contributor and have little to no knowledge regarding how SMYS works, this is just what I have gathered from the crash log.

Marotheit commented 3 days ago

Sorry for the late reply, here is my config file:

https://gist.github.com/Marotheit/491944797b3142a5ceba7887010acdca

StellarWitch7 commented 3 days ago

@enjarai looks to be there's an extra comma at the end of the config. It says it expects a name.

@Marotheit try removing the last comma in the config.

Marotheit commented 1 day ago

@enjarai looks to be there's an extra comma at the end of the config. It says it expects a name.

@Marotheit try removing the last comma in the config.

That worked! I'm not really sure how this happened, I don't remember editing the configuration file at all (although I'm no stranger to doing so from time-to-time), I just updated the mod to 1.21. Thanks for your help.

StellarWitch7 commented 1 day ago

No problem. The update likely had some change in the parser that caused it to fail with the old config.