xboxscene.org forums

Pages: 1 ... 6 7 [8] 9 10 ... 14

Author Topic: [beta] Party Buffalo Drive Explorer  (Read 1529 times)

moh.sakhaii

  • Archived User
  • Jr. Member
  • *
  • Posts: 86
[beta] Party Buffalo Drive Explorer
« Reply #105 on: December 17, 2010, 02:18:00 PM »

Hi CLK,
I see that you have set the LoadSTFSInfo to be always false, Is that for speed problems or what? I prefer the names to be displayed even if it degrades the performance a bit. The only where it should be disabled I think is for the data install of the games and you know, it should be easy to ignore those. Again thanks for your great work, I actually enjoyed browsing your wonderful code wink.gif
Logged

CLK Rebellion

  • Recovered User
  • Full Member
  • *
  • Posts: 126
[beta] Party Buffalo Drive Explorer
« Reply #106 on: December 17, 2010, 04:38:00 PM »

QUOTE(moh.sakhaii @ Dec 17 2010, 01:18 PM) View Post

Hi CLK,
I see that you have set the LoadSTFSInfo to be always false, Is that for speed problems or what? I prefer the names to be displayed even if it degrades the performance a bit. The only where it should be disabled I think is for the data install of the games and you know, it should be easy to ignore those. Again thanks for your great work, I actually enjoyed browsing your wonderful code wink.gif

Hahaha, the code is absolutely messy... I'm on winter break, so I'm going to go through and look at most of it (mainly in the reading class) and see if I can find ways to improve it and organize it better.  The LoadSTFSInfo can be set to true by going to the Drive menu and clicking "Load STFS Information", and yeah the reason why it was disabled is because I noticed that when going in to a folder with maybe 20 packages, it sort of dragged the speed down.  In the next update (hopefully sometime this week since I'm now on winter break, adding package creation) I'll make it so that it automatically saves user settings though.

Also, I need to add support for null files (although I don't really see anyone injecting null files...), as they aren't assigned any cluster which could cause some issues.  I also need to work on a better way of determining the FAT size, as sometimes the number needs to be rounded, sometimes it doesn't.
Logged

kneehighspy

  • Archived User
  • Full Member
  • *
  • Posts: 174
[beta] Party Buffalo Drive Explorer
« Reply #107 on: December 18, 2010, 02:42:00 PM »

QUOTE(CLK Rebellion @ Dec 16 2010, 12:35 AM) View Post

Thanks for your support and opinions!  I completely removed the throwing of the "cluster out of range" error since I figured that if anything is going to be writing to your device, it's most likely not going to write an incorrect number (the cluster out of range exception was actually thrown on false alarms, due to an invalid cluster number which I can't currently fix without causing an infinite loop [can't fix at this very moment, at least]).

As for dragging and dropping, I'll see what I can do about dragging outside of the app.  Thanks again!



appreciate the responses clk.  i finally got around to copying over my backed up files and folders from my old 250gb drive to my new 250gb drive, things were going great, pretty much everything copied over till i started on the Content\0000000000000000 folders.

got about halfway through only copying one folder at a time and now i constantly get the 'FUCK YOU' error when trying to copy over any more folders.

any ideas or ways i can send you a log of what is happening?  thanks for the help!
Logged

moh.sakhaii

  • Archived User
  • Jr. Member
  • *
  • Posts: 86
[beta] Party Buffalo Drive Explorer
« Reply #108 on: December 20, 2010, 10:05:00 AM »

QUOTE(CLK Rebellion @ Dec 19 2010, 09:11 AM) View Post



Changelog for v1.0.0.20:
Improved caching (I actually noticed a flaw with my function that loaded files/folders, and the flaw was that if the user chose to load deleted entries, and we didn't load them before -- I would reload the entire thing, including files and folders.  It's now been changed to where it loads the deleted entries with everything else to avoid reloading!)
Loading of game names for title ID folders
Saving user settings
New toolbar/quick messages (updated by me whenever)
Other things I can't really remember (I'm soooooooooooooo tired right now...)

Still no support for null files!  Too lazy to edit a couple of functions.


Nice job, I think every end user can now happily use your application. Very well done   cool.gif
Logged

CLK Rebellion

  • Recovered User
  • Full Member
  • *
  • Posts: 126
[beta] Party Buffalo Drive Explorer
« Reply #109 on: December 20, 2010, 02:46:00 PM »

QUOTE(moh.sakhaii @ Dec 20 2010, 09:05 AM) View Post

Nice job, I think every end user can now happily use your application. Very well done   cool.gif

Thank you!  Totally skipped my mind when I was implementing that stuff, but I believe I'll add this in the next update:

IPB Image

Those subfolders are annoying to figure out what's what in the 000000... folder.  Upcoming update will also fix invalid characters for title names -- I wasn't reading unicode strings.

Edit 12/23/2010:
I feel as though I've gotten enough feedback to bump the app from beta to RC, and with that, I plan on doing a large rewrite of a lot of my code to make it more functional, reduce duplicate code, and make it a lot more neater (really means nothing for the end user, except maybe some speed increases).
Logged

moh.sakhaii

  • Archived User
  • Jr. Member
  • *
  • Posts: 86
[beta] Party Buffalo Drive Explorer
« Reply #110 on: December 23, 2010, 07:32:00 AM »

QUOTE(CLK Rebellion @ Dec 21 2010, 01:16 AM) View Post

Thank you!  Totally skipped my mind when I was implementing that stuff, but I believe I'll add this in the next update:


Those subfolders are annoying to figure out what's what in the 000000... folder.  Upcoming update will also fix invalid characters for title names -- I wasn't reading unicode strings.

I feel as though I've gotten enough feedback to bump the app from beta to RC, and with that, I plan on doing a large rewrite of a lot of my code to make it more functional, reduce duplicate code, and make it a lot more neater (really means nothing for the end user, except maybe some speed increases).


Looking forward to it. Might I suggest something ?biggrin.gif It would be very cool to add an option to create a back up from the drive but ignores game installation files, something like skipping "00004000" folders. wink.gif

There is a bug it seems: I have a 250GB HDD and not all my title updates are showing in the cache folder, 10 out of 21 or so, just checked it with xplorer360 250gb patched version and it shows them. Gonna debug and see if I can find anything but it looks more serious than that to me biggrin.gif
Logged

moh.sakhaii

  • Archived User
  • Jr. Member
  • *
  • Posts: 86
[beta] Party Buffalo Drive Explorer
« Reply #111 on: December 23, 2010, 08:48:00 AM »

I made extracts from Cache folder by xplorer360 and your app, have a look please:
This is the directory structure of extract made by Xplorer360: http://pastie.org/1400780
This is the directory structure of extract made by Party Buffalo Drive Explorer:  http://pastie.org/1400787
Logged

kneehighspy

  • Archived User
  • Full Member
  • *
  • Posts: 174
[beta] Party Buffalo Drive Explorer
« Reply #112 on: December 23, 2010, 10:45:00 AM »

QUOTE(CLK Rebellion @ Dec 19 2010, 05:41 AM) View Post

Oh God I need to go through and remove all of the errors that come up with that... (when I'm debugging, I like to just use quick errors with variants of the word "fuck" so I know that it's something bad).  I just looked at it, and I noticed that the "FUCK YOU" message box only comes up in one specific function which I removed from later builds (starting around v1.0.0.17).  Are you currently running the latest?  If so, I'll send you a build with catches removed so we can pinpoint the problem.

Quick update...

http://i.min.us/ibrooQ.png

It's a little slow at this moment, but that's because I'm loading the subfolder for each title ID folder, and then the files & folders within that folder, then when you go to click on the folder, it has to load them again (basically, I'm not caching the referenced folder) - nevermind, I am caching it... it just takes a while when you have games with lots of files!.  I'll make some modifications to that later in order to speed things up.  Folders without any given game name don't have any files within the folder, so I can't grab the name.

Edit:
The update is now live.  View a screenshot of the updated GUI here: http://i.min.us/ibvHCk.png

Changelog for v1.0.0.20:
Improved caching (I actually noticed a flaw with my function that loaded files/folders, and the flaw was that if the user chose to load deleted entries, and we didn't load them before -- I would reload the entire thing, including files and folders.  It's now been changed to where it loads the deleted entries with everything else to avoid reloading!)
Loading of game names for title ID folders
Saving user settings
New toolbar/quick messages (updated by me whenever)
Other things I can't really remember (I'm soooooooooooooo tired right now...)

