Attention Visitor:
You have to register before you can post: click the register link to proceed. To start viewing messages, select the forum that you want to visit from the selection below. Note: Other benefits of registering (for free) include the removal of ads, access to member-only download areas, and more!

Go Back   Emuparadise.org Forums > Gaming & Emulation > Everything Emulation > Everything Emulation Archive

 
Submit to AddThisTo Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Google Submit to Yahoo! This Submit to Technorati Submit to StumbleUpon Submit to Spurl Submit to Netscape Thread Tools Rating: Thread Rating: 1 votes, 5.00 average. Display Modes
  #1  
Old 25th-January-2008, 01:14
Inferno.'s Avatar
Inferno. Inferno. is offline
Moderator
Moderator
 
Join Date: Sep 2006
Location: England.
Posts: 8,252

Points: 338,628.21
Bank: 2,099,492.37
Total Points: 2,438,120.57
Donate
Thanks: 109
Thanked 293 Times in 188 Posts
Inferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really nice




Default ECM -- Error Code Modeler (Better Compression)

Quote:
CD Data Sectors

To understand what ECM does and how it works, you must first understand the sectors in a CD and what they're made of.

A typical data CD consists of thousands of 2352-byte sectors. Each sector looks like this (drawings not to scale):



Only 2048 bytes in each sector are used for actual data. The rest are:

# Sync - A special code used by the drive to tell where the sector begins
# Address - This tells the drive which sector it's looking at
# EDC - Error Detection Code, used to detect if the data is corrupt
# ECC - Error Correction Code, used to correct the data if it is corrupt

When you create BIN/CUE files from a data CD, the BIN contains all of this data - all 2352 bytes from each sector.

The light-colored areas in the diagram (sync, address, data) are usually easy to compress. However, the dark areas (EDC, ECC) look like noise, and are nearly impossible to compress with conventional tools such as WinRAR. When you compress a BIN file in WinRAR, each sector ends up looking something like this:



Sync, address, and data compress okay, but EDC and ECC just sit there like bricks taking up space. And they usually don't even need to be there!

Filtering Sectors Through ECM First

ECM selectively strips the sync, EDC and ECC codes from each sector, whenever possible. Once a BIN file has been run through ECM, the resulting sectors look like this:



That process, in itself, doesn't reduce the BIN size very much. But notice how the only parts left are the light-colored (easy to compress) parts! Now, when you run the ECM file through WinRAR, you'll get much better results than before:



But wait a minute, don't I need those ECC codes? Doesn't that make it less reliable?

