Skip to content

A tool that can remove the bytes at the start of a file and create a new one with the bytes removed.

License

Notifications You must be signed in to change notification settings

Surihix/HeaderBytesRemover

Repository files navigation

HeaderBytesRemover

Ever came across a file with weird Header data after which there is another header which is the actual one that the file uses.

This app can remove such header bytes or the bytes at the start of a file by letting you specify the exact byte position from where you want to copy the bytes from the file into a new file.

This is quite helpful when you have such header bytes that can prevent the file from being accessed properly due to the presence of the header and so removing that can in turn make the file properly accessible.

Instructions [for current v1.3]

Place the file that want the bytes removed, next to the app and then open the app through Command Prompt with the following commandline arguements:
HeaderBytesRemover [file.extension] [byte-number] [outputfile.extension]

For Example:
HeaderBytesRemover myfile.sok 16 myfile.wav

The argument would contain this app name, the filename with the extension, the byte position number which should be in integers, and the output file name with the extension.





Instructions [for v1.2]

Place the file that want the bytes removed, next to the app and then run the app. then enter the filename with the extension on the console.
For Example:
myfile.sok


Press enter and then type the byte number from where you want the data of the file to be copied from, on the console. the byte number has to be in int.
For Example:
16


Press Enter once again and type the name of the output file that you want to give along with the extension on the console.
For Example:
myfile.wav


Press Enter and the app will then create a new file with the header bytes removed along with the extension and the filename that you specified on the console.





Instructions [for v1.0 and v1.1]

Place the file that you want the bytes removed, next to the app and type the filename of the file with the extension in the infile_name.txt file.
For Example:
myfile.sok


Type the byte number from where you want the data of the file to be copied from. the byte number has to be in int and entered in the "byte_position.txt" file.
For Example:
16


Type the name of the output file that you want to give along with the extension in the outfile_name.txt file.
For Example:
myfile.wav


Run the app and it will then create a new file with the header bytes removed along with the extension and the filename specified in the outfile_name.txt.

About

A tool that can remove the bytes at the start of a file and create a new one with the bytes removed.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages