[SOLVED] REZ Files Opening from No One Lives Forever 1
-
- Posts: 81
- Joined: Mon Apr 01, 2019 10:49 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
It's works perfectly for all texts of the game !
I have just imported them with the REIMPORT2_DRAGON.bat !!
So cool
I have just imported them with the REIMPORT2_DRAGON.bat !!
So cool
-
- Posts: 290
- Joined: Fri Mar 30, 2018 2:48 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
Tgames wrote:GHFear wrote:Tgames wrote:Thanks again
How to use the REIMPORT for all files in a directory ?
Here is a new download with batch scripts for autoreimport to for all modes. Mode 1 and 2.
For both REZ and DRAGON.
Just unpack the files, let them all stay in their original position in the unpacked folder after you mod them and then just double click the reimport mode you want to use. it should reimport automatically, and if you have more than 1 DRAGON or REZ file, it will ask you to click RETURN or ENTER after the first reimport to continue to the next one.
Thanks !
I works but some voices files are bigger than originals. I think i need to compress then with a Audio Converter software.
A big thanks
If they are bigger than original, use REIMPORT2. then it MIGHT work even if it's bigger. At least it will repack it.
-
- Posts: 290
- Joined: Fri Mar 30, 2018 2:48 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
Tgames wrote:It's works perfectly for all texts of the game !
I have just imported them with the REIMPORT2_DRAGON.bat !!
So cool
Awesome! Always cool to see when reimport2 works. It doesn't work on all games, but when it works, it awesome.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
The rez format is not the same one used for other Monolith games.
I have made a script for these formats:
http://aluigi.org/bms/nolf_ps2.bms
I have made a script for these formats:
http://aluigi.org/bms/nolf_ps2.bms
-
- Posts: 290
- Joined: Fri Mar 30, 2018 2:48 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
Last update to the batch files and a tiny change to the rez script aluigi posted for easy export and import.
No reimport2 because it's a padded offset. But it has normal reimport.
No reimport2 because it's a padded offset. But it has normal reimport.
-
- Posts: 81
- Joined: Mon Apr 01, 2019 10:49 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
A HUGE thanks for you two !
You have made a really good work !
aLuigi,
LITH_PS2.REZ is now fully extracted ?
Because i still not found the voices files in the export.
It's really seems to be compressed ?
GHFear,
Don't worry i only need to extract the files not to inject them.
Because in the PC versions, it's just voices in WAV format.
So when i can get the voices from the PS2 version and convert them to WAV it will be done for me
-------------------------------------------------------------
I found where are stored the VOICES !
It's in all .LIT files in each LIT files it stores all WAV files :
"LithTech PSX Sound Data 1.20"
Can you make a script to extract each .LIT files ? It stores a lot of WAV files
You have made a really good work !
aLuigi,
LITH_PS2.REZ is now fully extracted ?
Because i still not found the voices files in the export.
It's really seems to be compressed ?
GHFear,
Don't worry i only need to extract the files not to inject them.
Because in the PC versions, it's just voices in WAV format.
So when i can get the voices from the PS2 version and convert them to WAV it will be done for me
-------------------------------------------------------------
I found where are stored the VOICES !
It's in all .LIT files in each LIT files it stores all WAV files :
"LithTech PSX Sound Data 1.20"
Can you make a script to extract each .LIT files ? It stores a lot of WAV files
-
- Posts: 81
- Joined: Mon Apr 01, 2019 10:49 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
In all .lit files (extracted from LITH_PS2 thanks to aluigi) we have all sounds/voices (a lot stored in each lit files) of the game per missions.
The ID is "LithTech PSX Sound Data 1.20"
And each files in this holder are all in WAV format (maybe compressed i guess)
We just need to have a script to extract theses files and we have finished ! So cool !
Some .lit files example for aLuigi/GHFear :
https://we.tl/t-vXmwvd9qfa
aLuigi/GHFear, can you make a script for theses files, please ?
Like you can see, all WAV voices are named EXACTLY the same as the PC version.
When we will have the script to extract WAVs from LIT files, i just have to copy-paste on the PC version (everything is already done for tools for the PC version).
We are so close now ! I hope you can do something for theses LIT files
Again a big thanks for your work aLuigi.
-
- Posts: 290
- Joined: Fri Mar 30, 2018 2:48 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
it's weird that the extracted files are only 1GB and the archive is almost 4GB... I can't wrap my head around it.
-
- Posts: 81
- Joined: Mon Apr 01, 2019 10:49 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
GHFear wrote:it's weird that the extracted files are only 1GB and the archive is almost 4GB... I can't wrap my head around it.
Yes indeed it's strange, i also saw that.
But don't worry, all i need are the Voices in WAV format.
To inject them in the PC version to have french voices.
Monolith only made a french version of the game for PS2.
And the PC port is english only !
Hopefully we have every tools to inject voice in 2 seconds in the PC port.
I just need thoses voices from the PS2. I pretty sure they are stored in theses LIT.
You think they are also in the LIT files ?
------------------------------------------------------------------------------------------
PS: Thanks to you, i finished the french translation of Dragon Lore Gold (V2.0)
All voices, all texts, all cutscenes are in french now ! It's nice because Dragon Lore Gold was a english only release !
I took the files from the V1.0, it's exactly same files, same names.
Just for people who want the french version (made thanks to GHFear) : https://mega.nz/#!z2An3IAa!1wiqgLEOA0UI ... LnZV844e2I
-
- Posts: 290
- Joined: Fri Mar 30, 2018 2:48 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
Tgames wrote:GHFear wrote:it's weird that the extracted files are only 1GB and the archive is almost 4GB... I can't wrap my head around it.
Yes indeed it's strange, i also saw that.
But don't worry, all i need are the Voices in WAV format.
To inject them in the PC version to have french voices.
Monolith only made a french version of the game for PS2.
And the PC port is english only !
Hopefully we have every tools to inject voice in 2 seconds in the PC port.
I just need thoses voices from the PS2. I pretty sure they are stored in theses LIT.
You think they are also in the LIT files ?
------------------------------------------------------------------------------------------
PS: Thanks to you, i finished the french translation of Dragon Lore Gold (V2.0)
All voices, all texts, all cutscenes are in french now ! It's nice because Dragon Lore Gold was a english only release !
I took the files from the V1.0, it's exactly same files, same names.
Just for people who want the french version (made thanks to GHFear) : https://mega.nz/#!z2An3IAa!1wiqgLEOA0UI ... LnZV844e2I
Oh it's already done? wow. That's really cool.
I don't know about the LIT files. Maybe there is something in there that could be extracted or used in some way. If you want, I can look at them tomorrow.
-
- Posts: 81
- Joined: Mon Apr 01, 2019 10:49 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
Yes already done thanks to you !
It's was very very fast because all files have same name in the V1.0.
So i just inject each of them in the Gold version.
And guess what it's work perfectly !
Yes please, look about theses No One Lives Forever Voices files in the LIT files, if you can extract them we have finished .
Because in the PC port every files have same name. So exactly the same, i will just inject thoses voices in the PC port and "voilà" ^^
For Zenhax viewers i will also send the final PC REZ file for No One Lives Forever with french voices injected when we have finished.
If it can helps you, here is a capture of voices files from No One Lives Forever PC Version.
They are named exactly the same on PS2
Here is the [PC Port], NOLF REZ (just to compare maybe, for the PC version i use WinRez LT):
https://mega.nz/#!uvIkiYqK!_cyAbfaH6O9F ... bh1MOckJX4
It's was very very fast because all files have same name in the V1.0.
So i just inject each of them in the Gold version.
And guess what it's work perfectly !
Yes please, look about theses No One Lives Forever Voices files in the LIT files, if you can extract them we have finished .
Because in the PC port every files have same name. So exactly the same, i will just inject thoses voices in the PC port and "voilà" ^^
For Zenhax viewers i will also send the final PC REZ file for No One Lives Forever with french voices injected when we have finished.
If it can helps you, here is a capture of voices files from No One Lives Forever PC Version.
They are named exactly the same on PS2
Here is the [PC Port], NOLF REZ (just to compare maybe, for the PC version i use WinRez LT):
https://mega.nz/#!uvIkiYqK!_cyAbfaH6O9F ... bh1MOckJX4
-
- Posts: 81
- Joined: Mon Apr 01, 2019 10:49 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
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).
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.
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).
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.
-
- Posts: 81
- Joined: Mon Apr 01, 2019 10:49 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
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 !
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 !
-
- Posts: 290
- Joined: Fri Mar 30, 2018 2:48 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
actually there are 506 different content tables with some slight differences in them in this file ".rez" lol... o_O
Now I am very confused hahahaha. So I will look at this some more, but I think aluigi will have to look at this one... I am very confused.
Now I am very confused hahahaha. So I will look at this some more, but I think aluigi will have to look at this one... I am very confused.
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
Indeed this format is very stupid.
I suspect it's a sort of patched format containing various versions of the TOC, in short the script may be perfectly correct.
I have updated the script for reading all the 506 TOCs, sorting the files and extracting those with different offsets.
It would take YEARS for sorting all those files (506 * 0x18d4).
Didn't check the whole archive, sorry.
I suspect it's a sort of patched format containing various versions of the TOC, in short the script may be perfectly correct.
I have updated the script for reading all the 506 TOCs, sorting the files and extracting those with different offsets.
It would take YEARS for sorting all those files (506 * 0x18d4).
Didn't check the whole archive, sorry.
-
- Posts: 81
- Joined: Mon Apr 01, 2019 10:49 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
aluigi wrote:Indeed this format is very stupid.
I suspect it's a sort of patched format containing various versions of the TOC, in short the script may be perfectly correct.
I have updated the script for reading all the 506 TOCs, sorting the files and extracting those with different offsets.
It would take YEARS for sorting all those files (506 * 0x18d4).
Didn't check the whole archive, sorry.
A big thanks for your hard work aluigi again !
But it now doesn't work at all.
I got an error at the beginning of the extraction :
Code: Select all
by Luigi Auriemma
e-mail: me@aluigi.org
web: aluigi.org
(Nov 25 2018 - 11:44:48)
quickbms.aluigi.org Homepage
zenhax.com ZenHAX Forum
@zenhax @quickbms Twitter & Scripts
- GUI mode activated, remember that the tool works also from command-line
where are available various options like folder scanning, filters and so on
- select BMS script. type ? for using the content of clipboard like a script
- select input archives/files, type * for the whole folder and subfolders
- select output folder where extracting files
- open input file D:\Jeux\QuickBMS\REZ Unpacker\LITH_PS2.REZ
- open script D:\Jeux\QuickBMS\REZ Unpacker\nolf_ps2.bms
- set output folder D:\Jeux\QuickBMS\REZ Unpacker
offset filesize filename
--------------------------------------
- error in src\extra\xalloc.c line 618: xdbg_malloc()
Error: memory allocation problem
Does this new BMS script will also extract .LIT files ?
It's look like "quickbms_4gb_files.exe" is not able allocate enough memory by xalloc function.
It's not mine memory, i have 16gb of memory ^^
-
- Posts: 290
- Joined: Fri Mar 30, 2018 2:48 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
Tgames wrote:aluigi wrote:Indeed this format is very stupid.
I suspect it's a sort of patched format containing various versions of the TOC, in short the script may be perfectly correct.
I have updated the script for reading all the 506 TOCs, sorting the files and extracting those with different offsets.
It would take YEARS for sorting all those files (506 * 0x18d4).
Didn't check the whole archive, sorry.
A big thanks for your hard work aluigi again !
But it now doesn't work at all.
I got an error at the beginning of the extraction :Code: Select all
by Luigi Auriemma
e-mail: me@aluigi.org
web: aluigi.org
(Nov 25 2018 - 11:44:48)
quickbms.aluigi.org Homepage
zenhax.com ZenHAX Forum
@zenhax @quickbms Twitter & Scripts
- GUI mode activated, remember that the tool works also from command-line
where are available various options like folder scanning, filters and so on
- select BMS script. type ? for using the content of clipboard like a script
- select input archives/files, type * for the whole folder and subfolders
- select output folder where extracting files
- open input file D:\Jeux\QuickBMS\REZ Unpacker\LITH_PS2.REZ
- open script D:\Jeux\QuickBMS\REZ Unpacker\nolf_ps2.bms
- set output folder D:\Jeux\QuickBMS\REZ Unpacker
offset filesize filename
--------------------------------------
- error in src\extra\xalloc.c line 618: xdbg_malloc()
Error: memory allocation problem
Does this new BMS script will also extract .LIT files ?
It's look like "quickbms_4gb_files.exe" is not able allocate enough memory by xalloc function.
It's not mine memory, i have 16gb of memory ^^
No it will not extract LIT files. LIT files seem to be headerless WAV files or something. So you won't be able to play them unless you run through some tool that rebuilds headers or something.
-
- Posts: 81
- Joined: Mon Apr 01, 2019 10:49 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
GHFear wrote:No it will not extract LIT files. LIT files seem to be headerless WAV files or something. So you won't be able to play them unless you run through some tool that rebuilds headers or something.
I found a tool to read them and rebuild the WAV header (PSound). It's work fine on most files.
But it's possible to just extract thoses headerlessWAV off the LIT files ? Like this i can have every headlerlessWav files separated to use with this software.
Have you been able to run the extract of the REZ now ? On my side i got a memory alloc error.
-
- Posts: 81
- Joined: Mon Apr 01, 2019 10:49 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
I tried with another quickbms, still not working.
I got the "memory alloc error".
I got the "memory alloc error".
-
- Posts: 290
- Joined: Fri Mar 30, 2018 2:48 am
Re: [ISSUE] REZ Files Opening from No One Lives Forever 1
Tgames wrote:I tried with another quickbms, still not working.
I got the "memory alloc error".
Yeah, weird. I get the same error.