View Single Post
  #4  
Old 12-02-2015, 13:56
gozarck's Avatar
gozarck gozarck is offline
Registered User
 
Join Date: Nov 2013
Location: Argentina
Posts: 163
Thanks: 254
Thanked 489 Times in 113 Posts
gozarck is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
didn't get any errors, but takes way too long ..
you have it go thru the bin file each time for every file it needs
which seems crazy to go thru the entire file ( say 2mb ) for a 20K file.
yes, its only for use once. I made this batch files for fun and i love MS-DOS.
i know the users in this forum have all those files unarc.exe, srep.exe, arc.ini, etc.
and only need the correct commands to extract files in batch (or use innoSetup).Think in this bat file like a diferent way to install a game.

i made another bat file Unpack_srep_lzmaV2.bat

This v2 Create a necesary files to unpack the files like V1 but retains the files in BIN\ folder and if you delete any file in BIN\ folder like "BIN\srep.exe" the batch file only create the missing file. Also V2 create another file called "Unpacker.bat" and you can modify.

Unpacker.bat

Quote:
for /r . %%T IN ("dat_0*.bin") do (
cls
Bin\unarc.exe x -w.\ -dpUnpack\ "%%T"
you can modify ("dat_0*.bin") for your compressed file most users use cab extension ("dat_0*.cab"), or diferent folder to install -dpMyGame\ .

I'm just sharing my tricks.
Attached Files
File Type: 7z Unpack_srep_lzma_V2.7z (376.9 KB, 148 views)
Reply With Quote
The Following 5 Users Say Thank You to gozarck For This Useful Post:
COPyCAT (13-02-2015), Gehrman (28-04-2021), pakrat2k2 (12-02-2015), RamiroCruzo (03-10-2015), Sarvagya (12-11-2016)