Author Topic: TFE - Resurrection (TI-File Editor)  (Read 26088 times)

0 Members and 1 Guest are viewing this topic.

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: TFE - Resurrection (TI-File Editor)
« Reply #45 on: September 17, 2010, 09:43:56 am »
i see it doesn't matter wheter you write If...Then...End, or just only If, it just starts a new highlight block, while the End command will be never found while looping through the code. so there is an error in the syntax highlighting: when there is a single If in BASIC (not in Axe), just only the next expression* should be highlighted is that color, not all the other code in the file.

Then there is a question you will now the answer to (I think): which type of checksum is used in the program header?

*this is not necessarily the next line, because there can just be a semicolon between the If statement and the next expression
« Last Edit: September 17, 2010, 09:46:52 am by LordConiupiter »
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: TFE - Resurrection (TI-File Editor)
« Reply #46 on: September 17, 2010, 11:20:18 am »
Oh, yeah, I need to fix that.  Cause, you know, that part was harder to do the incomplete ones, so I did the straight ifs first, and yeah, i forgot to add those.  And what do you mean by "checksum"?
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: TFE - Resurrection (TI-File Editor)
« Reply #47 on: September 17, 2010, 01:26:14 pm »
well, I don't really know how to explain. when you want to write a 8xp file that could also be send using TIconnect, it should have a valid checksum or so stored in the first few bytes of the file. when that is not done correctly, TIconnect wouldn't send it to the calc, and perhaps even other linking programs won't do it. I would like to know how to create that checksum, so I can write valid 8xp files, so I don't have to export all my data created by my progs in plain text, and then use cemetech or your prog.
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: TFE - Resurrection (TI-File Editor)
« Reply #48 on: September 17, 2010, 01:56:39 pm »
O... well, theres a whole format, not just a single checksum...
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline LordConiupiter

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 339
  • Rating: +3/-0
  • Just one of the thousands of Axe-fans...
    • View Profile
Re: TFE - Resurrection (TI-File Editor)
« Reply #49 on: September 17, 2010, 02:22:31 pm »
which class is for writing the file?

EDIT: I found it!
am I allowed to use your code?
« Last Edit: September 17, 2010, 02:55:22 pm by LordConiupiter »
everytime that I was down, you would always come around, and get my feedback on the ground. (modified part from 'Seasons in the sun')

No matter how many errors are bothering you, always try to stay rel-Axe!

The HoMM project will be resumed as soon Axe 1.0.0 will be released!
Projects:
Code: [Select]
HoMM:   [==--------]    Project 'resumed': I'm suffering overwhelming new ideas being popped up in my dreams :P
tiDE:   [----------]    Explored and understood the main part of the code: just started writing a Tokenizer.



password of the week: uvanapererubupa (Any pronunciation is the right one ;) )   :D click me, and you'll be raided :D

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: TFE - Resurrection (TI-File Editor)
« Reply #50 on: September 17, 2010, 05:51:21 pm »
99% of tokens are added, only a couple of the "BBxx" tokens and the bold N, since it's not in their font set and I'll need to fix that... Anyways, what I'm saying is they are added...

Hmmm, odd. I tried just loading a program that has the Omnimaga logo (lowercase Sigma, "m," Pi, imaginary number i, "m," Alpha, "g," Alpha) and it doesn't show correctly.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: TFE - Resurrection (TI-File Editor)
« Reply #51 on: September 17, 2010, 06:42:43 pm »
Hmm, ok it seems that that "o" is one the couple BBxx tokens I didn't add... sorry I misspoke. the "a" is definitely added there as an "a" tho, I don't know why it would be showing "n" (the letters in quotes are the special symbols im to lazy to find to copypasta :P)
@LordConiupiter Sure, but that code might not really work too well (be easy to work with), If you want, I could wrap it  into an easy function that you can just copy in if you want...
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: TFE - Resurrection (TI-File Editor)
« Reply #52 on: September 17, 2010, 08:31:52 pm »
Ah ok. Well what's up with the cosh-1? :P
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: TFE - Resurrection (TI-File Editor)
« Reply #53 on: September 17, 2010, 10:21:29 pm »
Well, since it's unsure whether it's one or two bytes, it just tells you both then skips one. AKA "CB" = "cosh-1", since it just skipped the CB (I mean BB :P) part...
« Last Edit: September 17, 2010, 10:24:25 pm by cooliojazz »
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: TFE - Resurrection (TI-File Editor)
« Reply #54 on: September 17, 2010, 10:22:14 pm »
Ah ok. Gotcha.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: TFE - Resurrection (TI-File Editor)
« Reply #55 on: September 19, 2010, 05:54:40 pm »
Well I found a bug. When a program is being opened that has the expr( it displays it as "Exch(" as individual tokens.

Also, I don't think this is a bug in the program but for what ever reason this won't just start up from the executable. I have to run it from the executable inside the .zip file ??? Just thought I'd mention that since it involves it.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: TFE - Resurrection (TI-File Editor)
« Reply #56 on: September 19, 2010, 07:46:14 pm »
First of all, that sounds like you are reporting a bug in the axe recognition.  But... What do you mean by ""Exch(" as individual tokens."? And about that... Umm... I really don't know, thats really odd...
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: TFE - Resurrection (TI-File Editor)
« Reply #57 on: September 19, 2010, 08:21:55 pm »
What do you mean about the Axe thing? expr( isn't an Axe token, nor was this an Axe program. I'm confused.

As for what I mean. I mean when the program with expr( opened up at each place where expr( was it showed "Exch(." Then when I moved it back to a calculator, I did it before I noticed the bug, it was like someone just used [ALPHA] to type each letter and parenthesis in. Make more sense?
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline cooliojazz

  • Support Staff
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 619
  • Rating: +66/-9
  • I omnoms on your soul
    • View Profile
    • Unreal Phantasies
Re: TFE - Resurrection (TI-File Editor)
« Reply #58 on: September 19, 2010, 08:27:09 pm »
I just checked ma' 4.3 documentation, expr() = Exch()... And thats what I mean by a bug with Axe recognition, it thinks a non-Axe program is axe.  Gotta fix that... =P Thats weird its doing that tho... its just doing that with axe replaced tokens, right?
Spoiler For Random signess:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."

TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here | The Rest Should Be Here (Bandcamp)

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: TFE - Resurrection (TI-File Editor)
« Reply #59 on: September 19, 2010, 08:40:44 pm »
Oh ok, my bad. I didn't know Exch( was a Axe token. But even if it is a Axe token shouldn't it have saved it as if it were expr(, or something like that?

As far as I know it's just doing it with that. I haven't tested anything else.
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)