Page 1 of 1

File Cutter

Posted: Wed Jun 08, 2011 1:58 am
by aluigi
if you need a filecutter for uploading a small sample of your big archives and files you can use the following script for quickbms that creates 2 files of 1 megabyte each one:

Code: Select all

# filecutter script for QuickBMS
# script for QuickBMS http://aluigi.org/papers.htm#quickbms

get SIZE asize
math CHUNKSZ = 0x100000
if SIZE <= CHUNKSZ
    cleanexit
endif

math OFFSET = 0
get NAME filename
string NAME += "_"
string NAME += OFFSET
string NAME += "_"
string NAME += SIZE
log NAME OFFSET CHUNKSZ

math OFFSET = SIZE
math OFFSET -= CHUNKSZ
get NAME filename
string NAME += "_"
string NAME += OFFSET
string NAME += "_"
string NAME += SIZE
log NAME OFFSET CHUNKSZ
I guess the moderators would like to put it sticky or add it to the help page because many users reported problems with the other existent file cutters so I'm sure this solution will avoid any problem.

let me know any suggestion or improvement

Re: File Cutter

Posted: Tue Dec 13, 2011 10:06 pm
by Mr.Mouse
Or you can use the old FileCutter tool, you can find in the rules, or here.

Re: File Cutter

Posted: Sun Dec 18, 2011 11:05 am
by Mr.Mouse
FileCutterComplete.zip
Try this one if the above doesn't work.

Re: File Cutter

Posted: Tue May 28, 2019 4:36 pm
by ZanderPander777
neither of them work