FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Best Compression Methods for 'Specific' Games. Q&A (https://fileforums.com/showthread.php?t=99554)

KaktoR 29-09-2026 04:43

Not possible with this.

lzma recompressing is headache. You need the exact settings and so on. I believe even delta patching is not possible afterwards like with zip.

You can compress extracted files with Asset Studio again? See if this works.

Dunnowho69 29-09-2026 09:24

The Witcher 3 Wild Hunt Remastered
 
Can anyone share the proper compression method for the remastered version, the one for the next-gen edition isn't working

KaktoR 29-09-2026 09:40

Quote:

Originally Posted by Dunnowho69 (Post 511146)
Can anyone share the proper compression method for the remastered version, the one for the next-gen edition isn't working

https://fileforums.com/showpost.php?...postcount=4718

Redmist2013 29-09-2026 16:55

Quote:

Originally Posted by KaktoR (Post 511137)
Not possible with this.

lzma recompressing is headache. You need the exact settings and so on. I believe even delta patching is not possible afterwards like with zip.

You can compress extracted files with Asset Studio again? See if this works.

I tried the default LZMA settings in that SDK but they've used custom parameters and solid compression that gets decompressed into memory by the game so it would be virtually impossible to figure out and not worth the effort.
Thanks.

Masquerade 30-09-2026 06:20

^^
If it helps, I believe the lzma.exe version used was v4.57. I could probably brute force the params but it'd take a while.

bird2026 01-10-2026 06:22

The Witcher 3 - Wild Hunt - Game of the Year Edition
Wwise files (enpc.w3speech
soundpc.cache) for :
- wwise (vorbis) = 4962 (79.55%)
- wwise (opus) = 20330 (20.26%)
I need help regarding the compression method or a ready-made tool I can use; if everything goes well, I will need to restore the original files later.

KaktoR 01-10-2026 06:46

Use xtool to extract them.

bird2026 01-10-2026 07:33

Quote:

Originally Posted by KaktoR (Post 511180)
Use xtool to extract them.

CallBefore.bat / Can a similar process be set up for Control Resonant? Could I get some help with this? I’m not very skilled at these kinds of things.


CallBefore.bat
--------------------------------------------------------------------------------------

@ECHO off
TITLE DiskSpan GUI Compressor
SETLOCAL EnableDelayedExpansion EnableExtensions

:: ---------------------------------------------------------------------------------
:: ----------------------------- VARIABLES SETTINGS --------------------------------
:: ---------------------------------------------------------------------------------
CD /D "%~dp0"
SET "Counter=1"

:StoreLoop
IF !Counter! LEQ 9 IF "%~1" EQU "" ENDLOCAL && EXIT /B
SET "ARG!Counter!=%~1" && SHIFT && SET /A "Counter+=1"
IF !Counter! LEQ 20 GOTO StoreLoop

:MapVariables
SET "GameName=!ARG1!" && SET "DataFile=!ARG2!"
FOR %%a IN ("!ARG3!") DO SET "GameDir=%%~fa" && SET "BackupDir=%%~fa (Backup)"
FOR %%a IN ("!ARG4!") DO SET "OutputDir=%%~fa" && FOR %%a IN ("!ARG5!") DO SET "SetupDir=%%~fa"
FOR %%a IN ("!ARG6!") DO SET "MediaDir=%%~fa" && FOR %%a IN ("!ARG7!") DO SET "MainDir=%%~fa" && FOR %%a IN ("!ARG8!") DO SET "TempDir=%%~fa"
SET "GameIndex=1" && SET "DataIndex=1" && SET "MediaIndex=1" && FOR /F "tokens=1,2,3" %%a IN ("!ARG9!") DO ( SET /A "GameIndex=%%a" 2>nul && SET /A "DataIndex=%%b" 2>nul && SET /A "MediaIndex=%%c" 2>nul )
FOR /F "tokens=3" %%a IN ( 'REG QUERY "HKCU\Software\Microsoft\Windows\CurrentVersion\Ex plorer\Shell Folders" /v "Personal" 2^>nul' ) DO SET "UserDocs=%%a"
FOR %%a IN ("%~dp0.") DO SET "SourceDir=%%~fa" && IF "!SourceDir:~-1!" EQU "" SET "SourceDir=!SourceDir:~0,-1!"
SET "DatabaseDir=!MainDir!\Resources\DATABASE" && SET "BaseDir=!MainDir!\Resources\Win64"
:: ---------------------------------------------------------------------------------
:: !GameName! = name of the current game
:: !DataFile! = name of the current data file
:: !SourceDir! = directory of call after/before .bat/.cmd/.exe file
:: !BackupDir! = predefined backup directory
:: !GameDir! = current game directory
:: !OutputDir! = output directory
:: !SetupDir! = setup files folder directory
:: !MediaDir! = current media directory like: DISK_1
:: !MainDir! = application DiskSpan_GUI.exe {src} directory
:: !DatabaseDir! = database files directory
:: !BaseDir! = compressors base directory
:: !TempDir! = application DiskSpan_GUI.exe {tmp} directory
:: !UserDocs! = user documents directory
:: !GameIndex! = index of the current game
:: !DataIndex! = index of the current data file
:: !MediaIndex! = index of the current media directory
:: ---------------------------------------------------------------------------------
:: -------------------------------- USER SETTINGS ----------------------------------
:: ---------------------------------------------------------------------------------


:Start
CLS
ECHO.
ECHO.----------------------------------------------------------------------
ECHO. The following process uses WEM Packer by SYMM
ECHO. https://fileforums.com/showthread.ph...819#post509819
ECHO.
ECHO. This step could take a bit longer than usual, approximately up to 2 hours.
ECHO.
ECHO. Backup files will be made here:
ECHO. !BackupDir!\
ECHO.----------------------------------------------------------------------
ECHO. Do you want to process sound files? [Y/N]
ECHO.----------------------------------------------------------------------
ECHO.
CHOICE /C NY /N
IF errorlevel 1 SET "Wwise=Y"
IF errorlevel 2 SET "Wwise=N"


:Example
IF EXIST "!DatabaseDir!\Control Resonant\Lists\Rebuild_example_for_installers (Setup INI).txt" START "" "!DatabaseDir!\Control Resonant\Lists\Rebuild_example_for_installers (Setup INI).txt"


:Copy
IF NOT EXIST "!BackupDir!\data_pack2\pc" MKDIR "!BackupDir!\data_pack2\pc"
IF NOT EXIST "!GameDir!\XTool.exe" COPY /Y "!BaseDir!\PRE\XTool_2020\XTool.exe" "!GameDir!\XTool.exe" >nul
IF "%Wwise%"=="Y" (
IF NOT EXIST "!GameDir!\wem-unpacker.exe" COPY /Y "!BaseDir!\TOOLS\WEM\wem-unpacker.exe" "!GameDir!\wem-unpacker.exe" >nul


:Wwise
CLS
CD /D "!GameDir!"
SET /A "FileList.Count=17"
SET "FileList[1].Name=base-de-000.rmdblob
SET "FileList[2].Name=stream0-de-000.rmdblob
SET "FileList[3].Name=base-es-000.rmdblob
SET "FileList[4].Name=stream0-es-000.rmdblob
SET "FileList[5].Name=base-fr-000.rmdblob
SET "FileList[6].Name=stream0-fr-000.rmdblob
SET "FileList[7].Name=base-it-000.rmdblob
SET "FileList[8].Name=stream0-it-000.rmdblob
SET "FileList[9].Name=base-ja-000.rmdblob
SET "FileList[10].Name=stream0-ja-000.rmdblob
SET "FileList[11].Name=base-ptbr-000.rmdblob
SET "FileList[12].Name=stream0-ptbr-000.rmdblob
SET "FileList[13].Name=base-zhcn-000.rmdblob
SET "FileList[14].Name=stream0-zhcn-000.rmdblob
SET "FileList[15].Name=base-generic-000.rmdblob
SET "FileList[16].Name=stream0-generic-001.rmdblob
SET "FileList[17].Name=stream0-generic-002.rmdblob
FOR /L %%i IN (1, 1, !FileList.Count!) DO IF EXIST "!GameDir!\data_pack2\pc\!FileList[%%i].Name!" (
IF NOT EXIST "!GameDir!\data_pack2\pc\!FileList[%%i].Name!_extract" MKDIR "!GameDir!\data_pack2\pc\!FileList[%%i].Name!_extract"
IF NOT EXIST "!BackupDir!\data_pack2\pc\!FileList[%%i].Name!" ECHO Copying "..\data_pack2\pc\!FileList[%%i].Name!", please wait...
IF NOT EXIST "!BackupDir!\data_pack2\pc\!FileList[%%i].Name!" COPY /Z /Y "!GameDir!\data_pack2\pc\!FileList[%%i].Name!" "!BackupDir!\data_pack2\pc"
CALL "!BaseDir!\PRE\XTool_2020\XTool.exe" precomp -mwwise -x"!GameDir!\data_pack2\pc\!FileList[%%i].Name!_extract" "!GameDir!\data_pack2\pc\!FileList[%%i].Name!"
CALL "!DatabaseDir!\_COMMON\CALL\ANNO_CallBefore.ex e" /FUNC=SMALL /PATH="!GameDir!\data_pack2\pc\!FileList[%%i].Name!_extract" /INCL=*.raw /SIZE=102400
CALL "!DatabaseDir!\_COMMON\CALL\ANNO_CallBefore.ex e" /FUNC=REN /PATH="!GameDir!\data_pack2\pc\!FileList[%%i].Name!_extract" /OLD=*.raw /NEW=*.wem
CALL "!BaseDir!\PRE\XTool_2020\XTool.exe" erase "!GameDir!\data_pack2\pc\!FileList[%%i].Name!_extract\*" "!GameDir!\data_pack2\pc\!FileList[%%i].Name!" "!GameDir!\cr_wwise.xtl"
ECHO.------------------------------------------------------------------------------------------------------
)
)


:Bink
SET /A "FileList.Count=5"
SET "FileList[1].Name=base-generic-002.rmdblob
SET "FileList[2].Name=base-generic-004.rmdblob
SET "FileList[3].Name=stream0-generic-010.rmdblob
SET "FileList[4].Name=stream0-generic-012.rmdblob
SET "FileList[5].Name=stream0-generic-014.rmdblob
FOR /L %%i IN (1, 1, !FileList.Count!) DO IF EXIST "!GameDir!\data_pack2\pc\!FileList[%%i].Name!" (
IF NOT EXIST "!GameDir!\data_pack2\pc\!FileList[%%i].Name!_extract" MKDIR "!GameDir!\data_pack2\pc\!FileList[%%i].Name!_extract"
IF NOT EXIST "!BackupDir!\data_pack2\pc\!FileList[%%i].Name!" ECHO Copying "..\data_pack2\pc\!FileList[%%i].Name!", please wait...
IF NOT EXIST "!BackupDir!\data_pack2\pc\!FileList[%%i].Name!" COPY /Z /Y "!GameDir!\data_pack2\pc\!FileList[%%i].Name!" "!BackupDir!\data_pack2\pc"
CALL "!BaseDir!\PRE\XTool_2020\XTool.exe" precomp -mbink -x"!GameDir!\data_pack2\pc\!FileList[%%i].Name!_extract" "!GameDir!\data_pack2\pc\!FileList[%%i].Name!"
CALL "!BaseDir!\PRE\XTool_2020\XTool.exe" erase "!GameDir!\data_pack2\pc\!FileList[%%i].Name!_extract\*" "!GameDir!\data_pack2\pc\!FileList[%%i].Name!" "!GameDir!\cr_bink.xtl"
ECHO.------------------------------------------------------------------------------------------------------
)


IF "%Wwise%"=="Y" (
:WemTool
CLS
TITLE Processing audio files, please wait...
REM"!BaseDir!\TOOLS\WEM\wem-packer.exe" -s -czstd-20 "!GameDir!"
)


:End
ENDLOCAL
EXIT /B


All times are GMT -7. The time now is 03:44.

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