No One Lives Forever PS2 .LIT Files (Compressed Voices WAV packages)

Codecs, formats, encoding/decoding of game audio, video and music
Tgames
Posts: 81
Joined: Mon Apr 01, 2019 10:49 am

No One Lives Forever PS2 .LIT Files (Compressed Voices WAV packages)

Post by Tgames »

Hi everyone !

Thanks again to aLuigi for the script to extract the PS2 REZ File !

I found that the voices WAV files are stored in all .LIT extracted files from the LITH_PS2.REZ

Here is some LIT examples files (extracted from LITH_PS2.REZ) :

https://we.tl/t-vXmwvd9qfa

The PS2 NOLF REZ File (LITH_PS2.REZ) :

https://mega.nz/#!unQkVKDT!ygoH01WVA7r2 ... DLJdfOQqs4

For faster download : LITH_PS2.REZ (7zip compressed 1,40gb only !)

https://we.tl/t-4DTT772vdF

The Script made by aLuigi :

http://aluigi.org/bms/nolf_ps2.bms

I can see that all WAV voices files are named exactly the same as the PC Port.
As the PS2 version contains french voices (and not the PC port) i will use theses files to inject them in the PC port.
And we can see the ID « LithTech PSX Sound Data 1.20 »

Image

They seems to be compressed i guess ?

About the PC Port (just to compare) :

Image

The PC REZ File (just to compare, nothing has to be done on it, we already have everything !)
https://mega.nz/#!uvIkiYqK!_cyAbfaH6O9F ... bh1MOckJX4

Can someone on the "Audio and Video file formats" section check if the WAV are in the .LIT files and what compression is used (if there is a compression) ?

Thanks a lot !
Last edited by Tgames on Tue Apr 02, 2019 11:21 am, edited 2 times in total.
Tgames
Posts: 81
Joined: Mon Apr 01, 2019 10:49 am

Re: No One Lives Forever PS2 .LIT Files (Compressed Voices WAV packages)

Post by Tgames »

Code: Select all

I compressed to 7zip the "LITH_PS2.REZ" for aLuigi.

https://we.tl/t-4DTT772vdF

It's now only 1,40gb to download now ! For faster download.

I think you really need the file to found others blocks for the script.

Best Regards !


I managed to read every voices in theses .LIT files.

1) Download PSounds
here :http://snailrush.online.fr/PSound/PSound201.zip

2) Open PSounds and go to "OPTIONS" -> "CONFIGURE"
Set "Sample Rate" to Force 16000Hz

3) Open Any .LIT files, and click "scan anyway" (it will first don't recognize the file then... magic every voices are viewable and readable !!! :O)

Can someone make a script to extract them ?

Now we are sure there are in theses files and we are able to read all of them !

Edit: Warning some WAV are not render in 16000Hz, you have to select "8000Hz" for some !

Edit 2: It seems lot of .LIT files are missing in the first extract of the LITH_PS2.REZ.
I only got the english voices in this export (it's seems !)

Edit 3: After first analyse :

- LITH_PS2.REZ is separated in 5 blocks :

1st block is english language only
2nd block is another language
3nd block is another language
4nd block is another language
5nd block is another language

The Script of aluigi only extract the 1st block (english only) for now.

The languages are (English/French/Deutsch/Espagnol/Italiano).

LITH_PS2.REZ :

https://mega.nz/#!unQkVKDT!ygoH01WVA7r2 ... DLJdfOQqs4

All .LIT files contains Sounds Effects and Voices.
In 1 .LIT file is always the same language (if the lit is french, we will have always french voices in this LIT).

LIT file contains multiple WAV file at different Sample Rate <!>. In a same LIT file you can have 16000Hz, 10000hz, 8000hz... It's never the same Sample Rate.

Edit 4:

To aLuigi,

Indeed only 30% of the REZ file is extracted, lot of files are not extracted for now.

I have extracted myself some WAV Voices file from LIT files on the LITH_PS2.REZ.

Theses LIT files were not extracted with your script
It's some french voices.

https://we.tl/t-5CfPCVCnPN

If it can help.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: No One Lives Forever PS2 .LIT Files (Compressed Voices WAV packages)

Post by aluigi »

I have noticed your long topic on abandonware-forums.org started one year ago:
https://www.abandonware-forums.org/foru ... er-1/page2

I'm working on it, once I find some fields I can extract the playable audio
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: No One Lives Forever PS2 .LIT Files (Compressed Voices WAV packages)

Post by aluigi »

Script 0.1.3:
http://aluigi.org/bms/nolf_ps2.bms

As far as I can see all the samples are mono, if you find something strange just tell me.
Folders aren't assigned to files because they aren't so clear and are probably of little use.
Tgames
Posts: 81
Joined: Mon Apr 01, 2019 10:49 am

Re: No One Lives Forever PS2 .LIT Files (Compressed Voices WAV packages)

Post by Tgames »

aluigi wrote:I have noticed your long topic on abandonware-forums.org started one year ago:
https://www.abandonware-forums.org/foru ... er-1/page2

I'm working on it, once I find some fields I can extract the playable audio


Yes we work on the translation of No One Lives Forever since 1 year with no luck because manually it takes forever ^^
But since your work on the script, we have done huuurge improvements !

Thanks a lot for the script !

So now with the update i got .SS2 files from the .LIT files.
But theses files can no longuer be readed by PSound.

Maybe i forgot to modify something on the script ?
Please let me know what i need to do :)

It's will be so cool, if you can extract directly the audio.
Indeed all sounds are mono.

For the moment, only i can do, is to open the .LIT files with PSound, and try lot of Hz value to find the good one to read at the right Hz and extract it one by one ^^
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: No One Lives Forever PS2 .LIT Files (Compressed Voices WAV packages)

Post by aluigi »

ss2 is a known format.
It can be read with vgmstream and others (people in this section know a lot about this stuff).
Tgames
Posts: 81
Joined: Mon Apr 01, 2019 10:49 am

Re: No One Lives Forever PS2 .LIT Files (Compressed Voices WAV packages)

Post by Tgames »

Perfect !

Soooo coool, it's works perfectly with VGMGUI !

A huge thanks !
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: No One Lives Forever PS2 .LIT Files (Compressed Voices WAV packages)

Post by Puterboy1 »

Tgames wrote:Perfect !

Soooo coool, it's works perfectly with VGMGUI !

A huge thanks !

Great, now that you have managed to make them function, you can put them up on www.sounds-resource.com.
Bambuch0
Posts: 5
Joined: Mon Oct 29, 2018 12:34 pm

Re: No One Lives Forever PS2 .LIT Files (Compressed Voices WAV packages)

Post by Bambuch0 »

Hi aluigi. Thanks for your program and various scripts. I used them many times in different projects.

Any way to put these .ss2 files back to .lit? I want to inject russian translation to PS2 version of game but quickbms dont do this and write me an error:
Error: script invalid for reimporting, it uses MEMORY_FILEs
You can use the -. option or quickbmsver "-." if this script is meant
to act as a header/data builder (for example if it adds a RIFF header
to raw PCM data embedded in the file, and so on), the MEMORY_FILE data
will be skipped automatically allowing to reimport the real file data

-. option does not help.

New sound files are equal than originals. The same frequency and size.
I read about MEMORY_FILE in readme file but i need to put this files to .lit archives. Any way to rewrite the bms script to allow do this?
I tried using the HEX editor and all works fine but there are too many files to do it manually.