FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Unpack srep+lzma bat (https://fileforums.com/showthread.php?t=96656)

gozarck 11-02-2015 10:21

Unpack srep+lzma bat
 
1 Attachment(s)
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

Code:

-msrep+delta+lzma:a1:mfbt4:d158m:fb273:mc1000000000:lc8

Code:

-mrep+delta+lzma:a1:mfbt4:d158m:fb273:mc1000000000:lc8
Code:

-msrep+delta+4x4:lzma:a1:mfbt4:d158m:fb273:mc1000000000:lc8
this code 4x4:lzma its = xlzma

thanks

Stor31 12-02-2015 04:15

Error Win 7 x64Bit
http://nsa33.casimages.com/img/2015/...1402592642.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.

gozarck 12-02-2015 13:56

1 Attachment(s)
Quote:

Originally Posted by pakrat2k2 (Post 438023)
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.

Carldric Clement 12-02-2015 15:14

Nice Method
 
Quote:

Originally Posted by gozarck (Post 437986)
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

Code:

-msrep+delta+lzma:a1:mfbt4:d158m:fb273:mc1000000000:lc8

Code:

-mrep+delta+lzma:a1:mfbt4:d158m:fb273:mc1000000000:lc8
Code:

-msrep+delta+4x4:lzma:a1:mfbt4:d158m:fb273:mc1000000000: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

gozarck 19-02-2015 15:54

1 Attachment(s)
Quote:

Originally Posted by Sarvagya (Post 438064)
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).

gozarck 21-05-2015 17:30

1 Attachment(s)
Quote:

Originally Posted by Sarvagya (Post 438504)
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

Now This Is What I Call Super_Awesome!
 
1 Attachment(s)
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...1&d=1432284966

gozarck 26-05-2015 13:00

4 Attachment(s)
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

punchao 11-08-2015 10:24

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

Quote:

Originally Posted by Sarvagya (Post 438504)
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!!

gozarck 03-10-2015 16:26

1 Attachment(s)
V3 with BG music. Check the bat file for info.


All times are GMT -7. The time now is 11:36.

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