Author Topic: Exporting/signing apps?  (Read 25609 times)

0 Members and 1 Guest are viewing this topic.

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Exporting/signing apps?
« on: September 18, 2010, 09:51:55 pm »
Does anybody know how I can export apps?
Also, what's 'signing apps'?  How does it work?
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Exporting/signing apps?
« Reply #1 on: September 18, 2010, 11:12:16 pm »
Export apps from what?
Spoiler For Spoiler:



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

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Exporting/signing apps?
« Reply #2 on: September 18, 2010, 11:32:57 pm »
Signing apps means packaging an application in TI's *.8xk format, with a digital signature (the 0104 key) so it can be sent to a calc. If an app is not signed, the calculator won't accept it (and I think TI-Connect won't even try to send it?). An app would run fine unsigned on a calculator (if compiled there using Axe), but if it wasn't signed it couldn't be sent to a computer.

For instance, ZDS (Zilog Developer Studio, one way to make apps- the only example I can think of) produces *.hex files. This contains all the code needed for an application. But you cannot send it to a real calculator without signing it first.

The 0104 key is the only signing key TI actually released, and it can be found in their 83+/84+/73 SDK along with Wappsign, a program to do that.

But Rabbitsign, a community-made program, can also sign apps, along with z80 OSes, 68k apps, and 68k OSes- as long as you download all the keys from BrandonW.net.

Does that explain it?



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Exporting/signing apps?
« Reply #3 on: September 18, 2010, 11:40:54 pm »
If I recall, Wabbitemu will also refuse unsigned apps.

Is Wabbitsign any good, btw? What about the one that comes with Flash Debugger?

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Exporting/signing apps?
« Reply #4 on: September 18, 2010, 11:47:09 pm »
That's Wappsign- by "SDK" I meant "Flash Debugger". I knew there was something else it was usually called.

It does what it's supposed to do. I doubt it works with anything but a z80 app- don't know if it would work if I tried to run the TI-73 app signing key through it (I don't have a TI-73 app source to try, anyway). It also has a GUI.



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Exporting/signing apps?
« Reply #5 on: September 18, 2010, 11:53:19 pm »
Ah ok, yeah I was wondering cuz I prefer stuff with actual GUIs. I don't know if Revsoft's Wabbitsign have a GUI, does it have one?

Offline TC01

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 344
  • Rating: +9/-0
    • View Profile
Re: Exporting/signing apps?
« Reply #6 on: September 18, 2010, 11:59:02 pm »
Nope, it's a commandline program.

But it also serves as a linker for assembly programs, which Rabbitsign can't do.



The userbars in my sig are links embedded links.

And in addition to calculator (and Python!) stuff, I mod Civilization 4 (frequently with Python).

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: Exporting/signing apps?
« Reply #7 on: September 19, 2010, 12:03:47 am »
I'm fairly sure Wabbit does allow unsigned apps because I'm pretty sure I've tried some and then later people are apologizing for not putting a signed one up.
Spoiler For Spoiler:



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

Offline BuckeyeDude

  • LV5 Advanced (Next: 300)
  • *****
  • Posts: 283
  • Rating: +42/-0
    • View Profile
Re: Exporting/signing apps?
« Reply #8 on: September 19, 2010, 12:17:01 am »
I'm fairly sure Wabbit does allow unsigned apps because I'm pretty sure I've tried some and then later people are apologizing for not putting a signed one up.
Wabbit does indeed accept unsigned apps...were too lazy to write a validator (although i suppose i could steal code from spasm). If you would like to check to see if an app is properly signed without sending it to a calc (the calc actually writes it to flash then erases it if it fails to validate), you can reset all memory on wabbit then load the app. This will simulate sending the app the long way and the os will actually validate it

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Exporting/signing apps?
« Reply #9 on: September 19, 2010, 12:25:43 am »
Ah that seems cool then. They delete after 16 runs, though, right?

SirCmpwn

  • Guest
Re: Exporting/signing apps?
« Reply #10 on: September 19, 2010, 11:53:40 am »
Yeah, I've noticed the delete thing, which really bugs me.  Perhaps we can patch this out?

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Exporting/signing apps?
« Reply #11 on: September 19, 2010, 12:40:47 pm »
It might be nice, especially since resending the app later sometimes fails too (missing from APPs menu), due to the face Wabbitemu force-accept apps sent to it.

SirCmpwn

  • Guest
Re: Exporting/signing apps?
« Reply #12 on: September 19, 2010, 01:15:05 pm »
I don't know much about patches, but I can look into it.

Offline Michael_Lee

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1019
  • Rating: +124/-9
    • View Profile
Re: Exporting/signing apps?
« Reply #13 on: September 19, 2010, 01:23:38 pm »
...
So...

Apps won't run unless they're signed, and only Rabbitsign can do that?
My website: Currently boring.

Projects:
Axe Interpreter
   > Core: Done
   > Memory: Need write code to add constants.
   > Graphics: Rewritten.  Needs to integrate sprites with constants.
   > IO: GetKey done.  Need to add mostly homescreen IO stuff.
Croquette:
   > Stomping bugs
   > Internet version: On hold until I can make my website less boring/broken.

SirCmpwn

  • Guest
Re: Exporting/signing apps?
« Reply #14 on: September 19, 2010, 01:29:37 pm »
No, they will run, but only up to 16 times.  Also, Wappsign can do it as well as rabbitsign, even though I prefer rabbitsign for its versatility.
« Last Edit: September 19, 2010, 01:30:09 pm by SirCmpwn »