Still no support for null files!  Too lazy to edit a couple of functions.


i was running v1.0.0.19 when getting those errors.  thanks for all the quick fixes.  i haven't had a chance to do anything yet, so i will try out the latest build tonight.  

again, thanks for the quick fixes.  shows great support and dedication, appreciated by all of us!
Logged

moh.sakhaii

  • Archived User
  • Jr. Member
  • *
  • Posts: 86
[beta] Party Buffalo Drive Explorer
« Reply #113 on: December 23, 2010, 12:36:00 PM »

QUOTE(CLK Rebellion @ Dec 23 2010, 10:53 PM) View Post

I'll take a look in to it, thanks!  As for your other post, I'll definitely consider it.


No thank you, much appreciated. By the way, the latest source code of your app is not available, it gives me 404 error on the web page.
Logged

CLK Rebellion

  • Recovered User
  • Full Member
  • *
  • Posts: 126
[beta] Party Buffalo Drive Explorer
« Reply #114 on: December 23, 2010, 01:09:00 PM »

QUOTE(moh.sakhaii @ Dec 23 2010, 11:36 AM) View Post

No thank you, much appreciated. By the way, the latest source code of your app is not available, it gives me 404 error on the web page.

Whoops, I'll fix that right now.
I believe I fixed the bug with the app not reading as many folders/files, would you feel like testing it for me?  http://clkxu5.com/pbde.exe  Just uh... don't write anything with that build haha
Logged

CLK Rebellion

  • Recovered User
  • Full Member
  • *
  • Posts: 126
[beta] Party Buffalo Drive Explorer
« Reply #115 on: December 23, 2010, 02:39:00 PM »

