I'm trying to import a file using PK2Writer.dll but nothing is happend
here is the code:
and i try to change the path of GFx dll or write any name to test if the code is working or not but it give me Done if i wrote any name or invaild path
here is the code:
Code:
PK2Writer.Initialize(Environment.CurrentDirectory + @"\GFXFileManager.dll");
PK2Writer.Open(Environment.CurrentDirectory + @"\Media.pk2", "169841", 6);
PK2Writer.ImportFile(Environment.CurrentDirectory + @"Media\server_dep\silkroad\textdata\itemdata_25000.txt", "itemdata_25000.txt");
PK2Writer.Close();
PK2Writer.Deinitialize();
Console.WriteLine("Done");