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

0 Members and 1 Guest are viewing this topic.

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 #45 on: January 04, 2011, 05:41:30 pm »
As a reality check, CERTIMG should be 3984 bytes, right?
I think it's supposed to be 16 kb (the size of one page)...
Yeah, it should be 16KiB.
As for getting the ROM someone should be able to write a script to combine all those appvars and the OS file into a ROM image.
"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 #46 on: January 04, 2011, 06:28:34 pm »
Darn, that means I typed something in wrong D: I had to type in the hex for GETCERT by hand (probably a bad idea). I also typed your dumper by hand, though, and it turned out well, thankfully. 16399 bytes, right? 16384 + two size bytes + VAT entry with 6-letter name?




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 #47 on: January 04, 2011, 06:36:20 pm »
Yep, mine should generate appvars of that size. :)
That's not good about GETCERT. :/ I guess you should try retyping it... I'm not sure what else you could do.
« Last Edit: January 04, 2011, 06:36:30 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 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 #48 on: January 04, 2011, 06:37:09 pm »
Does the certification ever change? I want to clear my archive, just in case... Then I'll run it.




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 #49 on: January 04, 2011, 06:40:09 pm »
The certificate changes most importantly upon receiving/deleting an app. If you clear your archive, the certificate image you generate cannot be used to generate an accurate ROM image of your corrupted archive. If all you wish to do is scan User Archive for your files, though, and not mess around with it in an emulator, then you can just clear your archive and not bother getting the certificate.
"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 #50 on: January 04, 2011, 06:41:37 pm »
Oh, I see. I already accidentally archived a variable again, though. Would that change it?




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 #51 on: January 04, 2011, 06:43:08 pm »
That shouldn't change the certificate. But again, unless you want to mess around in an emulator, you don't need it.
"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 #52 on: January 06, 2011, 10:38:27 am »
Here they are. I don't know how to build a ROM from it, so can someone give me info/make one for me? TIA!

I don't have CERTIMG, though, since I somehow made a corrupted version. I just got a working one done, so I'll post that in a few days.

And I'll try to look for those groups... How are they stored? Do they just have a list of VAT entries to the actual programs or somethign?

EDIT: Just realized: CERTIMG is copyrighted or something, right? In that case I won't actually post it here.
« Last Edit: January 06, 2011, 10:41:17 am by Deep Thought »




Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Recovering from a corrupted archive
« Reply #53 on: January 06, 2011, 10:54:12 am »
EDIT: Just realized: CERTIMG is copyrighted or something, right? In that case I won't actually post it here.
There's not any code in CERTIMG - there's just data (such as your calc ID, and permissions for your installed 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 #54 on: January 06, 2011, 11:52:13 am »
Update: Found my group CON!

The last copy (which should be the newest) is stored completely on page $11, which should make it easier to get it off. But I don't know exaclty how groups are stored, so anyone have info/link? Thanks!

EDIT: Another update: Found XDE on page $0C.

EDIT2: Got them back! Figured out how the groups were stored and used Calcsys to hack them back. I've gotten Contra and PapiJump back already, and now I'm looking for XDE :D
« Last Edit: January 06, 2011, 01:53:11 pm by Deep Thought »




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 #55 on: January 06, 2011, 08:02:00 pm »
Nice! Good luck finding the rest! :D
"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 #56 on: January 06, 2011, 08:03:52 pm »
Got Contra, PapiJump, XDE, and a bunch of misc. programs back. I tried to recover Ultimate Falldown the same way, but my calc glitched (which probably means that's the group that got corrupted). The ones I didn't get were minor projects, and I could probably recode them in a few minutes. So now I've reset my entire archive, and everything's good :)
« Last Edit: January 06, 2011, 08:04:46 pm by Deep Thought »




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 #57 on: January 06, 2011, 08:16:19 pm »
Nice. I guess you didn't need to make those appvars after all :P
"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 #58 on: January 06, 2011, 08:17:06 pm »
Yeah, I did need to :D It's a lot easier to search for strings of hex on the computer than on the calc.
« Last Edit: January 06, 2011, 08:17:16 pm by Deep Thought »




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 #59 on: January 06, 2011, 08:20:00 pm »
Ah. Calcsys does have a SEARCH command, though ;D
I guess you could briefly post the method you used like you said in the Contra thread?
"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.