CRC on Saves

Discussion in 'NDS - ROM Hacking and Translations' started by donotbugme, Dec 10, 2006.

Dec 10, 2006

CRC on Saves by donotbugme at 7:02 AM (1,102 Views / 0 Likes) 6 replies

  1. donotbugme
    OP

    donotbugme Newbie

    is there a formula for the CRC on m3 sav's or game saves?

    like is it game dependant?
     
  2. jeklnoo

    Member jeklnoo GBAtemp Fan

    Joined:
    Oct 20, 2006
    Messages:
    335
    Country:
    United States
    game dependant.
     
  3. donotbugme
    OP

    donotbugme Newbie

    are there any tutorials to finding out how to calculate the crcs for saves after editing?
     
  4. Tanas

    Member Tanas GBAtemp Addict

    Joined:
    Aug 19, 2006
    Messages:
    2,258
    Country:
    United Kingdom
    Just rar the save and winrar will tell you the crc...
     
  5. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,738
    Country:
    United Kingdom
    You could luck out and find the save is a bios crc16 but if it is not I am afraid you are in need of some assembly skills.
    BIOS crc16 is not your standard crc16 so either implement one with the data from here:
    http://nocash.emubase.de/gbatek.htm#biosmiscfunctions
    or this is what I use in hex workshop (the bios crc16 is used in the hash of the header):
    [​IMG]
     
  6. donotbugme
    OP

    donotbugme Newbie

    you wouldn't happen to have an example of how it's calculated using crc16 would you fast6191? i.e for a game
     
  7. FAST6191

    Reporter FAST6191 Techromancer

    pip
    Joined:
    Nov 21, 2005
    Messages:
    21,738
    Country:
    United Kingdom
    Those options are for the BIOS crc16 function, the only time I ever use it is when I mess around with the DS rom header:
    at 15E hex is the BIOS CRC-16 of 0 to 15D hex.
    If you want to write an app to calculate it the link I gave details how it happens.
     

Share This Page