The Surge 2 data_bin

How to translate the files of a game
zsoca1001
Posts: 20
Joined: Tue Jun 18, 2019 7:52 pm

The Surge 2 data_bin

Post by zsoca1001 »

Hi. Can someone unpack this file? I would like to translate this game.
https://www46.zippyshare.com/v/ikX0y9pQ/file.html
zsoca1001
Posts: 20
Joined: Tue Jun 18, 2019 7:52 pm

Re: The Surge 2 data_bin

Post by zsoca1001 »

Any news? The file is encrypted or something else?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: The Surge 2 data_bin

Post by aluigi »

I guess you posted in the wrong section.
Try this script:
http://aluigi.org/bms/thesurge2.bms

Please let me know if there are some dat files with _2 in their name, I may need them for more analysis (together with their .toc)
zsoca1001
Posts: 20
Joined: Tue Jun 18, 2019 7:52 pm

Re: The Surge 2 data_bin

Post by zsoca1001 »

There is no data_2 file, only 0 and 1. The script worked. I found the english.bin. It is possible to reimport?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: The Surge 2 data_bin

Post by aluigi »

Currently it's not possible to reimport the files because the recompressor for lz4f is not implemented in quickbms.
And in any case the possible presence of CRC may invalidate the loading of the new data.
gaidens
Posts: 4
Joined: Thu Oct 03, 2019 1:58 am

Re: The Surge 2 data_bin

Post by gaidens »

aluigi wrote:I guess you posted in the wrong section.
Try this script:
http://aluigi.org/bms/thesurge2.bms

Please let me know if there are some dat files with _2 in their name, I may need them for more analysis (together with their .toc)




can you help me
i need repack language files game.locres
repack pakchunk0-WindowsNoEditor.pak or pakchunk0-Addone_P.pak files need repack.
I opened the Pak file, but I can't repackage

i need repack scrip.

pls help me
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: The Surge 2 data_bin

Post by Delutto »

aluigi wrote:Please let me know if there are some dat files with _2 in their name, I may need them for more analysis (together with their .toc)
Yes, there's at least one, seems truncate on 2GB, and the last one is always 1KB.
I can't upload, they are too big...
Image

Edit: The game crashes with repacked files and I can't find any matches to the CRC values...
swuforce
Posts: 233
Joined: Thu Oct 16, 2014 4:39 pm

Re: The Surge 2 data_bin

Post by swuforce »

It is uses the same hash like the other games (like LotF). aluigis script is right about the compressed and uncompressed CRC.
Use some lz4 compressor to compress your file, then put it at end of the archive, and change the offset, zsize, size and the two hash values.
Then toc hash at 0x4, its the hash from 0x18 to end of toc file.
Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: The Surge 2 data_bin

Post by Delutto »

swuforce wrote:It is uses the same hash like the other games (like LotF).
Sorry, but what is the hash algo? Any link?
swuforce
Posts: 233
Joined: Thu Oct 16, 2014 4:39 pm

Re: The Surge 2 data_bin

Post by swuforce »

Delutto
Posts: 561
Joined: Tue Oct 13, 2015 1:26 pm

Re: The Surge 2 data_bin

Post by Delutto »

swuforce wrote:https://zenhax.com/viewtopic.php?f=13&t=8828
:)
:oops:
Thanks, now I know what that "LotF" means...
sinnerclown380
Posts: 59
Joined: Tue Apr 07, 2020 10:34 am

Re: The Surge 2 data_bin

Post by sinnerclown380 »

Can you help me import The surge 2. When I import the surge2 with bms, the game crashes.
sinnerclown380
Posts: 59
Joined: Tue Apr 07, 2020 10:34 am

Re: The Surge 2 data_bin

Post by sinnerclown380 »

Up