The Great Ace Attorney Chronicles .ARC Files. Help!!

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
MuslimCyberGames
Posts: 220
Joined: Sun Nov 06, 2016 3:28 pm

The Great Ace Attorney Chronicles .ARC Files. Help!!

Post by MuslimCyberGames »

Image

The Great Ace Attorney Chronicles

Hello, anybody. Have a tools for Extract/Import for this game. This game have a ARC file format from CAPCOM.

Thanks.
einherjar007
Posts: 35
Joined: Fri Sep 20, 2019 7:55 am

Re: The Great Ace Attorney Chronicles .ARC Files. Help!!

Post by einherjar007 »

looks like a zlib compression.
You can try offzip "-a -1"
MuslimCyberGames
Posts: 220
Joined: Sun Nov 06, 2016 3:28 pm

Re: The Great Ace Attorney Chronicles .ARC Files. Help!!

Post by MuslimCyberGames »

einherjar007 wrote:looks like a zlib compression.
You can try offzip "-a -1"


I tried and the result is nothing.
MuslimCyberGames
Posts: 220
Joined: Sun Nov 06, 2016 3:28 pm

Re: The Great Ace Attorney Chronicles .ARC Files. Help!!

Post by MuslimCyberGames »

Anyone can help it?
lisomn
Posts: 40
Joined: Thu Jan 11, 2018 7:14 am

Re: The Great Ace Attorney Chronicles .ARC Files. Help!!

Post by lisomn »

Code: Select all

# script for QuickBMS http://quickbms.aluigi.org
# by lisomn
idstring "ARC\x00"
get unk1 short
get file_count short
for i = 0 < file_count
   getdstring file_name 0x80
   get unk1 long
   get zsize long
   get size short
   get u1 byte
   get u2 byte
   get zoffset long
   comtype zlib
   clog file_name zoffset zsize size
next i

owo
MuslimCyberGames
Posts: 220
Joined: Sun Nov 06, 2016 3:28 pm

Re: The Great Ace Attorney Chronicles .ARC Files. Help!!

Post by MuslimCyberGames »

lisomn wrote:

Code: Select all

# script for QuickBMS http://quickbms.aluigi.org
# by lisomn
idstring "ARC\x00"
get unk1 short
get file_count short
for i = 0 < file_count
   getdstring file_name 0x80
   get unk1 long
   get zsize long
   get size short
   get u1 byte
   get u2 byte
   get zoffset long
   comtype zlib
   clog file_name zoffset zsize size
next i

owo


I got some error, for extracting the arc files?

Image
MuslimCyberGames
Posts: 220
Joined: Sun Nov 06, 2016 3:28 pm

Re: The Great Ace Attorney Chronicles .ARC Files. Help!!

Post by MuslimCyberGames »

cih99 wrote:https://www.gulf-up.com/b8t6d6jje18a
Image


It's not working.
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Re: The Great Ace Attorney Chronicles .ARC Files. Help!!

Post by masagrator »

If someone is interested, here is ARC unpacker python script dedicated to Switch version of this game

https://github.com/masagrator/NXGameScr ... _unpack.py

Not tested with all ARC files, but most of them.
Last edited by masagrator on Sat Aug 14, 2021 10:40 pm, edited 2 times in total.
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Re: The Great Ace Attorney Chronicles .ARC Files. Help!!

Post by masagrator »

lisomn wrote:

Code: Select all

# script for QuickBMS http://quickbms.aluigi.org
# by lisomn
idstring "ARC\x00"
get unk1 short
get file_count short
for i = 0 < file_count
   getdstring file_name 0x80
   get unk1 long
   get zsize long
   get size short
   get u1 byte
   get u2 byte
   get zoffset long
   comtype zlib
   clog file_name zoffset zsize size
next i

owo

Issue with this script is that "size" is = long - 0x40000000, not short
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: The Great Ace Attorney Chronicles .ARC Files. Help!!

Post by Ekey »

Code: Select all

# The Great Ace Attorney Chronicles (ARC) format
# script for QuickBMS http://quickbms.aluigi.org

idstring "ARC\x00"
get VERSION short #7
get FILES short

for i = 0 < FILES
   getdstring PATH 128
   get EXT_HASH long
   get ZSIZE long
   get SIZE long
   math SIZE &= 0x3FFFFFFF
   get OFFSET long
   
   string NAME p= "%s.%08X" PATH EXT_HASH
   
   if ZSIZE == SIZE
       log NAME OFFSET SIZE
   else
       clog NAME OFFSET ZSIZE SIZE
   endif
next i
SamuraiOndo
Posts: 33
Joined: Fri May 14, 2021 11:33 pm

Re: The Great Ace Attorney Chronicles .ARC Files. Help!!

Post by SamuraiOndo »

the dev builds of Kuriimu2 (https://github.com/FanTranslatorsIntern ... 1132569151) have a working gui importer/exporter if thats what you need