LilyRose2798 / shapez.io-save-editor

GNU General Public License v3.0
7 stars 5 forks source link

Does not open save files. #1

Open adjagu opened 3 years ago

adjagu commented 3 years ago

I downloaded this from GitHub and installed it via 'npm install'. Ran the program with 'npm start'. Received the following in my terminal application:

> shapez.io-save-editor@1.0.0 start /home/doctor/Downloads/test/shapezio-save-editor > electrion .

All good so far. But, when I try to open a save file /home/doctor/.local/share/shapez.io/saves/savegame-599548b987c77d9164cb13296d54ec317fd41175.bin nothing happens. No errors are displayed in my terminal window either. Trying to load a saved save file /home/doctor/Downloads/001.bin produces the same result.

I am running linux. NodeJS is v14.12.0 and npm is 6.14.8.

Am I doing something incorrectly?

Edit: Forgot to add that my version of Shapez.io is 1.2.0.

max-carriers commented 3 years ago

Same for me... I had to modify the code adding a line in order to make the dev tools appear once it starts, and when I load a save file (a .bin file), it throws an error:

C:\Users\Default\Desktop\shapez.io Save Editor-win32-x64\resources\app\common.js:97 Uncaught (in promise) Error: Checksum mismatch
    at exports.decompress (C:\Users\Default\Desktop\shapez.io Save Editor-win32-x64\resources\app\common.js:97)
    at HTMLButtonElement.openFile (renderer.js:89)

Just to be clear, I added this line win.webContents.openDevTools(); in main.js after the line that loads the index.html file.