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

0 Members and 3 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 #60 on: December 22, 2010, 02:20:05 am »
Nice Iambian! I'll really have to try this! It will really make installing those games easier. I think there will be another feature on ticalc.org soon since it will make most large games with many files much easier to install. :)

What's with the weird files such as 'v, though? O.O
« Last Edit: December 22, 2010, 02:20:28 am by DJ Omnimaga »

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 #61 on: December 22, 2010, 02:24:55 am »
Those strange files are things that don't display right. In the case of RoL3, those are your pic files. May want to fix it eventually, but I think it's fine like it is.
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 #62 on: December 22, 2010, 02:29:42 am »
Ah ok, well this should be fine I guess if they work fine. :D

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: Athena: Calculator project installer
« Reply #63 on: December 22, 2010, 06:29:20 am »
This is pretty cool and it works fine in Wabbit, but when I try to send an archive to my physical calculator, it says the file is corrupt or invalid. I'm using TI-Connect, btw.

Edit: Exporting them from Wabbit allows them to be sent, though... The Axe MIDI Converter had a similiar problem. Maybe something with the checksum? I dunno.
« Last Edit: December 22, 2010, 06:33:44 am by FinaleTI »


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Athena: Calculator project installer
« Reply #64 on: December 22, 2010, 07:28:15 am »
This is awesome Iambian! I can't believe how quickly this has come together! =)

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 #65 on: December 22, 2010, 10:22:16 pm »
This is pretty cool and it works fine in Wabbit, but when I try to send an archive to my physical calculator, it says the file is corrupt or invalid. I'm using TI-Connect, btw.

Edit: Exporting them from Wabbit allows them to be sent, though... The Axe MIDI Converter had a similiar problem. Maybe something with the checksum? I dunno.
If possible, would you attach both files, the one that won't send and the one that will? Much appreciated, since something like this can help me come to a solution much sooner.

EDIT: Scratch that. Replace the file you're using with the one attached below.
EDIT2: Found another error. Replacing TIPACK01 with TIPACK02
« Last Edit: December 22, 2010, 11:05:06 pm by Iambian »
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 #66 on: December 23, 2010, 04:47:12 pm »
Just saw this got added to ticalc.org archives, great!

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 #67 on: December 23, 2010, 08:07:36 pm »
Still finding bugs with the installer. FFTOM2 is a great project to test this thing on, and it's revealing that Athena won't handle lists properly. I figure I'll get that thing to install first and then I'll update the release on ticalc.org.

EDIT: It actually writes the list out now (test version) but something is destabilizing Athena. Not sure what yet.

EDIT2: It seems CreateVar doesn't like making lists. Will have to use the romcall specific for that, then.

EDIT3: Now the game won't run. "This is quite a conundrum."
« Last Edit: December 23, 2010, 09:06:15 pm by Iambian »
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 #68 on: December 26, 2010, 02:49:55 am »
Sorry to hear about the problems. I hope eventually you can figure them out.

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 #69 on: February 02, 2013, 01:33:16 pm »
Necropost.

After just over two years, I've decided to revisit this little project. The major change is the packager interface, which is now much more user-friendly. This time around, instead of having to mess around with file folders and batch files, all you have to do is drag and drop into the window and click the packager button to make your files.

This has already been done and the application can now generate data files that can be read by the original Athena installer. I haven't released this version yet because I'm still working on overhauling the installer so it has a far smaller memory footprint during installation (ideally, zero. Yes, it's possible). Along with this, I want to implement the ability to make Athena packages self-extracting.

That's going to take some doing.

EDIT: Added screenshots of the packager window. Win7 makes them look prettier than they should be. Illusiat 13 is being used here.
« Last Edit: February 02, 2013, 01:34:26 pm by Iambian »
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 #70 on: February 02, 2013, 01:36:53 pm »
Glad to see it's still worked on. I was also wondering if you would ever cross-post about this here lol :P. I need to give this a try on Zelda DLQ when finished.

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Athena: Calculator project installer
« Reply #71 on: February 06, 2013, 06:02:23 pm »
Very nice Iambian. You should post some progress on some of those other projects of yours. :P *nudge nudge* *wink wink*
« Last Edit: February 06, 2013, 06:03:12 pm by Art_of_camelot »

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 #72 on: February 19, 2013, 04:04:00 pm »
A semi-crosspost from Cemetech.

This project is nearing a releasable form. I've given a pre-release copy to geekboy, and posted a quick link to the download in both the Cemetech and Omnimaga IRC channels for quick testing, and I've found one thing out.

The SWT libraries that drive the interface will not work in a 64-bit JVM. I can think of a couple of solutions for this, but what would be the best one? I could...
(1) Package the 64-bit SWT libraries and have the app choose which to load at run-time
(2) Build two packages, one 32-bit and the other 64-bit.
(3) Tell the user to download a 32-bit JVM if they're using a 64-bit machine.

Other possible bugs weren't found, since the only tester to report back told me he couldn't run the program on his 64-bit machine.

So far, the visible changes made to the packager since the last time I posted includes checkboxes next to the names of each file that lets you exclude files for packing. While that feature is next to useless if you have nothing but individual files, this is almost essential if you're putting in group files but need to exclude certain parts of it. (No, I will not add support for .tig files. You can use WinZip or your favorite .zip program for unpack those)

I've also finished up a working version of the Athena self-extracting installer. It works in a test case where I have the metadata file in the build, but now I need to get it so the packager can apply stub needed to make the output files self-extracting.

----
The .jar file is 1.92MB large, with less than 40KB of it being the code I wrote. Everything else is dependencies. I find this disgusting, but what can I do other than not use Java?

If you can think of any related utilities that might go well with this project, please suggest them.
A Cherry-Flavored Iambian draws near... what do you do? ...

Offline TIfanx1999

  • ಠ_ಠ ( ͡° ͜ʖ ͡°)
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 6173
  • Rating: +191/-9
    • View Profile
Re: Athena: Calculator project installer
« Reply #73 on: February 19, 2013, 05:37:28 pm »
I think options 1 and 2 are both very good choices. 1 probably being the best as it requires the least from the user.

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 #74 on: February 21, 2013, 12:51:52 am »
1 might be best. It would be less confusing I think and 3 might be annoying if it requires the user to constantly switch between a 32 bits and 64 bit JVM (if he runs a 64-bit OS and that some programs only run in a 64-bit JVM.