Forum Settings
Forums
New
Sep 22, 2012 2:53 PM
#1

Offline
Nov 2010
87
Have you ever wondered how gg managed to make CRC checksum of Maria+Holic s1e12 equal to FFFFFFFF, or how FFF got their Yuru Yuri s2e11 to be 11111111?

Well, I certainly did! So I've done some digging, found and studied some complicated mathematical research articles, took time to digest them and here I am now, delivering you CRCManip: a tool that allows you to freely manipulate your files' CRC32 checksums.

How's that possible? Well, it's not possible unless you change file contents. But fortunately enough, Matroska containers and most binary files don't mind additional bunch of bytes at the end of their contents, and this is exactly what this program does: it adds 4 bytes at the end of given file so that it computes to desired checksum afterwards. In other words, .mkv files open perfectly fine even after patching!

Project on github: click
Binaries for Windows: click

Supported platforms:

- GNU/Linux
- MS Windows

Screenshot of main window + verification that it works:


(For those who wonder about the "Checksums" tab in Explorer, I use HashCheck Shell Extension.)
rr-Jul 5, 2015 9:55 AM
Sep 22, 2012 3:13 PM
#2

Offline
Feb 2012
3122
I don't really quite understand these things...but why would you want to change a CRC value? o_o
Sep 22, 2012 3:19 PM
#3

Offline
Jul 2009
394
HauntingShock said:
I don't really quite understand these things...but why would you want to change a CRC value? o_o
Just for the sake of doing it. I used one of the previous iterations of rr-s crcmanip when making patches for Nisemonogatari. Instead of including a checksum in the filename you could say that all your releases' checksums are 00000000 or FFFF<season><episode number>.
Sep 22, 2012 3:22 PM
#4

Offline
Feb 2012
3122
fri said:
HauntingShock said:
I don't really quite understand these things...but why would you want to change a CRC value? o_o
Just for the sake of doing it. I used one of the previous iterations of rr-s crcmanip when making patches for Nisemonogatari. Instead of including a checksum in the filename you could say that all your releases' checksums are 00000000 or FFFF<season><episode number>.

Oh...I didn't quite understand but it's related to patches. lol :D
Sep 22, 2012 6:27 PM
#5

Offline
Mar 2011
104
Always wondered how they manage it haha, thx for the info!
Sep 23, 2012 2:29 PM
#6

Offline
Sep 2010
1133
I have respect that you put your time in this, but the purpose of CRC is gone. :P
Sep 23, 2012 2:52 PM
#7

Offline
Nov 2010
87
Well, if the file in question arrives to you broken not due to someone's malicious intent, the checksum (whatever it may be, patched or not) can still effectively be used to test if file is okay since the chance for checksum collision is stlil 2^-32.

Troubles appear only if you want to identify the file basing on its checksum, instead of its file name (for example, you search for the file on the Internet by its checksum, or decide whether ep is v2 or v3 basing on the checksum, or even guess what's the episode number or series name.)

Then again, this is hardly a problem if the encoder/user is rational and embed such information in the checksum itself, like fri suggested (for example: "111-version-season-episode").

As for exactly why change CRCs: because it's
Sep 23, 2012 4:40 PM
#8
Offline
Jul 2018
564612
I agree completely even though I understood nothing.
Aug 28, 2014 2:02 AM
#9
Offline
Nov 2011
2
thank you, i've been searching for these kind of tools
Jul 5, 2015 9:01 AM

Offline
Nov 2010
87
Not too long ago I've refurbished the project and changed the GUI to QT.
As a bonus, it now supports POSIX CRC32 checksums (for those of us who use cksum rather than vanilla CRC32).

For the updated version, check github!

More topics from this board

» Share Your YouTube Channel/Videos! ( 1 2 3 4 5 ... Last Page )

nin-tendo - Dec 16, 2022

362 by nin-tendo »»
8 hours ago

» Protect or punish?

DollzchanAi - Apr 18

4 by DollzchanAi »»
Today, 6:15 AM

» BL reference in Tomodachi Life

Kinspie13 - Yesterday

4 by Kinspie13 »»
Yesterday, 9:41 PM

» How to Export/Backup Your Anime List Automatically! (TamperMonkey Script)

hacker09 - May 18, 2020

3 by Vapor_AU »»
Yesterday, 8:41 PM

» advice for someone returning to art

Crystepsi - Apr 4

5 by haaku-san »»
Yesterday, 4:21 PM
It’s time to ditch the text file.
Keep track of your anime easily by creating your own list.
Sign Up Login