typlosion14 / Multibound-Reborn

Multibound-Reborn - Launcheur Mods
https://community.playstarbound.com/threads/multibound-reborn.156063/
MIT License
6 stars 0 forks source link

Fails to read storage.json (Mods won't load) #10

Open StuAhpla opened 2 years ago

StuAhpla commented 2 years ago

INFO [22:53:59]: -------------------------------------- INFO [22:53:59]: Multibound Reborn are loading INFO [22:53:59]: -------- Loading config.ini ------- INFO [22:53:59]: -------- config.ini loaded successfully ------- INFO [22:53:59]: get Workshop Mods list LoadingBar INFO [22:53:59]: Start loading Workshop Mods (LoadingBar) ERROR [22:53:59]: storage.json can't be readed ERROR [22:53:59]: try to look with a JSON Viewer for fix it ERROR [22:53:59]: Unknow Error found in LoadingBar (Launcheur)

StuAhpla commented 2 years ago

Found the cause, it is due to the program failing to write to storage.json if the file is empty. If you replace it with any other version of storage.json that has a list of mods in it, then the program functions correctly. This is likely an issue with how the program is creating storage.json for the first time. Though there is still an issue that mods aren't loading when using the launcher.