Silksong Save File Editor
- 8 Devlogs
- 29 Total hours
A visual Silksong Save File Editor with a lot of functionality
A visual Silksong Save File Editor with a lot of functionality
Devlog 7
Well, Im back. Ive been on vacation for the last week but i managed to work on my save file editor a little bit here and there. I mainly worked on it yesterday when i came home.
So whats new?
Ive added all Fleas and Spool Fragments to the map as well as cleaned up stuff that didnt work anymore because of my complete code refactor.
Next i plan on finishing up all things that go on the map like Tool Pouches/Kits, Craft Metals, etc.
Then Im gonna tackle the tools and crests.
Im very excited to be back and working on my project
Devlog 6
It’s been a while but Ive made significant progress. Well not visually but Ill get to that in a second.
Ive added a fully functional map using leaflet, a javascript library for making easy maps. Im going to be using this map to toggle things like collected fleas, mask shards, spool fragments, etc.
Now, the main thing I worked on was a complete refactor of the code.
In the third devlog i said this
In the end I just settled for a big function with a lot of ifs to check with value to set. I know that its not the best way but its good enough for now.
And not the best way it was. I now realized that it was heavily slowing down how fast I was able to progress and the code was a big mess. Hundreds of if statements everywhere and almost no order.
So what did I do?
I created multiple massive lists that store all the data about a toggle-able thing.
{ key: "hasDash", type: "pd_bool", label: "Swift Step", img: "resources/abilities/swift_step.png" }
This is what one of these entries looks like.
The key is the thing in the save file that is to change.
The type is how its stored in the save file.
The label is the visual name the user sees.
The img is the image the user sees.
This way i can more easily add/remove entries and have way cleaner code because now I just need one central function to toggle a certain thing.
Devlog 5
In the past few days Ive been steadily working on expanding the available stuff to edit.
So far i have:
Devlog 4
Ive now fully implemented switching between the different tabs and completed the abilities.
Next step are the bosses and wishes.
Devlog 3.5
Just a quick mini devlog.
Ive implemented the quill switching between the 3 states. Saving the file and putting it into the game is now also possible.
Devlog 3
In the last 2 days Ive been working on actually getting the website to work. That means being able to click on the different items and changing their data in the save file.
I had some problems with modifying the save file data at first because is was overcomplicating it a lot. In the end I just settled for a big function with a lot of ifs to check with value to set. I know that its not the best way but its good enough for now.
All items except for the quill works right now. That is because the quill is going to have extra functionality. Instead of clicking it to switch it on and off you can switch between the different quills (normal, red, purple).
Next I plan on adding functionality for the quill and actually making the user be able to save their modifications to a file.
Devlog 2
Ive added basic support for manipulating your resources:
For the Masks and Spools, Ive done it in a visual way (as Im trying to make it as visual and user-friendly as possible) where you can see how many masks/spools you have and can increase/decrease with the buttons on the left and right.
As you can also see the layout is also almost done, i just have to add more labels.
Devlog 1
So, Ive started on my Silksong Save File Editor Website, where you will be able to change the following things:
Currently Ive only implemented the very start of the Website and actually loading the save file and soon i wanna start with the actual, main part, which is editing the save file.
As you can see below, the Website still looks very empty at the moment but that will hopefully change soon.