Encoding trespasser compatible wavs

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

Moderators: scallenger, Rebel, madppiper, TresCom Support Team

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

Encoding trespasser compatible wavs

Post by Rebel »

Some of you gents are insane with these 20 - 30mb music clips! As an example, I took Draco's 24mb clip;
AMB-SNES-TRIC-TROT, converted it to 22050 single channel, then encoded it to Trespasser's unique block
alignment. What I turned out was a wav file of 1.45mbs. Naturally, it'll only play inside of the game or by
the tpa_player (normal wave players don't play Trespasser's compressed wavs as you know), but it sounded
ok to me (both in the player and in_game).

24mbs down to 1.45mbs is a big difference -
Attachments
AMB-SNES-TRIC-TROT_ENCODED.zip
snes music wav
(1.29 MiB) Downloaded 313 times
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Encoding trespasser compatible wavs

Post by machf »

Yeah, that's why I joked about Drac having included the whole Jurassic Park soundtrack by John Williams in his TPAs...

Oh, and Rebel, my player has no problem playing it...
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
Rebel
-=TresCom Developer=-
-=TresCom Developer=-
Posts: 6119
Joined: Sun Nov 10, 2002 10:26 pm
Location: That country nobody likes (you know the one)
Contact:

Re: Encoding trespasser compatible wavs

Post by Rebel »

Oh, and Rebel, my player has no problem playing it...
What player do you have, machf? I know windows player won't play them, I don't think
audacity does either, does it?

btw, the encoder listed on the main site doesn't work correctly, maybe that's why Draco
said when he tried it the produced wave sounded lousy.
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Encoding trespasser compatible wavs

Post by machf »

Media Player Classic, Home Cinema Edition, with FFdshow for the codecs.
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14045
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: Encoding trespasser compatible wavs

Post by Draconisaurus »

machf wrote:Yeah, that's why I joked about Drac having included the whole Jurassic Park soundtrack by John Williams in his TPAs....
Hah. That was in reference to EastDock, I remember that. I got pretty upset about the comment, too :lol:
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Encoding trespasser compatible wavs

Post by machf »

I think the TPAs added up to about half the tonnage of the level...
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
Rebel
-=TresCom Developer=-
-=TresCom Developer=-
Posts: 6119
Joined: Sun Nov 10, 2002 10:26 pm
Location: That country nobody likes (you know the one)
Contact:

Re: Encoding trespasser compatible wavs

Post by Rebel »

Well, there's a few more in the link below. Drac, your chaos-island music was 42mbs! That's insane. It's encoded down
to 2.7mbs. I'm not opposed to super stereo quality music clips, but I'd at least drop the sample rate down to 22050, you
could do so without a noticeable loss of quality.

https://www.mediafire.com/file/eofhwf1k ... ps.7z/file
User avatar
tatu
-=TresCom Website Manager=-
-=TresCom Website Manager=-
Posts: 5088
Joined: Fri Jun 24, 2005 9:40 pm
Antispam: No
Location: Sweden
Contact:

Re: Encoding trespasser compatible wavs

Post by tatu »

Too bad Lee is not that active. Otherwise we could ask for a system for CE where you could store the audio files in their own folder and it would read/play them. Kinda like how you can setup a folder to store the screenshots in. :) They would just be named with their ID used.
Active project: Trespasser: Isla Sorna
Status:
BE-PH1: Released
PH2-IT: Pre-released
PL-SUM: In production

"...there used to be more benches, but InGen's workers removed them during the evacuation in the name of framerate."
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Encoding trespasser compatible wavs

Post by machf »

Trespasser at some point allowed you to do that, sort of. Only that you needed the sounds saved as .CAU files, and referenced them by their names. Look at the old documents:
TRIGGERS - Temp 0705.doc wrote: AUDIO ACTIONS

Samples and location
Samples are currently specified my filename. The filename is relative to the audio directory that is local to the current .GRF file. If the .GRF file is in C:\Test and the specified sample is Voice00.CAU then the full of the sample will be C:\Test\Audio\Voice00.CAU

