Checksum. If you attempt to hack the file without storing the correct checksum afterwards, your game will fail to load! Fortunately, the checksum algorithm is a relatively simple one. After clearing the checksum field, you add up the values of all the bytes in the file, rotating the running total one bit to the left before adding each byte. Then store the result in this field. Thanks go to the Shadowmaster for publishing the checksum code.
This stuff takes some digging, believe me
How that translates into code is beyond me, but hey, hopefully it can help![]()
private uint calculateChecksum(byte[] fileBytes)
{
uint hexTest = 0x80000000;
uint checksum = 0;
// clear out the old checksum
fileBytes[12] = 0;
fileBytes[13] = 0;
fileBytes[14] = 0;
fileBytes[15] = 0;
foreach (byte currentByte in fileBytes)
{
if ((checksum & hexTest) == hexTest)
{
checksum = checksum << 1;
checksum = checksum + 1;
}
else
{
checksum = checksum << 1;
}
checksum += currentByte;
}
return checksum;
}
Well it translates to that. :smiley: I'm more curious as to the digging that was involved I guess. I guess Shadowmaster would be the one to track down?
Version: 1.11 save file
Error: unable to load the string tables
Error: unable to load the data table ATMA_acts;
Error: unable to load the data table ATMA_waypoints;
Error: unable to load the data table ATMA_quests;
Error: unable to load the data table ATMA_queststates;
Error: unable to load the data table ATMA_bodylocs;
Error: unable to load the data table ATMA_colors;
....
Error: unable to load the data table experience;
Error: unable to load the data table skills;
Error: unable to load the data table charstats;
Failed to load tables
Failed to analyze savegame
Unable to load character file
I've been stash sorting Randall/Silo. Expect lots of d'oh posts on your Sourceforge site.
I have to say that I managed to separate the Uniques/Sets Giveaway stash into one stash of Uniques and one stash of Sets in about 20 seconds. And that original stash was 1900 items. I *really* wouldn't have done that with ATMA.
:thumbsup:
I'm not sure what verison of java you used for gomule and maybe its my system...but trying to run it doesn't seem to like me
it seems to be having problems finding the text files (least thats what I'm getting from the console...) I 'm going to try on another system to see if the results are the same later.
I have some troubles reading this.
But it seems to indicate you have troubles starting GoMule.
GoMule can be run with all versions of Java starting from the version 1.4.
I have run GoMule successfully with JDK 1.4, 1.5 and 1.6 on Win98, W2K, XP, Vista and Linux (Redhat Fedora release).
Randall
@Volanare - Read this, follow the instructions then use the GoMule jar icon.