Wednesday, 2024-04-24, 4:06 AM
Welcome, Anonymous | RSS
[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 1
  • 1
MCE - Discussion board » Undubs & Translations » File Research Center » *.lin Files (magna carta (unreal engine PS2))
*.lin Files
ムギDate: Sunday, 2013-11-03, 5:33 PM | Message # 1

Rank: Nerdy Presence
Messages: 203
Reputation: 2
Status: Offline
these archives seem to be multipart zlib compressed archives.
nothing really complicated on them aside the fact that they look messy when viewed as is :P

these files consist of multiple zlib compressed file segments.
atleast 2 variants are known to exist.

in Magna Carta, uncompressed segment is always 0x6000 in size.

the file has a 0x8 sized header per compressed segment:
0x00: Uncompressed Segment size
0x04: Compressed segment size

compression is standard zLib (sig=7801)

to extract, split into respective archives and decompress using any standard zLib unpacker.
after decompressing the segments, merge into one file with a tool of your choice
(windows cmd syntax: copy /b file1 + file2 + .... fileN full_file)

edit: attached an experimental unpacker tool.

- dumps contents of .lin file into <filename>_extracted folder
usage: delin.php <filename>

this tool splits given .lin file, decompresses the segments, and reassembles the segments back into one file
there is no filename support so the outputted file is named <lin_file_filename.dat>


.
Attachments: 7980107.png (127.9 Kb) · delin.rar (0.6 Kb)


 
MCE - Discussion board » Undubs & Translations » File Research Center » *.lin Files (magna carta (unreal engine PS2))
  • Page 1 of 1
  • 1
Search: