FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   DiskSpan GUI (https://fileforums.com/showthread.php?t=104507)

Cesar82 27-01-2025 08:36

Quote:

Originally Posted by coolmohit000001 (Post 506676)
WinRAR is not working and gives error like below:

GENERAL INFO:
- Clear output folder before conversion: NO
- Create ISO images after finish: NO
- Shutdown system after finish: NO
- Test files after compression: NO

OUTPUT INFO:
- Selected media type: UNLIMITED
- Output directory: Conversion_Output

GAME DIRECTORY:
- Directory to Unknown 1: D:\GTA 5 Add-on Carpack Part 2

SELECTED METHOD:
- Method ARC/DS to Data1a-01.bin file: ERROR (-m5-md32g-s method is not supported)

Is this the latest version of DSG (2.0.2.2 HF2)?
It works for me here.

user123456 12-02-2025 08:44

I want to ask how i can use my compressed files with DiskSpan to add them to my Installer: WPI 1801

Like Diskspan add Setup.dll with the compressed file

How my installer will extract that file

Do i just put CLS files?

LILU 02-04-2025 07:26

Good afternoon. Will there be an update or is the project already abandoned?

KaktoR 02-04-2025 07:33

Why "already"?? DSG was in delevopement since years! And I can tell you it is finished, not abandoned. There is nothing left to add.

Cesar82 10-04-2025 23:05

DiskSpan GUI v2.0.2.3
 
Updated DiskSpan GUI to v2.0.2.3 in the first post.
Code:

- Updated the default XTool codec libraries for compatibility with more games.
- Updated UnRAR.exe/UnRAR.dll decompressor from v7.01 to v7.11 (DLL 7.11.100.1542) (2025.03.24).
  >> The UnRAR.exe x86 (32-bit) version has been discontinued by the developer and will remain at v7.01.0.
  >> The UnRAR.exe x64 (64-bit) version has been updated to v7.11.0.
- Updated compressor/decompressor "ZStandard" (ZSTD) from v1.5.6 to v1.5.7
- Updated DiskSpan GUI database to version 1.1.9.6 (Thanks to KaktoR) (Don't wait for other database updates).
  >> Now with 468 game presets and 34 collection presets (64-bits).
  >> Now with 37 game presets and 8 collection presets (32-bits).
- Fixed some minor bugs.


buster0g 12-04-2025 00:42

hi when i open diskspan gui compact i get this error Runtime Error (at 1367:827):
Exception "EOleException" at address 0049707B.

mausschieber 12-04-2025 01:31

Quote:

Originally Posted by buster0g (Post 507253)
hi when i open diskspan gui compact i get this error Runtime Error (at 1367:827):
Exception "EOleException" at address 0049707B.

here it worked with win 10 last updates
wich os is Yours?

Cesar82 12-04-2025 06:46

Quote:

Originally Posted by buster0g (Post 507253)
hi when i open diskspan gui compact i get this error Runtime Error (at 1367:827):
Exception "EOleException" at address 0049707B.

This error (or a similar one) used to occur when accessing the tools tab and returning to normal mode several times (it is related to the taskbar button conflicting with some command), but if that was the case, it is not possible to fix it.

Did the error occur only once or does it happen all the time?
Have you tried restarting your PC and trying again?

P.S.: Nothing has changed in the DSG operating structure. Only corrections related to the compression methods have been made, so if the error occurs and persists, it would also occur with previous versions of DSG.

buster0g 13-04-2025 01:54

Quote:

Originally Posted by mausschieber (Post 507254)
here it worked with win 10 last updates
wich os is Yours?

i use win10 2h22 (12/‎24/‎2024)

buster0g 13-04-2025 01:55

Quote:

Originally Posted by Cesar82 (Post 507265)
This error (or a similar one) used to occur when accessing the tools tab and returning to normal mode several times (it is related to the taskbar button conflicting with some command), but if that was the case, it is not possible to fix it.

Did the error occur only once or does it happen all the time?
Have you tried restarting your PC and trying again?

P.S.: Nothing has changed in the DSG operating structure. Only corrections related to the compression methods have been made, so if the error occurs and persists, it would also occur with previous versions of DSG.

i try everything

KaktoR 17-04-2025 13:17

1 Attachment(s)
--

insertdisc 31-05-2025 19:44

Disk Folders
 
This might be a dumb question, and it's purely for learning purposes, being new to all of this, but is it possible to have all of the .bin files next to the setup.exe instead of in Disk_# folders? If so, is this something I can change in DSG or in records.ini? I'm talking about span bin files and not split bin files.

Edit: Nevermind. I got it. I could have SWORN I tried moving them all to the same folder before without changing anything and it didn't work. *Shrug* It worked this time.

danger9 21-06-2025 16:30

oodle xtool vs dsg
 
i've recently used dsg to make repacks and i've successfully made a few repacks with good ratio ending with RE4 with a compression ratio of 69%

but recently when i tried to repack Hogwarts legacy & Doom the dark ages, i first analyze pre-compressor using xtools as per KaktoR recommendation, and i've found streams using oodle kraken, i try to compress test files using xtools and i get decent rates like 70% or less, but once i get to DSG and apply same methods, it always gives me 90%+ rates no matter what i do:

- i've manually copied both
Quote:

oo2core_9_win64.dll
oo2core_9_win64_2.dll
from 'xtool_0.7.9_hotfix\_libraries' to
Quote:

DiskSpan_GUI v2.0.2.3\COMPRESSOR\Resources\Win64\PRE\XTool
>>PRE\XTool\oOlde
>>PRE\OodleRec
>>PRE\OodleRec\oo2core
>>PRE\XTool_2020
>>PRE\XTool_2020\Plugins\Libraries
i even reverted to DSG 2.0.2.0 and got the same results, even i used the saved database entries for doom eternal, tried to change 'oodleoo2core_7_win64.dll:core_2.7.1' to respective dlls as i think that v2.9.9 2.8.0, 2.8.14 gave fastest results over other dlls when i compared them in xtools library checker

i'll give further details of a sample file "gameresources_3_2_1.streamdb" @112mb from doom the dark ages:

- using xtool 0.7.9_hotfix
Quote:

method 'kraken:l9:n32:t256' + srep 5 + compression 10 = 70mb
https://i.postimg.cc/VLgzhCKG/image.png

- using xtool 0.8.9, same method, i get 112mb :confused:
https://i.postimg.cc/VvG0mVYv/image.png

- using both DSG 2.0.2.0 or 2.0.2.3,
Quote:

mainly with method 'xtool:mkraken:9:dd5:l10' or 'poo2reck:9+4x4:b128mb:lzma:ultra:bt4:fb273:lc8:mc 1000000:128mb' i always get 112mb file
https://i.postimg.cc/ryv4pvcX/image.pnghttps://i.postimg.cc/Y9Vw765k/image.png

here's a link for the sample file
https://pixeldrain.com/u/ScAreX21

i've no idea what im doing wrong, so please guide me <3 excuse my language

Cesar82 21-06-2025 17:39

Quote:

Originally Posted by danger9 (Post 508057)
here's a link for the sample file
https://pixeldrain.com/u/ScAreX21

i've no idea what im doing wrong, so please guide me <3 excuse my language

Code:

xtool:c128mb:mkraken:core_2.9.10:lib_2:dd3:l10,d128mb
https://i.imgur.com/VebYotQ.png

Code:

xtool:c128mb:mkraken:core_2.9.12:lib_2:dd3:l10,d128mb
https://i.imgur.com/F9EgDFU.png

demon964 22-06-2025 07:38

[QUOTE=Cesar82;508058]
Code:

xtool:c128mb:mkraken:core_2.9.10:lib_2:dd3:l10,d128mb
https://i.imgur.com/VebYotQ.png


How did you analyze and derive the code `xtool:c128mb:mkraken:core_2.9.10:lib_2:dd3:l10,d1 28mb`? In other words, how can you determine that this is the best compression method for that particular file?

KaktoR 22-06-2025 09:26

Do not use option "Skip verification" in xtoolui if you don't know what you're doing. Skip verification option is only usefull in verbose mode to fast check used options as levels or if you want to know how big the output could possibly get if all streams get processed.

If you want to check if streams can get processed with a selected library, use "Stop after # streams" option.

Cesar82 22-06-2025 10:14

Quote:

Originally Posted by demon964 (Post 508064)
How did you analyze and derive the code `xtool:c128mb:mkraken:core_2.9.10:lib_2:dd3:l10,d1 28mb`? In other words, how can you determine that this is the best compression method for that particular file?

I didn't say it's the best...
I simply showed that it also works with DSG. You just need to provide the correct oodle library.
I'm not the right person to tell you which method or library is the best.

wareck 22-06-2025 11:49

with experience, I recognize certain types of files (.pak .ucas .utoc , bundle ect)
and I know that such and such a file will use such and such an algorithm.

then, by digging into the game's folders, you can find a library that puts you on the right track (liblz4, oodle ect).

and finally various tests...
Personally, I work in a test folder, trying out different combinations, different library versions
when I've found the best compromise, I test in DSG.

Lucifer Crossman 23-06-2025 21:40

Quote:

Originally Posted by Cesar82 (Post 508066)
I didn't say it's the best...
I simply showed that it also works with DSG. You just need to provide the correct oodle library.
I'm not the right person to tell you which method or library is the best.

Hello. Can you help me embed DSG in Redshank Installer [21.03]? I'm a beginner. I'm sorry for my English.

fabrieunko 26-06-2025 22:28

Hello, when compressing a game, I made a mistake by selecting components 1 instead of task 1 to add the bonuses separately.
Can you manually correct the records.ini file? To avoid starting from scratch?

Cesar82 27-06-2025 18:37

Quote:

Originally Posted by fabrieunko (Post 508093)
Hello, when compressing a game, I made a mistake by selecting components 1 instead of task 1 to add the bonuses separately.
Can you manually correct the records.ini file? To avoid starting from scratch?

Yes. Only rename Component= key to Task= key inside records.ini file.

Dunnowho69 27-06-2025 23:49

Quote:

Originally Posted by Cesar82 (Post 508098)
Yes. Only rename Component= key to Task= key inside records.ini file.

Hi can you help me iwth how i can add extraction logic for diskspan here ? For a single disk it works okay but for multiple disk it doesn't work, it's this https://fileforums.com/showthread.php?t=104745 script btw

Code:

    if ISDoneInit(ExpandConstant('{tmp}\record.inf'), $F777, 0, 0, 0, MainForm.Handle, 512, @ProgressCallback) and FileSearchInit(True) then
    begin
      ExtractTemporaryFile('ENGLISH.INI');
      ChangeLanguage('English');
      repeat
        if ISArcExtract(0, 0, ExpandConstant('{src}\data-1.bin, ExpandConstant('{app}'), '', False, '', ExpandConstant('{tmp}\Arc.ini'), ExpandConstant('{app}'), False) then
          ISDoneError := False
        else
          Break;
      until True;
      ISDoneStop;
    end;


Cesar82 28-06-2025 18:28

Quote:

Originally Posted by Dunnowho69 (Post 508100)
Hi can you help me iwth how i can add extraction logic for diskspan here ? For a single disk it works okay but for multiple disk it doesn't work, it's this https://fileforums.com/showthread.php?t=104745 script btw

Code:

    if ISDoneInit(ExpandConstant('{tmp}\record.inf'), $F777, 0, 0, 0, MainForm.Handle, 512, @ProgressCallback) and FileSearchInit(True) then
    begin
      ExtractTemporaryFile('ENGLISH.INI');
      ChangeLanguage('English');
      repeat
        if ISArcExtract(0, 0, ExpandConstant('{src}\data-1.bin, ExpandConstant('{app}'), '', False, '', ExpandConstant('{tmp}\Arc.ini'), ExpandConstant('{app}'), False) then
          ISDoneError := False
        else
          Break;
      until True;
      ISDoneStop;
    end;


You can use one of the installers compatible with DiskSpan GUI, or you can adapt your own script by including the DiskSpan GUI module (See the IsDone example script adapted with the DiskSpan GUI module in the examples folder next to DiskSpan GUI).

Kriogenik 28-06-2025 21:34

I asked in the Newbie Question thread for any generic answers, but decided it may be best to ask here for specifics.

Is there a way to bypass the 255-character limit with installations? A game I am repacking has a file that is in a structure 245 characters long, which doesn't leave much room for an installation path when installing with the installer, and it errors out when the install path is long.

Thanks for this GUI and the sample installer script, both have been very helpful.

KaktoR 28-06-2025 21:49

You could try this
https://learn.microsoft.com/en-us/wi...1607-and-later

But not sure if it will work since DSG and all the installers are 32-bit applications I guess.

Cesar82 29-06-2025 08:05

Quote:

Originally Posted by Kriogenik (Post 508105)
I asked in the Newbie Question thread for any generic answers, but decided it may be best to ask here for specifics.

Is there a way to bypass the 255-character limit with installations? A game I am repacking has a file that is in a structure 245 characters long, which doesn't leave much room for an installation path when installing with the installer, and it errors out when the install path is long.

Thanks for this GUI and the sample installer script, both have been very helpful.

if install path exced 259 character try adding \\?\ before path
Code:

\\?\C:\folder\etc\etc\install folder\

Kriogenik 30-06-2025 00:57

Quote:

Originally Posted by Cesar82 (Post 508108)
if install path exced 259 character try adding \\?\ before path
Code:

\\?\C:\folder\etc\etc\install folder\

I tried this after reading the comment as per the user above as well and get an error that ? can not be used in directory or filenames.

For now, I have renamed the affected files to reduce their characters by a lot and written a bat file that is executed when unpacking is done, that renames them back to their original names. This avoids the error and allows some semblance of a real installation path.

danger9 07-07-2025 07:38

Unreal Engine xtool Plugin weird results
 
i'm facing another issue
when i try the unreal-engine plugin by razor on xtool, it "sometimes" gives me different results than DSG

the following sample file is one of stellar blade .utoc files, it's an UnrealEngine 4 game, through xtool app "0.8.9 & 0.7.9HF" it's compressed properly using both UE4 or UE5 plugin with kraken precompressor

xtool method
Code:

ue4:k0x014AEC0148FBDEE9640633AAB67521AAB4E1083A98F76FF33DDCF78DAD05BE66+kraken
https://i.postimg.cc/pTm6W23W/image.png

however on DSG, i always get 2% compression, so i suppose that the file isn't read properly through precompression
https://i.postimg.cc/5txJ2VND/image.png

i've tried several methods .. tried both crypted ue4 & ue5 and used AES keys dumped by me. tried to change oodle library manually "not sure if i did it correctly but i tried to cope with ur previous reply to me"

DGS Methods trials
Code:

xtool:c32mb:mue4:mkraken:core_2.9.9:dd5:l10,d128mb
xtool:c32mb:mue4:mkraken,l9:9+xtool:dd5:l10
xtool:c32mb:d1:mue4,k0x<key>:mkraken,l9:9+xtool:dd5:l10

Stellar Blade AES keys
Code:

0x06890528488905294889052A4889053B48890554890556C70F7F052E4883C428
0xC51B693F6132AD3E5F298B3E0000803F0000803F9432B63D99A6933D0000803F
0x6F168073B9B21449D742241700068ADABC306FA9AA3831164DEE8DE34E0EFBB0

link for the sample file
https://pixeldrain.com/u/XsZL27Br

KaktoR 07-07-2025 08:15

utoc is ue5

Whenever you have to use a key, you have to use d1 option aswell.

dsg command line
Code:

xtool:d1:mue5,k0x06890528488905294889052A4889053B48890554890556C70F7F052E4883C428:mkraken:core_2.9.9:dd5:l10,d128mb
Code:

17:13:50 - Overall input size: 605,35 MB
 17:13:50 - Overall output size: 520,66 MB (Ratio 86.01%)

The rest is unreal engine trash. Have fun with another ue game :)

LILU 11-07-2025 13:37

error
 
1 Attachment(s)
Hello! Can you tell me what could be the cause . This error is and on 2.0.2.2 and v2.0.2.3 (much more often began to appear ). Windows 11 23H2 32 GB Ram
https://fileforums.com/attachment.ph...1&d=1752266161

KaktoR 11-07-2025 14:24

If you use xtool, try lm option

Code:

xtool:lm:

LILU 10-08-2025 15:27

Freezing
 
Good day. What could be the reason for the ‘freezing’ of the program? It hangs for hours and ultimately does nothing. This happened in both versions 22 and 23.
Compression configuration: xtool:c16mb:mzlib:dd3+lzma2:d64m:fb128:lc4:mc10000 00:lp0
OS: Windows 11 23H2
https://i6.imageban.ru/out/2025/08/1...fa2a547a88.png

random_nik 04-10-2025 06:09

i repacked a game and burn on 3 dvd, but i have an error unarc.dll -1 when decompresson start from second dvd. Decompression successfull if i install a game from HDD. I use DiskSpan GUI v2.0.2.3.

Jawahir95 04-12-2025 13:08

Hi Cesar82
Can you make my script modified just like

Vesta[24.05] (modifyed).7z
OpenSetup[05.06] (modifyed).7z

Please

I PM you, thanks

LILU 09-01-2026 04:12

Good day. Please tell me if there will be any updates (for example, 2.0.2.4)? Will the game database be updated (presets in _Developer MODE)? And how is it possible to ‘attach’ (so that the GUI has the WemTool setting) by analogy with the selection of MEDIA COMPRESSOR and FINAL COMPRESSOR in _Developer MODE?

KaktoR 09-01-2026 04:28

1 Attachment(s)
There are several DSG updates, but internal for now. But I guess the update will come soon.

As for WemTool as a indipendent method for freearc: I don't think this will work because you have to call it from cmd.

Edit: Here is the latest database update. Use it with the DSG files from mausschieber conversions. He has a newer build I send him some months ago for testing, although it's already outdated the database files should work nevertheless I guess.

Edit 2: There were not much database updates lately simply because of the fact that 90% of todays game releases are unreal engine 5 and there is not much benefits in repacking them, not to say there is no point in repacking them at all if you save just max 10% of the initial size and wait hours and hours for installing them.

LILU 09-01-2026 05:28

Quote:

Originally Posted by KaktoR (Post 509167)
There are several DSG updates, but internal for now. But I guess the update will come soon.

As for WemTool as a indipendent method for freearc: I don't think this will work because you have to call it from cmd.

Edit: Here is the latest database update. Use it with the DSG files from mausschieber conversions. He has a newer build I send him some months ago for testing, although it's already outdated the database files should work nevertheless I guess.

Edit 2: There were not much database updates lately simply because of the fact that 90% of todays game releases are unreal engine 5 and there is not much benefits in repacking them, not to say there is no point in repacking them at all if you save just max 10% of the initial size and wait hours and hours for installing them.

Thank you for your reply. Is there a manual for WemTool? A video? It's difficult to understand how to use it with DiskSpan and the ‘standard’ ISDone_Example.iss. You can send it to me in a private message.

KaktoR 11-01-2026 05:38

1 Attachment(s)
First you have to call WemTool.exe with -e option from cmd or batch file to encode WEM files.
Code:

WemTool.exe -e
Then you can either call WemTool.exe with a batch file from inno setup or directly from the inno setup script within installation.

Example:
ISDone_Example.iss
Code:

if CurStep = ssPostInstall then
  begin
    ExtractTemporaryFile('WemTool.exe');
    FileCopy(ExpandConstant('{tmp}\WemTool.exe'), ExpandConstant('{app}\WemTool.exe'), False);
    ShellExec('open', ExpandConstant('{app}\WemTool.exe'), '-d', ExpandConstant('{app}'), SW_HIDE, ewWaitUntilTerminated, ResultCode);

DSG_Module.iss
Code:

[Files]
Source: "Include\WemTool.exe"; Flags: dontcopy

The above example will execute WemTool.exe with -d parameter after install process.

Example with batch execution:
ISDone_Example.iss
Code:

if (CurStep = ssPostInstall) then
  begin
    ExtractTemporaryFile('batch.bat');
    FileCopy(ExpandConstant('{tmp}\batch.bat'), ExpandConstant('{app}\batch,bat'), False);
    ShellExec('open', ExpandConstant('{app}\batch.bat'), '', '', SW_SHOWMINIMIZED, ewWaitUntilTerminated, ResultCode);

DSG_Module.iss
Code:

[Files]
Source: "Include\batch.bat"; Flags: dontcopy

Batch.bat
Code:

WemTool.exe -d
If you decide to use WemTool with batch file, you will see the actual progress of it.

KaktoR 11-01-2026 07:52

It works fine here. I tested 3 different DSG versions, including 2.0.2.3 from this thread.

Butza 12-01-2026 07:37

What's the algorithm for Dead Space 2023?


All times are GMT -7. The time now is 20:28.

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