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)

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.


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

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