I can't inject save from VBA to GBC VC

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by Asia81, Apr 22, 2016.

  1. Asia81
    OP

    Asia81 In my Ecchi World <3

    Member
    4,863
    2,344
    Nov 15, 2014
    France
    Albi
    I did a backup of Pokemon Crystal's save (I have 2 rmthing.dat, and sav.dat)
    I can read sav.dat in VBA (even if I have a warning with something related to RTC) but if I want inject my save VBA -> VC, I got "SaveData corrupted"

    How to inject saves from VBA to VC?
    It's a VC injected, btw.
    Same rom is used
     
  2. squee666

    squee666 Advanced Tech Pleb

    Member
    1,587
    890
    Sep 17, 2010
    Belfast
    if im correct your file needs to be the exact same size as the VC one

    You need to either add or remove 16 bytes in a hex editor so make it match in size
     
  3. Asia81
    OP

    Asia81 In my Ecchi World <3

    Member
    4,863
    2,344
    Nov 15, 2014
    France
    Albi
    33kb for sav.dat (VC) and 33kb for VBA
    Same size

    — Posts automatically merged - Please don't double post! —

    Actually you are right, size is not exactly the same
    [​IMG]
     
  4. squee666

    squee666 Advanced Tech Pleb

    Member
    1,587
    890
    Sep 17, 2010
    Belfast
    jsut add/remove extra bytes on the vba one until they match
     
  5. Ryccardo

    Ryccardo WiiUaboo

    Member
    2,896
    1,353
    Feb 13, 2015
    Italy
    Imola
    Use File>Export Battery :)
     
  6. Asdolo

    Asdolo the Hedgehog

    Member
    462
    826
    Apr 29, 2016
    Argentina
    Buenos Aires
    Did you manage to do this? Where do you need to inject the battery file exactly?