File Format
Triggers will not load .WAV files, only .CAU files which are the internal game format and are optimized for compressed streaming. The compression used within the .CAU file is controlled by the compression tool and is hidden from the rest of the system, therefore it does not need to be specified.

Information
See the audio document for more details and suggested formats.
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
tatu
-=TresCom Website Manager=-
-=TresCom Website Manager=-
Posts: 5088
Joined: Fri Jun 24, 2005 9:40 pm
Antispam: No
Location: Sweden
Contact:

Re: Encoding trespasser compatible wavs

Post by tatu »

Do we know if the game still supports this?
Active project: Trespasser: Isla Sorna
Status:
BE-PH1: Released
PH2-IT: Pre-released
PL-SUM: In production

"...there used to be more benches, but InGen's workers removed them during the evacuation in the name of framerate."
User avatar
machf
T-Rex Killer
T-Rex Killer
Posts: 12368
Joined: Thu Apr 24, 2003 11:20 pm
Location: Lima, Peru
Contact:

Re: Encoding trespasser compatible wavs

Post by machf »

No idea, it's worth a try...

If the code is still present, it could be modified to play regular WAV files, too.
Visit The Carnivores Saga - a forum devoted to modding Action Forms' Carnivores, Carnivores 2 and Carnivores: Ice Age games
Tres WIP: updated T-Script Reference and File Formats documents
Sound name listings for the Demo (build 117), Retail (build 116), Beta 103, Beta 99, Beta 97, Beta 96, Build 55, PC Gamer Alpha (build 32) and E3 1998 Alpha (build 22) TPA files
User avatar
tatu
-=TresCom Website Manager=-
-=TresCom Website Manager=-
Posts: 5088
Joined: Fri Jun 24, 2005 9:40 pm
Antispam: No
Location: Sweden
Contact:

Re: Encoding trespasser compatible wavs

Post by tatu »

A quick test with the demo show it doesn't work. I wonder if older GUIApp versions (E3) can do it.
Active project: Trespasser: Isla Sorna
Status:
BE-PH1: Released
PH2-IT: Pre-released
PL-SUM: In production

"...there used to be more benches, but InGen's workers removed them during the evacuation in the name of framerate."
User avatar
Rebel
-=TresCom Developer=-
-=TresCom Developer=-
Posts: 6119
Joined: Sun Nov 10, 2002 10:26 pm
Location: That country nobody likes (you know the one)
Contact:

Re: Encoding trespasser compatible wavs

Post by Rebel »

I'm sure they ditched that idea early on in the engine's development, tatu. Instead of having hundreds of .cau files sitting inside of
a folder, they (and I'd assume that would have been wyatt) developed the .tpa file format. A lot of the games I've played do have
the audio sitting inside of a folder (Indiana jones comes to mind), but it isn't the sheer number that Trespasser uses.
User avatar
tatu
-=TresCom Website Manager=-
-=TresCom Website Manager=-
Posts: 5088
Joined: Fri Jun 24, 2005 9:40 pm
Antispam: No
Location: Sweden
Contact:

Re: Encoding trespasser compatible wavs

Post by tatu »

Some games, both old and modern ones support both. They have packed files that will be read first, then anything else that is unpacked/placed outside of them will overwrite what is inside the packed files. :)
Active project: Trespasser: Isla Sorna
Status:
BE-PH1: Released
PH2-IT: Pre-released
PL-SUM: In production

"...there used to be more benches, but InGen's workers removed them during the evacuation in the name of framerate."
User avatar
Draconisaurus
T-Rex Killer
T-Rex Killer
Posts: 14045
Joined: Mon Dec 06, 2004 5:21 pm
Antispam: No
Location: Isla Sorna
Contact:

Re: Encoding trespasser compatible wavs

Post by Draconisaurus »

Heh, Chaos Island music? Which track are you referring to...
Post Reply