Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Just Cause 4 *.arc

Featured Replies

  • Author
  • Localization

h3x3r, posted Sun Dec 30, 2018 7:21 pm (41728)


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!

jc4script.zip

  • Author
  • Localization

aluigi, posted Thu Jan 03, 2019 7:40 am (41844)


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.
  • Author
  • Localization

h3x3r, posted Thu Jan 03, 2019 11:00 am (41874)


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.
  • Author
  • Localization

aluigi, posted Thu Jan 03, 2019 3:02 pm (41884)


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.
  • Author
  • Localization

h3x3r, posted Thu Jan 03, 2019 3:34 pm (41894)


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.
  • Author
  • Localization

aluigi, posted Sat Jan 12, 2019 12:28 am (42212)


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.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.