marcrobledo / RomPatcher.js

An IPS/UPS/APS/BPS/RUP/PPF/xdelta ROM patcher made in HTML5.
https://www.marcrobledo.com/RomPatcher.js/
Other
726 stars 141 forks source link

Error using a BPS patch #6

Closed ze10 closed 5 years ago

ze10 commented 5 years ago

I tried to use the English translation patch (a BPS file) for Super Famicom Wars rom using the patcher, but I got this error. Am I doing anything wrong?

Uncaught RangeError: Offset is outside the bounds of the DataView at DataView.getUint8 (\) at MarcBinFile.readByte (RomPatcher.js:291) at BPS.apply (bps.js:82) at applyPatchFile (RomPatcher.js:140) at HTMLButtonElement.onclick ((index):65)

marcrobledo commented 5 years ago

That error was fixed some weeks ago in 9d85db3baa5d16936ada7755ff448f3dc2da3b17.

Make sure you are using rev20180926 or later (read the footer). Use Ctrl+F5 to force it to load the latest version. Your web browser might be probably loading an old cached version and isn't downloading the latest one for some reason, which also happened to me in Firefox (and I'm going to take a look asap!).

Are you using Firefox?