Hello,
Is there any simple C# source, to extract a single file from the Media.pk2 and add this again?
For Example what i mean with "simple" i found this to Read: pk2Reader.dll
Is there any simple C# source, to extract a single file from the Media.pk2 and add this again?
For Example what i mean with "simple" i found this to Read: pk2Reader.dll
PHP Code:
//Usage Example
pk2.pk2Reader reader = new pk2Reader(@"Path to Media.pk2");
byte[] chardata = reader.getFile("characterdata_5000.txt");
TextReader txtReader = new StreamReader(new MemoryStream(chardata));
Console.WriteLine(txtReader.ReadLine());
Console.Read();