Author Topic: Recovering from a corrupted archive  (Read 26511 times)

0 Members and 2 Guests are viewing this topic.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Recovering from a corrupted archive
« on: January 01, 2011, 03:39:43 pm »
Found a bug with MirageOS (v1.2) where it glitches when renaming stuff. And so I did exactly what no one else would do: I played around with the bug until I got something more serious, and now I've corrupted my archive with no backups at all :(

I can't boot my calculator anymore without using CLEAR+ON (it flashes a random screen for half a second, then disappears). If I disable the archive with that CLEAR thing, the calculator seems to work fine, so it's probably only some part of the archive that's corrupted, not the OS.

But I lost about 12 projects in group vars. Most of them are small, and I could probably get back to where I was in those projects in a few days, but Contra, XDE, PapiJump, and Ultimate Falldown were all really far in (Contra in particular already had a nearly complete engine with enemy AI and aiming that I'd just added in the past few days), and it would take a long time before I can get all of it coded again.

So here's my question: Anyone willing to give me directions on how to get as much of it back as I can? I've never really done anything with Flash before, except some simple reading. I haven't GarbageCollect'd or done anything else to my archive since the crash, so the data should still be there, but some of it's definitely corrupted. Thanks in advance for any info!




Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Recovering from a corrupted archive
« Reply #1 on: January 01, 2011, 03:42:54 pm »
Well, I guess an asm program could be written to make all the flash pages valid.

Offline Silver Shadow

  • Beta Tester
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 817
  • Rating: +27/-7
    • View Profile
Re: Recovering from a corrupted archive
« Reply #2 on: January 01, 2011, 03:43:57 pm »
Sorry to hear, but I doubt you can recover them if this is this bad. :( Just hope that your calc isn't completely broken.
Former Coder of Tomorrow


Offline Happybobjr

  • James Oldiges
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2325
  • Rating: +128/-20
  • Howdy :)
    • View Profile
Re: Recovering from a corrupted archive
« Reply #3 on: January 01, 2011, 05:27:58 pm »
what do you have in your ram?
anything inportant?
School: East Central High School
 
Axe: 1.0.0
TI-84 +SE  ||| OS: 2.53 MP (patched) ||| Version: "M"
TI-Nspire    |||  Lent out, and never returned
____________________________________________________________

Offline Fast Crash

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 192
  • Rating: +45/-7
  • Virus of tomorrow
    • View Profile
Re: Recovering from a corrupted archive
« Reply #4 on: January 01, 2011, 05:33:00 pm »
Did you make a RAM clear ?

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Recovering from a corrupted archive
« Reply #5 on: January 01, 2011, 05:43:59 pm »
@graphmastur: I once managed to get EVERYTHING from a corrupted archive. HOW? I don't know, I crashed my calculator and when I turned it back on it was good :D So, it was a random day, a few days after getting it corrupted. It was a random occasion.

souvik1997

  • Guest
Re: Recovering from a corrupted archive
« Reply #6 on: January 01, 2011, 05:44:46 pm »
I don't think that would help, considering his calc can't boot without ON-CLEAR. My calculator had the same problem about 2 months ago, and I had to reset the entire memory (archive+ram).

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Recovering from a corrupted archive
« Reply #7 on: January 01, 2011, 05:55:48 pm »
@graphmastur: I once managed to get EVERYTHING from a corrupted archive. HOW? I don't know, I crashed my calculator and when I turned it back on it was good :D So, it was a random day, a few days after getting it corrupted. It was a random occasion.
If you turned it on and it was good, without you doing anything, then it wasn't a corrupted archive at all.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Recovering from a corrupted archive
« Reply #8 on: January 01, 2011, 06:01:45 pm »
Sorry to hear, but I doubt you can recover them if this is this bad. :( Just hope that your calc isn't completely broken.

Yeah, it still works, thankfully :D And all my apps are still there. It's just that since I have to boot with CLEAR, all my archived/grouped vars are hidden.

what do you have in your ram?
anything inportant?
Did you make a RAM clear ?

Yeah, of course. I clear my RAM at least a dozen times a day anyway, so I don't care at all. What I'm trying to do is recover all my projects from the archive.

@graphmastur: I once managed to get EVERYTHING from a corrupted archive. HOW? I don't know, I crashed my calculator and when I turned it back on it was good :D So, it was a random day, a few days after getting it corrupted. It was a random occasion.

That's not a corrupted archive. If your calculator still works, it's only your RAM that got messed up, and after a RAM clear the RAM's set back to default. I do that just about every day too :D

Well, I guess an asm program could be written to make all the flash pages valid.

I don't know how... What makes a flash page "valid"?




Offline Fast Crash

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 192
  • Rating: +45/-7
  • Virus of tomorrow
    • View Profile
Re: Recovering from a corrupted archive
« Reply #9 on: January 01, 2011, 06:06:27 pm »
Flash pages are mostly for apps

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Recovering from a corrupted archive
« Reply #10 on: January 01, 2011, 06:09:24 pm »
Flash pages are mostly for apps

Flash is all the memory the calculator has that's not RAM. It's used for the OS, apps, and variables. The reason my apps are still there is because I used TI's CLEAR+ON boot, which only searches for apps in the archive.

All other flash variables are not added to the VAT, and that's why they're gone from my memory list. They're still physically there in the flash memory, just "hidden" in a way.

And so basically right now some of my flash pages are corrupted, and that's why I can't boot normally, but I don't know how that works.
« Last Edit: January 01, 2011, 06:11:04 pm by Deep Thought »




Offline Fast Crash

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 192
  • Rating: +45/-7
  • Virus of tomorrow
    • View Profile
Re: Recovering from a corrupted archive
« Reply #11 on: January 01, 2011, 06:11:41 pm »
Ok.

Can you link the calc with the PC after a RAM clear or the link is still btoken ?

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Recovering from a corrupted archive
« Reply #12 on: January 01, 2011, 06:14:07 pm »
Ok.

Can you link the calc with the PC after a RAM clear or the link is still btoken ?

What do you mean by RAM clear? ??? My link's not broken, though.




Offline Fast Crash

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 192
  • Rating: +45/-7
  • Virus of tomorrow
    • View Profile
Re: Recovering from a corrupted archive
« Reply #13 on: January 01, 2011, 06:16:33 pm »
usually when the RAM is corrupted you cannot link it to the computer ( it's detected but you can't transfer data ). So if you reset your RAM it should work and then you could backup your files.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Recovering from a corrupted archive
« Reply #14 on: January 01, 2011, 06:19:11 pm »
usually when the RAM is corrupted you cannot link it to the computer ( it's detected but you can't transfer data ). So if you reset your RAM it should work and then you could backup your files.

It's not my RAM that's corrupted. I corrupt my RAM every day :D It's the archive that's corrupted, and I don't want to reset my Flash, because then my groups would definitely be gone.

On a related note, my calculator crashes every time I RAM clear now because it tries to boot normally afterwards.
« Last Edit: January 01, 2011, 06:43:36 pm by Deep Thought »