CHecksum error when it was not enabled and now cant open method

Hi,

I was working with a method and made some changes and tried to save and it gave a checksum error (checksum was not enabled originally). I now an unable to open the method at all and get the following error. I know I have seen this before and there is a way to resolve, but forgotten how to solve. Any help appreciated as the last backup i have is vastly different for the version i know have.

1 Like

ok I think I remember. you open the .sub file in HSL editor and then comment out the line that matches the parse error code.

image

can anyone confirm?

Hi @DrDode,

In most cases, commenting out the line isn’t enough. Refer to this post for more information and several resolution options: [Solved] Check sum verification of file failed - #7 by Nat

Thank you,
Dan

1 Like

HI Dan,

Thanks for that. I had seen that post before and I could find nothing obvious in the HSL to correct.

I had a flashback overnight as to what I had done previously to fix. What I did to resolve in my case was to find the error in the HSL, copied the line to notepad and then delete the whole command from the HSL and save. If there were multiple changes since the last save you will have a to repeat opening up the method getting the HxPars error code and repeating the above.

Once all are addressed the method will open and in each of the lines there will be a blank HSL code insert in the position within the method. Then you can refer to the notepad file to reinsert the missing code, e.g.

// {{ 1975 1 0 β€œ33a3c52d_3416_46f6_99bb49ed8b54c308” β€œ{C1F3C015-47B3-4514-9407-AC2E65043419}”
strDialogueInputText = StrConcat2(strDialogueInputText, Translate(β€œ1\t\t\n2\t\t\n3\t\t\n4\t\tAMPure XP Beads\n5\t\tRSB”));
// }} β€œβ€

This allows that nothing is lost and you can recreate everything and get the method back to the previous state pretty quickly. Obviously making regular backups is best practice, but this method allows recovery in the cases when you may not have and you will not lose any hard work.

George.

1 Like