Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [binary-files]

The tag has no usage guidance.

0
votes
1answer
27 views

Convert Binary Sentence to Text Sentence in Excel [on hold]

So you successfully explained multiple letters to binary. Thanks for that. Is there a way to reverse that? Like an excel formula to convert a binary sentence into a text sentence.
9
votes
4answers
850 views

convert text file of bits to binary file

I have a file instructions.txt with the contents: 00000000000000000000000000010011 00000010110100010010000010000011 00000000011100110000001010110011 00000000011100110000010000110011 ...
0
votes
1answer
68 views

How can I make an old file easily readable?

I have this old .dat file (mid 90s), apparently encoded in ANSI, 4000 lines, consisting mostly of controls like NUL, SOH, ETX, STX... that I'd like to read. I tried to convert it to UTF-8 with ...
2
votes
1answer
31 views

Read contents of a .bin created by Win32 Disk Imager?

I saved an image of a USB stick using Win32 Disk Imager, which produced only a .bin file of the same size as the drive. Is it possible to read this .bin file as if it were a drive? I have access to ...
0
votes
1answer
30 views

Why binary files like this snippet of a PNG has all this whitespace in it

Here is a snippet of the first part of a PNG file viewed just by opening it up in Sublime Text and viewing the hex code directly. 8950 4e47 0d0a 1a0a 0000 000d 4948 4452 0000 02e7 0000 0155 0806 0000 ...
0
votes
2answers
52 views

Compare binary files with different meta data

