Certainly Pokétext to compile

Discussion in 'NDS - ROM Hacking and Translations' started by sergititob, Jan 1, 2009.

Jan 1, 2009
  1. sergititob
    OP

    Newcomer sergititob Newbie

    Joined:
    Sep 17, 2008
    Messages:
    7
    Country:
    Spain
    Good, I have a little doubt:
    I am the translator of platinum into Spanish, and I am finishing the translation.
    I am using the PokéText to extract the text, but I draw three ways:
    1 .- In the folder enc: Archives .Bin
    2 .- In the folder htm: Archives .Htm are to translate that since it is where are the letters and words.
    3 .- Folder: unenc: Archives .Bin different from the first folder. They know not to serve.
    Gradually I translated. But when I re-create the file msg.narc
    and move the files .htm with words .bin in binary form to compile, and make it work, I do not know.
    Anybody can explain me, please, how to compile and passing .Htm to .Bin?

    An example:

    File .bin. Folder 1 enc:

    ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????

    .Htm file in the same folder 2 or htm:

    ????????????????????????????????????????
    ???????????????????????????????????????????????????????????????

    File .Bin (the same) of 3 or unenc folder:

     Ô:$  V g $ m þ  ˆ U • ñ  þÿ  ? ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿh ¡ [ W " <  /  Ž b “ ¡ à : ' ,  (  $ à !  +     P  à  ,   H  B    ?  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
    ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ Q    Ž b “ ¡  Q P à@  )  Q      à !  +     P  à  ,   H  B    ?  ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
    ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿc ñ ‘ † › ñ ` ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ

    As you can see are different. I like to spend .Htm to .Bin.
    Postscript:
    The three files that I have are the same. Thank you.
     
  2. ds22

    Member ds22 GBAtemp Regular

    Joined:
    Sep 27, 2008
    Messages:
    269
    Location:
    Rotterdam NL
    Country:
    Netherlands
    what are you using to read the .bin files?
    because it's a kind of messy
     
  3. Normmatt

    Member Normmatt Former AKAIO Programmer

    Joined:
    Dec 14, 2004
    Messages:
    2,135
    Country:
    New Zealand
    converting the html back to binary is never gonna work. the HTML only rips out the text not all the control codes etc which are required by the game, you will need to manually type the text into the binary file. The table file is part of the poketext source file, not in .tbl format obviously.
     
  4. SCVgeo

    Member SCVgeo GBAtemp Regular

    Joined:
    Nov 5, 2008
    Messages:
    115
    Location:
    USA
    Country:
    United States
    By the way, loadingNOW release thenewpoketext: thenewpoketext

    Its meant to work with DP but you can still use it for platinum. Just rename pl_msg.narc to msg.narc (and msg.narc to something else) whenver you want to edit something that is in pl_msg.narc. thenewpoketext re-encrypts and works great.
     
  5. ds22

    Member ds22 GBAtemp Regular

    Joined:
    Sep 27, 2008
    Messages:
    269
    Location:
    Rotterdam NL
    Country:
    Netherlands
    whenever i do that it errors on me at 349/350 [​IMG]
     
  6. SCVgeo

    Member SCVgeo GBAtemp Regular

    Joined:
    Nov 5, 2008
    Messages:
    115
    Location:
    USA
    Country:
    United States
    Can you describe exactly what you did?
     
  7. ds22

    Member ds22 GBAtemp Regular

    Joined:
    Sep 27, 2008
    Messages:
    269
    Location:
    Rotterdam NL
    Country:
    Netherlands
    extracted pl_msg.narc from platinum (german patch v1.1)
    changed name to msg.narc
    put in folder called tmp_WORK (rom is named the same)
    started thenewpoketext
    entered WORK as rom name
    entered getall zaza.xml
    errors and closes

    (something with traceback dunno for sure) [​IMG]
     
  8. SCVgeo

    Member SCVgeo GBAtemp Regular

    Joined:
    Nov 5, 2008
    Messages:
    115
    Location:
    USA
    Country:
    United States
    Well, I just tried it and it works perfectly. Try it (renaming to msg.narc and using get all) on a clean rom.
     
  9. Alizor

    Newcomer Alizor Advanced Member

    Joined:
    Nov 19, 2008
    Messages:
    52
    Country:
    Brazil
    You need to put the ndstool.exe on the same directory as the poketext.
    Don't need to run the program, just use the script.txt to configure.

    Here are the methods:

    get id filename.xml
    getall filename.xml
    patch filename.xml
    mkrom romname.nds

    The get is to extract a file to a xml file. ex: get 341 intro.xml
    The getall is to extract all the script. ex: getall full.xml
    The patch is to compress the full.xml and replace with the msg.narc (not tried yet)
    The mkrom is to create a rom (based on the directory tmp_romname) with the changes. ex: mkrom newrom.nds
     
  10. ds22

    Member ds22 GBAtemp Regular

    Joined:
    Sep 27, 2008
    Messages:
    269
    Location:
    Rotterdam NL
    Country:
    Netherlands
    doesn't work with me [​IMG]

    EDIT:error that i get

    the NEW Poketext
    Â 2008/2009 loadingNOW
    Romname:Cannot create temp Folder tmp_wok (this is no problem if it exsists and
    contains a complete rom)
    >| = = = = = = = = = = = = = = = = = = = = | 100%
    | = =
    Traceback (most recent call last):
    File "", line 119, in
    File "", line 45, in GetTextAll
    File "thenewpoketext\buildthenewpoketext\out1.pyz/poketext", line 57, in decry
    pt
    File "thenewpoketext\buildthenewpoketext\out1.pyz/poketext", line 99, in Decyp
    tTxt
    File "thenewpoketext\buildthenewpoketext\out1.pyz/poketext", line 10, in read1
    6
    IndexError: array index out of range
    Druk op een toets om door te gaan. . .
     
  11. Alizor

    Newcomer Alizor Advanced Member

    Joined:
    Nov 19, 2008
    Messages:
    52
    Country:
    Brazil
    - Do you put the extension? Like WORK.nds
    - Did you unpack the rom? (just open thenewpoketext and put work.nds to create a fold tmp_work, need ndstool)

    On the file script.txt put it:

    work.nds
    get 349 349.xml
    q

    That worked here.
     
  12. ds22

    Member ds22 GBAtemp Regular

    Joined:
    Sep 27, 2008
    Messages:
    269
    Location:
    Rotterdam NL
    Country:
    Netherlands
    didn't work
     
  13. SCVgeo

    Member SCVgeo GBAtemp Regular

    Joined:
    Nov 5, 2008
    Messages:
    115
    Location:
    USA
    Country:
    United States
    Did you do it on a clean rom?
    You might have put stuff in your german patch that cause it to mess up.
     
  14. ds22

    Member ds22 GBAtemp Regular

    Joined:
    Sep 27, 2008
    Messages:
    269
    Location:
    Rotterdam NL
    Country:
    Netherlands
    nevermind, i finally got what you said, did it and it worked.
    thanks! [​IMG]
    EDIT:decrypted original msg.narc instead of pl_msg.narc
    got the same error [​IMG]
     

Share This Page