pcm encoder
Moderators: scallenger, Rebel, madppiper, TresCom Support Team
- Rebel
- -=TresCom Developer=-
- Posts: 6137
- Joined: Sun Nov 10, 2002 10:26 pm
- Location: That country nobody likes (you know the one)
- Contact:
Re: pcm encoder
In case anyone is following my exploits, I've updated the encoder & decoder code (see attachment). Mainly, the only wav that can be encoded is a pcm & for tres' block specific alignment. The decoder doesn't decode anything but tres' ima/dvi adpcms since windows can play the standardized 512 block alignment without intervention. I left the code to decode the 512s anyways just for reference sake.
*see temp_page for files
*see temp_page for files
Castaway Final Release Link: https://www.mediafire.com/file/ro5qzl88 ... l.zip/file
Final Walkthru (Updated): https://www.mediafire.com/file/skkxy7b0 ... u.zip/file
Castaway Final (optional update): https://www.mediafire.com/file/2bh23l30 ... e.zip/file
Final Walkthru (Updated): https://www.mediafire.com/file/skkxy7b0 ... u.zip/file
Castaway Final (optional update): https://www.mediafire.com/file/2bh23l30 ... e.zip/file
- Draconisaurus
- T-Rex Killer
- Posts: 14077
- Joined: Mon Dec 06, 2004 5:21 pm
- Antispam: No
- Location: Isla Sorna
- Contact:
Re: pcm encoder
I think you just saved an entire day of work for JPDS. I might hug you through the monitor if I could. THANK YOU!
- Rebel
- -=TresCom Developer=-
- Posts: 6137
- Joined: Sun Nov 10, 2002 10:26 pm
- Location: That country nobody likes (you know the one)
- Contact:
Re: pcm encoder
Well, I'm not big on man hugs, would a cyber-handshake do?
I remembered you and a few others where interested in encoding the waves, so it was one of the main reasons that I decided to look into it. Good to hear the effort wasn't for not.
I remembered you and a few others where interested in encoding the waves, so it was one of the main reasons that I decided to look into it. Good to hear the effort wasn't for not.
Castaway Final Release Link: https://www.mediafire.com/file/ro5qzl88 ... l.zip/file
Final Walkthru (Updated): https://www.mediafire.com/file/skkxy7b0 ... u.zip/file
Castaway Final (optional update): https://www.mediafire.com/file/2bh23l30 ... e.zip/file
Final Walkthru (Updated): https://www.mediafire.com/file/skkxy7b0 ... u.zip/file
Castaway Final (optional update): https://www.mediafire.com/file/2bh23l30 ... e.zip/file
- Draconisaurus
- T-Rex Killer
- Posts: 14077
- Joined: Mon Dec 06, 2004 5:21 pm
- Antispam: No
- Location: Isla Sorna
- Contact:
Re: pcm encoder
Heheh, we should develop a secret Trespasser handshake where you can only move your arm in ways that Anne can.
Re: pcm encoder
So you mean in every single possible direction, apart from behind you, including twisting your wrist all the way around and being able to shoot yourself only if you look at the ground?Draconisaurus wrote:Heheh, we should develop a secret Trespasser handshake where you can only move your arm in ways that Anne can.
Bringing TPA CRCs up the well, amongst other file format adventures.
Blender 3.0 TPM Plugin [Project GitHub]
Blender 3.0 TPM Plugin [Project GitHub]
- tatu
- -=TresCom Website Manager=-
- Posts: 5100
- Joined: Fri Jun 24, 2005 9:40 pm
- Antispam: No
- Location: Sweden
- Contact:
Re: pcm encoder
And make the bug with arm so it get stick and then walk far away and it's miles in length?
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."
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."
- Draconisaurus
- T-Rex Killer
- Posts: 14077
- Joined: Mon Dec 06, 2004 5:21 pm
- Antispam: No
- Location: Isla Sorna
- Contact:
Re: pcm encoder
LMAO! No, Anne's arm has a specific way of moving, like a body language. You can try now; stick your arm out, and then bring it back in the way Anne's goes, like after trying to grab something. While manipulating some objects can put it in other positions, this operation generally means bending your elbow to the right while keeping the whole arm on a flat plane in front of you, with the top of your hand pointing straight up until and unless you grab something. Bah I don't feel like recording an example, maybe another time.
- Draconisaurus
- T-Rex Killer
- Posts: 14077
- Joined: Mon Dec 06, 2004 5:21 pm
- Antispam: No
- Location: Isla Sorna
- Contact:
Re: pcm encoder
Oooookay... Call me silly but I'm having trouble using this app. The readme doesn't give much detail -
I drag a file of 22050/mono/16-bit into the window. It displays the filepath of the wav. Nothing happens.. I press enter, it Exits, and no changes have been done. Could someone enlighten me as to how I use this to encode waves??
Code: Select all
Encoder setup for trespasser use. Only mono, 22050 sample_rate .pcm waves can
be encoded into ima/dvi adpcms. If you have a stereo (44100 sample_rate) you
wish to encode, first convert it to single channel, 22050, then encode to ima/
dvi adpcm format.
Re: pcm encoder
I guess you don't have to drag it onto the window after clicking on it, but onto the program's icon next to its name, rather... the same way you used other apps like swpz.exe
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
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
- Draconisaurus
- T-Rex Killer
- Posts: 14077
- Joined: Mon Dec 06, 2004 5:21 pm
- Antispam: No
- Location: Isla Sorna
- Contact:
Re: pcm encoder
Ahaaa....
Well that was kinda helpful to know. Upon doing that, it says "Wave file is already encoded, or wav type is stereo or unknown. Press [enter] to exit _" for each one I'm trying to convert.
I tried the batch file again, which is this:
The dino sounds there, which are the new ones non-indigenous to Trespasser, do not play when I fire up the menu. Here's a screen of the window for importing them:
Well that was kinda helpful to know. Upon doing that, it says "Wave file is already encoded, or wav type is stereo or unknown. Press [enter] to exit _" for each one I'm trying to convert.
I tried the batch file again, which is this:
Code: Select all
:: Used to create new TPA files
REM - Please, be patient and touch nothing!!!
REM - Adding Sound, may take several minutes.
REM - Wait, for program to complete its task!
tpaadd.exe Menu.tpa "BIRD 01.wav" "BIRD 01"
tpaadd.exe Menu.tpa "BIRD 02.wav" "BIRD 02"
tpaadd.exe Menu.tpa "BIRD 03.wav" "BIRD 03"
tpaadd.exe Menu.tpa "BIRD 04.wav" "BIRD 04"
tpaadd.exe Menu.tpa "BIRD 05.wav" "BIRD 05"
tpaadd.exe Menu.tpa "BIRD 06.wav" "BIRD 06"
tpaadd.exe Menu.tpa "BIRD 07.wav" "BIRD 07"
tpaadd.exe Menu.tpa "RapA.wav" "DINO - RAPT DIST A"
tpaadd.exe Menu.tpa "RapB.wav" "DINO - RAPT DIST B"
tpaadd.exe Menu.tpa "RapC.wav" "DINO - RAPT DIST C"
tpaadd.exe Menu.tpa "RexA.wav" "DINO - TREX DIST A"
tpaadd.exe Menu.tpa "RexB.wav" "DINO - TREX DIST B"
tpaadd.exe Menu.tpa "RexMisc.wav" "DINO - TREX DIST MISC"
tpaadd.exe Menu.tpa "Stomp.wav" "DINO - TREX FOOT"
@REM - Please, do not edit.
REM - OPERATION COMPLETE. QUIT, PROGRAM.
@ECHO OFF
- Attachments
-
- Errorz.jpg (229.99 KiB) Viewed 12886 times
- Draconisaurus
- T-Rex Killer
- Posts: 14077
- Joined: Mon Dec 06, 2004 5:21 pm
- Antispam: No
- Location: Isla Sorna
- Contact:
Re: pcm encoder
Btw, here's one of those non-working wav files:
http://www.box.net/shared/davvvasaha
EDIT: Nevermind! Just before uploading that sound, I tried resaving them using my own sound editor (I'd had Matt do them for me), and forgot to go test it. Now they seem to have imported correctly. Heard them in the menu.
http://www.box.net/shared/davvvasaha
EDIT: Nevermind! Just before uploading that sound, I tried resaving them using my own sound editor (I'd had Matt do them for me), and forgot to go test it. Now they seem to have imported correctly. Heard them in the menu.
-
- Pteranodon
- Posts: 792
- Joined: Sun Sep 07, 2008 3:08 pm
- Location: Bloomington, IN, USA
Re: pcm encoder
Excuse me, but how do I use it and where's the actual EXE? What's up with the .h files?
- Rebel
- -=TresCom Developer=-
- Posts: 6137
- Joined: Sun Nov 10, 2002 10:26 pm
- Location: That country nobody likes (you know the one)
- Contact:
Re: pcm encoder
glitch, the encoder is on my temp_page, last link. the exe. & instructions of how to use it should be within the file you download.
Castaway Final Release Link: https://www.mediafire.com/file/ro5qzl88 ... l.zip/file
Final Walkthru (Updated): https://www.mediafire.com/file/skkxy7b0 ... u.zip/file
Castaway Final (optional update): https://www.mediafire.com/file/2bh23l30 ... e.zip/file
Final Walkthru (Updated): https://www.mediafire.com/file/skkxy7b0 ... u.zip/file
Castaway Final (optional update): https://www.mediafire.com/file/2bh23l30 ... e.zip/file
Re: pcm encoder
Hi again, Rebel! How are things going?
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
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
Re: pcm encoder
Hey Rebel, nice to see you around!