Thanks for the help.
| Author | Comment | ||
|---|---|---|---|
mhergenrader |
TIGCC Tools Suite Help - Total Noob Question |
Lead | |
|
I know this may sound a total newbie question, but how exactly do I use the TIGCC tools suite so I can exepack my programs? Or am I totally off base here? I think this is the thing that uses "decompressing..." before lots of programs, right? I see it in a lot of games, and I was just wondering if that was in here and how I would use it.
Thanks for the help. |
|||
Kevin Kofler |
Re: TIGCC Tools Suite Help - Total Noob Question | ||
|
The easiest way to exepack a TIGCC program is to use the builtin compression support in TIGCC. Just check the option in the project options in the IDE or pass -pack to the command-line compiler.
|
|||
TRgenius |
Re: TIGCC Tools Suite Help - Total Noob Question | ||
|
If you have trouble doing that, make sure you checked the box to support exePack compression when you installed TIGCC (I remember someone having that problem before).
|
|||
Kevin Kofler |
Re: TIGCC Tools Suite Help - Total Noob Question | ||
|
Right.
We hope to be able to resolve the licensing issues so we can enable ExePack by default. The original pucrunch author already relicensed his code to a GPL-compatible license, but we need Samuel Stearley to follow suit for his ASM version(s) of the decompression code. This is currently being negotiated. |
|||
mhergenrader |
Re: using exepack | ||
|
So I really don't add the tools suite programs to the Tools... Configure option?
|
|||
Kevin Kofler |
Re: using exepack | ||
|
No, that would be a bad idea because they all need command-line parameters.
|
|||
mhergenrader |
Re: exepack | ||
|
I'm a little confused here. (Should I be?
|
|||
Kevin Kofler |
Re: exepack | ||
|
-pack is not a GCC switch, it's a command-line tigcc.exe switch. In the IDE, there is a checkbox "Compress program" in the Project Options dialog.
|
|||
mhergenrader |
Re: using exepack | ||
|
So does "decompressing..." only show up when my program is pretty large?
|
|||
TRgenius |
Re: using exepack | ||
|
I think it always does, you just notice it (because it's there longer) when the program is large.
|
|||
Kevin Kofler |
Re: using exepack | ||
|
There is no "decompressing..." message in current pstarter launchers to reduce launcher size.
|
|||
maxtheterrible |
Re: using exepack | ||
|
But looking at a different point of view, if you don't have the source code of the program to be packed, what I always do:
1. Copy the program to be patched to the TT bin directory or TTPPGGEN to the program directory 2. Run "TTPPGGEN [NAME OF PROGRAM TO BE PACKED] [NAME OF OUTPUT PROGRAM (w/o extension)] 3. Send the .89y (or .9xy) file to my calc and run it with SuperStart by Greg Dietsche (Read SuperStart readme) You can obtain SuperStart @ Super Start |
|||
Kevin Kofler |
Re: using exepack | ||
|
Or you can rebuild pstarter with the correct program name to get a customized launcher (and the latest version at that).
1. Get the pstarter source code: www.tigen.org/kevin.kofler/ti89prog/pstarter.zip. 2. Replace "tempprog" with the name of your PPG. 3. Rename pstarter to what you want your program to be called. Other alternatives are ttstart or the TICT Explorer. |
|||