lazy_ips icon indicating copy to clipboard operation
lazy_ips copied to clipboard

Error message

Open rcrx opened this issue 3 years ago • 3 comments

Received the message:
error reading offset

What does this mean and how to fix it?

rcrx avatar Sep 29 '22 00:09 rcrx

Please provide a link to your patch.

btimofeev avatar Mar 16 '23 06:03 btimofeev

I get this error with Sonic 1 Bugfixes here: https://www.romhacking.net/hacks/4956/

I was intending to use the base patch there, but I also get it with the optional palettes as well.

Estus-Dev avatar May 26 '23 02:05 Estus-Dev

As a side note, because I didn't check beforehand, my ROM does match the file to be patched. Doesn't look like it should matter from the code, but doesn't hurt anything to check.

Here's the output from my cartridge dump earlier today, it matches the expected CRC32:

OSCR HW5 V12.4

[+] Mega Drive/Genesis

[+] Game Cartridge


Cart Info
 
Name: SONICTHEHEDGEHOG
Size: 4 MBit
ChkS: 264A
Sram: None
 
Press Button...

[+] Read Rom


Saving to MD/ROM/SONICTHEHEDGEHOG/49/...
[*******************]
Internal checksum...OK
CRC32... F9394E97 -> Sonic The Hedgehog (USA, Europe).md

The patch file does start with PATCH and end with EOF. I'm digging into the code to try to understand what the patch lines should look like and why it's failing, but I'm sure you'd spot it quicker than I can.

I'm running this from Manjaro.

Estus-Dev avatar May 26 '23 02:05 Estus-Dev