øA slickproductions.org /forum/index.php?PHPSESSID=dg9cbo6f5cfg2noj1ie8haqla2&action=printpage;topic=2340.0 e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index29d9-2.html slickproductions.org /forum/index.php?PHPSESSID=dg9cbo6f5cfg2noj1ie8haqla2&topic=2340.0 e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index29d9-2.html.z x n³h^ ÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ p… W OK text/html ISO-8859-1 gzip @øÕ W ÿÿÿÿÿÿÿÿ Wed, 11 Mar 2020 10:02:47 GMT 0ó° °® 0® P® €§² ð® n³h^ ø W
Print Page - FF4 SNES SRM Checksum
Board of Slick
Library of the Ancients => Final Fantasy IV Research & Development => Topic started by: stonerbot613 on February 11, 2017, 10:23:22 PM
Title: FF4 SNES SRM Checksum
Post by: stonerbot613 on February 11, 2017, 10:23:22 PM
Hello everybody, I was pointed here by the nice folks at ff6hacking.com. Maybe somebody here can help me out.
I'm trying to figure out the algorithm for generating the save game checksum for Final Fantasy II on SNES (or 4 however you look at it). I know the file is 8kB long and is divided into 4 equally spaced 2kB blocks. The checksum from what I gather is at the end of this block. I've tried sums of the words, XORs of the words, and I'm really sort of lost as to how it's computed. I found a tool by Lord J - FF4H version 3B that implements this. That's great, but I'd like to know the calculation behind it. From looking at his freely available source code for FF3H, it does look like it's more or less a simple sum of the words in each slot, XORd with all 1's at the end. I don't think FF4 is quite the same. I also found a tool by Zyrthofar on this website that implements this algorithm, but there's no source available.
Side note: I'm a programmer, so I'd like to make my own tool for fun as opposed to using one of the currently available tools that are out there.