Can someone tell me what this error in Diskwriter is and how to fix it?

Discussion in '3DS - Flashcards & Custom Firmwares' started by Tyrantt, Feb 15, 2015.

  1. Tyrantt
    OP

    Tyrantt Advanced Member

    Newcomer
    73
    0
    Feb 13, 2015
    United States
    Portland, Oregon
    So I updated my template for pokemon sapphire with a private header on no ban no sky, then deleted the original pokemon game with the public header off the microsd, updated the template on diskwriter with the patched template, and then file > write > pokemon and then I got this message: "Pokemon contained invalid dada at 0x1400 - this has been replaced using the information in template.txt. Do you wish to add another copy? This is a NAND type game." and when i clicked okay the Title ID column still had the old header in it and not the private header. any thoughts or ideas?

    The template is called template0212a.txt, and not template.txt, so im not sure what template its talking about.

    Also is there a way to check to make sure that the game has the new private header?

    thanks for any and all help
     
  2. pu1se80

    pu1se80 GBAtemp Regular

    Member
    116
    22
    Dec 20, 2014
    United States
    That error is normal and should happen every time you write a game to disk. It's basically just telling you that it's going to use the information from the template file when copying the rom over. If you've used no ban no sky to edit the template, then that's the information that the rom will use, including private header.

    The issue I had was I was using a private header from one game for all my games. This is a problem because no ban no sky injects all of the header information including rom size, chip size, etc from the private header. Made half my games not work. I ended up just manually copying my title id information into the template files while keeping the other lines intact. Makes my games work at least. But it's a ton of work and I don't even know it's safe. Staying offline for now.

    Also, just noticed you're from Portland. I'm in Oregon City. Small world, eh?
     
  3. Tyrantt
    OP

    Tyrantt Advanced Member

    Newcomer
    73
    0
    Feb 13, 2015
    United States
    Portland, Oregon

    So my questions now are:

    why does it say its using the info from template.txt when my template name is template0212a.txt?

    How do I know for sure if its using the private header or not when the Title ID is still the same as before i used no ban no sky?

    Ive heard of a few people who use the same header for all games, but they never said they had problems. how far into the game did you run into these problems? and how did you manually copy the title id info into the template files?

    and im going to remain offline for now as well, but its more of a just in case it somehow goes online, this should hopefully be a good back up to prevent a ban.

    sorry for the noob questions, i just learned about this whole ban/private headers thing a couple nights ago and just trying to figure it all out.

    oregon city huh? thats not too far from where i live. definitely a small world!
     
  4. DjoeN

    DjoeN Captain Haddock!

    Member
    5,167
    1,485
    Oct 21, 2005
    Belgium
    Somewhere in this potatoland!
    1. Doesn't matter, first they used template.txt as name, but now the use template0212a.txt, stating the date the template is made (much easier to know you are using the latest template, it's an old thing left.
    2. Title Id does not change, the header ID change, check the 6th line under SHA1 and check if it's your private header (use gateway rom patcher on your dumped game to see the header id
    3. Depends if the also changed chipid to match the header, then the should be good to go :)
    4. There is no backup to prevent a ban, as no one know what Nintendo excaclty is banning, it's a guess after seeing ppl getting banned who used public headers for now, but why not ban all users who used public headers before?
    5. You should use search and read alot :P
    6. Yes it's a small world; compare the earth against the universe and we all live very close to each other :D

    Addon: After reading this i bet you have more questions :P
     
  5. Tyrantt
    OP

    Tyrantt Advanced Member

    Newcomer
    73
    0
    Feb 13, 2015
    United States
    Portland, Oregon

    Okay, maybe a header isnt what i think it is. I thought the public header was the CRT-P-ECLA. the 6th line down just says for me: FF FF FF FF FF FF..... so for example when i have the CRT-P-ECLA.bin (thats not what it is, but for example) the CRT-P-ECLA isnt the header? how do i view the private header then?
     
  6. Tyrantt
    OP

    Tyrantt Advanced Member

    Newcomer
    73
    0
    Feb 13, 2015
    United States
    Portland, Oregon

    I did these steps:

    So... to make it simple for all the new arrivals on this thread, the complete method to go online is :
    1) Just do a cartridge backup with the Gateway dumper, whatever title
    2) load this dump with Gateway Rom Patcher v0.6. Check that the cartridge ID of the ROM is present (value different than FFFFFF...). Press Export to save a .bin file.
    3) get a ROM you want to play online with. Open it with gateway rom patcher v0.6
    4) Press import button and load the .bin you just saved. If the .bin not match your rom, an auto fix will be offered. Accept.
    5) Press inject to apply the fixed header to the ROM
    6) rename your rom .3ds as .3dz and let's try it online with your gateway !

    Then I went to no ban no sky, clicked the bin i used, the game, and the template and patched it. but when i checked the template after i patched it, it still says FFFFFFFFFFFFF
     
  7. DjoeN

    DjoeN Captain Haddock!

    Member
    5,167
    1,485
    Oct 21, 2005
    Belgium
    Somewhere in this potatoland!
    Gateway Rom Patcher v1.0 is also good ;)
    Do NOT patch the rom!!!, don't inject a header in the rom you want to play online!!!
    (Diskwriter will do all of this for you when it writes the rom to SD)
    You can manually edit the template or use "No Ban No Sky"

    If using No Ban No Sky:
    - choose the template file
    - choose the bin header you extracted with gateway rom patcher
    - choose the rom you want to play online

    No ban No Sky will now edit the template file for you (I don't know if it modifies the chip id to match the header)

    If doing manually:
    - get headerid from gateway rom patcher and copy/paste it in notepad
    - get chipid from gateway rom patcher and copy/paste this in notepad
    - set spaces between the headerid you copy pasted from your own dump (see line below)
    * FF FF FF FF FF FF
    - copy paste that in your template file (6th line sha1 line not included, replace all the whole line of FF FF FF
    - If needed, check the chip id and match it with the headerid (somewhere in the first line, don't know out of my head)
    - Save
    - Write the game with diskwriter to your sd

    It's been offten posted on this forum there are at least 3 or 4 threads here on gbatemp.net on how to with headers and templates!!!
     
  8. Tyrantt
    OP

    Tyrantt Advanced Member

    Newcomer
    73
    0
    Feb 13, 2015
    United States
    Portland, Oregon
    what happens when you inject the rom?
     
  9. DjoeN

    DjoeN Captain Haddock!

    Member
    5,167
    1,485
    Oct 21, 2005
    Belgium
    Somewhere in this potatoland!
    Diskwriter patches the header and chipinfo from the template in it, so it's useless what you do
    You must edit the template file you are going to use if you want to play online and use a private header, that's it!
     
  10. Tyrantt
    OP

    Tyrantt Advanced Member

    Newcomer
    73
    0
    Feb 13, 2015
    United States
    Portland, Oregon

    Sorry it took so long to get back to you. my windows partition went out on me and i had to spend the day setting up parallels with windows 8.1.

    so whats line 5 then? the line between:

    0000000000000
    93U49RUOW848
    FFFFFFFFFFFFFF

    I thought that line 5 is what was updated when you patch the template?

    speaking of which. when i try to patch majoras mask, it puts the line right next to the 000000000000000934UR98UOW84R4W4O48. So i guess ill just have to manually do it