TPAAdd instructions

Creating new content for Trespasser!

Moderators: TresCom Support Team, TresCom Board Managers, TresCom Developers

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

TPAAdd instructions

Post by Rebel »

Ok, our trespasser engineer (Andres) is once more off traveling, so
I'm going to do a quick rundown of the TPAAdd Program. It works, so please don't get frustrated if you don't get it the first time since
I too, originally had some trouble with it.



Important Notes:

*Your target tpa (the tpa you want to alter, obviously) needs to be 'archive' and not 'read only'



*Keep your data paths simple. Your best bet is to place the TPAAdd onto your desktop, along with a 'copy' of the tpa that you either want to replace, or add sound too. Also place your wav file that you wish to add or use as a replacement on your desktop as well.



*Program works with a command prompt, meaning of course, no nice interface for us lazy folks.



Steps:

1)Go to MS Dos Prompt (located in start menu, programs and under
accessories).

2) Type in: \desktop\TPAAdd

3) Once program starts, press any key

4) The c prompt (C:\WINDOWS>) now shows.


*For example, my tpa file target is Menu.tpa and my sound is beep.wav*


*To replace wav file*

After the c prompt (C:\windows>) type;

desktop\TPAAdd.exe desktop\Menu.tpa desktop\beep.wav "DINO - TREX FOOT"

This command line 'replaces' "DINO - TREX FOOT" with the wav file 'beep'. If there are no spacings between the wav file's name
, no quotes are necessary.

To add wav file*

After the c prompt (C:\windows>) type;

desktop\TPAAdd.exe desktop\Menu.tpa desktop\beep.wav "SOUND ID1"

This command line 'added' the beep.wav to the Menu's tpa file. If added to the STream.tpa, it'd be accessible ingame by the following(string Sample = "SOUND ID1") Please note however, that using the Menu.tpa was just an example. Adding sounds to the menu is useless since these names are coded into the exe. You can of course 'edit' the exe., but if you don't keep the same byte size, you'd corrupt the exe for several different reasons. Besides, you wouldn't expect a player to edit their exe. anyway. It isn't practical -- So, if you want to use new sounds for the Menu, stick with replacing the 15 tracks already in existence.


All sounds, should be added to the proper tpa file too. Please
see Andres' notes included within the TPAAdd's release txt.

To this end, if I had wanted to add the beep.wav to a tpa file, I
would have done so in the effects.tpa. Got, it? ;)


This should all be old school for you people who remember the ol'
Dos days. :)

Remember too, that your new sounds must be either Windows PCM format or IMA\DVI ADPCM. I haven't experimented with the
compression (16bit) area of this program, so in that respect, I
can't help there. There may also be easier command lines that
can be written, though I know that the above examples 'work'
with the program....
Wajas
-=TresCom Website Manager=-
-=TresCom Website Manager=-
Posts: 308
Joined: Mon Nov 11, 2002 5:09 pm
Antispam: No
Location: UK

Post by Wajas »

Hey guys...we could now replace the Tres dino noises with the real JP ones...
Post Reply