ROM Hack Certainly Pokétext to compile

sergititob

Member
OP
Newcomer
Joined
Sep 17, 2008
Messages
7
Trophies
0
XP
58
Country
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.
 

Normmatt

Former AKAIO Programmer
Member
Joined
Dec 14, 2004
Messages
2,161
Trophies
1
Age
33
Website
normmatt.com
XP
2,183
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.
 

SCVgeo

Well-Known Member
Member
Joined
Nov 5, 2008
Messages
115
Trophies
0
Age
37
Location
USA
Website
projectpokemon.org
XP
175
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.
 

ds22

Well-Known Member
Member
Joined
Sep 27, 2008
Messages
269
Trophies
0
Age
30
Location
Rotterdam NL
Website
www.youtube.com
XP
266
Country
Netherlands
SCVgeo said:
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.
whenever i do that it errors on me at 349/350
frown.gif
 

SCVgeo

Well-Known Member
Member
Joined
Nov 5, 2008
Messages
115
Trophies
0
Age
37
Location
USA
Website
projectpokemon.org
XP
175
Country
United States
ds22 said:
SCVgeo said:
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.
whenever i do that it errors on me at 349/350
frown.gif
Can you describe exactly what you did?
 

ds22

Well-Known Member
Member
Joined
Sep 27, 2008
Messages
269
Trophies
0
Age
30
Location
Rotterdam NL
Website
www.youtube.com
XP
266
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)
frown.gif
 

SCVgeo

Well-Known Member
Member
Joined
Nov 5, 2008
Messages
115
Trophies
0
Age
37
Location
USA
Website
projectpokemon.org
XP
175
Country
United States
ds22 said:
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)
frown.gif
Well, I just tried it and it works perfectly. Try it (renaming to msg.narc and using get all) on a clean rom.
 

Alizor

Well-Known Member
Newcomer
Joined
Nov 19, 2008
Messages
52
Trophies
0
Age
30
Website
Visit site
XP
247
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
 

ds22

Well-Known Member
Member
Joined
Sep 27, 2008
Messages
269
Trophies
0
Age
30
Location
Rotterdam NL
Website
www.youtube.com
XP
266
Country
Netherlands
SCVgeo said:
ds22 said:
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)
frown.gif
Well, I just tried it and it works perfectly. Try it (renaming to msg.narc and using get all) on a clean rom.
doesn't work with me
frown.gif


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. . .
 

Alizor

Well-Known Member
Newcomer
Joined
Nov 19, 2008
Messages
52
Trophies
0
Age
30
Website
Visit site
XP
247
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.
 

ds22

Well-Known Member
Member
Joined
Sep 27, 2008
Messages
269
Trophies
0
Age
30
Location
Rotterdam NL
Website
www.youtube.com
XP
266
Country
Netherlands
Alizor said:
- 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.

didn't work
 

SCVgeo

Well-Known Member
Member
Joined
Nov 5, 2008
Messages
115
Trophies
0
Age
37
Location
USA
Website
projectpokemon.org
XP
175
Country
United States
ds22 said:
Alizor said:
- 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.

didn't work
Did you do it on a clean rom?
You might have put stuff in your german patch that cause it to mess up.
 

ds22

Well-Known Member
Member
Joined
Sep 27, 2008
Messages
269
Trophies
0
Age
30
Location
Rotterdam NL
Website
www.youtube.com
XP
266
Country
Netherlands
SCVgeo said:
ds22 said:
Alizor said:
- 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.

didn't work
Did you do it on a clean rom?
You might have put stuff in your german patch that cause it to mess up.
nevermind, i finally got what you said, did it and it worked.
thanks!
smile.gif

EDIT:decrypted original msg.narc instead of pl_msg.narc
got the same error
frown.gif
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: I hate myself