DoS-2-Savegame-Editor
                                
                                
                                
                                    DoS-2-Savegame-Editor copied to clipboard
                            
                            
                            
                        iPad Thumbnail returns an error
Can you add support for iPad version save files. When trying to load the save file, it returns an error because of the thumbnail.
The thumbnail size for IPad seems to be 480x270.
When the same save file is loaded onto a pc version and resaved it works fine loading the pc save file.

This is a problem with archive extraction, I have little control to this process since it is entirely done by LS Lib
Can you send me the iPad save file ?
This is a problem with archive extraction, I have little control to this process since it is entirely done by LS Lib
Can you send me the iPad save file ?
Here’s a link - https://drive.google.com/drive/folders/1uSOcTTMUykrHq9F0jtrLn9xvw_fPNGdB
I forgot to mention that the save file is pulled from iCloud instead of the local storage, because unless it’s a jailbroken iPad normal users don’t have access to the local files. Is it possible that iCloud puts a compression on the thumbnail and that’s the reason the save editor can’t load it directly? Just shooting in the dark, but maybe a solution would be a patcher for instance so no matter if it was an original thumbnail or not, the save edition may load the thumbnail correctly by making the thumbnail file match the expected one or ignore it all together?
The editor only loads the thumbnail on file selection and when it displays informations about a savegame. Otherwise, it is completely ignored. And it only uses the thumbnail inside the LSV archive, not the "external" PNG file.
If the archive integrity is fine, the program will load the save file. In your first message, it seems there is a CRC error meaning something is wrong in the archive. And I don't know what because the file you gave me is loaded fine on my computer.
My bad, I’ve sent you an already overwritten file on pc. Can you try this one just downloaded from iCloud - https://drive.google.com/drive/folders/10zPOCZk7GXSKmv7HOzts2drdvA2fbuvY
It looks like the iPad version uses a different CRC. If I bypass the CRC checks, the meta.lsf seems to be loaded fine (the information of the team is missing but that's not necessarily a problem) Unfortunately, I can't bypass the CRC checks of LSLib, so I can't make further tests.
There is an open issue in LSLib about that.