1. This forum is in read-only mode.

[Tutorial] Making a Pokemon Translation/Script Edit

Discussion in 'Technical Help' started by mikeac, Feb 27, 2010.

Thread Status:
Not open for further replies.
  1. mikeac

    mikeac Well-Known Member

    Hey, this is how to edit the script from any DS Pokemon game that is canon to the series (D/P/Pt/HG/SS). This can be used to make translations or to make rom script edits.

    Need:
    TheNewPokeText (called TNPT for the rest of the tutorial)
    Any NDS Pokemon Rom (can be trimmed and with a patch)
    An XML Editor such as Notepad

    1. Download and extract TNPT and the Pokemon rom. Place the rom in TNPT's folder.
    2. Start up TNPT, type in the rom name and press enter, then wait for about ten seconds. A folder called "tmp_[romname]" will be created.
    2.1 (HGSS Only) Go into tmp_[romname]/root/a/0/2 and file the file called 7. Copy that file to .../root/msgdata and rename it to msg.narc.
    3. Type "getall dialogue.xml" without the quotes, and wait till it finishes. There will be a new dialogue.xml file inside the TNPT folder.
    4. Open the dialogue.xml file with your preferred XML editor. Find any and all <file id="XXX" change="false"> attributes and rename it to <file id="XXX" change="true". You can easily do this in notepad by doing Edit>Replace. You may now edit the file however you want. If you have played Pokemon through before, you will notice what you are editing, since the dialogue will be similar. Do not edit the foreign Pokedex entries, as those are important. If you are doing a rushed Asian language translation using Google Translate, the translator will probably spit out Engrish, I use either Microsoft Bing or Babylon. This does not edit any graphics, including types, statuses, the title screen, Yes/No buttons (in HGSS), or (maybe) the Poketch/Pokegear.
    5. When you are finished editing the script, go back to TNPT and type "patch dialogue.xml" without the quotes and press enter. Then type "mkrom [newromname].nds" without the quotes and press enter.


    You have now created a new Pokemon Game with a different script!

    [​IMG]
    What it should look like. Ignore XDelta.exe. I am using Diamond just for the purpose of the guide.

    I might edit this guide later on to teach how to create new games with different Pokemon locations and such.
    This doesn't AP patch anything.

    How to create a redistributable patch: (if you want to share your patch with the world)

    Need:
    Clean Pokemon Game NDS rom
    Patched Game NDS rom
    XDelta GUI

    1. Download and open XDelta.exe.
    2. Go to Create. Click Unedited Rom and find your clean rom, and click New Rom and find your patched rom.
    3. Click create patch. This will create a .patch file. You can now share it to the world.
    To use the patch, click Patch, select the patch and the clean rom, and click apply patch.
     
Thread Status:
Not open for further replies.