Omnimaga

Calculator Community => TI Calculators => General Calculator Help => Topic started by: Raylin on March 22, 2010, 07:34:10 am

Title: [DATA EXPUNGED?]: Corrupt Groups?
Post by: Raylin on March 22, 2010, 07:34:10 am
So, for some godforsaken reason, my calculator is being a data whore.
When I extract ANY of my groups, I always end up with a program with no data. (16 bytes)
When I delete it, it RAM clears me.
I hope I didn't lose my files.

Any ideas on why this may happen?
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: DJ Omnimaga on March 22, 2010, 01:55:03 pm
Mhmm this is interesting. I think the only way to fix it is to try sending the groups on the computer or another calc, archive everything if applicable then try ungrouping and see what happens. if your groups are fine, then your calc needs a fresh memory reset (RAM and Archive), or maybe even an OS reinstall. If you reach the point where you have to reinstall the OS, then attempt making new groups afterward, and they can't ungroup fine, or if your current groups ungroup fine on other calcs and not yours, then I am afraid your calc might be bricked x.x
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: SirCmpwn on March 22, 2010, 02:02:27 pm
Try using Brandon Wilson's group tool to only ungroup what you need, and to group it to ROM.  Then, reset your RAM.  Delete the old group and re-group it all.  That's what I do with a corrupt group.
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: DJ Omnimaga on March 22, 2010, 02:05:12 pm
Oh wait forgot about that one, that could maybe work too.

Btw, does CelticIII has group/ungroup support? Maybe that could be another option
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: SirCmpwn on March 22, 2010, 02:08:28 pm
Yeah, I think that Celtic III has support for groups.
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: Iambian on March 22, 2010, 02:12:03 pm
Celtic III does *not* handle corrupted groups. A poor workaround: don't index the grouped items; just start extracting them item by item, checking each item after each extraction for its integrity. Once you've found the corrupt entry, clear your RAM then ungroup what you were able to successful extract. Back that up and then try to look for other methods of recovering that data. I'm sorry, but I can't think of any other way to deal with something like that.

I've had this happen to me a couple of times before. Thankfully, I've had other backups I could fall back on.

Sorry to hear this. Best of luck to you.
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: DJ Omnimaga on March 22, 2010, 02:16:57 pm
AAaah ok I see x.x

Now waht about SourceCoder? I think it supports ungrouping, right? (see Cemetech)
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: Galandros on March 23, 2010, 04:25:57 pm
Group corrupting is too much common. :( Bad TI.
GroupTool is quite useful. The only problem is it can be slow seeing large groups.

AAaah ok I see x.x

Now waht about SourceCoder? I think it supports ungrouping, right? (see Cemetech)
Yes it does. It opens all the programs and I don't remember if lets you edit other kind of variables.
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: DJ Omnimaga on March 23, 2010, 04:32:35 pm
I found something:

http://tibasicdev.wikidot.com/grouping

Quote
It's also been reported that in large enough groups, the calculator may change a bit in the data when ungrouping — in practice, this might result in an error when running the newly-ungrouped program. To be on the safe side, you should check that a group "works" before deleting the original files. It's also possible that splitting the large group in two (if this is feasible) will fix the issue.
I had this happen on OS 1.12 through 1.14. Mana Force came out with a slightly corrupted program once ungrouped in earlier versions once, causing me to have to re-release the game. However, I did not know this still happened in newer OS versions (given TIBD started in 2006, by then most people were probably using 1.18 or later)
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: mapar007 on March 29, 2010, 02:24:05 am
On a related note: have you also been plagued by those ERR:VERSION errors in programs and groups? I think I must have fixed those version bytes a kajillion times at school for people who couldn't transfer their favorite game to their friend. ('Where's Matthias gone? URGENT!!' Gaahhh...)

I haven't got a clue how those version bytes got changed, though. Anyone?
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: DJ Omnimaga on March 29, 2010, 02:26:25 am
Yeah I got those a lot. Very annoying, and back then I lost many game progress due to this. When I grouped stuff to backup, I always created two groups, in case.

