You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/index.html
+6-7Lines changed: 6 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -158,10 +158,10 @@ <h2>How sb3fix works</h2>
158
158
<p>A Scratch project has three main components that can be "corrupted" in different ways.</p>
159
159
<p>
160
160
Scratch project files are zip files.
161
-
The zip file can often be corrupted by a storage device failure, for example due to a power outage or not ejecting a USB drive before unplugging.
161
+
The zip file can often be corrupted by a storage device failure, for example, due to a power outage or not ejecting a USB drive before unplugging.
162
162
Scratch and most other tools that open zips don't know how to handle corruption.
163
163
sb3fix uses an <ahref="https://www.construct.net/en/blogs/ashleys-blog-2/recovering-corrupt-zip-files-1895">alternative approach</a> that lets it read a zip file even when the "central directory" used by most apps is missing or corrupt.
164
-
Depending on how bad the zip is corrupted, sb3fix might recover your project in its entirety or may miss significant parts.
164
+
Depending on how badly the zip is corrupted, sb3fix might recover your project in its entirety or may miss significant parts.
165
165
</p>
166
166
<details>
167
167
<summary>Example of error messages due to zip corruption</summary>
@@ -176,9 +176,8 @@ <h2>How sb3fix works</h2>
176
176
This file contains your project's sprites, scripts, variables, lists, and metadata about costumes and sounds.
177
177
When you load a project, Scratch checks that all parts of the JSON are in the correct format.
178
178
There are bugs that allow the project.json that gets generated when you save your project to not pass these checks.
179
-
sb3fix checks for a bunch of these failures cases and changes the JSON to make the checks pass.
179
+
sb3fix checks for a bunch of these failure cases and changes the JSON to make the checks pass.
180
180
This usually results in your whole project being recovered, and writing new fixes is usually easy when we become aware of missing fixes.
181
-
Corruption in project.json tends to result in error messages like:
182
181
</p>
183
182
<details>
184
183
<summary>Examples of error messages due to project.json corruption</summary>
@@ -195,9 +194,9 @@ <h2>How sb3fix works</h2>
195
194
</ul>
196
195
</details>
197
196
<p>
198
-
The last part of a Scratch project are your project's costumes and sounds, known as assets.
199
-
Assets are also files in the zip and are use standard file formats such as <ahref="https://en.wikipedia.org/wiki/PNG">PNG</a>, <ahref="https://en.wikipedia.org/wiki/SVG">SVG</a>, <ahref="https://en.wikipedia.org/wiki/WAV">WAV</a>, and others.
200
-
Corrupted costumes appear as a question mark in a gray box, and corrupted sounds appear are replaced with zerosecond sounds.
197
+
The last part of a Scratch project is your project's costumes and sounds, known as assets.
198
+
Assets are also files in the zip and use standard file formats such as <ahref="https://en.wikipedia.org/wiki/PNG">PNG</a>, <ahref="https://en.wikipedia.org/wiki/SVG">SVG</a>, <ahref="https://en.wikipedia.org/wiki/WAV">WAV</a>, and others.
199
+
Corrupted costumes appear as a question mark in a gray box, and corrupted sounds are replaced with zero-second sounds.
201
200
There are other bugs that can result in these symptoms even if the asset is not corrupt.
202
201
Some corrupted costumes load fine but cause a crash if you try to edit them.
203
202
At this time, sb3fix does not attempt to fix asset corruption beyond our attempts to fix zip corruption.
0 commit comments