View Full Version : How to use diskspan bat
mausschieber
02-09-2020, 23:52
How to use Diskspan Bat
First You Start DiskSpan, you have to enter the Game Directory like this.
https://fileforums.com/attachment.php?attachmentid=27824&stc=1&d=1599115468
Make sure you have enough Free space. For each game you must have Double Space free.
Example: the Game is 90 GB you must Have 180 GB free space. after that Diskspan ask you
for Compress method like this
https://fileforums.com/attachment.php?attachmentid=27825&stc=1&d=1599115525
Here you can enter your Compress method. If you want Custom Compress method enter 21.
but normally you can enter 6. After that Diskspan ask you witch Storage you want. Like this
https://fileforums.com/attachment.php?attachmentid=27826&stc=1&d=1599115525
Example 5. After you have chose your Storage, the next window came up, and Diskspan ask you
to make an ISO After Compressing. In most chases you can enter N. After that DiskSpan ask you
for Shutdown after Compressing. Here you can chose N. Now Diskspan have all information to compress
your Game correctly like this.
https://fileforums.com/attachment.php?attachmentid=27827&stc=1&d=1599115796
Now DiskSpan Compress your game. This can take a long Time, depending witch compress
method you use, and the game size.
https://fileforums.com/attachment.php?attachmentid=27828&stc=1&d=1599115796
after this the Game is Compressed with Diskspan. Like this
https://fileforums.com/attachment.php?attachmentid=27829&stc=1&d=1599115796
@mods can make it sticky
Make sure you have enough Free space. For each game you must have Double Space free. Example: the Game is 90 GB you must Have 180 GB free space.
Depends. If you use a precompressor like xtool, you have to calculate a bit bigger. In this case I suggest +200% ratio as default. Something like this: 2 * game size for precompressor + 2 * temp file input for srep (because in UA/DS srep doesn't use <stdin> but freearc temp file).
How to use Diskspan with List files (compressing with List files)
Here I will give you a example for a single game for which you have to use List files.
For this you have to edit _Diskspan.bat file (right-click -> Edit).
DATA Set the archive name (you don't have to add .001 for diskspan archives)
LIST Set the path + list file (you can name the files to whatever you want)
METH Set the method for the list files content
EXCL Set the exclusion file (usually only needed for the last archive). In this file you have to write all previous processed files from previous list files to exclude them.
_DiskSpan.bat
set GAME[1].NAME=Assassins Creed Odyssey
set GAME[1].EXEC=ACOdyssey.exe
set GAME[1].EGPATH=C:\Program Files (x86)\!GAME[1].NAME!
set GAME[1].DATA[1]=Data1.bin
set GAME[1].LIST[1]=Lists\Include1_1.txt
set GAME[1].METH[1]=afr:a2+srep:m3f+lolz:dtb1:d64:mtt1:mt6:mc2:fba409 6
set GAME[1].DATA[2]=Data2.bin
set GAME[1].LIST[2]=Lists\Include1_2.txt
set GAME[1].METH[2]=0
set GAME[1].DATA[3]=Data3.bin
set GAME[1].LIST[3]=Lists\Include1_3.txt
set GAME[1].METH[3]=srep:m3f+lolz:dtb1:d64:mtt1:mt6:mc2:fba4096
set GAME[1].EXCL[3]=Lists\Exclude1_1.txt
List files
Include1_1.txt
*.forge
Include1_2.txt
*.webm
Include1_3.txt
*
Exclude1_1.txt
*.forge
*.webm
The following commands
::set GAME[1].BEFO[1]= Bat file with added functions to be called before compressing the file (GAME[x].DATA[y])
::set GAME[1].AFTE[1]= Bat file with added functions to be called after compressing and move the file (GAME[x].DATA[y])
are only for special purposes, like file copying or making file/folder backups inside game folder and such.
DiskSpan.bat example to exclude redist and copy redist files to output folder...
List mode can also be configured in this way to include redist files without requiring user action.
I did some tests and it is working perfectly.
DiskSpan.bat
set GAME[1].EXCL[1]=Lists\ExcludeRedist.txt
set GAME[1].BEFO[1]=Lists\CopyRedist.bat
ExcludeRedist.txt
_CommonRedist\*
CopyRedist.bat
@echo off
xcopy "%~1\_CommonRedist\" "%~5\_CommonRedist\" /E /Q /Y
cls
I attached a new DiskSpan.bat here with some changes (Replace all files in "UltraARC 2900 R8" folder).
I fixed the automatic calculation of the first disk so that the DiskSpan.bat file gets the size of the SetupFiles folder after copying the redist files.
It also adds a new parameter "SetupFilesDir" to the CallAfter/CallBefore files.
Another example using List files + components
set CONVERSION=Mass Effect Trilogy
set CREATEDBY=Cesar82
set CONVFOLDR=Conversion_Output
set DISKLABEL=DVD
set SETUPPATH=Setup_Files
set AUTORUNNAME=Autorun.exe
set SETUPNAME=Setup.exe
set ICONNAME=Setup.ico
set COMMOMEGPATH=C:\Program Files (x86)\!CONVERSION!
set SAMEMETHODTOALL=FALSE
set SHOWCOMMANDLOG=FALSE
::---------------------------------------------------------------------------------
::---------------------------------------------------------------------------------
set GAME[1].NAME=Mass Effect
set GAME[1].EXEC=MassEffectLauncher.exe
set GAME[1].EGPATH=C:\Program Files (x86)\!GAME[1].NAME!
set GAME[1].DATA[1]=Data1_1.bin
set GAME[1].LIST[1]=Lists\Include1_1.txt
set GAME[1].METH[1]=bpk
set GAME[1].DATA[2]=Data1_2.bin
set GAME[1].LIST[2]=Lists\Include1_2.txt
set GAME[1].METH[2]=uelr:ulv+srep+LZMA-MT
set GAME[1].EXCL[2]=Lists\Exclude1_2.txt
set GAME[1].DATA[3]=Data1_3.bin
set GAME[1].LIST[3]=Lists\Include1_3.txt
set GAME[1].METH[3]=srep+LZMA-MT
set GAME[1].EXCL[3]=Lists\Exclude1_1.txt
set GAME[2].NAME=Mass Effect 2
set GAME[2].EXEC=Binaries\MassEffect2.exe
set GAME[2].EGPATH=C:\Program Files (x86)\!GAME[2].NAME!
set GAME[2].DATA[1]=Data2_1.bin
set GAME[2].LIST[1]=Lists\Include2_1.txt
set GAME[2].METH[1]=bpk
set GAME[2].DATA[2]=Data2_2.bin
set GAME[2].LIST[2]=Lists\Include2_2.txt
set GAME[2].METH[2]=uelr:ulv+srep+LZMA-MT
set GAME[2].DATA[3]=Data2_3.bin
set GAME[2].LIST[3]=Lists\Include2_3.txt
set GAME[2].METH[3]=srep+LZMA-MT
set GAME[2].EXCL[3]=Lists\Exclude2_1.txt
set GAME[3].NAME=Mass Effect 3
set GAME[3].EXEC=Binaries\Win32\MassEffect3.exe
set GAME[3].EGPATH=C:\Program Files (x86)\!GAME[3].NAME!
set GAME[3].DATA[1]=Data3_1.bin
set GAME[3].LIST[1]=Lists\Include3_1.txt
set GAME[3].METH[1]=bpk
set GAME[3].DATA[2]=Data3_2.bin
set GAME[3].LIST[2]=Lists\Include3_2.txt
set GAME[3].METH[2]=xZLib+srep+LZMA-MT
set GAME[3].DATA[3]=Data3_3bin
set GAME[3].LIST[3]=Lists\Include3_3.txt
set GAME[3].METH[3]=srep+LZMA-MT
set GAME[3].EXCL[3]=Lists\Exclude3_1.txt
Include1_1.txt
*.bik
*.bk2
Include1_2.txt
*.sfm
*.upk
*.u
Include1_3.txt
*
Exclude1_1.txt
*.bik
*.bpk
*.sfm
*.upk
*.u
Exclude1_2.txt
BioGame\CookedPC\BIOG_ASA_ARM_MRC_R.upk
BioGame\CookedPC\EditorMaterials.upk
BioGame\CookedPC\EngineResources.upk
Include2_1.txt
*.bik
*.bk2
Include2_2.txt
BioGame\CookedPC\*.pcc
BioGame\CookedPC\*.tfc
BioGame\CookedPC\*.upk
Include2_3.txt
*
Exclude2_1.txt
*.bik
*.bpk
BioGame\CookedPC\*.pcc
BioGame\CookedPC\*.tfc
BioGame\CookedPC\*.upk
Include3_1.txt
*.bik
*.bk2
Include3_2.txt
*.pcc
*.tfc
Include3_3.txt
*
Exclude3_1.txt
*.bik
*.bpk
*.pcc
*.tfc
where can i find diskspan bat for now. or is there any way to convert diskspangui compression method combo to a bat file for automation ?
mausschieber
02-01-2026, 15:37
where can i find diskspan bat for now. or is there any way to convert diskspangui compression method combo to a bat file for automation ?
If you had read the thread, you would have found what you were looking for. Post #4
If you had read the thread, you would have found what you were looking for. Post #4
thanks but that doesnt have all the files required to compress (arc,lolz,srep etc). do you know where i can get them?
mausschieber
03-01-2026, 02:32
thanks but that doesnt have all the files required to compress (arc,lolz,srep etc). do you know where i can get them?
Sorry, I should have read more carefully, lol.
But anyway, I hope I've found the right one in OP.
Sorry, I should have read more carefully, lol.
But anyway, I hope I've found the right one in OP.
thanks you rock
Good day. Please advise whether this ‘.bat’ file is compatible with the latest version of DiskSpan (v2.0.2.3)?
Good day. Please advise whether this ‘.bat’ file is compatible with the latest version of DiskSpan (v2.0.2.3)?
"DiskSpan GUI (Executable)" is the direct successor to "DiskSpan BAT," so any version of DiskSpan GUI (1.0.0.0+) is newer and uses more recent compression tools, but retains some of the methods used in the BAT version.
ReDsHanks2
14-01-2026, 15:30
"Hello! I’ve been looking for answers regarding multiple .bin file compression. It's a bit confusing for me. I was wondering how to compress a game file into parts—for example, compressing 8GB down to 2GB.
Instead of receiving the 2GB as a single file, I want to split it into four separate .bin files. Is this possible? If so, how? Do I need to use developer mode and split/masked it?, or is there a way to do it using CLS to separate it into four parts?
"Hello! I’ve been looking for answers regarding multiple .bin file compression. It's a bit confusing for me. I was wondering how to compress a game file into parts—for example, compressing 8GB down to 2GB.
Instead of receiving the 2GB as a single file, I want to split it into four separate .bin files. Is this possible? If so, how? Do I need to use developer mode and split/masked it?, or is there a way to do it using CLS to separate it into four parts?
I'm not sure I understood your question correctly.
In the DiskSpan GUI (executable, not the BAT file), you can specify the size of the disks. That is, you can compress the 8 GB (considering that the compressed output without splitting would result in one 8 GB BIN file) into 4 parts of 2 GB each, simply by specifying a size of 2 GB for the first disk and 2 GB for the other disks as well.
Then, if you want everything in the same folder, move all the BIN files from the DISK_2, DISK_3, and DISK_4 folders to the DISK_1 folder (move all the BIN files to the first folder and delete the DISK_2 to DISK_4 folders).
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.