Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 17-08-2015, 17:20
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
Advanced File Splitter

Does the same thing as the other file splitter but this one has more options for splitting and merging.

This is the same program that was used for UltraARC.

Splitting

Parameters

AdvSplit Source Output SizeofSplit SplitProcess

Source: File to be splitted.
Output: A split of the main file.
SizeofSplit: The size of the current split
SplitProcess: Position where to start the split

Example

AdvSplit C:\Data.cab C:\DVD1\Data-1a.cab 1073741824 0
AdvSplit C:\Data.cab C:\DVD1\Data-1b.cab 1073741824 1073741824
AdvSplit C:\Data.cab C:\DVD2\Data-2a.cab 1073741824 2147483648
AdvSplit C:\Data.cab C:\DVD2\Data-2b.cab 1073741824 3221225472

Merging

Parameters

AdvSplit Source Output

Example

AdvSplit C:\DVD1\Data-1a.cab C:\Data.cab
AdvSplit C:\DVD1\Data-1b.cab C:\Data.cab
AdvSplit C:\DVD2\Data-2a.cab C:\Data.cab
AdvSplit C:\DVD2\Data-2b.cab C:\Data.cab

Source: One of the splitted files
Output: Location of the file that needs to be merged with the Source.
Attached Files
File Type: 7z advsplit.7z (237.1 KB, 306 views)
Reply With Quote
The Following 13 Users Say Thank You to Razor12911 For This Useful Post:
arkantos7 (27-07-2017), ChronoCross (22-08-2015), Grumpy (17-08-2015), houcine80 (17-11-2015), omdj (17-08-2015), pakrat2k2 (17-08-2015), punchao (05-07-2017), romulus_ut3 (23-05-2017), SAM2712 (05-07-2017), Simorq (30-08-2015), Stor31 (18-08-2015), toto621 (17-08-2015), zirkhaki (23-05-2017)
Sponsored Links
  #2  
Old 17-08-2015, 18:43
toto621 toto621 is offline
Registered User
 
Join Date: Jul 2015
Location: The World
Posts: 71
Thanks: 42
Thanked 47 Times in 23 Posts
toto621 is on a distinguished road
A question, can splitted archive be used by inno installer or it must be merged first ?
Reply With Quote
  #3  
Old 17-08-2015, 18:56
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,749
Thanks: 2,170
Thanked 11,206 Times in 2,307 Posts
Razor12911 is on a distinguished road
They have to be merged first bro, remember, a specific (de)compressing program specialises with its own files, once you start modifying the original archive, the program itself cannot extract the files inside or tell what happened to the original archive for it to start decompressing and then request another split, unless if the archive was splitted by the program itself then it knows how it did it. I've tried it before, the most success was with 7-Zip, to just extracted the splitted files but it only worked for the first split because that's where the header is located and the rest of the splits, it showed an error, "archive is damaged", with Freearc, it was a different story, couldn't even extract any of the splitted files, so yea, they definitely have to merged first, there isn't any other way.

Last edited by Razor12911; 17-08-2015 at 19:30.
Reply With Quote
  #4  
Old 17-08-2015, 18:59
toto621 toto621 is offline
Registered User
 
Join Date: Jul 2015
Location: The World
Posts: 71
Thanks: 42
Thanked 47 Times in 23 Posts
toto621 is on a distinguished road
so it simply cut file/merge like split.exe. Thx for the answer
Reply With Quote
  #5  
Old 23-05-2017, 13:30
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road


Code:
AdvSplit .\Archive\Data1.bin .\DVD1\Data1a.bin 4598005760 0
AdvSplit .\Archive\Data1.bin .\DVD1\Data1b.bin 4676648960 4598005760
AdvSplit .\Archive\Data1.bin .\DVD1\Data1c.bin 4676648960 9274654720
AdvSplit .\Archive\Data1.bin .\DVD1\Data1d.bin 4676648960 13951303680
What's wrong?
__________________
Haters gonna hate
Reply With Quote
  #6  
Old 24-05-2017, 01:38
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
maybe doesn't like .\ ? specify drive letter ....
Reply With Quote
  #7  
Old 24-05-2017, 08:26
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
Will try.

But my guess is because of file sizes. But it doesn't make sense if i mind. UA uses the same splitter, so....
__________________
Haters gonna hate
Reply With Quote
  #8  
Old 24-05-2017, 11:09
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
Same error.

Will try with smaller sizes instead.

Edit:

Same error...

AdvSplit .\Archive\Data1.bin .\DVD1\Data1a.bin 1150287872 0
AdvSplit .\Archive\Data1.bin .\DVD1\Data1b.bin 1169162240 1150287872
AdvSplit .\Archive\Data1.bin .\DVD1\Data1c.bin 1169162240 2319450112
AdvSplit .\Archive\Data1.bin .\DVD1\Data1d.bin 1169162240 3488612352

AdvSplit G:\TestComp\Archive\Data1.bin G:\TestComp\DVD1\Data1a.bin 1150287872 0
AdvSplit G:\TestComp\Archive\Data1.bin G:\TestComp\DVD1\Data1b.bin 1169162240 1150287872
AdvSplit G:\TestComp\Archive\Data1.bin G:\TestComp\DVD1\Data1c.bin 1169162240 2319450112
AdvSplit G:\TestComp\Archive\Data1.bin G:\TestComp\DVD1\Data1d.bin 1169162240 3488612352

It's the only splitter i could find that allow different slice sizes for first and followwing archives .

Edit:
AdvSplit .\Archive\Data1.bin .\DVD1\Data1a.bin 4598005760 0
AdvSplit .\Archive\Data1.bin .\DVD1\Data1b.bin 4598005760 4598005760
AdvSplit .\Archive\Data1.bin .\DVD1\Data1c.bin 4598005760 9196011520
AdvSplit .\Archive\Data1.bin .\DVD1\Data1d.bin 4598005760 13794017280

It works, but only with one slice size for all files... Now i thinking what UA do for different slice sizes? I don't know.
__________________
Haters gonna hate

Last edited by KaktoR; 24-05-2017 at 13:02.
Reply With Quote
  #9  
Old 24-05-2017, 14:41
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,073
Thanks: 1,814
Thanked 2,302 Times in 786 Posts
Cesar82 is on a distinguished road
Thanks Razor12911 for this tool..

I searched a lot for a tool to split the files and could not find. Then I found this
http://stahlworks.com/dev/index.php?tool=partcopy
This tool is similar to this one, but your tool is smaller in size.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Simorq (25-05-2017)
  #10  
Old 24-05-2017, 15:14
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,073
Thanks: 1,814
Thanked 2,302 Times in 786 Posts
Cesar82 is on a distinguished road
Using AdvSplit tool, work using cmd to join parts?

function JoinFile(const FileName, OutFile: String): Boolean;
var
Param: String;
ResultCode: Integer;
begin
ForceDirectories(ExtractFileDir(OutFile));
if FileExists(OutFile) then
Param := 'COPY /B "' + OutFile + '" + "' + FileName + '" "' + OutFile + '"'
else
Param := 'COPY /B "' + FileName + '" "' + OutFile + '"';
Result := Exec(ExpandConstant('{cmd}'), '/C "' + Param + '"', '',SW_HIDE, ewWaitUntilTerminated, ResultCode);
end;

Here is a example using sfk.exe (Swiss File Knife). Split individual parts on especify size...
https://mega.nz/#!cAQRjQBJ!gT6Owe5qE...cSgTbzp9tC-EV8

Last edited by Cesar82; 25-05-2017 at 14:38.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Simorq (25-05-2017)
  #11  
Old 04-07-2017, 11:04
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 642
Thanks: 3,602
Thanked 1,308 Times in 464 Posts
Simorq is on a distinguished road
Quote:
Originally Posted by LuisCésar82 View Post
Using AdvSplit tool, work using cmd to join parts?

function JoinFile(const FileName, OutFile: String): Boolean;
var
Param: String;
ResultCode: Integer;
begin
ForceDirectories(ExtractFileDir(OutFile));
if FileExists(OutFile) then
Param := 'COPY /B "' + OutFile + '" + "' + FileName + '" "' + OutFile + '"'
else
Param := 'COPY /B "' + FileName + '" "' + OutFile + '"';
Result := Exec(ExpandConstant('{cmd}'), '/C "' + Param + '"', '',SW_HIDE, ewWaitUntilTerminated, ResultCode);
end;

Here is a example using sfk.exe (Swiss File Knife). Split individual parts on especify size...
https://mega.nz/#!cAQRjQBJ!gT6Owe5qE...cSgTbzp9tC-EV8
Hi LuisCésar82
How to replace these codes with Split.exe in CIU.
Reply With Quote
  #12  
Old 04-07-2017, 21:51
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
^^ looking at the ISS script, looks fairly straight forward, just replace all sfk.exe, in the script with split.exe. Test to see if actually works or not, I just browsed thru it quickly.
Reply With Quote
The Following User Says Thank You to pakrat2k2 For This Useful Post:
Simorq (05-07-2017)
  #13  
Old 05-07-2017, 06:47
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 642
Thanks: 3,602
Thanked 1,308 Times in 464 Posts
Simorq is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
^^ looking at the ISS script, looks fairly straight forward, just replace all sfk.exe, in the script with split.exe. Test to see if actually works or not, I just browsed thru it quickly.
no work
Reply With Quote
The Following User Says Thank You to Simorq For This Useful Post:
pakrat2k2 (05-07-2017)
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tom Clancy's Splinter Cell Conviction Faks PC Games - Protection List 3 03-06-2010 02:10
PMA Update failure....????????? dannyk DVD Backup Forum 1 05-01-2005 14:19
Flat Out Protection t.foster73 PC Games 59 26-11-2004 01:39
HELP ME PLZ!!!! Dalvin DC Games 0 02-01-2001 22:15
HELP ME PLZ!!!! Dalvin DC Games 0 02-01-2001 22:14



All times are GMT -7. The time now is 03:13.


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