Can someone modify the Gateway RAW Save dump to Sky3DS converter script?

Discussion in '3DS - Flashcards & Custom Firmwares' started by Neptune, May 7, 2015.

  1. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    531
    Dec 7, 2003
    United States
    Internet
    I have a collection of dumped personal games that I play from my Sky3DS. The saves were dumped using Gateways Save dumper in the launcher menu.

    It basically takes the save file, adds a header and pads the file to reach 1025KB in size. I want it to remove the header and remove the padding so I can inject it back into the original cartridge it came from.

    And for the people about to say IT WONT WORK ONEONEONE111EXCLAMATIONS!1!! it will. It's the exact same game, same header, etc. I have literally dumped my own Pokemon and SSB games and loaded them onto Sky3DS with the saves intact and running on a completely different system.

    Alternatively I could use NTR, would prefer not to though.

    The original perl file is attached. Thank you.
     

    Attached Files:



  2. NoptheJmp

    NoptheJmp Member

    Newcomer
    15
    12
    Jan 30, 2015
    Barreiro, Portugal
    Ok, ill make one. Brb
     
  3. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    531
    Dec 7, 2003
    United States
    Internet
    Lulwut
     
  4. NoptheJmp

    NoptheJmp Member

    Newcomer
    15
    12
    Jan 30, 2015
    Barreiro, Portugal
    you want the program or not? im making it. just wait a little
     
  5. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    531
    Dec 7, 2003
    United States
    Internet
    Err...ok...thanks...I thought you were just trolling >_>
     
  6. Chaldron

    Chaldron GBATemp's Official Attorney

    Member
    434
    238
    Mar 29, 2013
    United States
    `Murica

    Just a question, would it be possible to convert any (Gateway) save to a Sky3DS format? Or does it only work if it's your personal dump/save?

    Thanks!
     
  7. NoptheJmp

    NoptheJmp Member

    Newcomer
    15
    12
    Jan 30, 2015
    Barreiro, Portugal
    Done, please test, at the moment you need to select original save size! later i can add template auto search to know what is the correct size automatically.
     

    Attached Files:

  8. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    531
    Dec 7, 2003
    United States
    Internet

    Technically as long as the headers match you can do that. You can't straight copy to another header game unless you use SDF or NTR's save plugin to decrypt and re-encrypt.
     
  9. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    531
    Dec 7, 2003
    United States
    Internet

    I just donated 10 eur to you :) maybe you can re-code it to make it a bidirectional save game converter? Also not sure what "Cart ID" is for but it shows all FF's for me.

    EDIT:

    In case it wasn't implied. It did work. Tested with a 512KB game. I converted the raw dump to Sky3DS and back to raw and it was the same :)
     
  10. Chaldron

    Chaldron GBATemp's Official Attorney

    Member
    434
    238
    Mar 29, 2013
    United States
    `Murica

    I've got a 9.7 3DS and Sky. I was interested in downloading a save file for a game and using the restore function of DiskWriter to put it on the cart. I assume I would have to change the template to somehow use the same header as the save?

    Thanks very much for your responses.
     
  11. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    531
    Dec 7, 2003
    United States
    Internet
  12. Chaldron

    Chaldron GBATemp's Official Attorney

    Member
    434
    238
    Mar 29, 2013
    United States
    `Murica
  13. NoptheJmp

    NoptheJmp Member

    Newcomer
    15
    12
    Jan 30, 2015
    Barreiro, Portugal
    Card ID is the online header ;) if its FF its erased meaning thats an offline game or scene release erased it. im adding auto save size detect to the program now. and thank you!
     
  14. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    531
    Dec 7, 2003
    United States
    Internet
    Online header isn't part of the save though, it's part of the original rom. :)
     
  15. NoptheJmp

    NoptheJmp Member

    Newcomer
    15
    12
    Jan 30, 2015
    Barreiro, Portugal
    some saves have it ;) its available on save so i display it. check some saves, some will have it.
     
  16. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    531
    Dec 7, 2003
    United States
    Internet
    oh ok I didn't know.
     
  17. NoptheJmp

    NoptheJmp Member

    Newcomer
    15
    12
    Jan 30, 2015
    Barreiro, Portugal
    New version, Clean Game name display, and auto detect save file size. :) enjoy
     

    Attached Files:

  18. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    531
    Dec 7, 2003
    United States
    Internet
    I was actually going to suggest to use template.txt for your auto detection :)

    If you can add conversion to Sky3DS from Gateway this would be a great all in one tool that many people would use I'm sure.
     
  19. NoptheJmp

    NoptheJmp Member

    Newcomer
    15
    12
    Jan 30, 2015
    Barreiro, Portugal
    i will add the other way around conversion tomorrow :) very tired now, thank you. glad i could help.
     
  20. Neptune
    OP

    Neptune GBAtemp Advanced Maniac

    Member
    1,588
    531
    Dec 7, 2003
    United States
    Internet
    Thank you :)