Omega Labyrinth Life PC Save encryption

Reading, editing and everything related to the files created by games to contain savegames and configurations
Niko of Death
Posts: 7
Joined: Tue May 18, 2021 10:42 pm

Omega Labyrinth Life PC Save encryption

Post by Niko of Death »

The switch version of Omega Labyrinth Life, thankfully, included no encryption (beyond the console's own encryption of course), however the later released PC port does, rendering the saves incompatible with each other. I attached a 7z with two save files - OmegaLabyrinthLifeSaveData, the unencrypted save file from the switch, and LocalSaveData_0.svd, the encrypted save file from the PC version. The file size differences are due to the PC save being pretty much from scratch, whereas the switch save was a few hours into the game. Is anyone able to identify the encryption method used, so that switch saves can be encrypted to use with the PC version, and PC saves decrypted to use with the switch version? If necessary, I could create fresh saves for both versions to make comparison easier.
spiritovod
Posts: 719
Joined: Sat Sep 28, 2019 7:00 pm

Re: Omega Labyrinth Life PC Save encryption

Post by spiritovod »

@Niko of Death: This is simple aes encryption, here is script for decrypting the save. You can modify the script to encrypt the save back, I've added comment for that purpose.
Niko of Death
Posts: 7
Joined: Tue May 18, 2021 10:42 pm

Re: Omega Labyrinth Life PC Save encryption

Post by Niko of Death »

spiritovod wrote:@Niko of Death: This is simple aes encryption, here is script for decrypting the save. You can modify the script to encrypt the save back, I've added comment for that purpose.

Thanks for the help! For others converting switch saves - the switch save file does not fill the last line (in hex) with empty values, whereas the PC save file does, so you need to add that manually in a hex editor.
For example with my save file, the last line goes from being
"3A 31 7D"
on switch, to
"3A 31 7D 00 00 00 00 00 00 00 00 00 00 00 00 00"
on PC.