ROM Hack Need Help with CRC check

Raphland

New Member
OP
Newbie
Joined
Sep 9, 2006
Messages
3
Trophies
1
XP
46
Country
Canada
Im trying to edit a save file. I have located where the crc is, and on what data it is applied.

It is a 32 bit crc, but im not sure how it is generated. I tried with the standard crc 32 and it does not generate the right crc.

If anyone is good enough to figure this out, please teach me how to do it.

The crc is at offset 0x000001F8 to 0x000001FB
The data it checks is from offeset 0x000001FC to 0x000003F3

Here is the file in question (file):

(41 52 44 53 30 30 30 30 30 30 30 30 30 30 30 31 43 00 6F 00 6E 00 74 00 72 00 61 00 20 00 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 43 6F 6E 74 72 61 20 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2F 00 00 00 01 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 45 54 43 59 AB CB 5B 27 01 00 00 00 00 00 00 00 AE 48 04 00 00 00 00 00 04 04 01 00 00 00 00 00 34 00 00 00 03 01 04 01 FF FF FF FF FF 02 00 FF FF FF FF FF 01 00 FF 0F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,795
Trophies
5
XP
28,569
Country
United Kingdom
Without examining it in depth CRC is probably the wrong word (stuff like FF3 uses bytesums although it can reach md5 grade stuff).

Tracing can be a bit hard with freeware stuff right now but you could simply make a trainer like crackers FF3 one that circumvents the save (I am afraid I have not been following the codes for contra so that may also not be an option).

As for CRCs can I suggest HxD, it is a nice freeware editor with some custom CRC capabilities:
http://mh-nexus.de/hxd/

Oh and I would suggest hacking RAW saves rather than AR stuff.
 

Raphland

New Member
OP
Newbie
Joined
Sep 9, 2006
Messages
3
Trophies
1
XP
46
Country
Canada
Allright thank you, finally an answer.

I will make sure to look into the bytesum and MD5 algorithms.

As for Hxd, thats what Im already using. I played quite a bit with its custom CRC option but did not get very far. I tried all the 32 bit CRC polynomials on http://en.wikipedia.org/wiki/Cyclic_redundancy_check with all the possible settings.

Hacking the AR files or raw files does not really make a different. The only difference is the AR files have extra data at the beginning, which I conveniently ignore.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Sicklyboy @ Sicklyboy:
    I generally prefer usenet over torrents, but I do like having torrents as a fallback option
  • Plazorn @ Plazorn:
    That's really interesting @Sicklyboy , I was always under the impression that usenet was slower than regular internet. Also the fact that you don't need any vpn for it to be secure.
  • Plazorn @ Plazorn:
    It seems like it would be less stressful, because you wouldn't have to worry about piracy trolls as much
  • Sicklyboy @ Sicklyboy:
    Yeah, like at the end of the day, with the few usenet providers and NZB indexers I'm paying for, I'm probably paying anually what a netflix sub would cost. But netflix doesn't have everything media related I want, let alone other stuff like games and software :D
  • Sicklyboy @ Sicklyboy:
    But it's largely set it and forget it
  • Sicklyboy @ Sicklyboy:
    On black friday and a bunch of other holidays you can usually find providers doing like $35/year sales on reddit. And the indexers are usually like $15-20 for a year and a half on sale
  • Plazorn @ Plazorn:
    You pay for the convenience at the end of the day
    +1
  • Sicklyboy @ Sicklyboy:
    I have I think 3 providers I'm currently paying for and 2 indexers. So probably around $110 a year if I had to guess in order to keep that setup going
  • Sicklyboy @ Sicklyboy:
    But you certainly don't need to go that deep into it, you can do very well with a single provider and single indexer
  • Sicklyboy @ Sicklyboy:
    Yeah the convenience factor is unbeatable imo. Worth it to me
  • Plazorn @ Plazorn:
    thanks @Sicklyboy, Usenet makes more sense to me now.
    +1
  • Sicklyboy @ Sicklyboy:
    Gladly! Check out /r/usenet if you're ever looking for a little bit of a deeper look into how it all works
  • Sicklyboy @ Sicklyboy:
    (or hit me up lol)
    +1
  • SylverReZ @ SylverReZ:
    Just found a New 3DS at a thrift store for £15, surprisingly it hasn't been much used. :P
    +1
  • Sicklyboy @ Sicklyboy:
    holy shit, lucky!!!
    +2
  • SylverReZ @ SylverReZ:
    The holy grail of 3DS systems. Very lucky to find.
  • Plazorn @ Plazorn:
    congrats @SylverReZ ! It's my dream to find cheap consoles at a thrift store
    +1
  • Sicklyboy @ Sicklyboy:
    I have an OG 3DS and an n3DS XL. Would love to get my hands on an OG 2DS as well as an n2DS
  • Sicklyboy @ Sicklyboy:
    beautiful
    +1
  • Sicklyboy @ Sicklyboy:
    Congrats on the find, you absolutely robbed them :ph34r: :hrth:
    +1
  • SylverReZ @ SylverReZ:
    Now scalpers can cry about it, because I beat them at their own game lol.
  • K3Nv3 @ K3Nv3:
    Powers finally back on
    K3Nv3 @ K3Nv3: Powers finally back on