FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   new tool (https://fileforums.com/showthread.php?t=99953)

KaktoR 12-02-2018 00:07

Quote:

Originally Posted by elit (Post 466605)
I already used it on few games(not wise yet only ogg), it work fine and save up to 10%. I say dont worry and use it everywhere you can.

You can tell me on which files apply oggre_wwise? How to detect wwise audio?

@ZakirAhmad:
Code:

[External compressor:oggre]
header = 0
packcmd = OGGRE_enc $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

I don't know if stdin/out is compatible. You can test it.

Use oggre only. With lzma it is just a few MB, so not worth it after oggre.

danswano 12-02-2018 02:27

does UELR work with unreal engine 4 or just 3?

ZakirAhmad 12-02-2018 03:36

Quote:

Originally Posted by KaktoR (Post 466610)
You can tell me on which files apply oggre_wwise? How to detect wwise audio?

@ZakirAhmad:
Code:

[External compressor:oggre]
header = 0
packcmd = OGGRE_enc $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

I don't know if stdin/out is compatible. You can test it.

Use oggre only. With lzma it is just a few MB, so not worth it after oggre.

BTW did u known the games on which oogre can be applied.

KaktoR 12-02-2018 03:39

^On all *.ogg files obviously. Maybe game archive that contain OGG files too, but have not tested yet.

elit 12-02-2018 04:31

Quote:

Originally Posted by KaktoR (Post 466610)
You can tell me on which files apply oggre_wwise? How to detect wwise audio?

I saw games before with such file extension, .wise/.wwise or something like that. You will know when you see them.

78372 12-02-2018 05:47

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

Simorq 12-02-2018 07:33

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;
        ...
...


elit 14-02-2018 06:42

UELR have a "l" option that supposedly process "only lossless recoverable blocks". To me this sound important as if without it recompression would not be 1:1 crc exact? But I see nobody use this option as mandatory. Does anyone have better insight into this?

KaktoR 14-02-2018 06:52

Last time i checked it had no effect on crc (i used without -l option).

ZakirAhmad 14-02-2018 08:39

i tried bpk on bk2 files of ac unity. it is not compresessing them showing motion video.

vollachr 16-02-2018 06:22

1 Attachment(s)
I'm trying to get UELR to work with freearc to add it to my compression script (Ultimate Conversion Compressor), but I'm running into problems.

The attached image below shows what I get when I try to use UELR with arc.exe (manually by running command from CMD).

My arc.ini for UELR is this:

Code:

[External compressor:uelr]
header = 0
packcmd  = UELR\uelr.exe u $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

My command is this:
Code:

Arc.exe a -ep1 -r -ed -s; -w"PathToTemp" -dp"PathToGameFolder" -muelr "H:\Temp\Test.bin" "*"
Any ideas what the problem might be?

Simorq 16-02-2018 07:29

Quote:

Originally Posted by vollachr (Post 466732)
I'm trying to get UELR to work with freearc to add it to my compression script (Ultimate Conversion Compressor), but I'm running into problems.

The attached image below shows what I get when I try to use UELR with arc.exe (manually by running command from CMD).

My arc.ini for UELR is this:

Code:

[External compressor:uelr]
header = 0
packcmd  = UELR\uelr.exe u $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

My command is this:
Code:

Arc.exe a -ep1 -r -ed -s; -w"PathToTemp" -dp"PathToGameFolder" -muelr "H:\Temp\Test.bin" "*"
Any ideas what the problem might be?

Only works with Unreal Engine LZO Repacker files.

Code:

[External compressor:uelr]
header = 0
packcmd  = UELR uv Input Output
datafile  = Input
packedfile = Output


vollachr 16-02-2018 07:56

Quote:

Originally Posted by Simorq (Post 466735)
Only works with Unreal Engine LZO Repacker files.

Code:

[External compressor:uelr]
header = 0
packcmd  = UELR uv Input Output
datafile  = Input
packedfile = Output


Not sure which games uses these type of files, can you give an example?

Simorq 16-02-2018 08:00

Quote:

Originally Posted by vollachr (Post 466741)
Not sure which games uses these type of files, can you give an example?

Outlast 2
Get Even
BioShock Infinite
Mortal Kombat X (Uelr:x)

vollachr 16-02-2018 08:15

Quote:

Originally Posted by Simorq (Post 466742)
Outlast 2
Get Even
BioShock Infinite
Mortal Kombat X (Uelr:x)

OK, thanks, I believe I have at least one of those, I'll use it for testing, hope it works correctly.


All times are GMT -7. The time now is 00:11.

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