EA big/bh files crc

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
beedy
Posts: 81
Joined: Sat Aug 26, 2017 8:09 am

EA big/bh files crc

Post by beedy »

Hi,
I need help to calculate crc hash value from EA's .Big and .bh files. CRC value is same for same file in Big archive with EB identifier and BIG4 archive with .bh-files. For example "fe/ion/game/menus/onlinepostgame.big" crc calculation in bh-file is 0x194A2099. I tried CRC-32 checksum calculator and crc_scan.bms (I'm not sure how to use it) to get correct value, but I didn't get right one.

a lot of EA games has mc02 checksums, but I'm not sure is the values in big-archives calculated with that.

.big and .bh samples in attachment.
HPAndroid
Posts: 67
Joined: Sun Mar 04, 2018 1:29 am

Re: EA big/bh files crc

Post by HPAndroid »

beedy wrote:Hi,
I need help to calculate crc hash value from EA's .Big and .bh files. CRC value is same for same file in Big archive with EB identifier and BIG4 archive with .bh-files. For example "fe/ion/game/menus/onlinepostgame.big" crc calculation in bh-file is 0x194A2099. I tried CRC-32 checksum calculator and crc_scan.bms (I'm not sure how to use it) to get correct value, but I didn't get right one.

a lot of EA games has mc02 checksums, but I'm not sure is the values in big-archives calculated with that.

.big and .bh samples in attachment.

This is what I extracted from the file patch.big :)
Last edited by HPAndroid on Tue Mar 13, 2018 12:24 am, edited 1 time in total.
HPAndroid
Posts: 67
Joined: Sun Mar 04, 2018 1:29 am

Re: EA big/bh files crc

Post by HPAndroid »

Your patch.bh file is only the national Internet domain name (ccTLD) for Bahrain. It is managed by BATELCO. :D
beedy
Posts: 81
Joined: Sat Aug 26, 2017 8:09 am

Re: EA big/bh files crc

Post by beedy »

Hey,

I haven't solved yet crc algorithm for files. I have tried to use crc scanner for a file which iclude path string but didn't match any results. Also I have tried calculate a custom crc32 checksum with various polynomials without correct result.

Is it possible to get correct algorithm if I know CRC and string where it is calculated. I want to add some files in .big archive that's why I need to know how the crc is calculated.

Example crcs:
attribdb/renddb.bin 3C12BC16
attribdb/renddb.opt 3C12F450
attribdb/renddb.vlt 3C131193
beedy
Posts: 81
Joined: Sat Aug 26, 2017 8:09 am

Re: EA big/bh files crc

Post by beedy »

Finally solved it. :) Fifafs_5_3_10_alpha can generate .bh files for .big archives with right hash algorithm. Fifafs support Big4 archive types, but algorithm is same for .big with "EB" magic.
Fifafs:
http://www.playground.ru/files/fifafs_5_3_10_alpha-38781/
GHFear
Posts: 290
Joined: Fri Mar 30, 2018 2:48 am

Re: EA big/bh files crc

Post by GHFear »

beedy wrote:Finally solved it. :) Fifafs_5_3_10_alpha can generate .bh files for .big archives with right hash algorithm. Fifafs support Big4 archive types, but algorithm is same for .big with "EB" magic.
Fifafs:
http://www.playground.ru/files/fifafs_5_3_10_alpha-38781/


I love you man.
How does one use it tho?
I can't seem to figure it out.
beedy
Posts: 81
Joined: Sat Aug 26, 2017 8:09 am

Re: EA big/bh files crc

Post by beedy »

This found in console.txt in docs folder:
fifaFS.exe -makebh <bigfile> | generate .bh file for big file
GHFear
Posts: 290
Joined: Fri Mar 30, 2018 2:48 am

Re: EA big/bh files crc

Post by GHFear »

beedy wrote:This found in console.txt in docs folder:
fifaFS.exe -makebh <bigfile> | generate .bh file for big file


It seems to generate an extra second checksum for the .bh file that Skate doesn't use, I will make a script that rebuilds it without that second checksum and then it will be perfect :)
GHFear
Posts: 290
Joined: Fri Mar 30, 2018 2:48 am

Re: EA big/bh files crc

Post by GHFear »

I made a batch UI to make working with fifafs simple and also added all the scripts I could find that I have made or use for EA related work.
If anyone has more scripts for EA package types and other tasks, please add them to the scripts folder and reupload everything here.
This is a BIG4/BIGF tool and will not work properly with BIG/EB files.
The tool also relies on 2 of the scripts, so don't delete the scripts folder or files.

EA BIG TOOL: https://mega.nz/#!6xpWgCKY!1uv6WGXV9JHe ... vN3cRUyq0A
beedy
Posts: 81
Joined: Sat Aug 26, 2017 8:09 am

Re: EA big/bh files crc

Post by beedy »

That's great, Thank you!