PDA

View Full Version : Unpack files with progress in batch


gozarck
24-06-2016, 12:15
GOZARCK SALUTE YOU!!!!

This time i wanna share unpack Multi-files with progress.

1.Got to Bin folder and Open data.dll with notepad++ and set the path and the files to be extracted.

[data.dll]


D:\MyGame\Unpacked\data1\ dat_01.bin
D:\MyGame\Unpacked\data2\ dat_02.bin
D:\MyGame\Unpacked\data3\ dat_03.bin
D:\MyGame\Unpacked\data4\ dat_04.bin

2.Now open "df.dll" (destination folder) and set the same path.
This is for the progress bar because you tell to the batch read this folder constantly until you reach the megabytes required to complete 100 %.

[df.dll]

D:\MyGame\Unpacked


3.Now Open "mb.dll" is the Total size of the game folder in MB in my case is 308MB.
This is for the progress bar because you tell to the batch read this folder constantly until you reach the 308 megabytes(in my case) required to complete 100 %. of the progress bar.

[mb.dll]

308

4. Now open the "Unpacker_V8.cmd" and go to line 79 to set the shorcut.

[Unpacker_V8.cmd]

REM Set shortcut here set the path and the name(mygame.exe it's just an example). the number 45 is the icon image.
Bin\nircmdc.exe shortcut "D:\MyGame\Unpacked\data1\mygame.exe" "~$folder.desktop$" "Mygame" 45


5. If you compress with others external compressions, just copy arc.ini and the compressors (nanozip or reflate) into the Bin folder.

Please feel free to modify this batch files.

ShadowEagle
27-06-2016, 05:16
Possible to use constants for unpack folder? I mean possible to use actual folder where the bin files are placed?

gozarck
27-06-2016, 15:55
Yes ShadowEagle. Can you give me more details of what you want to do. What files and folders? Or path? Everything.
Thank you

ShadowEagle
29-06-2016, 12:38
And how to do that?