tags:

views:

79

answers:

1

Hello,

I have a archive (I know its a game compression) and I am trying to figure out how it is compressed so I can add files to it using C#. It opens/works in 7zip, and winrar. But when I use ZipForge/ComponentAce archive reference it says Invalid File.

Any help?

  • Steve
A: 

Have you opened the file up in a binary editor to see if the first few bytes denote the format?

For example ZIP files have the header format given on here http://www.ta7.de/txt/computer/computer016.htm

What extension does the file have?

pjp
The first couple of bytes say PK (50 4B). The ending is .s2z (game file compression).
Steven
Also, if I rename the file to .zip I can do what ever I want with it. Maybe I could just rename it both ways, but I don't want to risk corrupting it.
Steven
Why do you need to modify the game data? Looks like it probably just standard PKZip so you're probably ok to rename it. Just create a backup and have a go.
pjp