In Windows, I wish to compare old binary files with newly built ones in order to determine which files has been updated. However, when I build the files I give them new meta data details (like version ...
0
votes
1answer
33 views

Merge multiple CLI EXEs into a single EXE?

I currently use three command-line Windows applications to backup, zip, and upload files: HoboCopy.exe, 7za.exe, and ncftpput.exe. I was wondering if there were a way to somehow merge/combine those ...
0
votes
2answers
54 views

Binary file in the dock as application

I have installed qutebrowser in /usr/local/bin/qutebrowser and would like to add it to my dock. What's the right process for adding a binary to the dock, as if it was an application?
0
votes
0answers
100 views

How to execute a binary file in Ubuntu?

I would like to execute this binary file: /usr/bin/snx (CheckPoint Security VPN client) When I execute snx or sudo snx from anywnere, the responses are: bash: /usr/bin/snx: No such file or ...
0
votes
0answers
46 views

Unable to open dylib file error message: “-bash: ./liboperator.dylib: cannot execute binary file”

I have a Java file that will execute a C++ file. When compiling C++ I get this error: "-bash: ./liboperator.dylib: cannot execute binary file" my Makefile: out: operator.cpp g++ -I"$JAVA_HOME/...
0
votes
1answer
401 views

MacOS cannot execute binary file after uninstall zsh

After I open the terminal this text will appear: Last login: Mon Mar 26 17:51:02 on ttys001 -bash: /usr/local/bin/dirname: cannot execute binary file -bash: /usr/local/bin/dirname: cannot execute ...
0
votes
1answer
57 views

Why is my C++ program opening in text editor after compilation?

I've just compiled a C++ program - which is not a console program, but instead, graphical and using gtkmm. After building with g++, I can launch it by typing ./program from the terminal. However, if ...
0
votes
1answer
273 views

Unable to copy windows registry key to another PC

I want to copy the registry key in the picture below to another PC but I've tried everything and I couldn't. How could I do this?
-1
votes
2answers
105 views

A text is converting to ASCII or BINARY first?

When we type something in a text file or suppose that I'm sending an email to my friend with an attachment inside the email. In both cases of text file and email. What is happening first? Is that text/...
0
votes
2answers
163 views

Why a binary format specification is needed for executable files?

I understand an operating system like Linux or Windows is written in C/C++ and compiled to a given architecture (for example AMD64) to produce a machine code that is suitable for that architecture. ...
0
votes
2answers
984 views

How are numbers greater than 255 denoted in binary?

The binary value for 255 is 11111111, with all of the memory locations used up. How can greater numbers, for example, 481 be denoted? Will they be written singularly, like (considering the above ...
1
vote
0answers
45 views

Git - Limit number of revisions in advance?

I searched for the exact same term I titled this question with, but all I found were questions regarding the cleanup of git repositories which contain to many revisions of too many or especially too ...
0
votes
0answers
57 views

convert multiple images to binary .tif

How to convert multiple images (of uni-dimensional signals from matlab) into binary .tif format ? I tried using ImageMagick's convert option for a single signal. Can I input multiple signals for ...
0
votes
0answers
289 views

binary router config file - how to convert

Have config file backed-up from Netis WF2411 router running FW v 1.x File name if Config.tgz but contain plain text rows, no decopress is needed to opening. Example of v1 config: https://pastebin.com/...
0
votes
0answers
107 views

How do I remove opcodes using hexcurse?

I am trying to do some Hex editing using hexcurse on Linux. The following is the link to the binary file I am editing. How do I remove all of the text that isn't highlighted in white? The image of ...
0
votes
0answers
22 views

Log all what happens when program runs

I have a binary that I need to run and I would like to know, what its is affecting. So I could make an image of my whole system before and after running the program and then make a diff. But I hope ...
0
votes
0answers
120 views

Why does excel binary workbook allow 2 users to open it simultaneously

I have a workbook which I've saved as Excel Binary Format (.xlsb), with alot of VBA code in it. It sits on a network so its available to multiple users, although the intention is that only one person ...
5
votes
2answers
2k views

Write n bytes from a file into another in Bash

Hello how can I write n bytes from one file into a new file starting from the k position using Bash? For example if n=60, k=1 and file size=100 then: the 2nd file would consist of from the 1st byte ...
0
votes
1answer
83 views

Can a file divide anything smaller then 8bits?

Short Question: What is the smallest unit savable to a file? What is the smallest divisible unit of a file? Long Question: I've been looking through the internet, trying to find out if I can access ...
1
vote
1answer
147 views

What happens when assembly code is translated into Object code?

I am interested in System Software development. I have been analyzing the working of a compiler for a few days. An Assembly code generated by a Compiler(say) clc has an opcode f8 and I am sure that ...
1
vote
1answer
336 views

How to view sections & addresses of .bin and .hex files in Linux?

I have started reversing a binary. I dumped the contents as hex using xxd into a file I made with extension .hex, then used objdump to disassemble that .hex file into assembly code, and put this into ...
0
votes
0answers
464 views

Reading content of binary file

I wanted to ask about reading binary files with binary viewers / editors. I have a binary data file which I tried to open with oktata app, unfortunately I expected a bit different content to see, ...
1
vote
0answers
43 views

Is it possible to directly burn a stream sequentially to the surface of optical media, and if so, how do you do it?

I am trying to burn a CD/DVD/Blu-ray Disc so that each 2pi segment of the spiral track alternates between: a steam 0's, or blank, untouched media. and 1's (an approximately circular groove). So ...
0
votes
1answer
2k views

gdb binary and where to find it?

I'm following the instruction here to install gdb on my MacOS Sierra. In section "2.1.3. Code-sign the gdb binary", I'm supposed to "specify the full path to the gdb binary" but I don't know what it ...
0
votes
0answers
196 views

Software, how to extract videos of .bin files?

i downloaded a set of vídeos of concerts of old groups, it is a zip file that have inside 14 bin files. I no have idea how to extract them, or join to later extract or mount. I tried making manually ...
1
vote
1answer
554 views

ZIP: What are the temporary binary files which names start with `zi`?

While I am zipping a subdirectory in a given directory, two binary files appeared in this location which are called zietrLSl and ziwvPwKm and disappeared when the zip command ended. At another ...
0
votes
2answers
484 views

How does a GPU know the address of each and every pixel on a screen? If so how does it cope with high resolution images?

I know how bitmaps work and how pixels are used (binary 0 or 1). I am also aware of RGB but the thing I wonder about is how GPUs know the address of each pixel on a high resolution screen and how the ...
16
votes
2answers
1k views

How do I get rid of the Skype lady?

For what feels like a year, Skype has had a picture of this lady in the middle of the interface. No offense to the lady, but seeing her face in the middle of my contacts is distracting. When I look ...
0
votes
1answer
216 views

DEP: Sysinternals Process Explorer != static analysis != BinScope

I have an executable running ("heidisql.exe"). The Sysinternals Process Explorer shows "DEP (permanent)" in the column DEP. I checked the binary statically (among other things using pestudio). The ...
0
votes
0answers
156 views

How can I find binary data in my text file?

I have a huge log file (several GBs), but somehow there is binary data (grep is annoyed by it) in there, which of course shouldn't be. I know how I can read the file anyway. I don't know how I can ...
0
votes
1answer
400 views

Split binary file at offset quickly

The file I need to split is 32GB. I need to split the file into two parts at an offset I specify and I only need to keep the second part. I can do this easily by: dd if=binary_file.bin of=...
1
vote
1answer
391 views

Version control for audio files

What is a good approach for version control of audio files? I have a 20GB library of audio lectures to tune up and bring in to a state ready for releasing and sharing. It's important to keep the ...
0
votes
0answers
317 views

Split binary data file by AOB

I have a file with the following magic AoB that acts a separator: 00 07 77 77 77 77 77 77 77 77 77 77 77 77 77 77 00 07 77 77 77 77 77 77 77 77 77 77 77 77 77 77 Is there any utility or quick way to ...
2
votes
2answers
465 views

Can PDF Annotations Be Exported and Then Imported Back?

I have a few hundred pages of highly annotated PDF file, which is mostly text, in the form of underlines, highlights, and (more) text annotations. After two years, a updated version of that document ...
3
votes
1answer
6k views

how to get from a .exe (executable file) the version, author, publisher etc and other meta data without running the .exe

How do I find out details of a .exe file - e.g. Software Author, Vendor, Date, Version etc? When I right click on the file and select properties, I don't get this information. However, if I upload ...
80
votes
12answers
15k views

Why are hex editors called binary editors?

Hex and binary are two different bases. Hex, in my understanding, is simply an easier to use and more convenient version of binary. However, I often hear that hex editors are binary editors. If ...
-1
votes
1answer
216 views

dos2unix command is corrupting the file with unicode characters downloaded via binary mode

i downloaded an xml file having unicode characters from ftp in binary transfer mode. In order to remove the line ending special characters i used the command dos2unix. But this is making the file ...
4
votes
1answer
592 views

How to send a delta (differential part) of a large binary file over the Internet?

I have sent a large (>1GB) binary file to a friend over a slow metered data plan and now I need to send the second version of the same file only slightly changed. I want to send only the delta/diff-ed ...
1
vote
2answers
677 views

Where can I find an RRD file specification?

I'm trying to write a Python program to directly pull information from RRD performance files stored on our servers at work, but the files aren't stored in plaintext format, and I cant find any ...
3
votes
2answers
319 views

make file size at least 1MB

I'm trying to learn about operating systems by making one myself and testing it in virtual-box, but VBoxManage convertfromraw doesn't allow my source file to be very tiny (512B). Are there any bash ...
8
votes
1answer
4k views

Delete /usr/bin/emacs - Operation not permitted

I was about to reinstall Emacs from railwaycat/emacsmacport when I stumbled upon /usr/bin/emacs, /usr/bin/emacsclient and /usr/bin/emacs-undumped. angrybacon@sandman ~/ $ ll /usr/bin/emacs* -r-xr-xr-...
1
vote
1answer
3k views

How do I create a binary file?

I wrote something that I think parses bits from a file, but now I need to test it. I'd like to create a file that I know has bits in a certain order. Something like: 000010000000000000000000000100000 ...
0
votes
1answer
81 views

Changing text in binary files

While looking inside a binary file in a text editor, I came across some readable text. I have executed the binary before, and know that the readable text is echoed on screen. Is it possible to remove ...
2
votes
1answer
3k views

Is it possible to decode 'octet stream' .bin file?

Tidal.com streams flac files, but it does not provide with file download, which is what I want. As you would expect from a big company such as Tidal, upon my inquiry, its support service in an utmost ...
0
votes
1answer
343 views

Concatenate four binary files using alternating pattern in Linux

I need to concatenate four binary, meaning non-text files. Lets say I have four files: file1: AAAA file2: BBBB file3: CCCC file4: DDDD Now I want my resulting file to look like: ABCDABCDABCDABCD. ...