Amagami .ARC (PS2)

Textures, recreate headers, conversions, algorithms and parsing of image files
Mysticus
Posts: 182
Joined: Sat Mar 02, 2019 3:24 pm

Amagami .ARC (PS2)

Post by Mysticus »

I need some help to extract .arc files from the game called Amagami from PS2. That probably contains images.
Is there some program?
Allen
Posts: 156
Joined: Tue Sep 01, 2015 9:44 am

Re: Amagami .ARC (PS2)

Post by Allen »

.arc is an archive file.
Inside the file is a collection of TIM2 images.
8BPP is the standard TIM2 format, 4BPP is a font file, the font uses 24 * 28 tiles.
Last edited by Allen on Mon Dec 02, 2019 4:51 am, edited 2 times in total.
Mysticus
Posts: 182
Joined: Sat Mar 02, 2019 3:24 pm

Re: Amagami .ARC (PS2)

Post by Mysticus »

Thank you!
But the extracted images are bright.
Do you know an alternative way?
Allen
Posts: 156
Joined: Tue Sep 01, 2015 9:44 am

Re: Amagami .ARC (PS2)

Post by Allen »

I found that I can view TIM2 images correctly with Noesis.
You can use the following script to unpack.

Code: Select all

#Game: Amagami .ARC (PS2)
#By Allen 20191202
#script for QuickBMS http://quickbms.com
#unpack tim2 images

get numFiles long
get indexChunkSize long
set skipsize long numFiles
math skipsize * 4
goto skipsize 0 SEEK_CUR

for i = 0 < numFiles
get type long
get hash long
get offset long
get size long
savepos next
goto offset
getdstring fourcc 4
if fourcc == "TIM2"
   set name i
   string name + ".tm2"
   log name offset size
endif
goto next
next i
Allen
Posts: 156
Joined: Tue Sep 01, 2015 9:44 am

Re: Amagami .ARC (PS2)

Post by Allen »

Mysticus wrote:Thank you!
But the extracted images are bright.
Do you know an alternative way?


I provide 2 methods,
1. Use quickbms script to unpack and use Noesis to view (but does not support tiles).
2. I just updated the conversion tool and it can be extracted correctly.

How to use the tool: Drag files to the program.

EDIT:
Update 4bpp tile format.