Find Important Hex Edit Locations For Dead Island With DumpDI
Here is a windows command prompt application that I wrote to help you find important locations in your Dead Island GS. I call it DumpDI.
http://www.mediafire.com/?81ox388i6zq466x
When you enter DumpDI at a command prompt you should see this:
C:\Download\Game\DeadIsland\GS>dumpdi
This routine will take an unencrypted Dead Island Game Save file
and display everything that I have found it to contain.
Useage for DumpDI Version 1.00:
>DumpDI filename
C:\Download\Game\DeadIsland\GS>
when you run it the output could scroll off your screen so redirect the output to a file instead. I use x.txt. Here is what it looks like on my save_1~ GS:
C:\Download\Game\DeadIsland\GS>dumpdi save_1~ > x.txt
C:\Download\Game\DeadIsland\GS>
My Hex Editor of choice is HxD. It is available for free from:
http://mh-nexus.de/en/downloads.php?product=HxD
Before we look at the contents of the output of DumpDI stored in X.txt let me tell you of what to me seems obvious. However I understand it probably requires a little explanation to someone else.
There will be lines in it that look like this:
1234: <<<some text>>>
On the left you will see four hex values followed by a colon and on the right is what starts at that location. Often I have already stated it in a converted form. However if you examine things using HxD then starting at that location you will see the actual raw hex prior to any conversion algorithms.
The locations are not fixed. That is while they work on your current GS that you ran a DumpDI on. The moment you change the size of your GS through editing or playing the locations will most likely shift elsewhere.
For all items I use the following:
1234: 1 @000 WHT Some_Item Some_Mod, 1234FEDC, -1.000
Again on left we have 4 bytes followed by a colon. Yes this is still the location of first byte in this case for the item.
following that we have a 1. This can be any number and in most cases it is the quantity or ammo.
Then we have the upgrade level which will always be one of the following:
@000 = 0 = No Upgrade applied (fair)
@@00 = 1 = Upgraded Once (good)
@@@0 = 2 = Upgraded a second time (better)
@@@@ = 3 = Upgraded a third and final time (best)
???? = N = some other number, usually an indication of an error
Then we have WHT which is the items rarity however it is mostly applicable only to weapons. The rarity is as follows:
WHT = white = poor and very common
GRN = green = good and hard to find
BLU = blue = great and difficult to find
VIO = violet = excellent and extremely difficult to find
GOLD = orange = Legendary and most rare!
This is in turn followed by the Item name and then the Mod name followed by a comma.
The 8 hex bytes of Required Level are presented. It is important to note that the last nibble I.E. very rightmost 4 bits of rightmost byte in Required Level is Rarity. That is also followed by a comma.
The final value on the line is the Condition. For items this value is normally -1.000. If you examine the hex you will find a location that has BF 80 00 00 in it. That is the unconverted byte representation of a floating point number that is -1.000.
And now without any further interruption here are the contents of x.txt:
Filename In <save_1~>
Starting...
reading in file...
002C: <<<3 Strings>>>
ACT1A
HubChapter_1
auto_SP_RH_Sinamoi_Hut
0061: <<<Play As>>>
Type;Purna
006F: <<<Chapter 2>>>
0071: <<<Level 2>>>
0079: <<<Active Quest>>>
ACT1A_Sinamoi_Busy
008D: <<<Complete 8%>>>
0099: <<< 32 min 35 sec>>>
00D4: <<< Data Len 1 = 3367>>>
00D8: <<< Data Len 2 = 3363>>>
00E4: <<<10 UnHeld Weapon Items>>>
Loc Qty Upgrade Item Mod, Req Level, Condition
00E8: 1 @OOO WHT Melee_PaddleBattered None, 1145F400, 14.000
0114: 1 @OOO WHT Melee_BrassKnucklesLightGen None, 3385CC08, 35.012
0147: 1 @OOO WHT Melee_CrowbarGen None, 30B74408, 32.421
016F: 1 @@@O WHT Melee_KnifeDivingGen None, 3C5D3408, 18.124
019B: 1 @OOO WHT Melee_KnifeDivingGen None, 0AEF7808, 19.187
01C7: 2 @OOO WHT Powerup_Alcohol None, 00000000, -1.000
01EE: 1 @@@O WHT Melee_KnifeDivingGen None, 3C5D3408, 13.124
021A: 1 @OOO WHT Melee_BrassKnucklesGen None, 1D022808, 31.432
0248: 1 @@@@ WHT Melee_KnifeDivingGen None, 70D5D008, 25.552
0274: 1 @OOO WHT Melee_CleaverHomemadeGen None, 71205410, 13.544
02A8: <<<0 Jin's Inventory Items>>>
Loc Qty Upgrade Item Mod, Req Level, Condition
02B0: <<<20 Misc Items>>>
Loc Qty Upgrade Item Mod, Req Level, Condition
02B4: 3 @OOO WHT CraftPart_Nails None, 00000000, -1.000
02DB: 4 @OOO WHT CraftPart_Water None, 00000000, -1.000
0302: 3 @OOO WHT CraftPart_FlexibleHose None, 00000000, -1.000
0330: 3 @OOO WHT CraftPart_Magnet None, 00000000, -1.000
0358: 3 @OOO WHT CraftPart_Wire None, 00000000, -1.000
037E: 4 @OOO WHT CraftPart_Tape None, 00000000, -1.000
03A4: 2 @OOO WHT CraftPart_ElectronicScrap None, 00000000, -1.000
03D5: 2 @OOO WHT CraftPart_Belt None, 00000000, -1.000
03FB: 1 @OOO WHT CraftPart_Clamp None, 00000000, -1.000
0422: 1 @OOO WHT CraftPart_Deodorant None, 00000000, -1.000
044D: 1 @OOO WHT CraftPart_GasForLighter None, 00000000, -1.000
047C: 1 @OOO WHT CraftPart_Gear None, 00000000, -1.000
04A2: 1 @OOO WHT CraftPart_EngineParts None, 00000000, -1.000
04CF: 1 @OOO WHT CraftPart_BarbedWire None, 00000000, -1.000
04FB: 1 @OOO WHT CraftPart_Detergent None, 00000000, -1.000
0526: 1 @OOO WHT CraftPart_LemonJuice None, 00000000, -1.000
0552: 2 @OOO WHT CraftPart_Battery None, 00000000, -1.000
057B: 1 @OOO WHT CraftPart_Bolts None, 00000000, -1.000
05A2: 1 @OOO WHT CraftPart_Lighter None, 00000000, -1.000
05CB: 1 @OOO WHT CraftPart_SteelRod None, 00000000, -1.000
00000001 1
05F9: <<<3 Hold Slots>>>
Loc Qty Upgrade Item Mod, Req Level, Condition
05FE: 1 @@@@ WHT Melee_KnifeDivingGen None, 70D5D008, 18.552
062B: 1 @OOO WHT Melee_Fists None, 4BCC6800, -1.000
064F: 1 @OOO WHT Melee_HeavyPipe None, 2DCC5400, 20.000
0785: <<<Level 2 2nd Loc>>>
0786: <<<XP 3149>>>
1 078F 00000000 0
2 0793 00000000 0
0792: <<<Level 2 3rd Loc>>>
00 00
079C: <<<1 Nodes in Skill Tree(s)>>>
Loc Skill N/3 ZERO
07A0: 0029 1 0
07AC: <<<1 More Nodes in Skill Tree(s)>>>
Loc Skill N/3
07B0: 003A 1
0834: <<<4 collectables found>>>
Loc Hex Decimal
0838: 0000007B 123
083C: 000000A2 162
0840: 00000101 257
0844: 0000007C 124
<<<0 Quest Givers>>>
0858: <<<Checkpoint>>>
HubChapter_2_3_4_9
0874: <<<Cash $452>>>
0878: <<<Beyond This Point Lies The Unkown>>
j= 2169
save_1~ has 4,173 bytes in it
Re: Find Important Hex Edit Locations For Dead Island With DumpDI
I cant seem to get it working....
I can start my cmd.exe on its on so the problem doesnt seem to be there.....
At first my issue was a security blocking on the DumpDi.exe that my pc probably put on there since it was a custom made .exe
After removing that security from the .exe to allow it to operate.... the screen goes all black the cmd.exe seems to open up then it close right away before i can even move the mouse....
My guess is that it is probably incompatible somehow.... or I did not place it it the right folder.... should I install it in a specific folder in order for it to work or it can work from anywhere?
Re: Find Important Hex Edit Locations For Dead Island With DumpDI
Quote:
Originally Posted by
xMuRdoKx
I cant seem to get it working....
I can start my cmd.exe on its on so the problem doesnt seem to be there.....
At first my issue was a security blocking on the DumpDi.exe that my pc probably put on there since it was a custom made .exe
After removing that security from the .exe to allow it to operate.... the screen goes all black the cmd.exe seems to open up then it close right away before i can even move the mouse....
My guess is that it is probably incompatible somehow.... or I did not place it it the right folder.... should I install it in a specific folder in order for it to work or it can work from anywhere?
Create a shortcut to the program. On the shortcut click properties, you will see a target location for the program. Put the location to your cmd.exe before the actual target with /k. so it would be something like
C:\Whatever\whatever\cmd.exe /k "Target location"
Should clear up the problem if you do it correctly. Or you can just run cmd /k from the start menu. then go through a cd to get to the target location, either or.
Re: Find Important Hex Edit Locations For Dead Island With DumpDI
Oh THX for the trick lolokay!!
Unfortunately.... It does work but then after that msg;
''C:\Download\Game\DeadIsland\GS>dumpdi
This routine will take an unencrypted Dead Island Game Save file
and display everything that I have found it to contain.
Useage for DumpDI Version 1.00:''
I cant seem to do anything right...... Im really not familiar with those cmd prompts... :P
I tried different formula but cant seem to get anything from it.....
I tried writing down the whole path to both the exe and the save and i tried writing the path continuing from where the cmp.exe start me from... and nothing it always brings me back to that
initial path that was there from the begining and seems like I need to restart the dumpdi again.... :S
Re: Find Important Hex Edit Locations For Dead Island With DumpDI
Think you could provide me with the source? It may help me fix up my Dead Island editor, if not I understand 100%
Re: Find Important Hex Edit Locations For Dead Island With DumpDI
Quote:
Originally Posted by
kill_seth
Think you could provide me with the source? It may help me fix up my Dead Island editor, if not I understand 100%
You can download the source from:
http://www.mediafire.com/?tsjkc72tgq2wqu2
I wrote it in PowerBasic you can learn more about that language at:
http://www.PowerBasic.com
Essentially a lot of the work is done with Macro. Also it is a WIP! (work in progress). I have hope that by posting it for all to see that it somehow inspires someone (including kill_seth) to continue with your programming efforts and create remarkable things.
2 Attachment(s)
Re: Find Important Hex Edit Locations For Dead Island With DumpDI
Quote:
Originally Posted by
xMuRdoKx
Oh THX for the trick lolokay!!
Unfortunately.... It does work but then after that msg;
''C:\Download\Game\DeadIsland\GS>dumpdi
This routine will take an unencrypted Dead Island Game Save file
and display everything that I have found it to contain.
Useage for DumpDI Version 1.00:''
I cant seem to do anything right...... Im really not familiar with those cmd prompts... :P
I tried different formula but cant seem to get anything from it.....
I tried writing down the whole path to both the exe and the save and i tried writing the path continuing from where the cmp.exe start me from... and nothing it always brings me back to that
initial path that was there from the begining and seems like I need to restart the dumpdi again.... :S
You get that message when no filename is specified with the program. What you need to do is first place that program in a directory. I do not know what version of windows you are using but I am using Win 7. When I want to start a command prompt I use the Start menu to open All Programs and I open the Accessories where I find the command prompt.
Attachment 3771
I click on that and get a window that looks something like this:
Attachment 3772
I select that window and begin entering commands like HELP
C:\Download\Game\DeadIsland>Help
and press enter and get
For more information on a specific command, type HELP command-name
ASSOC Displays or modifies file extension associations.
ATTRIB Displays or changes file attributes.
::
:: more text with help on commands
:: and then another command prompt
::
C:\Download\Game\DeadIsland>
I placed both the DumpDI.exe program and my GS in a subfolder called GS so I will navigate to there with:
C:\Download\Game\DeadIsland>cd gs
C:\Download\Game\DeadIsland\GS>
Notice that the command prompt has changed. It is telling you that you are now in the GS subfolder.
Now I test that DumpDI works by first doing what you did using the command without a filename:
C:\Download\Game\DeadIsland\GS>dumpdi
This routine will take an unencrypted Dead Island Game Save file
and display everything that I have found it to contain.
Useage for DumpDI Version 1.00:
>DumpDI filename
C:\Download\Game\DeadIsland\GS>
Then I try it on one of my GS but first I check to see what I have with a DIR command:
C:\Download\Game\DeadIsland\GS>dir
Volume in drive C has no label.
Volume Serial Number is A8B6-E376
Directory of C:\Download\Game\DeadIsland\GS
11/01/2011 09:12 AM <DIR> .
11/01/2011 09:12 AM <DIR> ..
10/30/2011 04:51 PM 64,512 DumpDI.exe
09/21/2011 08:39 PM 10,058 save_0
10/30/2011 11:51 AM 5,045 save_0~
09/21/2011 08:42 PM 4,932 save_1
09/25/2011 12:49 PM 4,173 save_1~
5 File(s) 88,720 bytes
2 Dir(s) 223,606,829,056 bytes free
C:\Download\Game\DeadIsland\GS>
I will use DumpDI on my unencrypted GS called save_0~ to do that I enter:
C:\Download\Game\DeadIsland\GS>dumpdi save_0~
at the command prompt and hit Enter at which point I see:
Filename In <save_0~>
Starting...
reading in file...
002C: <<<3 Strings>>>
ACT1A
HubChapter_1
auto_SP_005_pos
005A: <<<Play As>>>
Type;SamB
0067: <<<Chapter 1>>>
0069: <<<Level 30>>>
0071: <<<Active Quest>>>
ACT1A_Sinamoi_Busy
0085: <<<Complete 8%>>>
0091: <<< 11 hrs 8 min 35 sec>>>
00CC: <<< Data Len 1 = 4261>>>
00D0: <<< Data Len 2 = 4257>>>
(and so on and so forth until we get back to the command prompt)
C:\Download\Game\DeadIsland\GS>
As the information may scroll off the screen I place it in a file instead with the following commands:
C:\Download\Game\DeadIsland\GS>dumpdi save_0~ > save_0.txt
C:\Download\Game\DeadIsland\GS>
The ">" character redirects the dumpdi program output to go to a file instead of displaying it on the screen. The "save_0.txt" could be any filename however you should put a ".txt" extension on it to be sure you can click on it in windows and be able to see the contents.
Re: Find Important Hex Edit Locations For Dead Island With DumpDI
An easier way for him would be to just make a new folder and have the program+the unencrypted save in the same folder, so he doesn't have to use cd and dir.
Re: Find Important Hex Edit Locations For Dead Island With DumpDI
Quote:
Originally Posted by
lolokay1
An easier way for him would be to just make a new folder and have the program+the unencrypted save in the same folder, so he doesn't have to use cd and dir.
Yes you are correct. Apparently I did not make that clear. Please put all the files in a single subfolder. Again I use GS. However I did do as you say and had put everything in one folder called GS. If you look in my previous post you should see:
Directory of C:\Download\Game\DeadIsland\GS
11/01/2011 09:12 AM <DIR> .
11/01/2011 09:12 AM <DIR> ..
10/30/2011 04:51 PM 64,512 DumpDI.exe
10/30/2011 11:51 AM 5,045 save_0~
Here I highlighted the important things and omitted the other files. But yes I have both DumpDI and unencrypted GS in the same folder. Thanks again for clarifying an important principle.
Re: Find Important Hex Edit Locations For Dead Island With DumpDI
I admit, I didn't even read your post throughout. Sometimes plain english is an easier explanation. =D
Re: Find Important Hex Edit Locations For Dead Island With DumpDI
can you edit damage and durability?
Re: Find Important Hex Edit Locations For Dead Island With DumpDI
Quote:
Originally Posted by
Darkness
can you edit damage and durability?
I will assume you mean the GS. No. Neither damage done by or durability of the weapon can be changed. They are not part of the GS info. However it is possible to edit Data0 if you JTag and that is another discussion in some other thread. Do a search on Dead Island Data0 to find them.