Okay, I have been using WillowTree since Knoxx, and it has always worked great. I know the problem was caused in game, but onto the detalis. I was playing for a few hours with a friend in a private game and everything worked fine. But, once I extracted my 360 save to my computer to change a few guns and my money I get the error Values outside of Range, Please set to 2147483647, and the picture showed my level 69 and my xp 2147483647. I know this is normal, because it was set to where willow tree itself can't set the xp to that anymore due to complaints and complications. Anyways, after that error it just says "Could not open Save". I checked it in HxD, and it appears that my character information is after my guns and items, basically at the end of my save so I guess that is causing the problem. I do not know how or why my save would be like this, so if anyone can help here is the link to the save: http://www.megaupload.com/?d=VKPYGEIG
This is by far my best character so any help would greatly be appreciated. If you need anymore info about it let me know. Peace :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Ok I had a look at your save. First off I couldn't even load it with Modio 3.0. I don't know if this is a bug in Modio or if the package file was corrupted in some way. Anyway, since I couldn't use that I used Le Fluffie to extract the SaveGame.sav file from inside the package. Here's a repaired version in its internal SaveGame.sav format. You'll need to do steps 6-8 (below) to get it to work on your Xbox 360 again:
What I found was wrong is that there is a variable which WillowTree calls FinishedPlaythrough1 that is usually 0 or 1 but in your case it was 0x7FFFFFFF (-1) so WT# thought there was an error and refused to load it. The game may consider this the "Current Playthrough" or "Playthrough Identifier" or something like that.
Its possible an abnormal value was caused by you editing the character with a hex editor and setting the wrong value thinking it was the character's cash setting since the value for cash is the value right before it in the save file and that was also set to 0x7FFFFFFF which is not even a legal number in the current version of WT#. It also may be that there is some condition in the game in which it can be set to a number other than 0 or 1. I have looked at a many savegame files and never seen a number other than 0 or 1 here. I have completed both playthroughs and this number never became 0x7FFFFFFF for me or any save that anyone has sent me but I have not finished everything in the Knoxx DLC so it is conceivable that it could be changed if you accomplish some goal there. It also may have been changed by some third-party expansion possibly. At any rate, it must be either 0 or 1 for WillowTree to work.
What I did to fix it is just step through WT# in Visual Studio until I found the spot that it read the 0x7FFFFFFF and changed it to 1 in memory to keep the error from occurring then let WT# finish loading it then I saved it back to disk, but if you are not a programmer and don't have the source code for WT# and have Visual C# 2010 installed then in order to fix a problem like this you would need to:
1) Extract the SaveGame.sav file from inside Save00001.sav using Le Fluffie (or another such program). As I said Modio did not work on yours but Le Fluffie does. Once the file is fixed and saved with WT# the resultant file does load fine in Modio 3.0.
2) Open 'SaveGame.sav' in a hex editor (I used HxD, but there are many others).
3) Locate the value of the FinishedPlaythrough1 variable in the file with your hex editor. It is the four bytes that lie exactly12 bytes before the first character of the first skill string which I think always starts with the text "gd_skills_common". It is very close to the start of the file.
4) Change the value of the four bytes from 7F FF FF FF to 00 00 00 01.
5) Save the file over the old SaveGame.sav.
6) Load the SaveGame.sav in WillowTree# version 2.2.1 or later.
7) Change the file format to Xbox 360 in the same menu you clicked to open the file. You may be able to load your Xbox profile id from your non-working Save0001.sav or you may have to get it from a different still-working savegame.
8) Use the Save As button and save it over your old Save0001.sav.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okay, I have been using WillowTree since Knoxx, and it has always worked great. I know the problem was caused in game, but onto the detalis. I was playing for a few hours with a friend in a private game and everything worked fine. But, once I extracted my 360 save to my computer to change a few guns and my money I get the error Values outside of Range, Please set to 2147483647, and the picture showed my level 69 and my xp 2147483647. I know this is normal, because it was set to where willow tree itself can't set the xp to that anymore due to complaints and complications. Anyways, after that error it just says "Could not open Save". I checked it in HxD, and it appears that my character information is after my guns and items, basically at the end of my save so I guess that is causing the problem. I do not know how or why my save would be like this, so if anyone can help here is the link to the save: http://www.megaupload.com/?d=VKPYGEIG
This is by far my best character so any help would greatly be appreciated. If you need anymore info about it let me know. Peace :)
Ok I had a look at your save. First off I couldn't even load it with Modio 3.0. I don't know if this is a bug in Modio or if the package file was corrupted in some way. Anyway, since I couldn't use that I used Le Fluffie to extract the SaveGame.sav file from inside the package. Here's a repaired version in its internal SaveGame.sav format. You'll need to do steps 6-8 (below) to get it to work on your Xbox 360 again:
http://www.mediafire.com/download.php?ugwx4heku0h82gv
What I found was wrong is that there is a variable which WillowTree calls FinishedPlaythrough1 that is usually 0 or 1 but in your case it was 0x7FFFFFFF (-1) so WT# thought there was an error and refused to load it. The game may consider this the "Current Playthrough" or "Playthrough Identifier" or something like that.
Its possible an abnormal value was caused by you editing the character with a hex editor and setting the wrong value thinking it was the character's cash setting since the value for cash is the value right before it in the save file and that was also set to 0x7FFFFFFF which is not even a legal number in the current version of WT#. It also may be that there is some condition in the game in which it can be set to a number other than 0 or 1. I have looked at a many savegame files and never seen a number other than 0 or 1 here. I have completed both playthroughs and this number never became 0x7FFFFFFF for me or any save that anyone has sent me but I have not finished everything in the Knoxx DLC so it is conceivable that it could be changed if you accomplish some goal there. It also may have been changed by some third-party expansion possibly. At any rate, it must be either 0 or 1 for WillowTree to work.
What I did to fix it is just step through WT# in Visual Studio until I found the spot that it read the 0x7FFFFFFF and changed it to 1 in memory to keep the error from occurring then let WT# finish loading it then I saved it back to disk, but if you are not a programmer and don't have the source code for WT# and have Visual C# 2010 installed then in order to fix a problem like this you would need to:
1) Extract the SaveGame.sav file from inside Save00001.sav using Le Fluffie (or another such program). As I said Modio did not work on yours but Le Fluffie does. Once the file is fixed and saved with WT# the resultant file does load fine in Modio 3.0.
2) Open 'SaveGame.sav' in a hex editor (I used HxD, but there are many others).
3) Locate the value of the FinishedPlaythrough1 variable in the file with your hex editor. It is the four bytes that lie exactly12 bytes before the first character of the first skill string which I think always starts with the text "gd_skills_common". It is very close to the start of the file.
4) Change the value of the four bytes from 7F FF FF FF to 00 00 00 01.
5) Save the file over the old SaveGame.sav.
6) Load the SaveGame.sav in WillowTree# version 2.2.1 or later.
7) Change the file format to Xbox 360 in the same menu you clicked to open the file. You may be able to load your Xbox profile id from your non-working Save0001.sav or you may have to get it from a different still-working savegame.
8) Use the Save As button and save it over your old Save0001.sav.
Thanks for looking at it, and I know how to fix it now. I am not sure how it became that tho…