P5S LINKDATA issues (Mersenne twister?)

How to translate the files of a game
wwwklopar
Posts: 23
Joined: Sat Dec 08, 2018 7:53 pm

P5S LINKDATA issues (Mersenne twister?)

Post by wwwklopar »

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
Last edited by wwwklopar on Thu Feb 25, 2021 11:34 pm, edited 2 times in total.
wwwklopar
Posts: 23
Joined: Sat Dec 08, 2018 7:53 pm

Re: P5S LINKDATA issues (Mersenne twister?)

Post by wwwklopar »

Nevermind... According to git files must be or compressed or encrypted, so we just compressed all the files and it worked.
wwwklopar
Posts: 23
Joined: Sat Dec 08, 2018 7:53 pm

Re: P5S LINKDATA issues (Mersenne twister?)

Post by wwwklopar »

...
Theme is still relevant.
Seems like encryption is needed for the game, cause we have encountered bugs with camera.
It not allows to player to advance through some places...
We are sincerily requesting any help!