It’s great to take your personal trainer and motivator along, but it’s less great if something happens.
What do you do when you forget to take along your nike+ iPod on your run, or heaven forbid, what happened to me, your latest and greatest run of almost 5 kilometers doesn’t get saved because you mucked around with your music after finishing your run ?
You yell. You shout damnation. And then you google around and hack the darn thing of course !
DISCLAIMER. You muck around with YOUR iPod at YOUR OWN RISK. Nothing is guaranteed to work, this is a hack so I could get my run up there. I am not doing this cheat, I want to keep a log of my runs.
With googling, I found my first reference to hacking the iPod sport kit – it’s simple really. You first need to configure your iPod in diskmode, otherwise you won’t be able to access it. Then you can find the files you need. They are in xml, so you can open them in textmate or smultron or textedit. Go to the following directory (I used midnight commander, a port installed unix utility, you could use XFolders) :
/Volumes/<name of your ipod nano>/iPod_Control/Device/Trainer/Workouts/Empeds/<hexfilename of your linkmodule>
You’ll find, beside a bunch of other files that you don’t need to touch, two directories : ‘latest‘ and ‘synched‘. Any files that are in the ‘latest’ directory are not yet synced with the nikeplus website.
So what I did was to browse the xml files in the’synched’ directory, find one where the distance and time where close to what I needed, and copied that file to my desktop.
I then edited it in textmate, and changed the time and distance to reflect my most recent run, to the best of my recollection. I roughly calculated the duration by multiplying the minutes and seconds in the duration string by 60 000. My guess is that the durationString and distanceString are the voice items that your iPod speaks to you, with the more correct variables in the duration and distance properties.
I also modified the start time lower down and deleted everything between the snapShotList property (this is when you press the center button to hear your status, it saves this as well) :
I also renamed the file correctly to the current date and start time to run, and then copied the modified file back to ‘latest‘ directory. Then I ‘trashed’ the iPod to remove it, restarted iTunes and waited with my fingers crossed to see if the sync would happen. It did, and it uploaded it just fine to nikeplus !
My guess is that somebody with a bit more time and more inclination could easily whip up a website or program that would allow you to fill in a form and construct for you the correct xml file to import… It would be really handy for when you forget your iPod or lose oh so precious run data from your last run.