Orions_Stardom Posted February 12, 2007 Share Posted February 12, 2007 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
Orions_Stardom Posted February 13, 2007 Author Share Posted February 13, 2007 Ok, the odd error was due to a stupid error in FileSystem.java whereby it reported that it found the required new value, instead of what it actually found. This bug was because I had mistranscribed the values for BG2 in CloneData.java . Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.