Sims 2, The .arc files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Andre Romhacker
Posts: 15
Joined: Tue Jul 25, 2017 9:27 pm

Sims 2, The .arc files

Post by Andre Romhacker »

I want to extract the files from the game The Sims 2 of PS2,
These are of the .arc format, I tried extracting them with
the sin_punishment_2.bms script but it did not work out.

binaries.rar
StreamThread
Posts: 54
Joined: Fri May 27, 2016 2:28 pm

Re: Sims 2, The .arc files

Post by StreamThread »

Code: Select all

get FAT long

goto FAT
get files long

print "TOTAL FILES: %files%\n--------------------------------------\n--------------------------------------\n"

for i = 1 to files
get unk1 long
get fat_offset long
get fat_size long
get fat_name string
get unk2 long
get unk3 long
savepos fat_cur

goto fat_offset
goto 0xC 0 seek_cur
get nameSz long
getDString fname nameSz
#get fname string
get size long
savepos offset

print "FILE %i%:\n Unknown: %unk1%\n FAT_offset: %fat_offset|h%\n Fullsize: %fat_size%\n FAT_name: %fat_name%\n Unknown: %unk2%\n Unknown: %unk3%\n Name: %fname%\n Size: %size%\n Offset: %offset|h%\n"
if fat_name != fname
print "Filename and FAT_Name not similar!\n"
endif

log fname offset size

print "--------------------------------------\n"

goto fat_cur
next i
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Sims 2, The .arc files

Post by aluigi »