-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potential lead regarding savefile encoding (Rewritten data remains in the file) #2
Comments
Quite interesting, thank you! Some key notes:
|
Oh, also, if you just want to take an existing savefile of a relatively short length and salvage whatever strings you can out of it, try the xor-jump-9 bruteforcer, it tends to do well enough.
|
Ah! I found a bug in my savefile analyzer where it would still try to read those invalid RAD blocks. This failed, as could be expected. It's fixed now. |
This information is very useful, can you contact me through discord so I can ask a few questions regarding save files? Kirbsuke #0857 |
Don't know a better place to file this, so here we are.
When attempting to use the savefile decoding script in this repo for another project, I noticed something weird.
BYOND would read this data from the savefile
However, the script read this (using just
description
key as an example)The important thing to note here, is the
(Including the host)
part. This used to be part of the description before I rewrote it and made it shorter, but it still exists in the savefile as seen with the decoder.This means that BYOND doesn't rewrite a savefile when its edited, only changes are appended, which means there is history stored in bytes, presumably waiting to be written over.
This also means there must be "markers" for the data starting and ending. This exact savefile is available at https://affectedarc07.co.uk/pai.sav
I do not possess the knowledge myself to investigate this, but I am flagging it up here as you may be able to figure something out with it.
Edit: This image makes it much easier to visualise

The text was updated successfully, but these errors were encountered: