View Full Version : Unable to extract script text from nscript.dat

2012-01-17, 02:01
Hey guys, I keep getting garbled text when I extract from nscript.dat. I'm using NSDEC since it seems like it was designed for this, but it doesn't seem to work.

The game I'm testing it on is Shinsyoku 2, along with some other games by Touchable.
Here is some info: http://www.animecharactersdatabase.com/source.php?id=520

Can anyone help?

2012-01-17, 20:45
I suggest use AnimED

2012-01-18, 23:30
Thanks for the reply. Unfortunately, AnimED didn't seem to work either. The file it extracts still prints out garbled text.

Here's a sample file:
garbled text I got: http://www.mediafire.com/?c6ss577k0z5pfac
nscript.dat in question: http://www.mediafire.com/?tbd81e6a131ocvs

2012-02-08, 12:44
Hmmm… It might be that the nscript.dat has been encrypted to stop people from accessing the source code.

I'm not sure if it works, but you might be able to use decrkansa (http://asmodean.reverse.net/pages/decrkansa.html) to decrypt the file, then use nscdec to convert it into a text file.

2012-02-11, 13:42
decrkansa only takes in .nsa file, which I think only contain music and cg files. I tried it anyway, and I couldn't get it to work. The program say unsupported file when the site says it supports the game?

I thought the game's text were in nscript.dat?

2012-02-13, 12:23
Yeah, the text is in the nscript.dat. I just thought that it might be possible to decrypt it using the same method.

Hmmm, it's strange… Haven't come across this before.

2012-02-15, 23:01
I'm not sure if it works, but you might be able to use decrkansa to decrypt the file, then use nscdec to convert it into a text file.

2012-04-03, 08:04
i have a problem whit my nscript.dat but i can extract it to txt perfectly. Ok in the nscript.dat is the txt that is displayed in game and i want to translate it but when i translate it and convert it back to nscript.dat and start the game i get a error message about the txt i translated. My question is, is there protection ore something that prevents the game to display english letters????? if you nead it i can post a image of the error:D:D:D

2012-04-03, 09:01
I'm not too familiar with NScripter engine, but I know that you can't simply write alphabetical text. You need to add a marker at the beginning of the line to make the game understand that whatever follows that mark is text to display and not a code (basically, if you simply write something like "hello" the game will try to call the command "hello", and when it can't find this command it crashes; so you need to make the game understand that "hello" is pure text, not a command).
The marker to use changes depending on the version of NScripter you want to use. If you want to use the original NScripter you have to add ">" at the beginning of each text line. For the ONScripter-en version you need to add "`" and for the PONScripter version you need "^". You can find all the commands here (http://unclemion.com/onscripter/api/NScrAPI.html)

Anyways, if you want to translate in English I suggest you to use ONScripter-en, otherwise to use PONScripter. You can find both at Uncle Mion's site (http://unclemion.com/onscripter/). Note that a few games (probably most of the newest) are not compatible with PONScripter and ONScripter. You can try, though.

2012-04-03, 18:10
the nscript.dat is ONScripter-en and thank you weary much it works know :D:D:D
1 more thing how can i add space between 2 words it displays them all together in the game like
(Where do you want to go) it displays it (wheredoyou wanttogo) ????

2012-04-04, 05:43
I don't know. Probably it's a bug caused by partial incompatibility with the game, since generally when you use ONScripter-en the space between words should be showed. You should ask Mion's help here (http://unclemion.com/onscripter/bug-reporting/).

However, if you encounter this bug you may encounter others. Before starting a translation you should test all the sections/menus of the game. Expecially the save/load menu, since the newest NScripter games tend to have a customized save/load menu (generally with a lot of slots and/or a screenshot for each savedata) that should not be compatible with ONScripter.
Anyways, can you say which game is it?

2012-04-04, 18:39
The game is Futanari Dragon Quest pt2 its a hentai game :D
and i can use ` and ^ for the txt to work but its the same