Image archiving is broken
Image archiving is currently using crypto.subtle which requires secure context (https) in all modern browser versions. This causes it to throw an error
Replacing crypto.subtle
with something like https://github.com/emn178/js-sha1 fixes the error message, but the images still aren't loaded back in properly
3d996138)
Testing methodology (tested a clean branch of commit- Add https://github.com/emn178/js-sha1 as
js/001-lib/sha1.min.js
- Replace the two
await Archiving.sha1(*
's insrc/art/genAI/archivingAI.js
withawait sha1(*
- Load a save
- Regenerate all images
- Download image archive
- Make sure downloaded archive has images (it did)
- Purge all images
- Import the archive
- Now the slaves have grey squares instead of images
I tested on the whole Arcology, not sure if the same problem applies to individual slave images archiving
I would look into fixing this myself, but I don't have the time
Edited by Frankly George