Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: Binder News on October 31, 2010, 05:08:53 pm

Title: 8xp to text converter
Post by: Binder News on October 31, 2010, 05:08:53 pm
Okay, I am looking for a PROGRAM (not online converter), that will convert 8xp files back into text. If I have to I will make one myself but I don't want to.
Title: Re: 8xp to text converter
Post by: Munchor on October 31, 2010, 05:09:23 pm
Okay, I am looking for a PROGRAM (not online converter), that will convert 8xp files back into text. If I have to I will make one myself but I don't want to.

I don't think that exists/is possible.
Title: Re: 8xp to text converter
Post by: Runer112 on October 31, 2010, 05:13:57 pm
Okay, I am looking for a PROGRAM (not online converter), that will convert 8xp files back into text. If I have to I will make one myself but I don't want to.

I don't think that exists/is possible.

I believe a few exist. Tokens (http://ourl.ca/6647) for example is a project currently being developed by merthsoft right here at omnimaga.

EDIT: Didn't you just post in that thread a few days ago ScoutDavid? Lol :P
Title: Re: 8xp to text converter
Post by: souvik1997 on October 31, 2010, 05:20:22 pm
It is certainly possible, you just need to read the 8xp file and convert the hex into ASCII. I don't think there is any 8xp -> text converter software avilable now, but SourceCoder can do that online. Also, DocDE7 has a text -> DocDE file converter.

Link to SourceCoder: sc.cemetech.net (http://sc.cemetech.net)
Link to DocDE7:http://www.ticalc.org/archives/files/fileinfo/398/39851.html (http://www.ticalc.org/archives/files/fileinfo/398/39851.html)
Title: Re: 8xp to text converter
Post by: FinaleTI on October 31, 2010, 05:30:59 pm
It is certainly possible, you just need to read the 8xp file and convert the hex into ASCII. I don't think there is any 8xp -> text converter software avilable now, but SourceCoder can do that online. Also, DocDE7 has a text -> DocDE file converter.

Link to SourceCoder: sc.cemetech.net (http://sc.cemetech.net)
Link to DocDE7:http://www.ticalc.org/archives/files/fileinfo/398/39851.html (http://www.ticalc.org/archives/files/fileinfo/398/39851.html)
To expand on that, you can also use Tokenizer DE (http://www.ticalc.org/archives/files/fileinfo/430/43048.html) to make programs with DocDE7.
Title: Re: 8xp to text converter
Post by: Michael_Lee on October 31, 2010, 06:02:05 pm
Not sure if this is what you're looking for, but this is what I use.
I wrote a batch file for it, once you extract everything from the zipfile, keep the folder structure intact and drag the .8xp program over the batchfile.  It outputs a file with a .tib extention, which is pretty much identical to a .txt, so just open it.
It doesn't handle lowercase at all, and returns gibberish instead (which is a pain).  But you can just delete the weirdness and insert your text (or optionally, find a way to automate the task - each lowercase returns the same gibberish each time).
Title: Re: 8xp to text converter
Post by: Binder News on October 31, 2010, 06:05:39 pm
Thanks Michael, that should work for now.
Title: Re: 8xp to text converter
Post by: DJ Omnimaga on November 01, 2010, 01:49:52 am
There's also this: http://tiforge.info/ti_editor/

I'M not sure if this is proper 8xp to text conversion, though. It's also in French. Not sure if it's any better than SourceCoder but it seems to have some cool features as well (Maybe I could get Kerm to add them to SC2)
Title: Re: 8xp to text converter
Post by: DrDnar on November 01, 2010, 05:03:03 pm
TI's highly outdated GraphLink software has a program editor. It can convert to and from text.
Title: Re: 8xp to text converter
Post by: DJ Omnimaga on November 01, 2010, 06:32:56 pm
I wonder if that old thing works under Windows 7 64 bit... I used it a lot back then, but I had XP. It was already pretty unstable as it was designed for Windows 95, 98 and NT 4.0.
Title: Re: 8xp to text converter
Post by: Runer112 on November 01, 2010, 06:45:19 pm
I wonder if that old thing works under Windows 7 64 bit... I used it a lot back then, but I had XP. It was already pretty unstable as it was designed for Windows 95, 98 and NT 4.0.

I use TI's Program Editor for most of my program writing, and I'm running Windows 7 x64 :P
Title: Re: 8xp to text converter
Post by: Binder News on November 01, 2010, 09:06:01 pm
The problem is that I need to be able to have MY program read and write in the TI file format.
Title: Re: 8xp to text converter
Post by: DrDnar on November 01, 2010, 09:09:36 pm
The TI variable format is pretty easy to read and write; the TI Link Guide found on ticalc.org has documentation on the format. The challenge will be tokenize/detokenize code, and generating the look-up table for the token's text.
Title: Re: 8xp to text converter
Post by: DJ Omnimaga on November 01, 2010, 09:17:07 pm
I wonder if that old thing works under Windows 7 64 bit... I used it a lot back then, but I had XP. It was already pretty unstable as it was designed for Windows 95, 98 and NT 4.0.

I use TI's Program Editor for most of my program writing, and I'm running Windows 7 x64 :P
Oh we meant the even older TI program editor built in TI-Graph Link, not the one that came with TI-Connect 1.5. The one we were talking about dates all the way back in 2001. I still have it on a CD that came with my TI-83 Plus Silver edition:

(http://web.interware.hu/pclink/ti-graph.gif)

If I remember, it was a 16-bit application, which is why I was asking.
Title: Re: 8xp to text converter
Post by: Munchor on November 06, 2010, 12:13:50 pm
Not sure if this is what you're looking for, but this is what I use.
I wrote a batch file for it, once you extract everything from the zipfile, keep the folder structure intact and drag the .8xp program over the batchfile.  It outputs a file with a .tib extention, which is pretty much identical to a .txt, so just open it.
It doesn't handle lowercase at all, and returns gibberish instead (which is a pain).  But you can just delete the weirdness and insert your text (or optionally, find a way to automate the task - each lowercase returns the same gibberish each time).

I just used it, it looks fantastic, really nice. Congratulations
Title: Re: 8xp to text converter
Post by: Michael_Lee on November 06, 2010, 12:31:47 pm
Thanks, but all credit should go to Matthew Iselin (whoever that is).
All I did was write the batch file so you don't have to use command prompt all the time and package everything together.
Title: Re: 8xp to text converter
Post by: Munchor on November 06, 2010, 12:40:28 pm
Thanks, but all credit should go to Matthew Iselin (whoever that is).
All I did was write the batch file so you don't have to use command prompt all the time and package everything together.

Congratz to both, then
Title: Re: 8xp to text converter
Post by: DJ Omnimaga on November 07, 2010, 01:21:14 am
Hmm nice I didn't knew about that tool. One day, I or someone need to make a topic in the help section listing every possible program or websites that can open 8xp files, save them, edit them, convert them to txt, disassemble 8xp to hex, etc. That would be very useful. That said, SourceCoder often does a pretty good job. I think the only time it doesn't as much is when using certain pastebin sites that doesn't support unicode.
Title: Re: 8xp to text converter
Post by: thepenguin77 on November 07, 2010, 03:12:50 pm
Ok, this took way longer than I expected it to, but I finished it.

Here (https://docs.google.com/leaf?id=0BwCVAkfyn6_vY2MzYThmOWYtNjgwYS00ODk1LTgwMGYtZmYyOTExOWNkZjVi&sort=name&layout=list&num=50) is a 8xp to text converter. It can handle all available tokens on the calculator and appears in my testing to be error free. For tokens that I couldn't make work in C++, like theta, I did my best replace them with something logical. (theta = <theta>, sigma = E, √ = sqrt, etc.)

I must say that my old basic programs look really cool in notepad :D  And there are a lot of token in the TI OS...
Title: Re: 8xp to text converter
Post by: meishe91 on November 07, 2010, 03:56:04 pm
That's really cool, I'll try it out later. I only have one question, will it not get confused, or something, when you hit an "E" or a "Σ" since they use the same letter?
Title: Re: 8xp to text converter
Post by: DJ Omnimaga on November 07, 2010, 03:58:52 pm
Nice, I am wondering about what Meishe91 said too, though.
Title: Re: 8xp to text converter
Post by: thepenguin77 on November 07, 2010, 04:09:50 pm
It's just a one way converter. It can't take text back to 8xp. If you really want to do that, you might as well use SourceCoder. I made this mostly so you can blow up your calc files and look at them.
Title: Re: 8xp to text converter
Post by: meishe91 on November 07, 2010, 04:55:18 pm
Ah ok, I gotcha. After I made that post I was thinking about how it's a one way converter so my bad :P
Title: Re: 8xp to text converter
Post by: DJ Omnimaga on November 07, 2010, 05:22:24 pm
Ah, right, I see now :)
Title: Re: 8xp to text converter
Post by: Binder News on November 08, 2010, 09:13:28 pm
Thanks! This is exactly what I needed. By the way, why do you need to install the C++ runtime libs? Shouldn't C++ compile to obj then exe?
Title: Re: 8xp to text converter
Post by: meishe91 on November 11, 2010, 05:05:25 pm
@Penguin
I found an bug in the converter. There was an area in the code that was prgmDISPLAY and it converted it to "uISPLAY" so I figured something went wrong there.
Title: Re: 8xp to text converter
Post by: Binder News on November 11, 2010, 05:57:47 pm
Thx.
Title: Re: 8xp to text converter
Post by: thepenguin77 on November 11, 2010, 06:07:49 pm
After talking with brandonW, you don't need to install them. Turns out as long as you have something newer than windows 98, you already have them. That prgmuISPLAY is strange. I'll have to look at that.