Jump to content

[5.1] PatchFailedException in bgmain.exe


Orions_Stardom

Recommended Posts

Now that I got exception reporting working again, I've convinced 5.1.2 to give me the following error:

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
);
}

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...