Skip to content

Instantly share code, notes, and snippets.

@camden-smallwood-zz
Created March 13, 2016 21:56
Show Gist options
  • Select an option

  • Save camden-smallwood-zz/58cd812c6477bc71173c to your computer and use it in GitHub Desktop.

Select an option

Save camden-smallwood-zz/58cd812c6477bc71173c to your computer and use it in GitHub Desktop.
using (var patchFile = File.Open("./maps/patches/tags.xdelta", FileMode.Open, FileAccess.Read))
using (var cleanFile = File.Open("./maps_ed/tags.dat", FileMode.Open, FileAccess.Read))
using (var moddedFile = File.Open("./maps/tags.dat", FileMode.Open, FileAccess.ReadWrite))
{
new Xdelta.Decoder(cleanFile, patchFile, moddedFile).Run();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment