-
Notifications
You must be signed in to change notification settings - Fork 2
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
strange format scs file #2
Comments
There are four entries in the archive with their offset set to 0, causing a crash when trying to decompress the bytes at that location. This is now fixed. That's not the only issue with the archive though; it claims to contain lots of entries with the same offset: 0: 4x Only the first entry for any of these offsets (except for 0, obviously) describes the actual file, and the rest are junk that can be ignored. With these two fixes, the archive can now be extracted in raw mode. |
I didn't get what you were talking about at first, but I know what's going on here now. Let's take one of the paths from your screenshot, minus the very suspicious whitespace: If you look up the hash of this string in the archive, you will find one of the junk entries with an invalid offset. However, as you've noticed, the .sii files contain some extra bytes in their paths. What are those? Well, let's open the .sii file where the associated .pmd of the file above is referenced, and paste that string into a Unicode analyzer: As you can see, the extra bytes are the Unicode character U+2061 (0x080D), which is invisible in most fonts. This is not a bug: the directories are in fact called
I can't replicate this. The only image referenced in |
Hello, I would like to start by thanking you for creating the tool.
I have a scs file with a strange hexadecimal, it is causing some problems with extraction, especially in raw mode.
https://www.mediafire.com/file/wyxh8vqiwpjdvqu/Scania_file.scs/file
If you can take a look. Thank you very much in advance
The text was updated successfully, but these errors were encountered: