Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #361  
Old 07-06-2024, 11:12
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 137 Times in 53 Posts
Fak Eid is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
All you need to make FMX compatible with DSG is inside the folder "_ISDone Script Example (DiskSpan_GUI)" (script wise).
I use it differently actually. I extracted everything outside so no one has ever make changes in the script. If you want to use any decompression just update ToolsDefine.iss
Although the changes are old and this is just an alpha as I said I use it for myself.

Here's an example: https://fileforums.com/showpost.php?...2&postcount=52
Or, you can check the last third picture.

Another example: https://fileforums.com/showpost.php?...2&postcount=50
Simple example: https://fileforums.com/showpost.php?...1&postcount=28

All Stuff in 'Game' folder.

Last edited by Fak Eid; 07-06-2024 at 11:17.
Reply With Quote
Sponsored Links
  #362  
Old 07-06-2024, 11:38
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,023
Thanks: 1,729
Thanked 2,186 Times in 747 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
In my opinion, DiskSpanGui lacks a checkbox - "do everything for another unpacker and do not hide everything in setup.dll ". Then any user can compress the archive in this program and transfer all the necessary dll and ini files to his installer without incident. "FMXInno" is gaining popularity and there will be even more questions and problems with this program "DiskSpanGui".
Do you think DSG is hiding something from you, no, it stores the compressors in an ARC file with method "-m3" (Yes, it could be zip/7-zip/RAR, but the unpacking speed of the compressors would be harmed). This way you can replace your executable without needing to change anything else.
Example: I can take a conversion created in CIU and replace Setup.exe with one created by ASIS by other user that will continue to work, without me knowing which method was used to compress.
See for yourself...

How many times have you contributed compression information, more precisely configurations to be added to the DSG database?
If it weren't for @KakoR, who spends hours and hours carrying out tests, obtaining the best methods for each game and creating configurations, we wouldn't have any preconfiguration of methods in the DATABASE.
So be grateful for what you have, if you don't want to use DSG, don't use it.

Remembering that it is very important that you share information to the database, especially about games that are not there yet.
To share information to the new database is very simple.
After configuring your method for a game in DEVELOPER mode, just hold down the "CTRL+SHIFT" keys on your keyboard and click the "Save" button (without releasing the "CTRL+SHIFT" keys) and click OK in the dialog box that will be displayed.
The information from the database will be copied to the clipboard, so you just paste it into your collaboration post here on the DSG thead.
But only send information after testing and obtaining the best compression ratio, there is no point in sending srep+LOLZ_ULTRA for everything without test (Not everything is srep + lolz.. ).
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
KaktoR (07-06-2024), mausschieber (07-06-2024)
  #363  
Old 07-06-2024, 11:57
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,023
Thanks: 1,729
Thanked 2,186 Times in 747 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Fak Eid View Post
I use it differently actually. I extracted everything outside so no one has ever make changes in the script. If you want to use any decompression just update ToolsDefine.iss
Although the changes are old and this is just an alpha as I said I use it for myself.

Here's an example: https://fileforums.com/showpost.php?...2&postcount=52
Or, you can check the last third picture.

Another example: https://fileforums.com/showpost.php?...2&postcount=50
Simple example: https://fileforums.com/showpost.php?...1&postcount=28

All Stuff in 'Game' folder.
Nice installer...

But that's what the DiskSpan GUI tries to avoid.
Try to avoid incompatibility of compression and unpacking tools.
You cannot use one version of compressor to compress (in this case, those used by DiskSpan GUI) and another version to decompress.
Example: Your MTX64.exe from the first post is 5.0.0.3 (64-bit).
DiskSpan GUI compresses using MTX64.exe v0.1 (64-bit) which is a remake of the old MTX project.
If you use an MTX method like razor_mtx, even if everything else is compatible, the extraction will fail because the version of the tool is different and often (this is one case) the commands are different.

You should always use the same version-compatible tools for compression and decompression.
The "DiskSpan GUI" generates Setup.dll containing all compatible files, even if you don't understand anything about compression.
Yes, you can extract Setup.dll and merge it into your installer using the TOOLS button ("Setup DLL" tab).
There you can even create a DLL setup before compressing using the "Maker" subtab, if you are already sure which method you are going to use.

If you noticed, in the last DSG module, it already supports including compressors in a folder that will be automatically included in your setup.exe, requiring only external Records.ini (if setup.dll exists next to setup.exe, the compressors from Setup.dll).
You can also put records.ini in the folder before compressing setup.exe if you don't want anything external, but you will need to compress the game first to generate Records.ini or write it manually.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Fak Eid (07-06-2024)
  #364  
Old 07-06-2024, 12:51
Gummy Bear Gummy Bear is offline
Registered User
 
Join Date: Nov 2021
Location: Moscow
Posts: 8
Thanks: 3
Thanked 1 Time in 1 Post
Gummy Bear is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
This error occurs because your installer is using the "IsArcEx.dll" library that is integrated inside FMXInno.dll or externally. DiskSpan GUI has been prepared to work with IsDone.dll.
You can include IsDonel.dll in your project and use the IsDone functions to do the unpacking.
Along with DiskSpan GUI you find an example with "DSG_Module.iss". You can integrate this module into your script by replacing the IsArcEx functions.


DiskSpan GUI is designed to work only with "IsDone.dll" (not "IsArcEx.dll").
The reason is that some functions used in "DiskSpan GUI", such as Z-Zip and RAR compression and Patch mode cannot be unpacked by "IsArcEx.dll".
BLACKFIRE69 chose not to include in its "IsArcEx.dll" library (whether the version integrated with FMXInno.dll or an external library) functions equivalent to IS7ZipExtract, ISRarExtract and ISxDeltaExtract contained in "IsDone.dll".
I personally find this additional feature very useful, because with IS7ZipExtract we can just create an additional file manually in 7-Zip or RAR using one of the WinRAR or 7-zip programs at any time after compression, and just add a section to "Records.ini ", as long as you have not merged "Records.ini" into "Setup.dll" or integrated into "Setup.exe", and include the information from the new 7-Zip/RAR file. Example: You want to include an extra addon to your installation, with optional installation, you would just compress it with WinRar and play it on the last disk by making the config in Records.ini and you could also define a task for it in Records.ini, so you could check this task in your installer.
In any case, the DiskSpan GUI module is there for you to integrate into your installers without much effort.
The idea of ​​putting a checkbox to not generate Setup.dll and keeping the files in a folder on Disk 1 could be an option for the next DSG. The problem would be the division of disks which should subtract the size of all compressors in the folder so that when including them in Setup.exe it can be subtracted (If the reserved size is not defined on disk 1, if it reserves space, already include the total size) .

NOTES:
Somewhere in the FMXInno thread there were 2 example scripts using InnoFmx.dll and containing DiskSpan GUI support (previous version of DSG), but I think BLACKFIRE69 may have removed the post.


You must be using some Windows desktop enlargement scale above 125%.
The maximum supported for creating the DSG interface is 125% scaling at 1440p or 100% at 1080p.
For lower resolutions, unfortunately the DSG cannot be drawn correctly.
The DSG 2.0.1.9 version had a slightly smaller interface than the current one, that is, 636x734 pixels, so it was displayed correctly for you.
The current version of DSG 2.0.2.0 has dimensions of 693x814 pixels because it was necessary to include new EDITs in the DEVELOPER mode area to meet the new supported configurations, so now in this new version your monitor area stands out when using resolutions below 1080p or for those using scales above 125% at 1440p resolutions.
I'll see if I can find a way to reduce the size of the DSG interface in the next version, but I can't promise anything because the DSG is developed in Inno Setup, and Inno Setup doesn't offer many customization options for design objects.
If I use lolz + srep, it decompresses fine, the problem is with xtool.
Reply With Quote
  #365  
Old 07-06-2024, 12:56
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 137 Times in 53 Posts
Fak Eid is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
Nice installer...

But that's what the DiskSpan GUI tries to avoid.
Try to avoid incompatibility of compression and unpacking tools.
You cannot use one version of compressor to compress (in this case, those used by DiskSpan GUI) and another version to decompress.
Example: Your MTX64.exe from the first post is 5.0.0.3 (64-bit).
DiskSpan GUI compresses using MTX64.exe v0.1 (64-bit) which is a remake of the old MTX project.
If you use an MTX method like razor_mtx, even if everything else is compatible, the extraction will fail because the version of the tool is different and often (this is one case) the commands are different.

You should always use the same version-compatible tools for compression and decompression.
The "DiskSpan GUI" generates Setup.dll containing all compatible files, even if you don't understand anything about compression.
Yes, you can extract Setup.dll and merge it into your installer using the TOOLS button ("Setup DLL" tab).
There you can even create a DLL setup before compressing using the "Maker" subtab, if you are already sure which method you are going to use.

If you noticed, in the last DSG module, it already supports including compressors in a folder that will be automatically included in your setup.exe, requiring only external Records.ini (if setup.dll exists next to setup.exe, the compressors from Setup.dll).
You can also put records.ini in the folder before compressing setup.exe if you don't want anything external, but you will need to compress the game first to generate Records.ini or write it manually.
Agreed and acknowledged the 'MTX' point but as I said it is still alpha and I still do not have it all compression method comptaible. The ones created are just what I've used so far. Or use plugins for some game (like w3, Ghost of Tsushima, Starfield, etc.) and then remove. In this way, I keep my Setup.exe from overburdened with all the unnecessary files. DSG is by far the most useful tool for compression for me and the support is great too. If someone understands how to use it, it's a boon.
Reply With Quote
  #366  
Old 07-06-2024, 13:00
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 137 Times in 53 Posts
Fak Eid is on a distinguished road
Quote:
Originally Posted by Gummy Bear View Post
If I use lolz + srep, it decompresses fine, the problem is with xtool.
DM me. We can talk this private and I can sort this out. I use a modified version of this installer and know the code.
Reply With Quote
  #367  
