Tpa Generator

List your programs here (game-related or other software).

Moderators: scallenger, Rebel, madppiper, TresCom Support Team

Post Reply
User avatar
Rebel
-=TresCom Developer=-
-=TresCom Developer=-
Posts: 6112
Joined: Sun Nov 10, 2002 10:26 pm
Location: That country nobody likes (you know the one)
Contact:

Tpa Generator

Post by Rebel »

Well, that's what I decided to call this. It takes a directory of cau files and exports a tpa file. There's a readme file as well as user info pasted onto the program's window so I won't bore y'all with more words.

The 7zip is below.
Attachments
Tpa_Generator_v1.7z
Tpa_Generator_V1
(175.6 KiB) Downloaded 492 times
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14032
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: Tpa Generator

Post by Draconisaurus »

I feel like we could use a first-post somewhere which lists all of these apps and their latest version links.. I would be quite lost trying to track them down if I got around to it.
User avatar
Rebel
-=TresCom Developer=-
-=TresCom Developer=-
Posts: 6112
Joined: Sun Nov 10, 2002 10:26 pm
Location: That country nobody likes (you know the one)
Contact:

Re: Tpa Generator

Post by Rebel »

Below is most likely the final version of this program. Added the ability to convert a single wav to
a cau (as well as adding any captions that one might want). This is a very simple to use program,
especially if one's not interested in any bells or whistles and you just want to create a tpa file in a
quick fashion.

@Drac. Yeah, they may be a bit scattered, but for the most part just about all the programs are
inside these programming boards somewhere.
Attachments
Tpa_Generator_v2.7z
tpa generatorv2
(178.71 KiB) Downloaded 481 times
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14032
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: Tpa Generator

Post by Draconisaurus »

Rebel wrote: @Drac. Yeah, they may be a bit scattered, but for the most part just about all the programs are
inside these programming boards somewhere.
That actually does help a bit with the future potential search, thanks.
User avatar
Rebel
-=TresCom Developer=-
-=TresCom Developer=-
Posts: 6112
Joined: Sun Nov 10, 2002 10:26 pm
Location: That country nobody likes (you know the one)
Contact:

Re: Tpa Generator

Post by Rebel »

Tatu informed me that he got a false positive for malware for this program, so I'm releasing the code
to quell any concerns. The code is for the latest release of the generator (v2 (1012)) as noted by the
file dates.

Explaining the code would take too long, but simply put; counts the number of cau files within a giv-
en directory, calculating the size of a tpa header would be and adds those as zeros to a file. Then, it
writes out header info to one file and appends all the cau data to the file with the zeros.

Afterwards, we just overwrite the zeros with the correct header info. The temp header file is deleted
and we're left with the new tpa file. My coding style is a little whack_a_doodle, so don't be surprised
if you're sort of left scratching your head after looking through it. :?
Attachments
tpageneratorv2code.zip
tpa generator code
(194.29 KiB) Downloaded 487 times
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14032
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: Tpa Generator

Post by Draconisaurus »

So Tatu just got a new computer, I bet it's from that. I have gotten malware warnings from various random releases in the past. I suspect any original exe is vulnerable to this warning from Windows.
Post Reply