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

0 Members and 1 Guest are viewing this topic.

Offline Fast Crash

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 192
  • Rating: +45/-7
  • Virus of tomorrow
    • View Profile
Re: Recovering from a corrupted archive
« Reply #15 on: January 01, 2011, 06:21:03 pm »
if your Flash is corrupted, your RAM is also corrupted

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 #16 on: January 01, 2011, 06:29:03 pm »
Flash is flash and RAM is RAM, thoughh... Unless you mean it doesn't get recorded in the VAT correctly? I'm using the CLEAR boot, which doesn't look for variables in flash when the calculator boots, so the VAT is empty of archived vars. If I were to make it boot normally, the calculator would get stuck partway through the flash screening and crash, because my archive is corrupted. That's what I'm trying to fix right now.




Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Recovering from a corrupted archive
« Reply #17 on: January 01, 2011, 10:19:23 pm »
Dumping your ROM might help, but it'll be slow. You'll have to dump a page, transfer it to PC, dump the next one, transfer it, and so on for as many pages as their are (32 on 83+, 64 on 84+, 128 on 83/4+SE)
Do you have GroupTool on your calc? It might be able to extract groups, even if they aren't in the VAT. (Not sure about this, though, and it's not like you are able to send an application x.x)
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

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 #18 on: January 02, 2011, 09:51:27 am »
Darn, I don't...




Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Recovering from a corrupted archive
« Reply #19 on: January 02, 2011, 10:17:23 am »
Too bad. :(
If I have time later today I'll write a quick program to dump a ROM page to an appvar so you can start to dump your ROM. No promises, though.
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Recovering from a corrupted archive
« Reply #20 on: January 02, 2011, 11:09:03 am »
What was the name (before and after) of the program that you changed that killed your calc?  Also, was it Archived/Hidden/Locked?

I wish you luck, Deep Thought! :)

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 #21 on: January 02, 2011, 11:14:27 am »
I renamed Simul and the Impossible Game to something I don't remember (both were archived and locked), then renamed Contra to CON and back (locked). The last one was probably the one that messed things up because I had a group at the time called CON. Also, Mirage points to a random location in memory after a rename, so renaming it again does something weird to that random spot in memoroy (that's the bug I was playing with).

Too bad. :(
If I have time later today I'll write a quick program to dump a ROM page to an appvar so you can start to dump your ROM. No promises, though.

Thanks, calcdude! Do I just copy it over straight from flash? If so I'll try writing one.

EDIT: BrandonW gave me some tips (more like a full page explanation) here (in case anyone else ever gets stuck here :P).
« Last Edit: January 02, 2011, 11:18:48 am by Deep Thought »




Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Recovering from a corrupted archive
« Reply #22 on: January 02, 2011, 02:33:05 pm »
FWIW, TILP has long been able to perform ROM dumps. Thanks to BrandonW, TILP II 1.14 can dump a 84+(SE) through direct USB connection :)

[EDIT: using TILP is exactly what BrandonW is suggesting on Cemetech :D]
« Last Edit: January 02, 2011, 02:34:23 pm by Lionel Debroux »
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

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 #23 on: January 02, 2011, 02:45:11 pm »
I'd do that, but I have a TI-83 Plus with no cable :(

I'll have t copy one flash page at a time to an appvar and piece it back together on-comp.




Offline Lionel Debroux

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2135
  • Rating: +290/-45
    • View Profile
    • TI-Chess Team
Re: Recovering from a corrupted archive
« Reply #24 on: January 02, 2011, 02:52:44 pm »
Ah, yes, if you're transferring to the computer through another calculator, ROM dumping won't work for you...
Member of the TI-Chess Team.
Co-maintainer of GCC4TI (GCC4TI online documentation), TILP and TIEmu.
Co-admin of TI-Planet.

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Recovering from a corrupted archive
« Reply #25 on: January 02, 2011, 04:08:31 pm »
He can still transfer page by page, fortunately.
I'll write that program now.
Edit: Here you go :) When you run it, type the page number to dump in hex (no need to press alpha). It will create a 16KiB appvar called PAGEXX, where XX is the page. Note that you need enough free RAM. ;D
Edit 2: Note that the pages for an 83+ are from 00 to 1F
Edit 3: This program cannot dump the certificate (page $1E on an 83+). However, the program GETCERT in the Free83P zip file can.
« Last Edit: January 02, 2011, 08:41:03 pm by calcdude84se »
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

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 #26 on: January 02, 2011, 09:29:18 pm »
Can you give me the source for that, I'd like to learn it.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Recovering from a corrupted archive
« Reply #27 on: January 03, 2011, 01:54:42 am »
I hope everything can be recovered D: or at least the most important things, this sounds promising so i wish you the best of luck!

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Recovering from a corrupted archive
« Reply #28 on: January 03, 2011, 12:25:23 pm »
Dr.Dnar actually wrote a program to recover deleted things in the archive. Here it is. If it encounters a problem and says archive corrupted, you, I, or someone can change the code to make it persist. (I remember Dr.Dnar saying that was one problem he didn't fix.)

I have probably recovered about 20 programs with this, so it definitely works.
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

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 #29 on: January 03, 2011, 02:08:41 pm »
I know someone who has that on their calculator already... I'll try it. Thanks for the idea.