Issue with Hex Editing Blitz: The League

Avostear Oct 29, 2012

  1. Avostear

    Avostear Newbie
    0/47

    Joined:
    Jun 5, 2012
    Messages:
    135
    Likes Received:
    8
    Trophy Points:
    0
    Gender:
    Male
    Location:
    "All legit... so far"
    Console:
    Xbox
    Okay this will be my first hex edit if I can ever get it to work.

    I am trying the basic mod of increasing cash (eventually would love to mod player stats) but for some reason it keeps damaging my save. Here is what I am doing:

    1. Copy save to USB
    2. Extract save using 360Rev
    3. Open save using HxD
    4. Found 132000 (current cash) and changed value to 5000000 HEX
    5. Save
    6. Rehash and Resign with both Modio and another time 360Rev
    7. Inject

    and... Damaged Save. I have tried doing it to the basic save and the extracted Profile and both times I get a damaged save.

    I know it is asking a lot but any help would be appreciated and a video would kill it.
     
  2. Avostear

    Avostear Newbie
    0/47

    Joined:
    Jun 5, 2012
    Messages:
    135
    Likes Received:
    8
    Trophy Points:
    0
    Gender:
    Male
    Location:
    "All legit... so far"
    Console:
    Xbox
    Any help out there, should I load my save?
     
  3. XPGCaboose

    XPGCaboose XPG Lifer TeamXPG
    155/188

    Joined:
    Aug 26, 2009
    Messages:
    6,016
    Likes Received:
    710
    Trophy Points:
    155
    Gender:
    Male
    Location:
    California, USA
    Console:
    Xbox
    you can upload your save but it probably has a checksum on the save which is why it become corrupted after modding it.
     
  4. Avostear

    Avostear Newbie
    0/47

    Joined:
    Jun 5, 2012
    Messages:
    135
    Likes Received:
    8
    Trophy Points:
    0
    Gender:
    Male
    Location:
    "All legit... so far"
    Console:
    Xbox
    Is there a way around that?
     
  5. XPGCaboose

    XPGCaboose XPG Lifer TeamXPG
    155/188

    Joined:
    Aug 26, 2009
    Messages:
    6,016
    Likes Received:
    710
    Trophy Points:
    155
    Gender:
    Male
    Location:
    California, USA
    Console:
    Xbox
    figure out the checksum and fix it. other than that no.
     
  6. Avostear

    Avostear Newbie
    0/47

    Joined:
    Jun 5, 2012
    Messages:
    135
    Likes Received:
    8
    Trophy Points:
    0
    Gender:
    Male
    Location:
    "All legit... so far"
    Console:
    Xbox
    Any tutorials on checksums? Are there any secondary programs I need, right now I have 360Rev and Hex Workshop.
     
  7. XPGCaboose

    XPGCaboose XPG Lifer TeamXPG
    155/188

    Joined:
    Aug 26, 2009
    Messages:
    6,016
    Likes Received:
    710
    Trophy Points:
    155
    Gender:
    Male
    Location:
    California, USA
    Console:
    Xbox
    not from me. i don't know how to figure out some of these checksums. you can try and ask c0ma or slyfuldragon. they might be able to point you in the right direction.
     
  8. Sh

    Shadowsan Newbie
    0/47

    Joined:
    Mar 31, 2012
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    Console:
    Xbox
    Ok.

    So, so far i've worked out that:

    Offset D6DC, blocks D6DC-D6DF are responsible for the initial cash info in the 'header' of the campaign save for slot 1.
    Offset DF7C, blocks DF7C-DF7F are responsible for the initial cash info in the 'header' of the campaign save for slot 2.

    Followed by:

    Offset E8FC, blocks E8FC-E90F are responsible for the 'cashInfo' of the saves, up to a maximum of 5 save slots. So for instance, slot 1 is E8FC-E8FF, slot 2 is E900-E903, and so on.

    Now editing these values is all well and good, and rehashing is easily done. However, on attempting to load the save, you effectively get a hang and it goes nowhere.

    The only clue I can see that is obvious is preceding the initial header item for the cash info, there is an 8 block hex value that I can only assume is some sort of hash maybe?

    I.e. not an internal STFS hash (which are regenerated and obviously passes the corruption test when using 360 hash block calculator), but a hash within the game of the values of the cashinfo you're trying to pass to it. Call it a sanity check, if you will to attempt to stop us tinkering. Also there is a secondary check that compares the 'cashInfo' section to the 'header' section - as just editing one or the other doesn't work either. ;)

    So, what i'm presuming is that there is a sanity check for the 'header' of the save slot, and a second check to confirm that the 'cashInfo' section matches the header. If either of these checks fails, you don't get to load your save.

    Now. Time for some hex:

    Code:
    00 00 00 00 00 03 13 12 01 00 00 09  |  00 0C 25 60
    
    This is an example of the 'header' section of a save slot. The second value after the pipe is the cash value, However i'm wondering how the preceding hex is relevant to that value...

    Any ideas?

    Also, the file attacher has a 500K upload limit, but the file itself is 552K which makes this a bit of a showstopper for sharing save info...
     
  9. Sh

    Shadowsan Newbie
    0/47

    Joined:
    Mar 31, 2012
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    Console:
    Xbox
    Scratch that. After looking at the different slots, it just looks to be a slot reference. Which means it's referenced elsewhere.

    The search continues.

    On a separate note, I think i've found the roster info for slot 1 and slot 2 - I might play with that as it seems editing money is a bit of a *****.

    I _could_ just spend some cash, save, spend some more, save, and work out what the diffs are between the two as to work out where the cashinfo and the header section are referenced in the save I guess...

    ...Hmmm.
     
  10. Avostear

    Avostear Newbie
    0/47

    Joined:
    Jun 5, 2012
    Messages:
    135
    Likes Received:
    8
    Trophy Points:
    0
    Gender:
    Male
    Location:
    "All legit... so far"
    Console:
    Xbox
    I don't know if I am any help, this was my first time editing a game and after failing about 20 times... I gave up. I am still looking for a way to mod cash and have posted a bounty here:

    http://www.xpgamesav...742#entry302742

    Maybe spread word over there, I think this thread is dead.
     

Share This Page

Close