Compressed images archive inside a compressed archive

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
wolftatoo
Posts: 49
Joined: Mon Nov 07, 2016 5:49 am

Compressed images archive inside a compressed archive

Post by wolftatoo »

I have a .big images archive inside of the game's main .big archive, i extracted them both,modded the pics and repacked successfully!(images have smaller byte size now)
The problem is the modded pics wont show in game, i thought it could be the rimporting so i reimported the non modded originial images and they just display fine!
So reimporting Originals is fine, they show in game, but Modded images dont show ingame!
Is this a current problem? and if so,is it there a workaround?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Compressed images archive inside a compressed archive

Post by aluigi »

Name of the game?
What tool/script/solution you used to extract and reimport the files?
What happens if you edit just one byte of the stored files in the archive with a hex editor? (maybe it's a crc check)
wolftatoo
Posts: 49
Joined: Mon Nov 07, 2016 5:49 am

Re: Compressed images archive inside a compressed archive

Post by wolftatoo »

Its fifa14 android, if u remember,few days ago u helped me unpack the .eb archive ;)
Its all eb, so i used eb script.
Sry but since im no skilled modder, i didnt understand the crc check part!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Compressed images archive inside a compressed archive

Post by aluigi »

With "crc check" I mean some checksums/hashes used to verify that the archived file has not been modified.

Anyway that script may give many problems in reimporting (chunked files), it's very probable that's the reason of the images not showing in-game.
wolftatoo
Posts: 49
Joined: Mon Nov 07, 2016 5:49 am

Re: Compressed images archive inside a compressed archive

Post by wolftatoo »

So...how can we get them to display correctly?
And if i provide u with d files, would u try to readjust the eb script 4 this specific situation?
wolftatoo
Posts: 49
Joined: Mon Nov 07, 2016 5:49 am

Re: Compressed images archive inside a compressed archive

Post by wolftatoo »

Ok, i just tryed the same _unpack,mod,repack_ with an other images archive and same result ,only this time 1image showed correctly(nd it has no trancparency)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Compressed images archive inside a compressed archive

Post by aluigi »

The alternative to the reimport feature of quickbms for you is writing a whole repacker from scratch :)
wolftatoo
Posts: 49
Joined: Mon Nov 07, 2016 5:49 am

Re: Compressed images archive inside a compressed archive

Post by wolftatoo »

Damn!! U made it sound like Hercules 12 labors !! Im just a mortal! Lol
No,seriously, is it doable and how much time and effort would it take?
Maybe there is something more easy 2 get around it,no?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Compressed images archive inside a compressed archive

Post by aluigi »

In fact writing a rebuilder requires time and effort, and this fightnight format IS complex.

Usually the generic rules for using the edited files are:
  • if the files have real names extract the files in the same folder of the game, delete the archive and try to run the game
  • if that doesn't work then try the reimport mode of quickbms but the script must be valid for reimporting (direct files dumping without chunks and memory_files) and the game must accept the edited archive (no crc checks)
  • if that doesn't work you have to write a rebuilder, something that I don't suggest you for this format due to the complexity and unknown fields (and if you don't have the skills it's worst than the Hercules 12 labors)
I have no other options.
wolftatoo
Posts: 49
Joined: Mon Nov 07, 2016 5:49 am

Re: Compressed images archive inside a compressed archive

Post by wolftatoo »

Ok, there is a guy,who ignores my help call messages, who managed to update the teames to the current season!
He did this with modding the fifa.db file,but, he didnt reinject it in the compressed archive , he redirected to it outside!
My idea,is to do the same,coz the game wont read extracted folder, so we can bind/redirect to it.
But i need to find the right code(command lines) nd way to do.it,like: creating a txt file,writing the desired "redirecting" code, rename it to backgrounds.big,rinjecting it to archive..!
Whats ur opinion?
wolftatoo
Posts: 49
Joined: Mon Nov 07, 2016 5:49 am

Re: Compressed images archive inside a compressed archive

Post by wolftatoo »

So Aluigi, u wont help me?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Compressed images archive inside a compressed archive

Post by aluigi »

aluigi wrote:I have no other options.