ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Mar 19, 2019 9:39 am

All times are UTC




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Just Cause 4 *.arc
PostPosted: Sun Dec 30, 2018 7:21 pm 

Joined: Wed Jun 01, 2016 5:53 pm
Posts: 35
Hi all, Luigi could you please take a look at this arc archive? Script throws unknown error to me.
Code:
  offset   filesize   filename
--------------------------------------
- enter in folder E:\DOWNLOAD\quickbms
  coverage file 0     0%   0          1076       . offset 00000000
- open input file E:\DOWNLOAD\quickbms\game0.tab
- enter in folder E:\DOWNLOAD\quickbms
- open input file E:\DOWNLOAD\quickbms\game0.arc
  00000000 27         dlc/cp_digitaldeluxe/cp_digitaldeluxe.dlcinstallinfo
  00001000 6117340    dlc/cp_digitaldeluxe/editor/entities/vehicles/02_air/v403_plane_microjet/v403_plane_microjet_preorder_01.ee
  001fe000 60112      dlc/cp_digitaldeluxe/editor/entities/vehicles/02_air/v403_plane_microjet/v403_plane_microjet_preorder_01.epe
  00203000 15690      dlc/cp_digitaldeluxe/editor/entities/vehicles/02_air/v403_plane_microjet/v403_plane_microjet_preorder_01.epe_adf
  00204000 72629      dlc/cp_digitaldeluxe/editor/entities/vehicles/02_air/v403_plane_microjet/v403_plane_microjet_preorder_01.resourcebundle
  00208000 112        dlc/cp_digitaldeluxe/global/authored_content_digitaldeluxe.bl
  00209000 3044       dlc/cp_digitaldeluxe/global/authored_content_digitaldeluxe.blo
  0020a000 791940     dlc/cp_digitaldeluxe/locations/event_loaded/dlc_skystriker.bl
  0025a000 3436       dlc/cp_digitaldeluxe/locations/event_loaded/dlc_skystriker.blo
  0025b000 906        dlc/cp_digitaldeluxe/locations/event_loaded/dlc_skystriker.blo_adf
  0025c000 5570560    dlc/cp_digitaldeluxe/models/objects/weaponized_pack/textures/weaponized_pack_alpha_mpm.atx1

-------------------
*EXCEPTION HANDLER*
-------------------
An error or crash occurred:

*EH* ExceptionCode      c0000005 access violation
*EH* ExceptionFlags     00000000
*EH* ExceptionAddress   10065ED6
*EH* NumberParameters   00000002
*EH*                    00000000
*EH*                    BBDFEAD0

Last script line before the error or that produced the error:
  33  clog NAME OFFSET ZSIZE SIZE 1

Press ENTER or close the window to quit

Here is archive
Code:
https://www117.zippyshare.com/v/EX3cuzHX/file.html

I also attached script + file with filenames since filenames are hashed.

Thank you as always! And happy new year!


Attachments:
jc4script.zip [758.34 KiB]
Downloaded 24 times
Top
   
 Post subject: Re: Just Cause 4 *.arc
PostPosted: Thu Jan 03, 2019 7:40 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9946
The problem is the COMPTYPE field which is not handled.
All the files before the error are COMPTYPE 0 while the one with the crash if COMPTYPE 1.
I'm not sure what algorithm it should be.


Top
   
 Post subject: Re: Just Cause 4 *.arc
PostPosted: Thu Jan 03, 2019 11:00 am 

Joined: Wed Jun 01, 2016 5:53 pm
Posts: 35
That's strange because some of files which are compressed with oodle are decompressed properly but some of them can't be decompressed and throw error.
Files which starts with 8C 06 are decompressed but files starts with 8C 0A and CC 0A are not.


Top
   
 Post subject: Re: Just Cause 4 *.arc
PostPosted: Thu Jan 03, 2019 3:02 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9946
Since the failing decompressions are those related to COMPTYPE 1, I guess that field means that some oodle option is used, for example a dictionary.
I don't know what's the version of oodle used in the game.
quickbms uses version 2.6.3, the 2.7.x branch doesn't seem to have new algorithm or new versions of the existent ones (in decompression), but still that different field means something not related to the library.


Top
   
 Post subject: Re: Just Cause 4 *.arc
PostPosted: Thu Jan 03, 2019 3:34 pm 

Joined: Wed Jun 01, 2016 5:53 pm
Posts: 35
There is file called oo2core_7_win64.dll Do you know a way how to bind it to the script? Thanks!
If you will need a game i can grant you access to my account with game.
BTW it's not important "since there is already unpacker" but i would like to see how that code looks in BMS. For future games like RAGE 2 and all new APEX engine games.


Top
   
 Post subject: Re: Just Cause 4 *.arc
PostPosted: Sat Jan 12, 2019 12:28 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 9946
It can't be used in quickbms with the calldll command because OodleLZ_Decompress requires 14 arguments while calldll supports max 12.
Anyway I guess there is also some bug in comtype calldll since the function is not found.

Ah, you can't use 64bit dll with quickbms, luckily there is a 32bit version too.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited