360haven works best with JavaScript enabled
Dead Island Learn to Hex Edit and Recover Your Stuff from a Corrupt GS - Page 2
Loading
Register
Page 2 of 3 FirstFirst 123 LastLast
Results 9 to 16 of 22
  1. #9
    reppoHssarg

    Re: Dead Island Learn to Hex Edit and Recover Your Stuff from a Corrupt GS

    Quote Originally Posted by xMuRdoKx View Post
    I have came across another interresting thing regarding skills... havent had the chance to try it yet with work and all but right before the skill section starting with 00 00 00 05 00 00 00 zz , where zz seems to be the amount of skills unlocked, there seems to be another section that has something to do with the skills... tho they dont seem to put the skills in the same order as the other section wich was placing them in the order you unlocked them but this time their format is xx 00 yy 00 00 00 00 00
    xx seem to be a number corresponding to the skills (tho I havent yet figured out if they are in the same order as the skills in the next section) and yy is the amount of pts in that skill.
    That also led me to another interresting thing, that section (wich I called just as a personnal reference skill check) start with 00 00 00 04 00 00 00 zz in wich zz is again the amount of unlocked skills!
    Then I started scrolling up and what do I see, another section starting with 00 00 00 03 (dont know whats there tho), and another small one starting by 00 00 00 02 (then again dont know whats in there but this one always start right after the item section about 2-3 bytes after the last item comes the 00 00 00 02), so my guess is that the items are 00 00 00 01 and what comes before would be 00 00 00 00......
    I dont know if that info is gonna be of any use to you but I just thought I could share it since someone might have use for it....
    As for me Im still trying to figure out how to make modification to a save by adding or removing bytes without have the file going corrupt,,,,
    I have looked up those len1 and len2 long you mention in the other post, but couldnt quite find a formula to make anything of it....
    If I could fing how to add or remove bytes w/o save corruption, I could probably do w/e I wish for with my save x_x or almost!!
    They might be something like a key. That is a value that identifies a section of code. However I do not know if it is because these things are in a collection or merely a type of object. I do know that the language it was written in is Java. However I have not used Java much and most surely have not examined how it creates the GS other than what we see in a DI GS. I have made compilers and de-compilers and disassemblers and such in my life so I am familiar with some forms of data organizations. I am familiar with linked lists and various tree structure and it seems like that is what they use for skills. It keeps growing as you add new skills. However that extra zero you observed seems to be just that. I have not yet found a GS where it is always preceeded with a key of 4 and issue an error if it is not:
    Click image for larger version. 

Name:	DumpDIskills.jpg 
Views:	9 
Size:	20.8 KB 
ID:	3791
    As my last Comment indicates each skill seems to always be:

    1st long is unique ID of who's and what skill it is.
    2nd long is 1, 2 or 3 (1of 3, 2of 3, 3 of 3 but could also be 1 of 1)
    3rd long is ALWAYS zero.

    Formula for adjusting Data Len 1 & 2 if you add bytes:

    N = number of bytes added to GS
    DL1 = current value in Data Len 1
    DL2 = current value in Data Len 2

    NwDL1 = value to replace DL1 with
    NwDL2 = value to replace DL2 with

    NwDL1 = DL1 + N
    NwDL2 = DL2 + N

    Of course you must do the calculation either in HEX or convert DL? from hex to decimal and add N to it then convert that sum back to hex. Easy if you have Excel or a calculator provided with Win 7 in the Accessories folder (same place you find command prompt).

    Using the Win 7 calculator to find new DL1 example.
    1. Open calculator.
    2. Change View to Programmer.
    3. In lower left select Dword for long.
    4. On left select Hex radio button.
    5. Enter your DL1 hex value.
    ABCD1234
    6. Select Dec radio button to convert it to decimal.
    -1412623820
    7. Add your N (for an example lets use 160 and each keystroke)
    + 1 6 0 =
    8. Upon hitting the equals you should see:
    -1412623660
    9. Convert this back to hex by selecting the Hex radio button.
    Click image for larger version. 

Name:	HexCalc.jpg 
Views:	2 
Size:	17.3 KB 
ID:	3792
    which will look like this in hex edit:
    AB CD 12 D4
    10. This is an example of a value you need to replace your DL1 with (DL2 will be different)
    BTW if you remove bytes then formula becomes:
    NwDL1 = DL1 - N
    NwDL2 = DL2 - N
    Last edited by reppoHssarg; 11-03-2011 at 01:00 AM. Reason: Added minus formula for DL1 & DL2

  2. #10
    xMuRdoKx

    Re: Dead Island Learn to Hex Edit and Recover Your Stuff from a Corrupt GS

    Quote Originally Posted by reppoHssarg View Post
    Formula for adjusting Data Len 1 & 2 if you add bytes:

    N = number of bytes added to GS
    DL1 = current value in Data Len 1
    DL2 = current value in Data Len 2



    NwDL1 = value to replace DL1 with
    NwDL2 = value to replace DL2 with

    NwDL1 = DL1 + N
    NwDL2 = DL2 + N

    Of course you must do the calculation either in HEX or convert DL? from hex to decimal and add N to it then convert that sum back to hex. Easy if you have Excel or a calculator provided with Win 7 in the Accessories folder (same place you find command prompt).

    Using the Win 7 calculator to find new DL1 example.
    1. Open calculator.
    2. Change View to Programmer.
    3. In lower left select Dword for long.
    4. On left select Hex radio button.
    5. Enter your DL1 hex value.
    ABCD1234
    6. Select Dec radio button to convert it to decimal.
    -1412623820
    7. Add your N (for an example lets use 160 and each keystroke)
    + 1 6 0 =
    8. Upon hitting the equals you should see:
    -1412623660
    9. Convert this back to hex by selecting the Hex radio button.
    Click image for larger version. 

Name:	HexCalc.jpg 
Views:	2 
Size:	17.3 KB 
ID:	3792
    which will look like this in hex edit:
    AB CD 12 D4
    10. This is an example of a value you need to replace your DL1 with (DL2 will be different)
    BTW if you remove bytes then formula becomes:
    NwDL1 = DL1 - N
    NwDL2 = DL2 - N
    -_- .... I cant believe it was THAT simple.... I was searching way to far! XD
    then again with the multitudes of test I did I could never come to that simple formula as starting a new character and from the start doing a save, then another save with the same character on wich I had just gotten the 1st herald.... then reload initial save picked up just one id, the same for tape, mod(tho i needed to complete the first quest, but I wasnt rellying only on that save so... didnt matter much for time being) weapon, then duping that same weapon to have a double then a third.... and still could never come to that simple formula for some reason...
    I tried adding, subtracting, multiplying, dividing.... each len individually then together and never did it come to me that simply....
    I even tried it again after you gave me the formula and I was always couples of bits off...
    weird but then, I think it made me realize 2 things, probably every single act you perform in game (even each steps you take while walking) has an impact on the gamesave, thus the reason why I could never get that formula right...
    And this mean that all my trials and error to try and find that formula were pointless as they were flawed in the first place since each time I was reloading a save to make some changes, it was changing way more than I was anticipating...
    What I would have needed to do is do those change in the hex file itself then try to load it each time I changed something to see if I can get it to load without save corruption.
    Trying different formula each and every time on the same modification until I can get it to load before trying with different change, in order to get that formula correctly in the first place.

    Wow thx for telling me that now, I'll be able to move on to trying some other things like capping all skills, adding removing items, switching characters skills...
    By the way I did try after you gave me the formula even tho I was always off with the calculation, I figured my saves I use to test were probly flawed for some reason (and turns out I was right about that) and it worked, I could place every single collectibles
    on my character that had absolutly none, in the order I wished them to be too.
    So you and lolokay were correct about those collectibles addresses and they are indeed in order as one of you said id1= 00 00 00 16 id2= 00 00 00 17 and so on.... same with herald and tape.
    As for lolokay mod list, it was all good!
    So now next thing ill try besides adding stuff is modding weapon for fun purpose like damage, force, durability ... if it can be done of course. But from what I read I think it is doable! :D
    So thx again for all that info!!

  3. #11
    reppoHssarg

    Re: Dead Island Learn to Hex Edit and Recover Your Stuff from a Corrupt GS

    Quote Originally Posted by xMuRdoKx View Post
    -_- .... I cant believe it was THAT simple.... I was searching way to far! XD
    then again with the multitudes of test I did I could never come to that simple formula as starting a new character and from the start doing a save, then another save with the same character on wich I had just gotten the 1st herald.... then reload initial save picked up just one id, the same for tape, mod(tho i needed to complete the first quest, but I wasnt rellying only on that save so... didnt matter much for time being) weapon, then duping that same weapon to have a double then a third.... and still could never come to that simple formula for some reason...
    I tried adding, subtracting, multiplying, dividing.... each len individually then together and never did it come to me that simply....
    I even tried it again after you gave me the formula and I was always couples of bits off...
    weird but then, I think it made me realize 2 things, probably every single act you perform in game (even each steps you take while walking) has an impact on the gamesave, thus the reason why I could never get that formula right...
    And this mean that all my trials and error to try and find that formula were pointless as they were flawed in the first place since each time I was reloading a save to make some changes, it was changing way more than I was anticipating...
    What I would have needed to do is do those change in the hex file itself then try to load it each time I changed something to see if I can get it to load without save corruption.
    Trying different formula each and every time on the same modification until I can get it to load before trying with different change, in order to get that formula correctly in the first place.

    Wow thx for telling me that now, I'll be able to move on to trying some other things like capping all skills, adding removing items, switching characters skills...
    By the way I did try after you gave me the formula even tho I was always off with the calculation, I figured my saves I use to test were probly flawed for some reason (and turns out I was right about that) and it worked, I could place every single collectibles
    on my character that had absolutly none, in the order I wished them to be too.
    So you and lolokay were correct about those collectibles addresses and they are indeed in order as one of you said id1= 00 00 00 16 id2= 00 00 00 17 and so on.... same with herald and tape.
    As for lolokay mod list, it was all good!
    So now next thing ill try besides adding stuff is modding weapon for fun purpose like damage, force, durability ... if it can be done of course. But from what I read I think it is doable! :D
    So thx again for all that info!!
    Everything you did was worthwhile and applicable to your next GS in some other game. Though those other things did not work on DI GS one of them might on a different game. The important concept is to minimize what you do between saves and identify what changes, even if you do not know why it is changing! Eventually a pattern appears that is predictable. With luck you find some locatable variables which you can experiment with.

    Much of the things you want to do for fun require a different level of modding called jtag. Since my interest lies just with the GS I am unable to help you there. You will find info on jtag and Data0 that needs to be edited elsewhere in a different forum category such as:
    http://www.360haven.com/forums/forum...oit-Discussion

  4. #12
    Darkassailant46

    Re: Dead Island Learn to Hex Edit and Recover Your Stuff from a Corrupt GS

    Thank you for this post, helped me fix a corrupted file

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


  6. #13
    reppoHssarg

    Re: Dead Island Learn to Hex Edit and Recover Your Stuff from a Corrupt GS

    Quote Originally Posted by Darkassailant46 View Post
    Thank you for this post, helped me fix a corrupted file
    I appreciate your letting me know that!

  7. #14
    xMuRdoKx

    Re: Dead Island Learn to Hex Edit and Recover Your Stuff from a Corrupt GS

    Well seems like after much testing and fun I came to some conclusion!! :D
    I was right about the skill check (or key as you called them if I remember right), they were the reason why my modification to skill werent working!!
    I Now can succesfully create any character i wish with ALL skill capped, and not only that i can make em all lvl 100 if i want....
    Even more fun I can give any skill to any character!! XD
    Hell I even made a Logan with every single skill from every characters... lol
    My hp line is very long.... and so is my stamina one, ill never run outta stamina again XD...
    Tho the skill tab in the menu isnt pretty with ALL skills in it and its not very navigable, not to mention that most of the skills appears as tho no pts are spent on them i verified and they are indeed working for my character!!
    My logan has regenerative HP, can do the tackle move and the jump attack from Xian! so much fun!!!

    I also tried modifying weapons tho that wasnt a success, changing name seems to corrupt the game save, I figure its only natural as its probly basicly making the game think you have a weapon that does not exist....crash
    As for modding those weapons damage, well havent got around to that but i guess its only a matter of messing around in the long that impact its rarity and quality I suppose!

    I've compiled so much info on that game now I listed all skills id's and keys,
    All misc. items, collectibles too, all legendary weapon (maybe except one that that supposedly exist but very few have seen)
    There is still much thing within the save im unsure of but... most of it istn important anyway!!
    I did try to change the character id from a save to see what was the result.... crashed the game, I was trying to find a shortcut to, lets say give all of Sam B skills to Logan.
    I do have a prety good idea about how mission progression work (lots of FF in area that I suspect being some sort of completed mission section) but then again its not all that important to me.
    Anyway just came to say how was my modding going and its going very well!!
    THX to you reppoHssarg and lolokay too for much info/ tutorials/ help ...

    PS; come to think of it.... I wonder if with all the info I have gathered in wrote down in txt file, I could be of help to those trying to make those save editors..... there is alot of adresses in there that they could use i supose...

  8. The Following User Says Thank You to xMuRdoKx For This Useful Post:


  9. #15
    xMuRdoKx

    Re: Dead Island Learn to Hex Edit and Recover Your Stuff from a Corrupt GS

    Quote Originally Posted by reppoHssarg View Post
    Everything you did was worthwhile and applicable to your next GS in some other game. Though those other things did not work on DI GS one of them might on a different game. The important concept is to minimize what you do between saves and identify what changes, even if you do not know why it is changing! Eventually a pattern appears that is predictable. With luck you find some locatable variables which you can experiment with.
    http://www.360haven.com/forums/forum...oit-Discussion
    It was the case with the skill keys, I didnt really go for trials and errors with that nor did i try many different calculation just like I did with len1 and len2 to find the formula (where I cracked my skull in half to find while it was so obvious :P
    I though about those len1-2 and figur it was probly simple like that... turns out I was right, after looking at the various keys for couple min (I had placed pts in just the skills necessary to get those 1 pts skill in a straight line using 3 on those i could and 1 on the others that were 1pt max, just to identify in the game save the 1 pt skills so that itd be a start) but then I saw patern and I decided to write down those skill adresses in a text file, after I was done I looked at the keys and it just jumped in my face it was -11 (in hex) the skill id - 11 (hex number) gives you the skill key id!! And so with that I could mess around with those skills!!

  10. #16
    lolokay1

    Re: Dead Island Learn to Hex Edit and Recover Your Stuff from a Corrupt GS

    That sounds very interesting, adding other character skills to a character. I haven't worked on a GS in a while because I've been fairly busy but, this seems like a good reason to jump back into one. I just need to figure out what you did.

    EDIT: I've managed to replicate your adding different character skills to different players. Still have that txt file that has the names off all the skills? If not, I guess I can manage to scrounge up that list

    EDIT2: I was just adding some skills I thought I'd find useful to my character and now I'm getting 300,000+ XP per kill hahaha
    Last edited by lolokay1; 11-05-2011 at 04:53 AM.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. {HELP}I Need To Learn How To Hex Edit Diablo 3 Xbox 360
    By Dim in forum Xbox 360 Modding Discussion
    Replies: 3
    Last Post: 10-16-2013, 08:10 PM
  2. Dead Island Game Save Hex Edit Question
    By BrayWyatt in forum Xbox 360 Game Saves
    Replies: 0
    Last Post: 01-20-2012, 11:45 PM
  3. Dead Island Game Save Hex Edit Question
    By BrayWyatt in forum Xbox 360 Modding Discussion
    Replies: 0
    Last Post: 01-13-2012, 10:46 PM
  4. Find Important Hex Edit Locations For Dead Island With DumpDI
    By reppoHssarg in forum Xbox 360 Modding Programs
    Replies: 11
    Last Post: 11-15-2011, 07:46 PM
  5. Need help Corrupt dead island save after 1.8 editor
    By Zackmb2 in forum Xbox 360 Modding Discussion
    Replies: 6
    Last Post: 10-25-2011, 06:52 AM

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.

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