Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #1  
Old 01-12-2014, 00:35
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,092 Times in 2,295 Posts
Razor12911 is on a distinguished road
File Splitter

This programs allows you to split files via command line into equal parts
and merge them whenever you want.

Usage

"Program" "command" "Original file" "File split in mb"
Split.exe s C:\File.ext 12


"Program" "command" "Split-ed file/First Split" "Original File"
Split.exe m C:\File.part1 C:\File.ext
Attached Files
File Type: zip Split.zip (37.2 KB, 418 views)
Reply With Quote
The Following 14 Users Say Thank You to Razor12911 For This Useful Post:
78372 (20-05-2017), Andrey167 (02-12-2014), Carldric Clement (01-12-2014), Cesar82 (06-06-2017), ChronoCross (01-12-2014), GaMEr_2077 (19-05-2021), Harsh ojha (30-07-2019), houcine80 (07-06-2017), hydefromt70s (01-12-2014), JRD! (26-04-2017), Lucas65 (08-04-2016), pakrat2k2 (01-12-2014), Simorq (02-05-2015), Stor31 (18-09-2017)
Sponsored Links
  #2  
Old 01-12-2014, 01:21
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,092 Times in 2,295 Posts
Razor12911 is on a distinguished road
Inno Setup Usage

function Splitter(OriginalFile: String; SplitSize: Integer):Boolean;
var
ResultCode: Integer;
begin
if FileExists(ExpandConstant('{tmp}\Split.exe')) = False then
ExtractTemporaryFile('Split.exe');
Result:=Exec(ExpandConstant('{tmp}\Split.exe'), 's "' + ExpandConstant(OriginalFile) + '" "' + IntToStr(SplitSize) + '"', '',
SW_HIDE, ewWaitUntilTerminated, ResultCode);
end;

function Merger(SplitFile, OriginalFile: String):Boolean;
var
ResultCode: Integer;
begin
if FileExists(ExpandConstant('{tmp}\Split.exe')) = False then
ExtractTemporaryFile('Split.exe');
Result:=Exec(ExpandConstant('{tmp}\Split.exe'), 'm "' + ExpandConstant(SplitFile) + '" "' + ExpandConstant(OriginalFile) + '"', '',
SW_HIDE, ewWaitUntilTerminated, ResultCode);
end;
Reply With Quote
The Following 3 Users Say Thank You to Razor12911 For This Useful Post:
Carldric Clement (01-12-2014), hydefromt70s (01-12-2014), Simorq (11-11-2016)
  #3  
Old 01-12-2014, 01:38
Inge's Avatar
Inge Inge is offline
Die Hard Member
 
Join Date: Jun 2012
Location: Germany
Posts: 420
Thanks: 203
Thanked 633 Times in 201 Posts
Inge is on a distinguished road
Does not work for me. I see a bit of a second a Window what closed automatic.
Reply With Quote
  #4  
Old 01-12-2014, 01:48
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,092 Times in 2,295 Posts
Razor12911 is on a distinguished road
show me your commandline
Reply With Quote
  #5  
Old 01-12-2014, 02:44
Inge's Avatar
Inge Inge is offline
Die Hard Member
 
Join Date: Jun 2012
Location: Germany
Posts: 420
Thanks: 203
Thanked 633 Times in 201 Posts
Inge is on a distinguished road
There is no Commandline. I click the Split.exe, see a Window popping up and close. Nothing more...
Reply With Quote
  #6  
Old 01-12-2014, 02:55
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,092 Times in 2,295 Posts
Razor12911 is on a distinguished road
lol, it is a console app. you must command the program for it to work via CMD

here is an example

Split.exe s C:\File.ext 1024
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
ChronoCross (01-12-2014)
  #7  
Old 01-12-2014, 03:35
Inge's Avatar
Inge Inge is offline
Die Hard Member
 
Join Date: Jun 2012
Location: Germany
Posts: 420
Thanks: 203
Thanked 633 Times in 201 Posts
Inge is on a distinguished road
Ok. Now I know, but don't get it to work. If you make the App a bit more easy to use I will check it out again.
Reply With Quote
  #8  
Old 01-12-2014, 06:59
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 579
Thanks: 579
Thanked 632 Times in 227 Posts
Carldric Clement is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Inno Setup Usage

function Splitter(OriginalFile: String; SplitSize: Integer):Boolean;
var
ResultCode: Integer;
begin
if FileExists(ExpandConstant('{tmp}\Split.exe')) = False then
ExtractTemporaryFile('Split.exe');
Result:=Exec(ExpandConstant('{tmp}\Split.exe'), 's "' + ExpandConstant(OriginalFile) + '" "' + IntToStr(SplitSize) + '"', '',
SW_HIDE, ewWaitUntilTerminated, ResultCode);
end;

