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-06-2024 05:28

It works as long as names in arc.ini are the same.

Cesar82 17-06-2024 06:02

Quote:

Originally Posted by Fak Eid (Post 504815)
Hi Cesar82,

I'm currently working on a repack and would request to either know, or if you could create this feature for DSG?

Scenario: The following compression were not done via DSG. So,
I had Data-01 compressed using mzlib+srep+lolz
I had Data-02 compressed using bk2.
I had Data-03 compressed using kraken.

Now I want to decompress this data. I want the Setup.dll to include files required for decompression which would include oodle, bk2, mzlib, srep and lolz files. So, I go to DSG and select the methods and create the Setup.dll. Is it possible?

Let me know if you want me to refine the requirement more or help you understand.

It's possible, but you'll need to change some things manually.
Firstly, do you need to review the kraken method (Would it be xtool:mkraken)?

Then you will need to access the group of tools in the DSG's TOOLS button in the "Setup DLL" tab.
The correct thing to do is first of all to open your Data#.bin with FreeArc and go to "INFO" > "Solid Blocks" tab to know exactly the name of the methods used.
Within the "Setup DLL" tab of the DSG, access the "Maker" sub-tab and paste the methods one on each line.
You must know which oodle library is required for your compression, so inform the library using a value ":3" ... ":9" or use the specific version for the library using ":core_x.x.x".

Example:
Code:

xtool:mzlib+srep+lolz
xtool:bk2
xtool:mkraken:core_2.9.2

You can uncheck the split and diskspan checkboxes at the bottom of the window if you

The "srep" method will automatically be converted to "srep_new:393c", so it will be necessary to extract Setup.dll (Unpacker sub-tab) after using "Maker" and rename the CLS by removing "_NEW" in the 3 files relating to srep and compressing again Setup.dll ("Packer" subtab).

EDIT:
For some reason the plugin's INI file wasn't added here for me in my testing.
Then simulate a compression to create setup.dll and then unpack it and rename the srep files if necessary and recompress setup.dll

Fak Eid 17-06-2024 06:04

Quote:

Originally Posted by KaktoR (Post 504816)
It works as long as names in arc.ini are the same.

This requirement is for making DSG compatible with all type of FMX installer. Not file extraction.

Quote:

Originally Posted by Cesar82 (Post 504817)
It's possible, but you'll need to change some things manually.

Cool, yes this is what I want. Thank you for your help. I'd appreciate if we could do it by clicking on Checkboxes, just like we do it for compression but anyways, this works for me now.
Thank you soo much.

sajmon83 18-06-2024 09:37

Hey Cesar82, I noticed that the components are not working. After setting and saving, they are not saved to the DSG_Settings.ini file at all

Cesar82 18-06-2024 19:04

1 Attachment(s)
Quote:

Originally Posted by sajmon83 (Post 504828)
Hey Cesar82, I noticed that the components are not working. After setting and saving, they are not saved to the DSG_Settings.ini file at all

It is necessary to have configured at least 2 game tabs for the components to be validated.
Here it is working (See the attached video).

INFO:
- Components are intended for creating game collections, not addons for a single game. To do this, the tasks function is used.
- In the next version it will support components, even if there is only one game.

sajmon83 18-06-2024 19:56

Oh I didn't know that. And I tried using components for Data 1, Data 2 ... Now everything is clear

demon964 19-06-2024 09:26

https://i.imgur.com/gNOqwsG.png

which one compress best?

Cesar82 19-06-2024 10:31

Quote:

Originally Posted by sajmon83 (Post 504837)
Oh I didn't know that. And I tried using components for Data 1, Data 2 ... Now everything is clear

The idea behind the creation of DiskSpan GUI started with modifications of a .bat file called DiskSpan.bat that worked only with the CIU installer that has components only for collections of 2 or more games.
So when I created the GUI version of the program, these aspects were maintained.
The original idea was just to be used together with CIU, but it was later extended to be used in other installers, then the Tasks feature was added which allows you to install additional files.

Cesar82 19-06-2024 10:37

Quote:

Originally Posted by demon964 (Post 504849)
https://i.imgur.com/gNOqwsG.png

which one compress best?

I think it all depends on the "type of file/game" you are compressing. But in relation to the final method, despite having a much longer compression time, the methods that offer LOLZ as a final compressor will have a better compression ratio, but the time spent is not always necessary due to a sometimes insignificant gain in the final ratio. .

nxllxvxxd 23-06-2024 12:49

Is there anyway to port over the extraction to Inno Setup in order to make a custom installer just with the preexisting archives

Cesar82 23-06-2024 17:57

Quote:

Originally Posted by nxllxvxxd (Post 504891)
Is there anyway to port over the extraction to Inno Setup in order to make a custom installer just with the preexisting archives

What do you mean, port over the extraction to Inno Setup?

nxllxvxxd 23-06-2024 22:08

Quote:

Originally Posted by Cesar82 (Post 504892)
What do you mean, port over the extraction to Inno Setup?

Yes I understand the extraction of Setup.DLL and everything like that, needing to have the right decompressors ect. I just don't like get how to necessarily port those functions into Inno.

I'm testing with a archive I created with precomp+srep+lzma (there are going to be mutiple types depending on filetype). It decompresses perfectly within diskspangui I just don't know how to move that function over to Inno setup to work with my setup file

Sorry if I sound kinda dumb about this I am trying my hand at making a little bit more intensive repacks, I've made simple ones with inno itself before doing the compression and everything but never really messed with it

Lord.Freddy 23-06-2024 22:29

Quote:

Originally Posted by nxllxvxxd (Post 504893)
Yes I understand the extraction of Setup.DLL and everything like that, needing to have the right decompressors ect. I just don't like get how to necessarily port those functions into Inno.

I'm testing with a archive I created with precomp+srep+lzma (there are going to be mutiple types depending on filetype). It decompresses perfectly within diskspangui I just don't know how to move that function over to Inno setup to work with my setup file

Do you want to learn how to extract an archive created by DSG using Inno Setup? If so, follow these steps:

1. Download DSG: When you download DSG, you'll find a folder named "_ISDone Script Example (DiskSpan_GUI)."

2. Example Implementation: Inside this folder, you'll discover an example of how to implement the necessary functions for extracting archives created by DSG.

3. Additional Examples: For more examples, explore the 'Light Installer Script' thread.

nxllxvxxd 23-06-2024 22:47

Quote:

Originally Posted by Lord.Freddy (Post 504894)
Do you want to learn how to extract an archive created by DSG using Inno Setup? If so, follow these steps:

1. Download DSG: When you download DSG, you'll find a folder named "_ISDone Script Example (DiskSpan_GUI)."

2. Example Implementation: Inside this folder, you'll discover an example of how to implement the necessary functions for extracting archives created by DSG.

EDIT: Yes that is what I am looking to achieve. I want to compress with DSG and to decompress with inno. I'm trying my hand at making more intensive repacks a la FitGirl

I've read through these and can't lie that I am a bit confused as to which to look at seeing as there are two isdone scripts, I can't really tell what is going on, is the one inside of Script Example the one I want to look at or the one at the top of the _ISDone_ dir?

Again sorry for stupid questions I'm completely lost would not be asking if I didn't have to

Fak Eid 23-06-2024 23:28

Blackfire already shared a better replica for whole Firgirl repack on FMXInno forum


All times are GMT -7. The time now is 17:36.

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