View Full Version : Unpack srep+lzma bat
Gozarck Salute you
Unpack_srep_lzma.bat
Today i give you my magical Unpack_srep_lzma.bat
include only 2 files:
testfile:dat_01.bin
bat file:Unpack_srep_lzma.bat
how to Use: launch Unpack_srep_lzma.bat
(feel free to modify the bat file and experiment yourself)
thats all you don't need srep.exe or unarc.exe or arc.ini
because this bat file will create those exe, dll, ini files.
not support precomp (i don't like precomp, sorry)
support
-msrep+delta+lzma:a1:mfbt4:d158m:fb273:mc1000000000 :lc8
-mrep+delta+lzma:a1:mfbt4:d158m:fb273:mc1000000000: lc8
-msrep+delta+4x4:lzma:a1:mfbt4:d158m:fb273:mc100000 0000:lc8
this code 4x4:lzma its = xlzma
thanks
Error Win 7 x64Bit
http://nsa33.casimages.com/img/2015/02/12/150212011402592642.jpg
pakrat2k2
12-02-2015, 08:15
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.
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
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.
Carldric Clement
12-02-2015, 15:14
Gozarck Salute you
Unpack_srep_lzma.bat
Today i give you my magical Unpack_srep_lzma.bat
include only 2 files:
testfile:dat_01.bin
bat file:Unpack_srep_lzma.bat
how to Use: launch Unpack_srep_lzma.bat
(feel free to modify the bat file and experiment yourself)
thats all you don't need srep.exe or unarc.exe or arc.ini
because this bat file will create those exe, dll, ini files.
not support precomp (i don't like precomp, sorry)
support
-msrep+delta+lzma:a1:mfbt4:d158m:fb273:mc1000000000 :lc8
-mrep+delta+lzma:a1:mfbt4:d158m:fb273:mc1000000000: lc8
-msrep+delta+4x4:lzma:a1:mfbt4:d158m:fb273:mc100000 0000:lc8
this code 4x4:lzma its = xlzma
thanks
Very well bro.
:D
Sarvagya
14-02-2015, 01:53
nice nice nice very nice awesome :D
and i also dont like precomp it takes time i dont have.
srep is more awesome and i am also fond of batch coding
nice nice nice very nice awesome :D
and i also dont like precomp it takes time i dont have.
srep is more awesome and i am also fond of batch coding
thanks Sarvagya here another example with progress display.
Sarvagya
03-03-2015, 01:29
both the batfiles are awesome nobody even thoughts about batfile these days but the batch coding is more cool when used to create some awesome little program as when i was not knowing about inno setup i was very happy with the cmd but its been a long time i ve created any game rip using that
SARVAGYA SALUTES U
U ROCK
thanks for giving such cool .bats
u have the science of usefullness
like not everybody has inno setup but every body got windows (cmd).
both the batfiles are awesome nobody even thoughts about batfile these days but the batch coding is more cool when used to create some awesome little program as when i was not knowing about inno setup i was very happy with the cmd but its been a long time i ve created any game rip using that
SARVAGYA SALUTES U
U ROCK
thanks for giving such cool .bats
u have the science of usefullness
like not everybody has inno setup but every body got windows (cmd).
Here another example for Unpack with BG Image into cmdBOX with progress in titlebar.
Sarvagya
22-05-2015, 01:54
Bro!
You Are An Alien Right!
Where Did You Get That Brain, I Think You Got Brain Transplanted From Einstien or Newton or GOZARCK Himself.
Hail The Great And Majestic GOZARCK :cool:
-------------------------------------
Now Some Bussiness
This One is Going Into My Private Collection of Awesome Apps.
Now What Do I say I Think i should also upload some of my stuff here.
Hats off To GZK:D
If U Visit The Link Below You Can Get A Glimpse Of What GZK Has Created.
__________________________________________________ ______________
http://www.fileforums.com/attachment.php?attachmentid=11712&stc=1&d=1432284966
Thanks @Sarvagya for add pics and for your enthusiasm.
here the bat file BG image V2.with virtual buttons on image.
pics made it with graphic studio by Razor12911
Bro, do I could spend templates to edit those photos?
not how to do it with graphic studio
pakrat2k2
11-08-2015, 11:45
@ punchao, you've been here enough to know better then to post in anything other then English !!!
DarkSoul19
07-09-2015, 16:38
both the batfiles are awesome nobody even thoughts about batfile these days but the batch coding is more cool when used to create some awesome little program as when i was not knowing about inno setup i was very happy with the cmd but its been a long time i ve created any game rip using that
SARVAGYA SALUTES U
U ROCK
thanks for giving such cool .bats
u have the science of usefullness
like not everybody has inno setup but every body got windows (cmd).
I love bat script intalls, All of my old Rips where bat script`s. I even in the end got really fancy and had Ascii Art Movies playing along with music during instal, just for fun of course :-Pbut then i had my boy born and had to stop, at least for a few years, but im back!!
V3 with BG music. Check the bat file for info.
DarkSoul19
05-10-2015, 03:35
Thanks for your great Script :)
I changed your script so that it plays the music without opening the secondary window which makes it feel more professional i think ;)
12642
The only downside is that the mp3`s have to be in the root folder, but considering how cool it looks with only the installer window open i think it`s worth it
UPDATE: I created an even better Script, There will be NO ugly second window pop in/pop out, My new script will have just the Installer and Music without any noticable funny buisness. Ill post it by tommorow
Here it is revised and fixed. All Mp3`s are in the app folder. No secondary window pop ups, I think you could use a modification of this script to create Actually Fantastic installers, All credits to Gozarck for his script
I belive this is a great improvement on the Original Script, feel free to use my additions in your project
12643
Thanks DarkSoul19 for your interest , You 're very kind to share your scripts.
i take your suggestion.
the update have "chp" a little application to hide cmd win.
update files:
app\chp.exe and install.bat (check the bat file)
---------------------------------------------------------
PD1:
also here another script Avalanche.bat
to launch many applications at once.(i was made it to compress folders
but easy anyone can change the command to extract many arc files at once.)
-------------------------------------------------------------------------
PD2:
ogg to mp3 with ppx2(this application run max4 process at once.)
-----------------------------------------------------------------------
Hi @gozarck,
Is it possible if you make the bat installer for the reflate+srep+lzma method. If it is possible then please tell me.
Thanks in Advance
yes Amsal, is possible, try to combine the installer with reflate unpack. but i waiting for reflate.exe and cls version of Razor12911.This will make so easy for everyone.
DarkSoul19
05-10-2015, 19:18
@Gozarck
Nice work on updates and thanks for sharing your scripts. I think with all these great bats and your cmd style installers, it gives a lot of power to the repacker. I'm much happier working with bat files. I would ask a favor? Could you create a bat file to unpack precomp+srep+lzma and precomp+reflate+srep+lzma, sorry if you already have, I'm on my phone and didn't check all the forum
I tried chp earlier in my testing but without results, but I was using it differently to you, chp 1.exe , didn't think to use it on the bat. Funny thing Gozarck, I keep running into your posts all over the net. Kringle, the mp3 player and on ru forum's. Small world eh
DarkSoul19
12-10-2015, 00:10
Ive Added a File Browser to your awsome script so you can select where you want the game to be installed, i think it`s pretty cool, feel free to add it to your Bat Script :)
Attached is the Instal.bat
12668
DarkSoul19 I just want to say superb!!!
DarkSoul19
12-10-2015, 18:20
Thanks, I thought it might help. It can be used in a few of your packing bats as well ☺
I have been trying unsuccessful to incorporate it into your unpacking Reflate-precomp script. The packing it script works fine, just unpacking. If you solve "that problem" I'd be very grateful ��
I have an idea why it's not working, will try when I get home tonight
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.