Author Topic: Athena: Calculator project installer  (Read 14995 times)

0 Members and 4 Guests are viewing this topic.

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: Athena: Calculator project installer
« Reply #45 on: December 19, 2010, 06:41:13 pm »
Oh I thought tig was the same? Since both opens with Extract all...

And grabbing only the first file of a group seems familiar. When ungrouping files in early versions of WabbitEmu or Flash Debugger, that happened as well. Seems like it's hard to deal with group files. X.x

Offline Iambian

  • Coder Of Tomorrow
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 739
  • Rating: +216/-3
  • Cherry Flavoured Nommer of Fishies
    • View Profile
Re: Athena: Calculator project installer
« Reply #46 on: December 19, 2010, 07:19:19 pm »
It's not *that* hard. The one thing in the file that you're supposed to look at (which isn't directly stated in the linkguide) is that the data section size covers the entire data section, which can contain multiple files. Most people won't look past the first file since they assume that this size is equal to the header for the packed file plus its data. When you've gone past the first file in the group, your count doesn't match up with the aforementioned size. When this happens, there's more to be read. I ought to look forward for further contents, which are the other files in the group.

Most of the .8xx files are formatted this way, but the vast majority of them just have one entry. Which is to say, if you have something that'll read grouped files, it'll also read any other file, be it a .8xv, .8xp, or whatever in a very consistent way. In fact, it may not be necessary to know the extension if one just read the contents of the file, since filetypes and all other relevant data is kept within.

And in keeping with what you said, that revelation clicked for me once it started happening to Athena as well. I feel like I understand the file format a bit more now.

Oh, and I really should get back to work on Athena. Been playing Stepmania since I last posted or something like that and ... yeah. Too many breaks :P
A Cherry-Flavored Iambian draws near... what do you do? ...

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: Athena: Calculator project installer
« Reply #47 on: December 19, 2010, 10:19:56 pm »
Lol ok, well good luck with the release. ;D

Offline Iambian

  • Coder Of Tomorrow
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 739
  • Rating: +216/-3
  • Cherry Flavoured Nommer of Fishies
    • View Profile
Re: Athena: Calculator project installer
« Reply #48 on: December 21, 2010, 01:23:46 am »
It goes well. A little more work putting in extra features and ironing things out, and it should be golden.
At the moment, you can test and install archives. For this exercise, I'm using Illusiat 13 as the example. See screenshot below.
A Cherry-Flavored Iambian draws near... what do you do? ...

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: Athena: Calculator project installer
« Reply #49 on: December 21, 2010, 10:51:12 am »
Looks nice! :D Two questions: What's the 40803 when installing for, and can TI-Connect deal with those programs over 32KiB in size?
"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 Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Athena: Calculator project installer
« Reply #50 on: December 21, 2010, 10:53:49 am »
It goes well. A little more work putting in extra features and ironing things out, and it should be golden.
At the moment, you can test and install archives. For this exercise, I'm using Illusiat 13 as the example. See screenshot below.

Looks very good :)

I ask myself the same questions as calcdude84se, though...

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Athena: Calculator project installer
« Reply #51 on: December 21, 2010, 11:04:28 am »
Looks great! ;D  Nice job Iambian. :D

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Athena: Calculator project installer
« Reply #52 on: December 21, 2010, 11:05:47 am »
Wow really nice! hold on!
I'm not a nerd but I pretend:

Offline Iambian

  • Coder Of Tomorrow
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 739
  • Rating: +216/-3
  • Cherry Flavoured Nommer of Fishies
    • View Profile
Re: Athena: Calculator project installer
« Reply #53 on: December 21, 2010, 12:26:02 pm »
Looks nice! :D Two questions: What's the 40803 when installing for, and can TI-Connect deal with those programs over 32KiB in size?
The 40803 is a bug. A really stupid one, but one that doesn't mess up anything. It's actually supposed to display the current file, but I guess I ought to change it anyway. Needs to say something like "File x of y"

And I believe it should. I did manage to get 60KB files to my (real) calc, but I don't quite remember what I used to do it. It was either TI-Connect or TiLP.

I've also gotta work on, of all things, the documentation. Athena won't do anyone any good if no one knows how to use it.
A Cherry-Flavored Iambian draws near... what do you do? ...

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: Athena: Calculator project installer
« Reply #54 on: December 21, 2010, 01:40:42 pm »
Wow this is looking great O.O The compression you are getting is pretty spectacular, awesome job! ;D

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: Athena: Calculator project installer
« Reply #55 on: December 21, 2010, 02:52:29 pm »
Awesome Iambian! This shall make installing large games and keeping them all on the same calc much easier now. ;D

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Athena: Calculator project installer
« Reply #56 on: December 21, 2010, 02:55:50 pm »
looking great Iambian :D can't wait to use this!
/e

Offline Iambian

  • Coder Of Tomorrow
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 739
  • Rating: +216/-3
  • Cherry Flavoured Nommer of Fishies
    • View Profile
Re: Athena: Calculator project installer
« Reply #57 on: December 21, 2010, 07:43:06 pm »
The Z80 Athena seems to be mostly done now. The only thing that doesn't really work is the "Repair" command, but then again, you can always uninstall and re-install to achieve the same effect.

The PC Athena still needs to get some group support, but once that's done, I'll be releasing Athena for testing. It shouldn't be much longer now.
A Cherry-Flavored Iambian draws near... what do you do? ...

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: Athena: Calculator project installer
« Reply #58 on: December 21, 2010, 07:45:31 pm »
The Z80 Athena seems to be mostly done now. The only thing that doesn't really work is the "Repair" command, but then again, you can always uninstall and re-install to achieve the same effect.

The PC Athena still needs to get some group support, but once that's done, I'll be releasing Athena for testing. It shouldn't be much longer now.

That reminds me of Window's uninstalling/reparing programs program. What about program compatibility? Any program(s) that don't work? Or all of them do?

Offline Iambian

  • Coder Of Tomorrow
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 739
  • Rating: +216/-3
  • Cherry Flavoured Nommer of Fishies
    • View Profile
Re: Athena: Calculator project installer
« Reply #59 on: December 21, 2010, 08:59:16 pm »
[...]
That reminds me of Window's uninstalling/reparing programs program. What about program compatibility? Any program(s) that don't work? Or all of them do?
They all should, since they're mostly hybrid BASIC programs that are being packaged here. Thing is, it won't install FlashAPPs, and according to some sources, installing them from file can be a major pain. Not worth it unless someone could write up some example code. I recall that the way Axe does it is rather hackish, so I wouldn't want to bloat the installer any more than it is unless I can figure out a way to keep its RAM footprint low.

On another note, adding in group support wasn't /that/ painful. I got RoL3 to package and install. It just takes forever to install due to the sheer number of programs there are. The screenshot I'll enclose will show a memory view of the archives and the testing portion, but not the actual install. No one has ten minutes to watch a screenshot.

When I get the whole thing put together, I'll be releasing the packer and installer.

EDIT: Also attached is a copy of Reign of Legends 3 (Thanks DJ). It is an example of what my program is capable of. Just run Athena as an ASM program. Like Asm(prgmATHENA) and then follow along. Controls are easy to figure out. Just try it.
« Last Edit: December 21, 2010, 09:36:15 pm by Iambian »
A Cherry-Flavored Iambian draws near... what do you do? ...