function Merger(SplitFile, OriginalFile: String):Boolean;
var
ResultCode: Integer;
begin
if FileExists(ExpandConstant('{tmp}\Split.exe')) = False then
ExtractTemporaryFile('Split.exe');
Result:=Exec(ExpandConstant('{tmp}\Split.exe'), 'm "' + ExpandConstant(SplitFile) + '" "' + ExpandConstant(OriginalFile) + '"', '',
SW_HIDE, ewWaitUntilTerminated, ResultCode);
end;
How to use it the code it?
after was copy in this function,
how to extract it?
Reply With Quote
  #9  
Old 01-12-2014, 14:05
gatosky1620's Avatar
gatosky1620 gatosky1620 is offline
Registered User
 
Join Date: Oct 2011
Location: Perú
Posts: 287
Thanks: 13
Thanked 965 Times in 131 Posts
gatosky1620 is on a distinguished road
how i can integrate split.exe + CIUV2 by yener script
Reply With Quote
The Following User Says Thank You to gatosky1620 For This Useful Post:
Razor12911 (01-12-2014)
  #10  
Old 01-12-2014, 14:57
ChronoCross's Avatar
ChronoCross ChronoCross is offline
Registered User
 
Join Date: Sep 2014
Location: Acacia Dragons
Posts: 254
Thanks: 145
Thanked 203 Times in 115 Posts
ChronoCross is on a distinguished road
thanks Razor12911

very usefull tool

i want "Freearc Tactical Splitter (Filelist)" in console app too.
Reply With Quote
The Following User Says Thank You to ChronoCross For This Useful Post:
Razor12911 (01-12-2014)
  #11  
Old 01-12-2014, 21:22
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,092 Times in 2,295 Posts
Razor12911 is on a distinguished road
@Carl
You must first include the exe under files section first.

Example
Splitter(ExpandConstant('{app}\file.ext),1024);
Merger(ExpandConstant('{app}\file.part1),ExpandCon stant('{app}\file.ext));

@gatosky
I am working on the scripts right now bro.

@ChronoCross
I will see.
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
Carldric Clement (02-12-2014), ChronoCross (02-12-2014)
  #12  
Old 02-12-2014, 22:56
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 579
Thanks: 579
Thanked 632 Times in 227 Posts
Carldric Clement is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
@Carl
You must first include the exe under files section first.

Example
Splitter(ExpandConstant('{app}\file.ext),1024);
Merger(ExpandConstant('{app}\file.part1),ExpandCon stant('{app}\file.ext));
Done of Include:
Quote:
[Files]
Source: "Include\Split.exe"; DestDir: "{tmp}"; Flags: dontcopy

[Code]
function InitializeSetup: Boolean;
begin
ExtractTemporaryFile('Split.exe');
Result:=True;
end;
Reply With Quote
The Following User Says Thank You to Carldric Clement For This Useful Post:
Simorq (11-11-2016)
  #13  
Old 02-12-2014, 23:40
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,092 Times in 2,295 Posts
Razor12911 is on a distinguished road
Yep.
Reply With Quote
  #14  
Old 03-12-2014, 05:25
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 579
Thanks: 579
Thanked 632 Times in 227 Posts
Carldric Clement is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
Inno Setup Usage

function Merger(SplitFile, OriginalFile: String):Boolean;
var
ResultCode: Integer;
begin
if FileExists(ExpandConstant('{tmp}\Split.exe')) = False then
ExtractTemporaryFile('Split.exe');
Result:=Exec(ExpandConstant('{tmp}\Split.exe'), 'm "' + ExpandConstant(SplitFile) + '" "' + ExpandConstant(OriginalFile) + '"', '',
SW_HIDE, ewWaitUntilTerminated, ResultCode);
end;
Function Merger was problem.
Like Skip.

Last edited by Carldric Clement; 03-12-2014 at 05:44. Reason: Problem Extract Part.
Reply With Quote
  #15  
Old 03-12-2014, 09:13
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,092 Times in 2,295 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by gatosky1620 View Post
how i can integrate split.exe + CIUV2 by yener script
It is done, I'll just need a translated message for this:

Merging=Merging %1... (This might take a while)

The only problem is that it is not tested because I edited the script via notepad(I don't have a PC)

@Carldric
Show me how you used Merger function

Last edited by Razor12911; 03-12-2014 at 09:45.
Reply With Quote
Reply

Thread Tools
Display Modes

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
Having a nightmare with Iomega USB ZipCD - Help! Tranced CD/DVD-Writers 2 03-04-2005 06:00
PMA Update failure....????????? dannyk DVD Backup Forum 1 05-01-2005 14:19
I need help to burn DC games Puppydawg DC Games 4 26-07-2001 11:38
i know nobody likes the new people, but ill try anyway.. BWeb DC Games 3 25-07-2001 06:44
HELP ME PLZ!!!! Dalvin DC Games 0 02-01-2001 22:15



All times are GMT -7. The time now is 19:47.


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