Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

EMERGENCY - Data Loss - Please help!

So, as many do, I back up my files. However, I do not back up every day.

Also, I have owned 5 laptops in my short life and I have never EVER had one hard drive issue in them, they are all still running.

This weekend was my time. I am freaking out...waiting to tell the boss what I have lost. I have lost the current version of our channel's source code as well as all Photoshop graphics and much much more.

One thing that I would have trouble recreating is our channel's current version of source. I only have backups for version 1.0 and 1.1.

I have been testing version 1.2 and 1.3 on our developer Roku box, so it has one of the 2 version on there. Also, I have uploaded version 1.2 to our channel manager on the Roku Developer website, but it has not been published yet.

Does anyone know if a way to access our source from either the developer side of the Roku box, or could someone pull the source from the *.pkg file?

Thanks.
0 Kudos
3 REPLIES 3
destruk
Binge Watcher

Re: EMERGENCY - Data Loss - Please help!

If nobody from Roku can help you, I've used R-Studio before. It was able to recover most of my data files I had lost on a damaged platter of a hard drive.
http://www.r-studio.com/
It's not 'free' but it's cheaper than sending the drive off to an actual repair shop to take it apart. Otherwise you will need to reach into your last backup and replace or rewrite the code you had added since then.
0 Kudos
gonzotek
Visitor

Re: EMERGENCY - Data Loss - Please help!

Other options are SpinRite, from Gibson Research (not free, highly recommended by many industry folk however) and PhotoRec (open source, and don't let the name fool you, it's good for all kinds of data). I've used both with success over the years.

Also, I think you can access some/all of your code through the debugger if you still have the app side-loaded. You may be able to recover enough of the changes to get the old backup updated with the changes you've made recently. It'll be a little tedious, but probably easier than starting from scratch.
Remoku.tv - A free web app for Roku Remote Control!
Want to control your Roku from nearly any phone, computer or tablet? Get started at http://help.remoku.tv
by Apps4TV - Applications for television and beyond: http://www.apps4tv.com
0 Kudos
TheEndless
Channel Surfer

Re: EMERGENCY - Data Loss - Please help!

"gonzotek" wrote:
Also, I think you can access some/all of your code through the debugger if you still have the app side-loaded. You may be able to recover enough of the changes to get the old backup updated with the changes you've made recently. It'll be a little tedious, but probably easier than starting from scratch.

Yeah, if you know the file structure, if you CTRL-C to break into the debugger, commands like the following should output the code to the console for copy/paste:
print ReadAsciiFile("pkg:/source/main.brs")
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos