360haven works best with JavaScript enabled
Help with figuring out the checksum in this save...
Loading
Register
Results 1 to 5 of 5
  1. #1
    Developer
    Killermiles is offline
    Join Date : Sep 2011
    Posts : 144
    Array

    Help with figuring out the checksum in this save...

    I'm trying to write a save editor for the newly released PC version of Agarest Generations of war, and it was going well until I realised there's some kind of checksum on the save and so far I have not been able to figure out which algorithm it is. I believe its the last 4 bytes but not 100% sure.

    If anyone can offer help in figuring it, I would appreciate it.

    I have attached a save.

    Thanks :)
    Attached Files Attached Files

  2. #2
    Developer

    kill_seth is offline
    Join Date : Apr 2011
    Posts : 677
    Array

    Re: Help with figuring out the checksum in this save...

    It's a fairly easy hash, you just need to add up each uint32 till you reach the hash.


    public uint Compute(byte[] data)
    {
    uint sum = 0;
    for (int i = 0; i < data.Length - 4; i+=4)
    {
    sum += BitConverter.ToUInt32(new byte[] { data[i], data[i + 1], data[i + 2], data[i + 3] }, 0);
    }
    return sum;
    }

  3. The Following User Says Thank You to kill_seth For This Useful Post:


  4. #3
    JENGA MASTER SUPREME
    Emerald Lance

    Emerald Lance is offline
    Join Date : Dec 2010
    Location : Awesome Land
    Age : 33
    Posts : 1,834
    Array

    Re: Help with figuring out the checksum in this save...

    You're right that the hash is the last four bytes at the end. But it either doesn't match any 32-bit signature I have on hand (that is to say it isn't Adler32, checksum, or CRC32) or it doesn't read the whole file (either including or excluding the zeroed out hash bytes, I checked both). It could just be an addition hash. JizzaBeez released an awesome algorithm tool (here: http://www.360haven.com/forums/threa...lgorithm-tool/) and if your hash is a standard one then his tool WILL find it. Otherwise, somebody will have to crack the executable, and that's hard work.
    Downloads : 22 || Uploads : 0 || Rep Power : 6812 || Posts : 1,834 || Thanks : 436 || Thanked 633 Times in 307 Posts


    Quote Originally Posted by SaiyanPrince302, commenting on how to become a Super Saiyan,
    "I know where these guys are going, but in all seriousness, just trying to imagine loved ones being killed almost never works. Be a man and travel into space and shoot at asteroids until you get yourself in an actual life threatening situation."
    --Gamefaqs.com

  5. The Following User Says Thank You to Emerald Lance For This Useful Post:


  6. #4
    Developer
    Killermiles is offline
    Join Date : Sep 2011
    Posts : 144
    Array

    Re: Help with figuring out the checksum in this save...

    Quote Originally Posted by kill_seth View Post
    It's a fairly easy hash, you just need to add up each uint32 till you reach the hash.


    public uint Compute(byte[] data)
    {
    uint sum = 0;
    for (int i = 0; i < data.Length - 4; i+=4)
    {
    sum += BitConverter.ToUInt32(new byte[] { data[i], data[i + 1], data[i + 2], data[i + 3] }, 0);
    }
    return sum;
    }
    What can I say, it's simple and it works! Thank you so much :)


    Thanks also to Emerald Lance for taking the time to look for me :)

  7. #5
    Junior Member
    Drinkie is offline
    Join Date : Oct 2013
    Posts : 2
    Array

    Re: Help with figuring out the checksum in this save...

    When you manage to get the editor up and running any chance we'll be able to modify our alignment, items, EP and TP?

 

 

Similar Threads

  1. Replies: 1
    Last Post: 03-30-2013, 11:51 PM
  2. Replies: 8
    Last Post: 03-23-2013, 01:01 AM
  3. Sonic Adventure 2 Chao Garden save checksum help
    By KingBrett in forum Xbox 360 Modding Discussion
    Replies: 3
    Last Post: 12-18-2012, 04:28 AM
  4. Replies: 13
    Last Post: 04-02-2012, 07:23 PM
  5. can i please have help figuring out if size modding is easy or hard
    By lilbombtek7 in forum Xbox 360 Modding Discussion
    Replies: 5
    Last Post: 01-14-2012, 02:52 PM

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

About 360haven

    360haven is an Forum Devoted To Game modding Fans from all over the world.

    An Awesome Community of Xbox 360 Gamers, Modders and Developers who Create & Share Tutorials, Applications, Gfx, Trainers and Gamesaves.

    A haven for the l33t.
    A scarce paradise for modders.

★★★★★¯\_(ツ)_/¯