Fortunately this bug went away in OS 1.18
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: mapar007 on March 29, 2010, 04:16:31 am
Oh... Then it must somehow have reappeared in OS 2.43 and 2.40. I've seen the problems there as well. Maybe 1.18 was an exception in the series.
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: DJ Omnimaga on March 29, 2010, 04:46:04 am
I also heard people talking about BAD ADDRESS too. What I think is that 1.18 fixed it on 83+ calcs (and fixed the ability to group archived files on 83+SE), but these bugs were either not fully fixed for 84+ calcs or re-appeared later.

(Is it me or does sometimes TI reminds me of both Microsoft and Jester Interactive when it comes to software bugs?)
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: Galandros on March 29, 2010, 05:26:07 am
I don't remember having those errors.

But most of the groups are made on my calc or from recent downloads...
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: SirCmpwn on March 29, 2010, 08:21:35 am
If you don't mind spending a few hours with your calculator, I would advise getting Brandon Wilson's flavour of CalcUtil (the one that supports Flash editing) and trying to manually fix your groups.  However, be careful what you do with the Flash, cause you can seriously screw up your calculator if you aren't careful.
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: Raylin on March 29, 2010, 09:37:19 am
^++
CalcUtil is a can of awesome.
GrpTool has proven useful as well.

*Prophet thinks of an awesome article to write and runs off
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: Galandros on March 29, 2010, 10:03:37 am
If you don't mind spending a few hours with your calculator, I would advise getting Brandon Wilson's flavour of CalcUtil (the one that supports Flash editing) and trying to manually fix your groups.  However, be careful what you do with the Flash, cause you can seriously screw up your calculator if you aren't careful.
I saw that. It may be useful for some hacks.
But better ask Brandon whether the flash unlocking and write to flash is "clean"...
Wondering if flash writing works in the z80 calc emulators...
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: mapar007 on March 29, 2010, 10:52:34 am
It does. (at least in TilEm) I tested it.
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: DJ Omnimaga on March 29, 2010, 01:15:08 pm
If you don't mind spending a few hours with your calculator, I would advise getting Brandon Wilson's flavour of CalcUtil (the one that supports Flash editing) and trying to manually fix your groups.  However, be careful what you do with the Flash, cause you can seriously screw up your calculator if you aren't careful.
I saw that. It may be useful for some hacks.
But better ask Brandon whether the flash unlocking and write to flash is "clean"...
Wondering if flash writing works in the z80 calc emulators...
I assume some of the mistakes that you can do can trigger bad stuff such as deleting the OS certificate, right?
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: mapar007 on March 31, 2010, 02:13:15 am
Yes. It's possible, but you need a bit of [un]luck. The certificate requires flash unlocked to read it, but there is no further restriction to prevent people from writing to it.
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: Iambian on March 31, 2010, 09:09:03 am
Yes. It's possible, but you need a bit of [un]luck. The certificate requires flash unlocked to read it, but there is no further restriction to prevent people from writing to it.
It is certainly possible, but from what I hear, BrandonW is using romcalls to perform the write to Flash (why write a routine yourself if they give you something for that already?) In that case, there are safeguards built into those routines that deny writing to the certificate page. It's so important to TI, they have another romcall to use if you want to write there.

Still wouldn't try it. Wouldn't risk it. For the curious, the certificate page is the second to last page in Flash. (Either $1E, $3E, or $7E)
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: mapar007 on March 31, 2010, 09:18:01 am
There is _WriteFlashUnsafe... :D


There is _WriteFlash and WriteFlashUnsafe, and, funnily enough, _WriteAByte and _WriteAByteSafe. Both use fallthrough to prevent writing to the cert. page. (and maybe also the 7x pages in OS space? Iambian?)
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: DJ Omnimaga on March 31, 2010, 01:37:04 pm
Still wouldn't try it. Wouldn't risk it.
that's unless you got your calculator for like $5, though :P
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: Iambian on March 31, 2010, 06:47:38 pm
There is _WriteFlashUnsafe... :D


