|
Page 1 of 1
|
[ 6 posts ] |
|
Retreiving .c file from brick
Author |
Message |
sharifanani
Rookie
Joined: Sun Feb 24, 2013 11:42 am Posts: 1
|
 Retreiving .c file from brick
Hello everyone,
I've been working on this project for a serious amount of time now, and today both my hard drives failed and I lost my programs, and they still need some debugging before I can use them. Is there anyway to get the .c files from the brick back to my PC ? please reply ASAP
|
Thu Apr 25, 2013 6:05 pm |
|
 |
NeXT-Generation
Senior Roboticist
Joined: Wed Sep 28, 2011 10:13 pm Posts: 630 Location: If I told you, I'd have to kill you.
|
 Re: Retreiving .c file from brick
When you put a program on the NXT, it's compiled into a .rxe file and that's pretty much a one-way process. A lot of the original structure and coding is gone, and it's optimized as well. AFAIK there's no way this can be done; you'll just have to recreate the programs.  EDIT: 6 minutes. How that for ASAP? 
_________________A.K.A. inxt-generation Self-proclaimed genius, and future world dominator. My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth Doctor Bow down to Nikola Tesla, King of the Geek Gods.
|
Thu Apr 25, 2013 6:11 pm |
|
 |
mattallen37
Expert
Joined: Thu Sep 29, 2011 11:09 pm Posts: 184 Location: Michigan USA
|
 Re: Retreiving .c file from brick
NeXT-Generation is right, there's no way to get the .c programs from the NXT (since they aren't stored on the NXT).
If I were you I'd look into failed HDD data recovery. I also suggest that from now on, you always store those types of files in a place that get's backed up to remote servers (like DropBox, Google Drive, SkyDrive, etc.).
_________________ Matt
|
Thu Apr 25, 2013 9:23 pm |
|
 |
roboRed
Expert
Joined: Fri Nov 02, 2012 12:07 am Posts: 163 Location: California, USA
|
 Re: Retreiving .c file from brick
Can't you do a "download program" form the File Management Utility? 
_________________ string Robored = "Awesome" ~~Neil Balch~~
|
Sun Jun 02, 2013 9:00 pm |
|
 |
NeXT-Generation
Senior Roboticist
Joined: Wed Sep 28, 2011 10:13 pm Posts: 630 Location: If I told you, I'd have to kill you.
|
 Re: Retreiving .c file from brick
Yes, but it's the compiled .rxe file, which you can't edit.
_________________A.K.A. inxt-generation Self-proclaimed genius, and future world dominator. My Brickshelf Folder"Don't they teach recreational mathematics anymore?" - The Tenth Doctor Bow down to Nikola Tesla, King of the Geek Gods.
|
Sun Jun 02, 2013 9:29 pm |
|
 |
Ernest3.14
Professor
Joined: Sat May 18, 2013 1:24 pm Posts: 271 Location: Olympia, WA
|
 Re: Retreiving .c file from brick
GitHub is another great site for your projects! A compiled file (.rxe) is machine code; translating it back is impossible (at least in a recognizable form).
_________________FTC Team 6424, the 'Oly Cow - Chief programmer. FRC Team 4450, Olympia Robotics Federation (ORF). and also quadrotors. Quadrotors!
|
Mon Jun 03, 2013 12:01 am |
|
|
|
Page 1 of 1
|
[ 6 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|