How to create your own Sky3DS template entries?

Discussion in '3DS - Flashcards & Custom Firmwares' started by JimBonza, Nov 25, 2014.

  1. JimBonza
    OP

    JimBonza Advanced Member

    Newcomer
    52
    4
    Nov 13, 2014
    I'm trying to figure out how the titleID and SHA1 information is gathered for the roms to put into the template file.

    I ask this mainly because I have EUR Alpha Sapphire but there's no template entry from the Sky3DS team yet.

    Here's an example of the entry used for Smash Bros EUR.

    and

    Can't figure it out for the life of me, even the SHA1 checksum I get doesn't match what they have, however it wrote and plays just fine on the Sky3DS.

    Any tips guys?
     
  2. piratesephiroth

    piratesephiroth I wish I could read

    Member
    3,017
    1,622
    Sep 5, 2013
    Brazil
    Some info
     
  3. JimBonza
    OP

    JimBonza Advanced Member

    Newcomer
    52
    4
    Nov 13, 2014
    Falo I generally understood everything else but what do you mean exactly that the Sha1 hash is from 0x1000 - 0x11FF

    Taking the example of AXCP (Smash)


    This is the data copied from 0x1000 to 0x11FF, how does that then become either:
    SHA1: E5E9D4CA3B94F8674153DDCDBF65D6ADA00640B8
     
  4. gamesquest1

    gamesquest1 Nabnut

    Member
    GBAtemp Patron
    gamesquest1 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    14,165
    9,523
    Sep 23, 2013
    E5E9D4CA3B94F8674153DDCDBF65D6ADA00640B8 is the sha1 of that data
     
  5. JimBonza
    OP

    JimBonza Advanced Member

    Newcomer
    52
    4
    Nov 13, 2014
    Would you mind explaining how you figured that out? I'm definitely doing something wrong as my SHA1 is completely different to what it should be.
     
  6. gamesquest1

    gamesquest1 Nabnut

    Member
    GBAtemp Patron
    gamesquest1 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    14,165
    9,523
    Sep 23, 2013
    in hex workshop select the area and generate the sha1
    [​IMG]
     
  7. JimBonza
    OP

    JimBonza Advanced Member

    Newcomer
    52
    4
    Nov 13, 2014
    Aaaah I'm an idiot, thanks for that. Now on to disecting the the template x_x
     
  8. Falo

    Falo GBAtemp Regular

    Member
    264
    206
    Jul 22, 2012
    Germany
    xile6, Jiehfeng, tony_2018 and 3 others like this.
  9. JimBonza
    OP

    JimBonza Advanced Member

    Newcomer
    52
    4
    Nov 13, 2014
    That's pretty badass man! I'll give it a shot and see how it goes.:yaypsp:
     
  10. JimBonza
    OP

    JimBonza Advanced Member

    Newcomer
    52
    4
    Nov 13, 2014
    [​IMG]

    Hmm any idea what's up ?


    Using the quick example of Smash. Your tool returns:

    However the Sky3DS team used this data, compare and contrast:


    and


     
  11. JimBonza
    OP

    JimBonza Advanced Member

    Newcomer
    52
    4
    Nov 13, 2014
    I noticed some hex numbers are the wrong way round and C2 for EEPROM is in the wrong place in the first line too.
     
  12. Falo

    Falo GBAtemp Regular

    Member
    264
    206
    Jul 22, 2012
    Germany
    You can't use my tool to generate a 100% accurate template!

    Cartridge ID -> must be dumped from REAL cartridge
    EEPROM ID -> can be guessed or dumped from real cartridge
    Unknown ID -> i have no idea what this id is, but my guess is it can only be dumped from a real cartridge
    Unique ID -> leave it as 0xFF and you have no online, use a public 3DZ header or dump your own from a real cartridge!

    I guess i made a mistake on some values by using the wrong endian.

    Here a fix for the endian bug:
    https://www.dropbox.com/s/i9zkshaz3gzi2rr/SkyTemplateMakerEndianBugFix.7z?dl=0
     
    JimBonza and Warft like this.
  13. JimBonza
    OP

    JimBonza Advanced Member

    Newcomer
    52
    4
    Nov 13, 2014
    Ah fair enough, I can get some of those values anyway like the Unknown ID, EEPROM
     
  14. JimBonza
    OP

    JimBonza Advanced Member

    Newcomer
    52
    4
    Nov 13, 2014
    Just a heads up Falo after some tinkering as discussed above with getting the hex digits the right way round, it is now finally writing the EUR Alpha Sapphire to the Sky3DS :)

    Going to test it out now and see if the game works.
     
    Zidapi likes this.
  15. gamesquest1

    gamesquest1 Nabnut

    Member
    GBAtemp Patron
    gamesquest1 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    14,165
    9,523
    Sep 23, 2013
    anyone with a sky3ds know if they allow you to switch headers once you have locked in your 10 games? or is the header info also logged, if it is that could be a fairly easy way for nintendo to blacklist the card obviously having another sky 3ds and using un-blacklisted headers would make it easy to bypass....but unless everyone can dump their own headers who use sky3ds, that would be a pretty big deterrent having to get a new sky3ds every time nintendo updates and blacklists sky3ds's uniqueID DB
     
  16. ChrisRX

    ChrisRX GBAtemp Fan

    Member
    490
    218
    Nov 8, 2006
    From the Sky3DS FAQ
    That does seem to imply that the SKY3DS's internal 10 game database is created from the game's header and not its hash as different regions would generate different SHA1 hashes.
    I wonder whether then importing the header from a game that was previously copied to the sky3ds would allow you to play more than 10 games.

    Unfortunately I don't feel like filling up a rather expensive card with 10 games to test this theory, maybe someone with a full card can help us test this theory.
     
  17. Falo

    Falo GBAtemp Regular

    Member
    264
    206
    Jul 22, 2012
    Germany
    This template is not just used to identify roms, it is written to 0x1400 in the rom file after transfering.
    The Unknown ID could be used by this flashcard to identify used roms, maybe i made a 10 games bypass ? XD, can't test it.

    Unique ID will most likely not be blocked by Nintendo, i think you could sue them if your real game is blocked from online,
    the flashcard will be blocked by identifying how it works.
     
  18. gamesquest1

    gamesquest1 Nabnut

    Member
    GBAtemp Patron
    gamesquest1 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    14,165
    9,523
    Sep 23, 2013
    truth is i doubt you could sue them....if your cards uniqueID was dumped and added to a list used to pirate games, im pretty sure they have something in their T&C which say they can prevent the use of games used in this manner, and really i doubt any court would hold up any lawsuit.....basically the card used to get the unique ID are in the possession of the sky3ds team.....i doubt they will be giving nintendo their details for a banned game :lol:....and even if they sold the game that would be a dumb move if someone does get banned and then they trace back where it was bought and then who sold it to the store, they would be leaving a tail for nintendo to track them down

    basically if banning the used unique ID's was the only way to block the card im sure they wouldn't think twice....no big deal if they have to swap a few games for people who pick up a banned cart....it would just help them in tracking down the sky3ds team

    all in all it just depends on how well sky3ds actually emulate the retail card, if there is any flaws it will be blocked at a low level, if its near perfect they would just have to take what they can get.
     
    Zidapi likes this.
  19. piratesephiroth

    piratesephiroth I wish I could read

    Member
    3,017
    1,622
    Sep 5, 2013
    Brazil
    It seems Sky3DS owners are either too rare or too ashamed to come here and say they got one.
     
  20. JimBonza
    OP

    JimBonza Advanced Member

    Newcomer
    52
    4
    Nov 13, 2014
    So I used the diskwriter to write it somewhat successfully, problem is when it cycles to the game on the 3DS it's a blank icon that won't load. On top of that in diskwriter under EEPROM it says "NO" instead of YES like all the other roms. Weird. :S