|
|
|
#1
|
|||
|
|||
|
As profrager described, this is how to use oggenc_wwise:
wwise files are ogg files without headers. You need to ww2ogg to convert those ww files to ogg. Then apply oggenc_wwise. For decompression, the wwise dec will restore them to ww files(not ogg files). You may need to create a batch file to automate compression process. For normal ogg files, just use oggenc
__________________
NOT AVAILABLE Last edited by 78372; 12-02-2018 at 08:30. |
| The Following 3 Users Say Thank You to 78372 For This Useful Post: | ||
| Sponsored Links |
|
#2
|
||||
|
||||
|
Thanks to Edison 007
Code:
.Wem Compression
FOR /R "test" %%w IN (*.wem) DO (
ww2ogg.exe "%%w" -o "%%w.ogg" --pcb "packed_codebooks_aoTuV_603.bin"
OGGRE_enc_wwise.exe "%%w.ogg" "%%w.ogr"
OGGRE_dec_wwise.exe "%%w.ogr" "%%w.unp"
xdelta3.exe -ef -s "%%w.unp" "%%w" "%%w.xd3"
REM DEL "%%w.ogg" "%%w.unp"
REM DEL "%%w"
)
Code:
ISDONE
function extract_wwise(CurComp: Cardinal; InputPath: String): Boolean;
var
FindHandle, ColFiles, CurIndex: Integer;
ExecError: Boolean;
ogrFile, WavFile, OutFile, xd3file: String;
begin
FindHandle:=ISFindFiles(CurComp, InputPath+'\*.ogr', ColFiles);
ExecError:=false;
while not ExecError and ISPickFilename(FindHandle, InputPath+'\', CurIndex, True) do begin
ogrFile:=ISGetName( 0); // FileName.ext.ogr (defaul .ext = .wem)
WavFile:=ISGetName(1)+'.unp'; // FileName.ext.unp
OutFile:=ISGetName(1); // FileName.ext
xd3file:=ISGetName(1)+'.xd3'; // FileName.ext.xd3
ExecError:=not ISExec(CurComp, 0, 0, ExpandConstant('{tmp}\OGGRE_dec_wwise.exe'), '"'+ogrFile+'" "'+WavFile+'"' , ExpandConstant('{tmp}'), WavFile, False);
DeleteFile(ogrFile);
ISxDeltaExtract(CurComp, 0, 0,128, WavFile, xd3file, OutFile, True, True);
end;
ISFindFree(FindHandle);
Result:=not ExecError;
end;
...
if ISDoneInit(ExpandConstant('{src}\records.inf'), $F777, Comps1,Comps2,Comps3, MainForm.Handle, 16, @ProgressCallback) then begin
repeat
...
if not extract_wwise(0, ExpandConstant('{app}')) then break;
...
...
Last edited by Simorq; 12-02-2018 at 07:37. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Preview: Conversion Tool for Advanced Setup Creator | Razor12911 | Conversion Tutorials | 6 | 10-05-2017 00:30 |
| New Chinese SecuROM tool | EMPiRE | PC Games | 5 | 01-11-2005 13:49 |
| Generals Multiplayer miniserver/IP Tool | kapteins | PC Games | 0 | 21-05-2003 14:35 |
| ISO Tool Kit could be the problem | jessroc | XBox Games | 1 | 29-10-2002 12:29 |
| Ms Cabinet Tool | Maelstorm | CD/DVD Copy Protections & Utilities | 5 | 05-09-2002 15:30 |