You get the EDC/ECC codes back when you convert from ECM back to BIN
(which is required before burning - you can't currently burn a ECM file directly).

When you're archiving or transmitting files in a format such as RAR, you already have error detection built in. WinRAR doesn't particularly care about the CD sector EDC/ECC codes, and just handles BIN files like any other file.

So no, you're not losing any reliability by converting BIN files to ECM, as long as you make sure to convert them back before burning.

What about copy protection? Don't they use bogus ECC data? Wouldn't ECM ruin that?

ECM only eliminates EDC/ECC data for sectors where it's verifiably possible to recreate that data. If the ECC is bogus, ECM will preserve that bogus data.

You won't lose any data by converting a file to ECM and back again. The process is completely lossless.
So when you use ECM to compress the BIN file, then 7zip it you can save a hell of a lot of space.

Download from Offical site

edit: There's also a n00b friendly version, that decompresses the .ecm with a double click. Download
Links Hidden from guests!
Please register to view these download links.
Quote:
Originally Posted by TBG
-associates unecm.exe with .ecm file extension
-double clicking .ecm file will decompress it
-gives the .ecm extension a nice little icon
-option to associate image formats with ecm.exe
-optionally double clicking image formats will create an ecm
-copy of the source is installed to *:\Program Files\ECM as well
-comes with an uninstaller
I've personally used this to save a lot of space on PC games. I know they aren't allowed here, but I was just trying it. With one game I cut down the ISO by 400mb+ using ECM and then compressing the ecm with 7zip -ultra. It can be quite the bandwidth saver.

Here is the example:
Red outline is the size of the .img.ecm uncompressed
Silver outline is the compressed size total.


Last edited by Cookie Monster : 4th-August-2009 at 09:53.
Remove Advertisements (Free Registration) Sponsored Links
The Following 6 Users Say Thank You to Inferno. For This Useful Post:
  #2  
Old 23rd-May-2008, 02:18
SegNin's Avatar
SegNin SegNin is offline
Teh Big Banana
 
Join Date: Oct 2003
Location: Inside of a Final Fantasy NES cartridge...
Posts: 8,312

Points: 139,698.35
Bank: 1,268,042.02
Total Points: 1,407,740.37
Donate
Thanks: 0
Thanked 21 Times in 7 Posts
SegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really nice
Default

This has more to do with Emulation then Computers.

So, I moved it to Everything Emulation, specifically to the Emulation FAQS.
__________________
My PSX Trade List


Last edited by SegNin : 23rd-May-2008 at 02:23.
  #3  
Old 24th-May-2008, 22:43
The Joker's Avatar
The Joker The Joker is offline
Not all jokes are funny.
 
Join Date: Jan 2006
Location: Signal Hill
Posts: 3,705

Points: 20,204.49
Bank: 119,465.86
Total Points: 139,670.36
Donate
Thanks: 6
Thanked 3 Times in 1 Post
The Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottie
Default

can you ECM then RAR it and a good effect?
__________________

Quote:
Originally Posted by The Joker
I believe whatever doesn't kill you simply makes you,... stranger!
The Demon who makes Trophies of Men
  #4  
Old 24th-May-2008, 22:47
Inferno.'s Avatar
Inferno. Inferno. is offline
Moderator
Moderator
 
Join Date: Sep 2006
Location: England.
Posts: 8,252

Points: 338,628.21
Bank: 2,099,492.37
Total Points: 2,438,120.57
Donate
Thanks: 109
Thanked 293 Times in 188 Posts
Inferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really nice




Default

Quote:
Originally Posted by The Joker View Post
can you ECM then RAR it and a good effect?
Yes. You're just likely to save a bit more space with 7zip. But Winrar will be almost as good.
  #5  
Old 25th-May-2008, 01:00
SegNin's Avatar
SegNin SegNin is offline
Teh Big Banana
 
Join Date: Oct 2003
Location: Inside of a Final Fantasy NES cartridge...
Posts: 8,312

Points: 139,698.35
Bank: 1,268,042.02
Total Points: 1,407,740.37
Donate
Thanks: 0
Thanked 21 Times in 7 Posts
SegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really nice
Default

Quote:
Originally Posted by Inferno. View Post
Yes. You're just likely to save a bit more space with 7zip. But Winrar will be almost as good.
Correct, but that depends mainly on how much RAM you have.

7-Zip at its maximum compression setting uses 1381 MB of RAM, or nearly 1.35 GB.

I'm not sure how much WinRar uses at its maximum, but its less than 1.35 GB.

So, if you have 1 or 2 GB of RAM, you can get a considerable decrease in compression size using 7-Zip over WinRar, depending also on what file(s) you're compressing.
__________________
My PSX Trade List

  #6  
Old 25th-May-2008, 01:04
Inferno.'s Avatar
Inferno. Inferno. is offline
Moderator
Moderator
 
Join Date: Sep 2006
Location: England.
Posts: 8,252

Points: 338,628.21
Bank: 2,099,492.37
Total Points: 2,438,120.57
Donate
Thanks: 109
Thanked 293 Times in 188 Posts
Inferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really nice




Default

Also note files with CDDA audio compress better with winrar than they do with 7zip.
  #7  
Old 25th-May-2008, 01:45
The Joker's Avatar
The Joker The Joker is offline
Not all jokes are funny.
 
Join Date: Jan 2006
Location: Signal Hill
Posts: 3,705

Points: 20,204.49
Bank: 119,465.86
Total Points: 139,670.36
Donate
Thanks: 6
Thanked 3 Times in 1 Post
The Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottie
Default

i have 256mb of ram in my pc, lol.

also
the DL link doesnt work mr.disco inferno
Quote:
The file /downloads/ecm100.zip cannot be hotlinked from a different web site. This message is appearing because your browser didn't provide a proper "referer" line when attempting to download the file.

If you followed this link from a different site, try using the menu on the left to find the program you're looking for.

If you followed this link from this site, and you're still having trouble downloading it, try the following:
Use a standard web browser such as Internet Explorer, Mozilla and its derivatives, Opera, Safari, etc.
Disable any download accelerator, personal firewall, or proxy software you're using, or reconfigure it so it doesn't modify the HTTP "referer" line.
If you're the webmaster of a site that links to mine: Many downloadable files on this site are freely redistributable, and I encourage you to include these files on your site. However, please provide your own storage space and bandwidth for the files rather than directly linking them here. Thank you.
disco inferno, your noob friendly link doesnt work either.
Quote:
Not Found
The requested document was not found on this server.
__________________

Quote:
Originally Posted by The Joker
I believe whatever doesn't kill you simply makes you,... stranger!
The Demon who makes Trophies of Men

Last edited by The Joker : 25th-May-2008 at 01:50.
  #8  
Old 25th-May-2008, 14:05
Inferno.'s Avatar
Inferno. Inferno. is offline
Moderator
Moderator
 
Join Date: Sep 2006
Location: England.
Posts: 8,252

Points: 338,628.21
Bank: 2,099,492.37
Total Points: 2,438,120.57
Donate
Thanks: 109
Thanked 293 Times in 188 Posts
Inferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really nice




Default

The link I provided leads you to the official page, where you can download ECM.
http://www.neillcorlett.com/ecm/

And yeah the n00b friendly version does seem to be dead.
  #9  
Old 31st-May-2008, 22:11
The Joker's Avatar
The Joker The Joker is offline
Not all jokes are funny.
 
Join Date: Jan 2006
Location: Signal Hill
Posts: 3,705

Points: 20,204.49
Bank: 119,465.86
Total Points: 139,670.36
Donate
Thanks: 6
Thanked 3 Times in 1 Post
The Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottie
Default

how do i decompress it now?

nights sampler.bin.ecm
The King of Fighters [T-3101G].bin.ecm
__________________

Quote:
Originally Posted by The Joker
I believe whatever doesn't kill you simply makes you,... stranger!
The Demon who makes Trophies of Men
  #10  
Old 2nd-June-2008, 05:39
SegNin's Avatar
SegNin SegNin is offline
Teh Big Banana
 
Join Date: Oct 2003
Location: Inside of a Final Fantasy NES cartridge...
Posts: 8,312

Points: 139,698.35
Bank: 1,268,042.02
Total Points: 1,407,740.37
Donate
Thanks: 0
Thanked 21 Times in 7 Posts
SegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really niceSegNin is just really, really, really, really nice
Default

Use unecm.exe, with this syntax:

unecm ecmfile [outputfile]

It tells you how to do it in the unecm readme.
__________________
My PSX Trade List

  #11  
Old 2nd-June-2008, 07:37
The Joker's Avatar
The Joker The Joker is offline
Not all jokes are funny.
 
Join Date: Jan 2006
Location: Signal Hill
Posts: 3,705

Points: 20,204.49
Bank: 119,465.86
Total Points: 139,670.36
Donate
Thanks: 6
Thanked 3 Times in 1 Post
The Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottieThe Joker has a sexy bottie
Default

can't believe i didn't figure that out. also it's drag and drop for me on win xp not cmd line.
__________________

Quote:
Originally Posted by The Joker
I believe whatever doesn't kill you simply makes you,... stranger!
The Demon who makes Trophies of Men
  #12  
Old 2nd-June-2008, 12:44
Evans's Avatar
Evans Evans is offline
RetroCOCKSLAP!
I tilde, therefore I am~
 
Join Date: Jul 2005
Posts: 13,984

Points: 74,968.30
Bank: 13,575.58
Total Points: 88,543.88
Donate
Thanks: 234
Thanked 1,526 Times in 383 Posts
Evans is a super gamer!Evans is a super gamer!Evans is a super gamer!Evans is a super gamer!Evans is a super gamer!Evans is a super gamer!Evans is a super gamer!Evans is a super gamer!Evans is a super gamer!Evans is a super gamer!Evans is a super gamer!

Default

Quote:
Originally Posted by The Joker View Post
can't believe i didn't figure that out. also it's drag and drop for me on win xp not cmd line.
I found it works the same in 2000, but by pure accident.
  #13  
Old 2nd-June-2008, 12:47
Inferno.'s Avatar
Inferno. Inferno. is offline
Moderator
Moderator
 
Join Date: Sep 2006
Location: England.
Posts: 8,252

Points: 338,628.21
Bank: 2,099,492.37
Total Points: 2,438,120.57
Donate
Thanks: 109
Thanked 293 Times in 188 Posts
Inferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really niceInferno. is just really, really, really, really nice




Default

You can also write a batch file (.bat)

unecm.exe gamename.img.ecm (example)

save it and double click.

comes in handy for the n00bs that've never used ecm before
Remove Advertisements (Free Registration) Sponsored Links
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Points Per Thread View: 1.00
Points Per Thread: 15.00
Points Per Reply: 5.00
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestion - Using ECM for ISO's Winged 2.0 Comments/Suggestions/Broken Links & Download Problems 7 15th-March-2004 21:41
Does a ROM lose quality after compression? Grim Reaper Computer Corner 3 23rd-September-2003 01:03
Invalid Compression danielwalsh2000 ROM & ISO Requests 1 21st-July-2002 16:33
compression utility gotenks_2322 ROM & ISO Requests 1 4th-June-2002 08:44


All times are GMT. The time now is 21:47.


Sponsored Links

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Forum SEO by Zoints
vB Ad Management by =RedTyger=
Emuparadise.org forums, all rights abducted :)