Hi all
Bought my xbox yesterday and got it working today. Thanks to Fat-X-Plorer. I had a crash and did not found any other program to let me create directories so I decided to follow the advice and debug it
CFATXDisk::ReadDirectory does not check for deleted directories so if it encounter a deleted directory, the recursion never ends and that create a stack overflow.
In FATXDisk.cpp, line 170 to 184:
Original code:
| CODE |
pTempDir = new CFATXDirectory(); memcpy(&(pTempDir->m_deInfo),&Info,sizeof(FATX_DIRECTORYENTRIES)); pTempDir->m_dwOffsetData=dwOffsetCluster; pTempDir->m_dwOffsetClusterChain=dwOffsetClusterChain; pTempDir->m_fftFATType=fftFATType; pTempDir->m_dwStartAddress=dwOffsetCluster+(pTempDir->m_deInfo.dwFirstCluster-1)*16384; ReadDirectory(pTempDir,dwOffsetClusterChain,dwOffsetCluster,fftFATType); if(!pDirectory->m_pDirChild) { pDirectory->m_pDirChild=pTempDir; } else { pDirectory->m_pDirChild->AddDir(pTempDir); }
|
Fix:
| CODE |
if(Info.byteSizeOfFilename!=0xE5) // Deleted Directory { pTempDir = new CFATXDirectory(); memcpy(&(pTempDir->m_deInfo),&Info,sizeof(FATX_DIRECTORYENTRIES)); pTempDir->m_dwOffsetData=dwOffsetCluster; pTempDir->m_dwOffsetClusterChain=dwOffsetClusterChain; pTempDir->m_fftFATType=fftFATType; pTempDir->m_dwStartAddress=dwOffsetCluster+(pTempDir->m_deInfo.dwFirstCluster-1)*16384; ReadDirectory(pTempDir,dwOffsetClusterChain,dwOffsetCluster,fftFATType); if(!pDirectory->m_pDirChild) { pDirectory->m_pDirChild=pTempDir; } else { pDirectory->m_pDirChild->AddDir(pTempDir); } }
|
Change:
| CODE |
if(Info.byteSizeOfFilename!=0xE5) // Deleted Directory { [...] }
|
That worked for me (I've been able to start it, add directories and files). So I've not looked longer to fix other bugs (like the frequent crashes when adding files (I restarted the application after every file)).
As usual, use this at your very own risks.
if we change those lines will the program run succesful for me or do i also have to do something to make it run right
well it still crashes on me i changed those lines like you did maybe you could send me a copy of yours. i would really appreciate it PM me
I'm having a problem hotswaaping the drive (it is locked) ,the program still won't recognize it. I'll go ahead and explain everything I am doing so maybe you can help me out.
-Boot up xbox with HDD installed and jumper on cable select
-Unplug IDE cable, leave power on, remove jumper so HDD is a slave.
-Plug PC IDE cable into drive, start up PC.
-PC Bios recognises drive, but the computer lockes up when it tries to start windows (XP)
-If I plug the PC's IDE cable into the xbox drive while the PC is in the desktop, the computer runs really slow, locks up, and then gives the blue screen of death.
-A couple of times I was able to hotswap it without the PC screwing up, but then the reader just says "it cannot find the drive (drive may be locked)".
I also tried leaving the jumper on cable select, but I got the same results.
Another note, I also have an unlocked xbox HDD ,and the PC/fatXbox program read it fine. So, why is it not reading the drive? It should be unlocked, as the xbox does that when it boots up, and I didn't cut the power.
Hello guys, I've read the entire topic and have been following it since it started. I was hopeing I could offer you guys some help. I had previously used the font exploit to run Evox on my xbox K: 4977 D: 4920 NTSC, but like everyone else would get tired of the nagging clock loop. I then decided to give the UDE a shot. Well needless to say it didn't work for me the first time and thus I had to figure out how to get my HDD unlocked and recognized by my pc so I could restore my original xbox HDD via my .bin file I created when I first got my xbox a long time ago using HD Driver. Long story short........
1. The manner I use to unlock my hdd (works for me) unplug the dvd drive IDE cable and leave the xbox hdd IDE and power connector..
2. Turn the xbox on and after the flubber animation you should get a #11 error code I did, this in turn unlocked my xbox HDD
3. I then disconnected the xbox's HDD IDE and connected it to my pc and let it boot (I had previously hit pause at the pc's BIOS screen so the pc was already on) then hit enter so XP would load
4. When trying to use HD Driver I would get the enless error and the program would then close. So here is what I did:
a. I opened HD Driver and it told me XBox HDD found (If I would have hit OK, I would have gotten the error messase) SO, Don't hit OK!!! I just went to the restore option and restored my hdd using HD driver. Note: Again when it told me a xbox hd was found I did not hit ok I just went to the option to restore my HD
b. After it was done, I closed the program by clicking the "X" box in the top right. Then I get a windows message that there was an error in HD Driver and I choose not to send an error report.
c. Now I can open HD Driver or FatXplorer and the HD is loaded without a problem ( I do however get 1 invalid filesize error in HD driver)
5. For some reason if I would try to use HD driver to add files to the HD it would crash when I would click any directory, so I would use FatXplorer to add files to the HD, now this was just me being anel about using this program but I would keep the window where the fatxplorer .exe was executed open while I would use this program. I could add files and delete files and add directories without a problem it was however a bit slow and seem as if it was frozen but just let the program be and it should respond again.
Note: I did notice when I would try to add files to Data directory it would crash and when I would try to open the program again I would be back to where I started with the program just opening and closing and HD driver giving me the enless error, to add files to the xbox hdd I would then just use xboxhdm which requires creating a bootbable cd and then loading xlinux on the computer and using the command xbrowser which will let you access the xbox hd and create, rename, delete directories and do the same with files.
If you guys would like to see what my directories look like to see what files I have on my xbox hd I would be more then happy to post it since this is something that would have really helped me when I was trying to do the UDE.
| QUOTE (Prodak @ Jul 2 2004, 02:38 AM) |
I GET
XBOX HARDRIVE FOUND AT //./PHYSICAL DRIVE 1 Then it hangs for 5 seconds and the program closes.
Any other help??? thanks |
What is it that you are trying to do exactly? Are you trying to backup the HDD? Restore the HDD? Or add/delete files to the HDD? Please specify.
has anyone fixed this yet?? and it looks like its a problem with v1.0's only....
I'm having the same problem with a new xbox .. Anybody with a sollution ??
| QUOTE (Prodak @ Jul 2 2004, 01:41 AM) |
I GET
XBOX HARDRIVE FOUND AT //./PHYSICAL DRIVE 1 Then it hangs for 5 seconds and the program closes.
Any other help??? thanks |
i get the same problemand no one is any help. im trying to read the hd. then later on hopefully add the ms dashboard files back to the hd.....
after the hot swap it comes up in my divice mananger and even reads the size of the drive and everything
Sounds like I'm not the only one... I've backed up my XBOX HD(Version1.0) and that worked fine and dandy, but I cannot explore the contents of the drive with HDDriver or FatXPlorer... nothing is working for me... i need some help!!!
ok so meny people with this problem. is it fixable or is there a alternative solution to edit the contents of either the accucal hd or a image of v1.0 xbox?
xboxhdm is your friend
Scuse but if it's possible to soft mod the xbox, how the others can do it if there are so many problems? I do everything right, hotswap and stuff but when I have to use hdd_driver it opens giving the endless error but i can still backup and restore the hd, but i need to do modifies inside the directories! And it shows nothing. I've tried also FatXplorer but it finds the hd and then closes up without saying anything. Ah, and on a guide to the softmod i've read thet hdd_driver have to find the hd of the xbox on physicaldrive 2, but when i openit it founds it on physicaldrive 1. There are no difference? Answer me please!
hdd driver is crap. don't use it. look into xbhdm
QUOTE(krayzie @ May 15 2005, 03:19 PM)
hdd driver is crap. don't use it. look into xbhdm
Try
-Disable Auto Detection for the Primairy Master HD (also explained as setting IDE0/HDA to NONE)
-Disable S.M.A.R.T. monitoring
Hotswap when xboxhdm has already loaded. If xboxhdm errors out.. the HD is still locked and thus YOU didn't hotswap right. Dont blame ur mobo so soon.
anyone have a prob like this.
xbox crashed, needed to replace a file on hdd. hooked to pc and del file and upped the proper file. fix went as planned and works fine but my dash and apps cant read f partition anymore. drive is still full i can see the free file space indicating my data is still on there. but nothing shows when brousing f drive.
if any know fixes are out there could someone point me in the right direction. thx
I tried both links and could not get them to open the zip file. I am running Windows 7, which is a newer OS than XP or Vista. Does it work with XP? I am trying to copy my hard drive files from a disc to my new x-box replacement HDD. I can't use HDD_Driver, because I did not use that program to backup my files. I formatted my xbox drive and now run xp on that drive. I got my replacement setup as primary slave, and my old xbox drive running xp is primary master.
So I have my files backed up on another computer's hard drive, and also on a dvd-rom. I figured I could just copy and paste my files to the drive but obviously My Computer does not recognize the X-Box replacement drive because I hex edited it and prepared the drive to act like an x-box drive. Now I just need to copy my files from DVD disc to the new HDD.
Does this program do this in XP, is it capable of copying DVD-ROM backup files to my new hard drive? I can't use HDD-Driver because I don't have an image file it wants I just have the folders on a disc (xbox C,E,X,Y,Z).
This thread is early three years old - maye that's why the links don't work.....
Use Xplorer360 beta 6 to read and write FATX drives from your PC.
Thanks I downloaded that just now, thanks for that advice. I'll try this out. Do you know if I am able to copy files from DVD-ROM disc to the HD without an image file?
--Oh ok I see images and I'm reading about this program. From what I see here you can insert files onto the drive. This is awesome information and I can't believe I haven't stumbled into this earlier because I've been looking for a few days now. I was reading about hdd_driver and xboxhdm (linux) but couldn't get either one to do what I needed done, and this new software is just amazing. I can't wait to try it out! I'm burning it onto a disc with my other xbox tools so I can try to fix it on my "old closet pc." The reason I drag out the old machine is because the old mobo has two ATA sockets and my new board has more SATA and only 1 ATA input, and for some reason all the hard drive swapping on my new computer, windows recognized and asked me what's going on and locked me out of my computer.... requiring me to run another partitions' OS, to repair my original XP which was messed up from swapping all the hard drives: The current hard drive, the old one, the xbox, the new xbox drive... then it started acting funny! So I don't recommend to anybody reading this forum, that you use your reliable machine to swap Xbox drives.
hi !
i made a programm which you can use if hdd_driver don't work.
you need win2k or win xp to run this programm.
the source is included in the archive.
http://www.geocities.com/gibmirbier/fatxplorer.zip
or
http://www.geocities.com/gibmirbier/fatx.zip
right click and 'save target as'
PS: this tool has not been fully tested
EDIT:
i fixed a bug (addfile was buggy) and uploaded the new version (+source).
link fixed
This post has been edited by Bachi: Jul 26 2003, 04:27 PM
so basicly with this app ..
u can connect ya unlocked HDD and browse it as ya would any normal HDD.
as this truly will be a godsend !!
can u read and write to it ??
Mick ..
GOD SEND!!! I was looking for something just like this, does it have F support? will this work for a thumb drive?
looks like the perfect tool to go with HDD Driver. We can use HDD Driver for backing up and restoring, and FATXPLORER for adding directories and browsing the HD. If it works....will test when I get home
The link is dead.
i downloaded it when it was first posted. if someone wants to host it I can email it to them.
but i might not have the "new" version...
any updated links to this?
link fixed
bump ...sounds good any1 used it ?
i have tried it heres my test...
it did detect my drive but theres a error when i try to read the HD or a HD image here the error......
"The exception unknown software exception (0x00000fd) occurred in the application at location 0x0040eb95
Click on OK to terminate the program"
i cannot read the contents of the HD or a HD image
:lol:
Nice ONE!
y r u laughing? thats the prob with it
as if I'm gonna let this post fade into the second page...
*bump*
someone pin this, put it in the tools section...
bump (i know im not the author, but this thread needs more attention!)
the sources are in the zip file.
if the programm crashes, try to recompile the source and run the programm in debug mode.
if you mail me the where the programm crashes in the sourcecode, i try to fix it in next version.
ok ill try doing that if i cant get it to work i wil send you the problem, yeah so how do i go about compiling..
i wouldnt know how to do that
is crashes here Bachi
"The exception unknown software exception (0x00000fd) occurred in the application at location 0x0040eb95
Click on OK to terminate the program"
Howdy,
I get the same error as GIANTNewb does. I load up an image or the HD and it runs for a few seconds then crashes out with no error.
Man, I hope this prog gets updated, as HDD Driver does not work for me as well.
same prob up in heree
| QUOTE (GIANTnewb @ Jul 28 2003, 06:57 AM) |
| well i downlaod it but whenever i got to read harddick it says its found i click ok and than it closes... |
haha stay away from those harddicks, they're no good for you haha
hahah no there not, also try staying away from me and my great typing.
| QUOTE (GIANTnewb @ Jul 29 2003, 11:41 PM) |
| hahah no there snot, also try straying away from me and my ass. |
wtf
its almost as if my posts are changing themselves!
yea i think some one has a case of the gay-pox
| QUOTE (PATRIC @ Jul 30 2003, 12:32 AM) |
| yea i think some one has a case of the gay-pox |
really?... are you feeling better now?
Oh wait i forgot, you're sickness is not curable...
you can still use hdd driver still for back-ups if you have the infinitiv file size error. you just ignore the error and make a backup.
is fatxplorer also compatable with xbox v.1.0?
because if i want to read the hdd the program closes.
thnx in advantage.
Yeah, I was able to back up the HD with HDD Driver, but it won't show the file system so that I can transfer files over so that I can use the audio exploit.
If there a program does the same thing ? (other then this one) or is there a program that will extract the .bin HDD Driver makes, so you can make changes, then compress the .bin again so that HDD Driver can restore it ?
The prob your having With Fat Explorer is the same we all get, whenever you try to read the HD or an Image, it just hangs for a second, then closes with no error 
| QUOTE (|ZER0| @ Jul 31 2003, 07:35 PM) |
Yeah, I was able to back up the HD with HDD Driver, but it won't show the file system so that I can transfer files over so that I can use the audio exploit.
If there a program does the same thing ? (other then this one) or is there a program that will extract the .bin HDD Driver makes, so you can make changes, then compress the .bin again so that HDD Driver can restore it ?
The prob your having With Fat Explorer is the same we all get, whenever you try to read the HD or an Image, it just hangs for a second, then closes with no error |
old news man, read lord alderon's tutorial, fixed HDDriver for me
i have winhex but i can't seem to find a ***** for this program, if anyone has this would you send it to me, please?
thanx in advantage again.
fatexplorer works great. Thanks.
get the same freeze then crash problem, did the developement end with this?
Well, I must say.. the program works nice, but I do miss one feature. 
Now it is only possible to add a single file, but I would like to add complete directories.
Is this to be build in soon or should I do it myself?
Greets,
Beni
hey Bachi please update this program im begging you.. i have a harddrive i messed up trying that damn blue dashboard hack.. i know what files are fucked but i cant access the drive cuss im using the font hack... if your program was working i could use the back of of the files and folders on the xbox drive i made and copy and inject them back on the the xbox drive correcting my error..
but i can only do it with your program so far....
like everybody else bachi your program closes and leads me back to the windows desktop... please please update it..
but i can only do it with your program so far....
PS: if anybody else knows a way i can access a drive once i connected it to my PC to browse the drive and replace files.. it would be so helpfull... do i just need to wait for bachi to make a new release??
my drive isnt locked i unlocked it.. all i simply need is a way to put files back on the drive and edit a few files names.... HELP HELP HELP HELP.. im missing playing my games...
It seems to do the same thing for me too. Perhaps it's searching fomr something not found in v1.0 Xboxes?
I wrote an email to bachi wondering if he had stopped development. He said yes due to lack of free time. But he said that since he left the sourcecode for the program anybody could pick up where he left, and at least fix the bug that makes it impossible to access the hdd because it quits all the time. So I plea to everyone who knows programming to continue the nice project, and who knows, having the first WORKING xbox-hdd-program.
PICK UP WHERE HE LEFT. PLLEEEEEASE!!
any new news on this I tried it it says founf xbox drive and just closes
OK guys let's do this i'm going to fix this crap if any of you want to help in any way or have any ideas please email me about all of them!!
[email protected]
PS if your wondering why i'm doing this it's because I fu*ked up my xbox hdd!!!dam those fonts.
Just use XLinux... no problems there!
forget the one above(maybe), I found a new one called fatxeplorer and it will let me see my image I created from driver but it'll only let me dump them so if someone would instead, go and fix that one so you can delete the files would be nice.
fuck you guys must be lazy, I've modded out 6 different boxes and have NEVER not been able to get rid of the file size errors.
- get a hex editor like winhex, i know it's a bitch to find but suck it up! If you can't find it you suck.
- open your drive with winhex, there 5 values of FATX to change. Search the forums to find them, if you can't you suck.
- save the changes. if hddriver still doesn't work try changin SOME of the values back to "FATX", 5 minutes of trial and error and I get it everytime, you can't figure this out, YOU SUCK!
- when you guys are done, change all the offsets back to FATX or else!