There is _WriteFlash and WriteFlashUnsafe, and, funnily enough, _WriteAByte and _WriteAByteSafe. Both use fallthrough to prevent writing to the cert. page. (and maybe also the 7x pages in OS space? Iambian?)
The last time I looked at the code, the only restriction (if they have them) that the routines have is the inability to write to the certificate page. Didn't look too hard at the code, tho.
Still wouldn't try it. Wouldn't risk it.
that's unless you got your calculator for like $5, though :P
That's cruelty to calculators! Bad DJ! Bad bad! :P

Anyway. There should be no point in manually fixing the groups if they're on-calculator and in Flash. You should try to extract what you can (by reading off memory addresses if you have to) and then rebuild the group later on. Editing Flash is a messy business anyway.
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: DJ Omnimaga on March 31, 2010, 11:05:25 pm
bah it's just a ti calc after all, it's not like if it was something much better like a HP or a Casio :D  *runs*

On a serious note I wonder if it's really hard to extract stuff like this?
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: mapar007 on April 03, 2010, 04:46:33 am
It's not really hard because groups are not compressed. You can rescue most of the data, but it's a major nuisance to do so.
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: Raylin on April 03, 2010, 09:58:12 am
I tried doing this with GrpTool.
Oi. It was a pain.
Apparently, every program that was last on the group list was corrupted.
Or had duplicates of itself.
:(
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: SirCmpwn on April 03, 2010, 11:35:40 am
I had a similar problem once, I managed to fix it by selecting all and extracting to RAM, deleting the old group and re-grouping them.  Let me know if that works, Raylin.
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: Raylin on April 03, 2010, 11:58:33 am
It failed.
All of the programs, when I looked inside of them, were a horrible jumble of jibberish.
Ah well.
I reset ALL MEMORY and started over.
Let's call this a fresh start.
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: DJ Omnimaga on April 03, 2010, 12:34:10 pm
That definitively sounds like corruption x.x

Now I sure hope you did not lose every single of your calc projects, though :/
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: Raylin on April 03, 2010, 12:42:13 pm
I did and I didn't.
I lost a couple but not all.
:\
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: DJ Omnimaga on April 03, 2010, 12:47:38 pm
Ouch :/

That makes me scared of backing my calc up, now. I have an idea, though: make sure all my files are on both my Nspire 84+ mode and TI-83+ before trying to group anything or sending stuff to my PC. But that doesn't work for people who only own one compatible calc...
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: Raylin on April 03, 2010, 12:54:35 pm
So, what are you saying?
Just drop the programs straight on the computer?
No grouping?
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: DJ Omnimaga on April 03, 2010, 01:19:20 pm
I first drop them on  a second calc, but it only works if you own two calcs, then on the computer ungrouped. However, I am uncertain this will fix the issue, because I did have corruption with Illusiat 2004 files, too, before.

My suggestion is to keep copies of your files ungrouped and grouped on your calc, then send only the ungrouped files. Once on the PC, test your game in WabbitEmu. if it fails, retry another transfer until they work fine in WabbitEmu. Before attemptuing to send the groups, make sure the ungrouped files on calc are intact. If not, then ungroup them, then send the groups to your comp. Idk if sending files grouped or ungrouped will make a difference, though. It's just that sometimes TI Connect corrupts all files when sent to the PC. Strangely enough, I never heard of this happening until maybe a year ago. Could it be due to recent Windows updates?
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: Raylin on April 03, 2010, 01:24:09 pm
Agreed.
I too only heard about such things a year ago.

Is Microsoft trying to screw TI over?
Farfetched, I know.
But, the possibility exists.

After all, if you're trying to cover up one aspect of the computer, you'll inevitably end up patching the benevolent programs, too.
Title: Re: [DATA EXPUNGED?]: Corrupt Groups?
Post by: DJ Omnimaga on April 03, 2010, 03:42:11 pm
Idk, it's just that Microsoft probably won't be careful with compatibility enough when releasing updates, or TI just need to update their stuff more often.