Quote
PatchFailedException in BGMain.exe expected hd0:\dialog.tlk got .\dialog.tlk
Which is strange, because I've already coded around the situation where the exe looks to already be patched - FileSystem.copy() has the following:
if(Arrays.equals(buff, oldVal) || Arrays.equals(buff, newVal)){
out.write(
newVal,
0,
buff.length
);
currentOffset += buff.length;
}
else{
throw new PatchFailedException(
source.getName(),
oldVal,
newVal
);
}











