FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Newbie Question Thread (https://fileforums.com/showthread.php?t=105883)

wrathma 06-04-2026 16:00

Quote:

Originally Posted by hwang4 (Post 509773)
Need a tuto for compressing bk2 & bik files using binkpack ! :)

use diskspan gui. select source folder and for method select bpk and compress.

Dunnowho69 23-04-2026 07:19

Does ldmfMaxMemoryUsage impact decompression speed ? Also how should i set srep and lolz in cls.ini for the maximum resource usage / decompression speed ?

kj911 30-04-2026 11:56

2 Attachment(s)
Many members how to make to x86/x64 binaries from sources?? (It's somewhat similar to "MSC".)

KaktoR 30-04-2026 12:25

From where you got the source code?

I tried to compile but there are so many missing things there ....

wrathma 30-04-2026 14:43

Quote:

Originally Posted by kj911 (Post 509976)
Many members how to make to x86/x64 binaries from sources?? (It's somewhat similar to "MSC".)

somehow managed to build both of them, had to do a lot of work as they are not documented correctly. and as the readme says it doesnt work. i have tried both of them. only the cli is done for rz4, not the compression. and for mmc... yeah i dont understand what it does. added the binaries if you want to check it out.
https://gofile.io/d/9O6QnW

kj911 01-05-2026 05:38

Kaktor: From GitHub...

wrathma: Wooow! That's right! I don't understand them exactly either, but maybe they can be useful for a specific task. I think the source of "mmp" should be rewritten to work in the classic "compressor.exe input output" or something similar. (It only works with predefined files, as a demonstration, if I understand correctly.)

There is also the source code of the "SortFile" program, and a few similar "dead" sources. (A CM compressor and other types.)

A good few can only be compiled under VisualStudio, while with GCC it has a lower chance.

UPDATE: This "mmp" not works from Win7 x64. (Not find CreateFile2 entry point from kernel32.dll error.)

The "rz4" partially working, such "s", aka file scanning, "x" aka extract to current folder works. (any dirs/drive options, use "--outdir=", not working.)
If I try to compress any file that contains WAV streams, it crashes, referring to the file "ucrtbase.dll". (Probably only works under Win10?)

Was the source code modified? Maybe it would work without errors if compiled under Win7? Looking at the length of the hexadecimal strings of the unpacked files (2*16 chars), it seems unlikely that it would work under Win32? Although, in most cases, it is rare to unpack any audio content from files larger than 4-32GB. In principle, this does not cause any problems for MSC, at least up to 32GB or larger.

UPDATE2: It is worth changing the TAK runtime parameters in the source code.

Change "-p4m" to "-p5m" (it will accept this as well as "-pMax"), and "-tn4" to "-tn8". It is true that only the latest TAK versions can packing on 8 threads, would the early v2.3.0/2.3.1 versions then run into an error. Or do they take the issued command as "-tn4" and run accordingly?

wrathma 04-05-2026 15:17

1 Attachment(s)
Quote:

Originally Posted by kj911 (Post 509518)
Could someone write a good guide on how to make a CLS filter for FreeArc??

No, I don't mean the "CLS-Generator" solutions, unfortunately they don't work in all many cases.

Now, let's assume we have this:

compressor.c /source code or alternative EXE file/
CLS source code package from FreeArc. + MinGW compiler.

What do we need to modify in the *.c source code during compilation so that, upon receiving a "cls-cmp.dll" file at the end of the process, it works as a DLL with FreeArc, either as an decompressor only or with full functionality, when using the "-mcmp..." switch during compression.

To make things more complicated, let's assume that this is just the syntax (*.c or EXE):

compressor.exe e/d in out

What should we write in "cls.h" or other "simple*.cpp" files?

One possible case is that we will only have a *.dll file, nothing else is needed, it can be used already.

While the other, if only an EXE file is available, how do we "bind" the cls-*.dll file to our file so that the given compressor can work in STDIO mode? (no tmp files are written during operations.) Or do we need to modify the EXE as well? (see: the Razor case.)

im definitely not the right person to suggest anything on this but for somewhat of a reference you can check Addons/CLS folder on any freearc installation. i attached one from v0.67a.

Dunnowho69 12-05-2026 01:12

How is ram usage calculated for lolz ? For example, if i use -d128m -mtt1 -mt12 then how much ram is needed ? Also what is ldmf and how does it impact ?

Masquerade 12-05-2026 12:46

Quote:

Originally Posted by Dunnowho69 (Post 510056)
Also what is ldmf and how does it impact ?

long distance match finder

does similar job as what srep does.

Shalltear 29-05-2026 03:58

4 Attachment(s)
Hey, first time posting.
I was editing the Light Installer script by Cesar82, and noticed that when you press the Exit (X) button the window doesn't have the .cjstyle theme correctly applied. like the following images:

ConcaveDark.cjstyles: https://ibb.co/SDYwZBkW
Lakrits.cjstyles: https://ibb.co/67K9d9cv
Blade.she: https://ibb.co/6RM6L0HG
Glow.vsf: https://ibb.co/nNLWhLc4

Notice the white bar in the exit screen, only Glow.vsf doesn't have it.
if it can be easily changed to the rest of the UI that'll be nice..

Also another question, in some posts i found in the fourms they say you shouldn't use VCLStyle skins when you use DiskSpan GUI as compressor.. apparently causes errors when looking for second .bin?
wanted to know if the issue is fixed now as the posts were older, although in Light Installer it's mentioned too.
If it's ok to go with it i mean, i'll happily just use a VCLStyle instead

Razer-785 03-06-2026 23:46

Make MSC.exe "TAK" use more threads
 
Hello how can i make MSC.exe "TAK" use more threads.
has anyone modded the executable before?

Thanks.

wrathma 04-06-2026 00:39

Quote:

Originally Posted by Razer-785 (Post 510238)
Hello how can i make MSC.exe "TAK" use more threads.
has anyone modded the executable before?

Thanks.

msc isnt multithreaded unfortunately. if you pass -t=4 in msc it translates to "takc.exe use 4 threads" not "4 different takc.exe process working in parallel".
-t=4 is not a limitation of msc but a limitation in tak compressor.

Razer-785 09-06-2026 16:59

Random Questions
 
Hello i have multiple questions about DiskSpan-GUI

1.What compression method is the best for general purpose use, i have been using (xtool:lm3:t100p:mzlib+srep_new:490g+LOLZ_ULTRA) with good results but i want to know what you guys think. (yes i know ideally you would use different methods for each game.)

2.How come when i use LZMA2 XZ 256mb to compress Forza Horizon 6 it errors. (i have 48gb ram)

3.Whats the difference between RAZOR MTX, PMT, STDIO, STD.

Thanks.

KaktoR 09-06-2026 21:56

1. Tbh you have already answered your own question.

2. We don't know. One have to see the full error log

3. MTX, PMT, STDIO (will be replaced by this in next DSG version), STD = default/standard version of RAZOR compressor.

Razer-785 11-06-2026 18:09

Quote:

Originally Posted by KaktoR (Post 510283)
1. Tbh you have already answered your own question.

2. We don't know. One have to see the full error log

3. MTX, PMT, STDIO (will be replaced by this in next DSG version), STD = default/standard version of RAZOR compressor.

Any ETA on the next version of DSG?

GybEMHPj4XAp3Cu 28-06-2026 23:05

I need some help. Let's say I have the original game in ISO format. I install it in a folder on my desktop, and now I have all the game files. Then I update those files so the game is fully up to date. After that, I repack everything using DiskSpan GUI, compile an installer, and create a new ISO with DiskSpan GUI. Would that work, or not?

wrathma 30-06-2026 02:53

Quote:

Originally Posted by GybEMHPj4XAp3Cu (Post 510364)
I need some help. Let's say I have the original game in ISO format. I install it in a folder on my desktop, and now I have all the game files. Then I update those files so the game is fully up to date. After that, I repack everything using DiskSpan GUI, compile an installer, and create a new ISO with DiskSpan GUI. Would that work, or not?

diskspan gui is free bro. try for yourself and see.


(yes it would work)

2obd1bs1 31-08-2026 05:29

I've been lurking here for quite some time now but there are still some questions I haven't managed to find answers to so I think it's time I ask away.

When does it make sense to use multiple compressions? Are there any known file type and/or compression combinations which lead to better ratios (i.e. X files compressed with algorithm Y can be then further compressed with algorithm Z)? Or is it always a trial and error matter?

Are there any tools for finding the best compression algorithm for unknown file types?

KaktoR 31-08-2026 07:33

You can use xtoolui for this purpose with "skip verifiation" option enabled. Then go through all codecs. Second step is to find out exact settings and library used for the method if you found something.

kj911 27-09-2026 06:39

Quote:

Originally Posted by wrathma (Post 510239)
msc isnt multithreaded unfortunately. if you pass -t=4 in msc it translates to "takc.exe use 4 threads" not "4 different takc.exe process working in parallel".
-t=4 is not a limitation of msc but a limitation in tak compressor.

Likely hacking it use 8threads add minor fix from correctly detect last v2.3.2/2.3.3 versions!

And wohooo! Still waiting new TAK release (v2.3.4 or v2.4 or v3.0?) from last months the 2026 years. Thomas Becker coming soon releasing in new version! Compression ratios hopefully 1-5% better than last and release it first 64bit editions! Many updating from MSC v0.0.6.5a2 stiil needed, include decoder library. (Updating cls-msc.dll file.) Will Edison007 update the MSC if that happens? (Releasing v0.0.6.5a3 with TAK 2.3.3 and/or v0.0.6.6 with TAK v3.0) Or should we wait for ProFrager?

KaktoR 29-09-2026 07:41

1 Attachment(s)
Not newbie but I have to ask this here.
Is there a way to deal with wwise (opus)?

Samples attached. This is from Wither 3 Remastered.

wrathma 29-09-2026 09:10

1 Attachment(s)
^^
use the attached ww2ogg to get opus and then use balrogg on top. ratio isnt that great compared to ogg

Code:

> .\ww2ogg.exe -o .\000000001593F09D_wwise.opus .\000000001593F09D_wwise.raw
Audiokinetic Wwise RIFF/RIFX Vorbis to Ogg Vorbis converter 0.24 by hcs

Input: .\000000001593F09D_wwise.raw
RIFF WAVE Wwise Opus, 2 channel(s), 48000 Hz
Output: .\000000001593F09D_wwise.opus
Done!

Code:

> .\balrogg-x86_64.exe e -p --no-mmap .\000000001593F09D_wwise.opus .\000000001593F09D_wwise.opus.blr
balrogg: .\000000001593F09D_wwise.opus: encoding [####################] 100%

Code:

> hdiffz .\000000001593F09D_wwise.opus .\000000001593F09D_wwise.raw 1.diff
old : ".\000000001593F09D_wwise.opus"
new : ".\000000001593F09D_wwise.raw"
out : "1.diff"
oldDataSize : 310061
newDataSize : 287420
diffDataSize: 5198
diff    time: 0.011 s

original wwise -> 280kb
diff + blr -> 273kb (-2.5%)

Masquerade 29-09-2026 09:23

You can decode those files into a playable .wav format using vgmstream-cli:
https://github.com/vgmstream/vgmstream/releases/latest
This will make the files processable by traditional .wav tools (tak, wavpack, optimfrog) but you will get negative ratio.
Probably best to just use rz.

KaktoR 30-09-2026 02:57

Thanks guys.


All times are GMT -7. The time now is 02:59.

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