Hello,
I'm trying to handle the files received from the downloadserver to the launcher. I have read Drew's guide here : [Only registered and activated users can see links. Click Here To Register...] and I understood most of the patching logic, but the implementation is not easy to understand because it's in C++.
I'm trying to implement the concept on a launcher using VSRO 1.88 downloadserver in C#. I reached the point where I could receive the data from the downloadserver and save it into a file. This is how it looks like:
[Only registered and activated users can see links. Click Here To Register...]
Method used :
Does anyone have a clue about decompressing the data? I tried Zlib and 7z decompressors, but they don't work.
The code I used for decompression :
Library used : [Only registered and activated users can see links. Click Here To Register...]
Cheers
I'm trying to handle the files received from the downloadserver to the launcher. I have read Drew's guide here : [Only registered and activated users can see links. Click Here To Register...] and I understood most of the patching logic, but the implementation is not easy to understand because it's in C++.
I'm trying to implement the concept on a launcher using VSRO 1.88 downloadserver in C#. I reached the point where I could receive the data from the downloadserver and save it into a file. This is how it looks like:
[Only registered and activated users can see links. Click Here To Register...]
Method used :
Code:
System.IO.File.WriteAllText("textfile.txt", Utility.HexDump(packet.GetBytes()));
The code I used for decompression :
Code:
ZLibCompressor.DeCompress(packet_bytes);
Cheers