Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-02-2018, 05:47
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 650
Thanks: 772
Thanked 953 Times in 309 Posts
78372 is on a distinguished road
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.
Reply With Quote
The Following 3 Users Say Thank You to 78372 For This Useful Post:
elit (14-02-2018), EzzEldin16 (12-04-2018), Simorq (12-02-2018)
Sponsored Links
  #2  
Old 12-02-2018, 07:33
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 642
Thanks: 3,602
Thanked 1,308 Times in 464 Posts
Simorq is on a distinguished road
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.
Reply With Quote
The Following 6 Users Say Thank You to Simorq For This Useful Post:
78372 (14-02-2018), COPyCAT (14-06-2018), elit (28-03-2018), EzzEldin16 (12-04-2018), Gehrman (11-08-2022), KaktoR (12-02-2018)
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT -7. The time now is 09:17.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com