Re: convert.ecm file to.bin file(.ecm its a playstation image file) Post by beerninja » Sun Aug 23, 2020 10:21 pm For anyone reading this in the year 2020 make sure there are no spaces in the ecm filename.
Need to convert a base 10 integer in a base 2 one? Or, at any rate, convert a number from one numeration system to another? In Ubuntu, the bc utility already integrates these features. It is usually already installed, so you don’t have to anything special.
Simply run bc, and enter the following commands:
2 | obase=2 |
Then, all subsequent number inputs will be simply converted to their base-2 representation.
- Steps Open the folder and look for 'unecm.exe' Click and hold the ECM file, then drag it on top of 'unecm.exe' and let it go. Wait for the process to finish. Once the process is finished, the window will close automatically, and the ECM file will be a BIN file.
- The best way to understand this is that everything is binary. What you are trying to do is produce an ascii string of binary digits that represent the binary of the original ascii codded message. Therefore it is irrelevant that the original is ascii coded (well almost, as long as it is). Now you just need a tool that can print the binary as text.
If you want to get a conversion straight ahead, without going through the opening of bc, just enter the following from a terminal:
which will convert the number 123 from base 10 to base 2.
Of course, 2 and 10 can be replaced with any other possible base!
- Was this Helpful ?
How to compress or decompress an ECM file on GNU/Linux?
Description[edit]
The ECM format allows you to reduce the size of a typical CD image file (ISO, BIN, CDI, NRG, CCD, or any other format that uses raw sectors). It works by eliminating the Error Correction/Detection Codes (ECC/EDC) from each sector whenever possible. The encoder automatically adjusts to different sector types and automatically skips any headers it encounters. Since the data skipped is nearly impossible to compress with traditional tools, the resulting ECM file will compress far better than the raw CD image.
ECM on Linux[edit]
Install the 'ecm' package, it is available in Debian repositories:
Compress[edit]
use 'ecm-compress' command
EXAMPLES
run 'man ecm-compress' for more information
De-compress[edit]
use 'ecm-uncompress' command
EXAMPLES
Convert Ecm To Bin Ubuntu Online
run 'man ecm-uncompress' for more information