Hello! We are with my team are currently working on Persona 5 Scramble localization.
We have encountered issue with one archive for PC version of game (LINKDATA.bin and LINKDATA.idx). It can be extracted without any issues, but when we are trying to repack files into it the game is crashing instantly after start.
According to this repo https://github.com/yretenai/Cethleann/pull/36
this archive using encryption algorithm in a form of Mersenne twister. Here is the code from repo to decrypt it https://github.com/yretenai/Cethleann/pull/36/commits/c48e7f86005702497245f37949dfe456d488f492
Is there any way to recreate this encryption algorithm? We are assuming that the game needs both of compression and encryption in same time cause there are no issues with the Switch version of this archive but it uses only compression.
PC version is stuck only with this issue cause all of the text files are in this archive.
We are requesting any help!
LINK for downloading - https://drive.google.com/file/d/1Jxl8Mr ... sp=sharing