Help files ARC Mega Man X4 Psx/Sat

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
carnage
Posts: 4
Joined: Thu Jan 07, 2016 12:40 am

Help files ARC Mega Man X4 Psx/Sat

Post by carnage »

Friends all right.
Help would you with a .arc file Megaman X4.
I know Biofat, makes the function to extract these files, your ma can not use this tool in Windows 8.1.
The texts use a table 16bit and LZ compression, do not know if it's LZS or LZ0.
I would be very grateful if someone get a script bms for the extraction of these files.

file header
Offset 0 1 2 3 4 5 6 7 8 9 A B C D E F

00000000 10 00 00 00 00 28 0C 00 A0 09 00 00 00 09 00 00 .....(...... ...
carnage
Posts: 4
Joined: Thu Jan 07, 2016 12:40 am

Re: Help files ARC Mega Man X4 Psx/Sat

Post by carnage »

Could anyone help me with these files?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help files ARC Mega Man X4 Psx/Sat

Post by aluigi »

carnage
Posts: 4
Joined: Thu Jan 07, 2016 12:40 am

Re: Help files ARC Mega Man X4 Psx/Sat

Post by carnage »

aluigi wrote:http://aluigi.org/bms/megaman_x4.bms


Aluigi you're a genius, thank you very much the same.
I tried to learn the bms but I could not see what people do with a great ease ..
I will do the test and contribute tools in Java or C #, thank you man.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Help files ARC Mega Man X4 Psx/Sat

Post by aluigi »

It's very simple, the format stores only the size of the files so we have to calculate the offset.
The offset of the file is aligned/padded at 0x800 (2048) so if our TOC (the table with the information of the files) terminates at offset 0x10 then the files will start at 0x800, while if it terminates at offset 0x920 it will start at 0x1000 and so on.
So get the size, dump the file at the current offset, add size to offset, align offset to 0x800 and continue.
That's all.
HyagoGow
Posts: 5
Joined: Fri Jul 07, 2017 1:01 pm

Re: Help files ARC Mega Man X4 Psx/Sat

Post by HyagoGow »

Hi. I know that this is old topic but could someone help me with this?

I used quickbms, load the megaman_x4 script and then selected an .ARC file. The output was many .DAT files.
What I should do with them now?

Thanks.