Spurred by a few recent postings, I dug up my old program that enumerates the Zune files.
One of the problems I had was that if you tried to read a file off the Zune you'd get Access Denied errors. This doesn't happen when the Zune is "Connected". So I terminated the Zune program and continued testing.
I did get the code working to read a file off the Zune and write it to the hard drive. Then I wrote some really embarrassing code to get the Zune to become "Connected". It basically:
Kicks off the Zune software in a process
Starts a loop
Tries to read the first file on the Zune
If there is an Access Denied error, sleep for half a second and continue loop
If there is no error, we are connected. Kill the Zune process and exit the loop.
You actually don't even see the Zune software screen come up, but still, it's an embarrassing hack.
So now, what good is this? What did we want to accomplish? I assume I'll soon be able to write files to the Zune, but so what? Do we create an alternate Zune program? Can we really do it better than Microsoft?
And, no, I haven't seen any chance of writing firmware to the device.
O_O... from my minimal understanding, that's very similar to what berdon did. (what happened to him?)
Anyways, I think we can build off of this... perhaps build a plugin for WMP, or WinAMP. And if we can get our hands on a couple more programmers, we can try making our own 3rd party software, which will be a lot of work.
Sure, post the code and we could try making a WMP plugin. Even though I'm busy with school, I'm sure I'll find a little time to fiddle around with this.
Reading files from the Zune is not a problem, but writing folders or files still gives an Access Denied error. In fact, I can't even request write permissions when opening the Zune.
If that is the case, I would rather see berdon's method be refined. Look at it in In Progress, it can do everthing. What we need is a way to run a no install version of Zune.exe.
If that is the case, I would rather see berdon's method be refined. Look at it in In Progress, it can do everthing. What we need is a way to run a no install version of Zune.exe.
Can you up what you have got so far, Marshill.
Lol, I really didn't get anywhere, all I did was delete all dlls not absolutely required, and slimmed down zuneloc a little. I'm not on my other computer with all of the work, either.