QUOTE(moh.sakhaii @ Dec 23 2010, 01:06 PM) View Post

Thanks, yes, it fixed it, now it shows all of them, I can get the source now without problem too  cool.gif
I wonder what was the problem though biggrin.gif

EDIT: LOL, That was cute : #if DEBUG  "What. Why are you lookin at my source code" #endif biggrin.gif


tongue.gif if you read through my comments, you'll see that I like to have a little bit of fun while I code.

The problem was that early in development, I wasn't really thinking and the function that grabs the entries in a folder is supposed to stop after looping 0x100 times (the maximum amount of entries allowed in a 0x4000 byte cluster (0x4000/0x40 = 0x100)), except I put 100 on accident.  I really shouldn't have put 100 anyway since cluster sizes can vary, so I did away with that and just put a quick math function in there.

One other thing I'm fixing right now is deleting entries in folders that span across multiple folders.  I was thinking, and if you delete all entries that are in the last cluster in a folder, then the FAT chain would still be written, except there'd be just a bunch of deleted entries in the last cluster.  It really doesn't matter since it's not like it's really affecting anything, but that's an extra 16KB that another file/folder could be using.
Logged

kneehighspy

  • Archived User
  • Full Member
  • *
  • Posts: 174
[beta] Party Buffalo Drive Explorer
« Reply #116 on: December 23, 2010, 02:47:00 PM »

QUOTE(CLK Rebellion @ Dec 23 2010, 08:09 PM) View Post

Whoops, I'll fix that right now.
I believe I fixed the bug with the app not reading as many folders/files, would you feel like testing it for me?  http://clkxu5.com/pbde.exe  Just uh... don't write anything with that build haha


i haven't had a chance to try things out yet, but i did run the app to get the latest build and after download, got a debug error, restarted, re-downloaded and it worked fine.  i will find some time tonight to check things out.

also i sent you a $40 donation (just about 5 minutes ago) for all the work and the helpful input and support you give.  that's what i paid for the offline licensed edition of FATXplorer and i told you that i support the devs of the software i use most and like i said, fair is fair smile.gif

keep up the great work, and have a great holiday.  again, your support is greatly appreciated by me smile.gif
Logged

moh.sakhaii

  • Archived User
  • Jr. Member
  • *
  • Posts: 86
[beta] Party Buffalo Drive Explorer
« Reply #117 on: December 23, 2010, 03:05:00 PM »

QUOTE(CLK Rebellion @ Dec 24 2010, 01:24 AM) View Post

Thank you, and you too!  I just uploaded v1.0.0.22 as well, so hopefully that works out better.

@moh
.22 source was just uploaded too.


Thanks, keep up the great work.
Logged

kneehighspy

  • Archived User
  • Full Member
  • *
  • Posts: 174
[beta] Party Buffalo Drive Explorer
« Reply #118 on: December 23, 2010, 03:15:00 PM »

QUOTE(CLK Rebellion @ Dec 23 2010, 09:54 PM) View Post

Thank you, and you too!  I just uploaded v1.0.0.22 as well, so hopefully that works out better.

@moh
.22 source was just uploaded too.



i updated to the latest and i also downloaded the exe, speed is fine with the program.  i have run into a couple of things that i think may be related to what moh.sakhaii was describing earlier with missing files.  i'm keeping a log of what i find out may be issues so as to hopefully help you out smile.gif  here is a little log of what i've found so far:

-----

1) straight extract from Data/Cache and out of 160 files on the xbox drive, it extracted 155 files to local drive \Data\Cache

2) manual extract from Data/Cache (10 files selected) and out of 10 files on xbox drive, it extracted 5 files to local drive \Data\Cache

3) manual extract from Data/Cache, 5 files selected on xbox drive, 5 files extracted, selected next 5 files from xbox drive and only 1 out of those 5 extracted to local drive \Data\Cache, so out of 10 files (5 selected on each extract) only 6 copied over.

4) did a straight extract of the entire Compatibility folder (root) and all folders and files copied over fine:

Compatibility\TDBX\Tdbx.db
Compatibility\Compatibility\config.bin
Compatibility\Compatibility\xbox.XEX
Compatibility\Compatibility\xefu.XEX
Compatibility\Compatibility\dash\xboxdash.xbe
Compatibility\Compatibility\dash\fonts
Compatibility\Compatibility\dash\xodash

i didn't want to list every file in every folder, but i checked and everything copied over fine.


just a little info i found out so far with Version: 1.0.0.22

thanks again for the hard work!
Logged

moh.sakhaii

  • Archived User
  • Jr. Member
  • *
  • Posts: 86
[beta] Party Buffalo Drive Explorer
« Reply #119 on: December 23, 2010, 03:40:00 PM »

QUOTE(CLK Rebellion @ Dec 24 2010, 01:57 AM) View Post


SHORT VERSION: I didn't comment out a function, should have.

Sometimes we developers like to do things the hard way tongue.gif
You could find all the references to that function with the power of visual studio or just comment it and let the errors pop in during compilation, but I know that you now better than me, just found a reason to chat with you biggrin.gif
Logged
Pages: 1 ... 6 7 [8] 9 10 ... 14