Old 07-06-2024, 13:29
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,023
Thanks: 1,729
Thanked 2,186 Times in 747 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Fak Eid View Post
Agreed and acknowledged the 'MTX' point but as I said it is still alpha and I still do not have it all compression method comptaible. The ones created are just what I've used so far. Or use plugins for some game (like w3, Ghost of Tsushima, Starfield, etc.) and then remove. In this way, I keep my Setup.exe from overburdened with all the unnecessary files. DSG is by far the most useful tool for compression for me and the support is great too. If someone understands how to use it, it's a boon.
XTool is also a different version that is in your installer "[OG] RGT Repack" (I haven't analyzed the others) of the xtool present in currend version of the DSG.
In your installer contain xtool v0.7.9 (HOTIFIX 1), so it would be necessary to use DSG plus 2.0.1.9 to maintain compatibility.
The current DiskSpan GUI uses version 0.87 of XTOOL and this version will certainly be the version that will be maintained from now on because now XTool is no longer available to all users, and even if there is an update to XTool, only users with a paid account will be able to have it. access to it.
If a user wants to use a new version of XTool and wants to use it for themselves, as long as they know the changes to any xtool parameter, it can possibly be changed in DSG_Methods.ini to support new codecs, or parameters of the new xtool.
So far I don't think we have any more updates (DSG stays up to date with XTOOL)...
But if there is an update that requires changes that cannot be made directly in DSG_Methods.ini, send me the xtool.exe or send me the necessary information and I will include the DSG to support the new XTOOL functions/parameters.

As for your installer not to be full of compressors that will not be used, that's why DSG uses Setup.dll. If you only include the Setup.dll files in your installer it will only contain the files needed to unpack your game.
Setup.DLL only contains the files necessary to decompress the conversion that generated Setup.dll. If you try to use the same setup.dll with other methods that use other compressors, the extraction will fail.
Reply With Quote
  #368  
Old 07-06-2024, 14:17
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 182
Thanks: 132
Thanked 63 Times in 44 Posts
kj911 is on a distinguished road
Is it possible to integrate the "disk spanning" function/files in "DiskSpanGUI" under the "Tiny Compressor v1.4" or plain "FreeARC" solutions??

I think that a created archive much larger than 4+ GB is no longer an easy way to slice it into volumes of any size using the "diskspan" method?

Eg: 7GB --> (added with the diskspan:4400mb:4440mb method, the original compression.) we would then get a 4400MB first volume and a ~2769MB second volume files.
Reply With Quote
  #369  
Old 07-06-2024, 14:19
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 137 Times in 53 Posts
Fak Eid is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
XTool is also a different version that is in your installer "[OG] RGT Repack" (I haven't analyzed the others) of the xtool present in currend version of the DSG.
In your installer contain xtool v0.7.9 (HOTIFIX 1), so it would be necessary to use DSG plus 2.0.1.9 to maintain compatibility.
The current DiskSpan GUI uses version 0.87 of XTOOL and this version will certainly be the version that will be maintained from now on because now XTool is no longer available to all users, and even if there is an update to XTool, only users with a paid account will be able to have it. access to it.
If a user wants to use a new version of XTool and wants to use it for themselves, as long as they know the changes to any xtool parameter, it can possibly be changed in DSG_Methods.ini to support new codecs, or parameters of the new xtool.
So far I don't think we have any more updates (DSG stays up to date with XTOOL)...
But if there is an update that requires changes that cannot be made directly in DSG_Methods.ini, send me the xtool.exe or send me the necessary information and I will include the DSG to support the new XTOOL functions/parameters.

As for your installer not to be full of compressors that will not be used, that's why DSG uses Setup.dll. If you only include the Setup.dll files in your installer it will only contain the files needed to unpack your game.
Setup.DLL only contains the files necessary to decompress the conversion that generated Setup.dll. If you try to use the same setup.dll with other methods that use other compressors, the extraction will fail.
Thanks for the info. I'll put the latest version of Xtool.exe in my installer. As for other compression method the idea is very simple, include only the files in the Script.iss, required for decompression. Then, there was a problem that I had to make an update in the script to import and extract the file. I even wrote a .bat for it, but things were getting complicated.

So that's why instead I kept all the files and imported based on the tool definition. The setup.dll merging with records.ini, I'm not aware of as I only do this part time and have lost track of updates long ago. If there's a video of your explanation, I'll surely watch and write code to enhance FMX even more. If our ideas align, maybe we can collab too.
Reply With Quote
  #370  
Old 07-06-2024, 14:21
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,405
Thanks: 1,078
Thanked 7,007 Times in 2,654 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
The maximum supported for creating the DSG interface is 125% scaling at 1440p or 100% at 1080p.
125% on 1080p aswell. So the max scaling you can use is 125% for 1080p and 1440p.
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
Cesar82 (07-06-2024)
  #371  
Old 07-06-2024, 17:40
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 366
Thanks: 439
Thanked 837 Times in 306 Posts
audiofeel is on a distinguished road
Arrow

Quote:
Originally Posted by Cesar82 View Post
NOTES:
Somewhere in the FMXInno thread there were 2 example scripts using InnoFmx.dll and containing DiskSpan GUI support (previous version of DSG), but I think BLACKFIRE69 may have removed the post.
I found it. But the version of "FMXInno" is not new there, as is "DiskSpan".
Attached Files
File Type: 7z FMXInno with DSG.7z (9.00 MB, 31 views)
Reply With Quote
The Following User Says Thank You to audiofeel For This Useful Post:
Cesar82 (07-06-2024)
  #372  
Old 07-06-2024, 22:59
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,023
Thanks: 1,729
Thanked 2,186 Times in 747 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Fak Eid View Post
I use it differently actually. I extracted everything outside so no one has ever make changes in the script. If you want to use any decompression just update ToolsDefine.iss
Although the changes are old and this is just an alpha as I said I use it for myself.

Here's an example: https://fileforums.com/showpost.php?...2&postcount=52
Or, you can check the last third picture.

Another example: https://fileforums.com/showpost.php?...2&postcount=50
Simple example: https://fileforums.com/showpost.php?...1&postcount=28

All Stuff in 'Game' folder.
I made some changes here for you.
Now you can just add the Setup.dll generated by DiskSpan GUI during compression into the "Decomp" folder and the compressors present in Setup.dll will be added to your Setup.exe during compilation.

I added a test in InitializeSetup (DEBUG_2), if you want to check when starting the installer you can remove the slashes before "//#define DEBUG_2" (These lines can be deleted if you want).
The decompressors will be unpacked during the beginning of the installation.
Attached Files
File Type: 7z [OG] RGT Repack (modifyed).7z (13.48 MB, 59 views)
Reply With Quote
The Following 3 Users Say Thank You to Cesar82 For This Useful Post:
audiofeel (08-06-2024), CrownRepack (08-06-2024), Fak Eid (08-06-2024)
  #373  
Old 07-06-2024, 23:33
homerliew homerliew is offline
Registered User
 
Join Date: May 2024
Location: Nowhere
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
homerliew is on a distinguished road
Thank you for the answers regarding Window Size. I dropped my Desktop Scaling down to 150% from 175% which is the recommended setting for my laptop, no more issues. Texts are smaller now though.

Last edited by homerliew; 07-06-2024 at 23:35.
Reply With Quote
The Following User Says Thank You to homerliew For This Useful Post:
Cesar82 (08-06-2024)
  #374  
Old 08-06-2024, 10:53
CrownRepack CrownRepack is offline
Registered User
 
Join Date: Apr 2024
Location: In My Home
Posts: 24
Thanks: 30
Thanked 20 Times in 13 Posts
CrownRepack is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
I made some changes here for you.
Now you can just add the Setup.dll generated by DiskSpan GUI during compression into the "Decomp" folder and the compressors present in Setup.dll will be added to your Setup.exe during compilation.

I added a test in InitializeSetup (DEBUG_2), if you want to check when starting the installer you can remove the slashes before "//#define DEBUG_2" (These lines can be deleted if you want).
The decompressors will be unpacked during the beginning of the installation.
Hi Cesar, can you please add the function to Vesta Installer aswell?
The one created by audiofeel.
Reply With Quote
  #375  
Old 08-06-2024, 13:56
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,023
Thanks: 1,729
Thanked 2,186 Times in 747 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by CrownRepack View Post
Hi Cesar, can you please add the function to Vesta Installer aswell?
The one created by audiofeel.
If you want something similar to the modified installer file I posted before, download the attached file.
This will just unpack the decompressor files from within "Setup.dll" and include them in your installer.
But you will always need to update "Setup.dll" in the "Decomp" folder according to the compression done before compiling Setup.exe.

IMPORTANT:
Always use the "UNLIMITED" tab of the DiskSpan GUI to make your conversion...
The installer does not have the IsDone module/functiond, so it is not possible to use disk spanning features like DiskSpan or SPLIT mode.

ADITIONAL:
I also attached here the modified version of the popular installer "OpenSetup" that audiofeel requested for the PM.
Attached Files
File Type: 7z Vesta[24.05] (modifyed).7z (5.99 MB, 58 views)
File Type: 7z OpenSetup[05.06] (modifyed).7z (5.95 MB, 56 views)

Last edited by Cesar82; 08-06-2024 at 15:05.
Reply With Quote
The Following 3 Users Say Thank You to Cesar82 For This Useful Post:
CrownRepack (08-06-2024), Fak Eid (08-06-2024), sajmon83 (15-06-2024)
Reply

Tags
cls-diskspan, compressor, diskspan, diskspan_gui

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DiskSpan on Linux hydefromt70s Conversion Tutorials 1 15-10-2020 08:12
How to use diskspan bat mausschieber Conversion Tutorials 4 05-09-2020 13:25
DiskSpan FreeArc returns an error Titeuf Conversion Tutorials 2 18-07-2020 02:46
CIU 3.0.0.0.u3 (2019-03-28) - Diskspan Issues mesut28 Conversion Tutorials 17 30-03-2019 03:28
R.G. Gamers DiskSpan Simorq Conversion Tutorials 1 28-10-2017 09:22



All times are GMT -7. The time now is 08:47.


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