gemot encubed  

Go Back   gemot encubed > Gemot > Technical Issues

Technical Issues For bug reports, problem solving, and help running Japanese software.

Reply
 
Thread Tools Display Modes
  #1  
Old 2006-07-19, 04:39
Guest
 
Posts: n/a
Default Is there a FAQ on how to use NScripter?

I want to try using it and I got it to run but I'm not sure how to change anything. The site I downloaded it from...

http://nscripter.insani.org/onscripter.html

Doesn't give very good information on how to start or what to do. It only gives commands which I guess are used for the program. How do I start using it?
Reply With Quote
  #2  
Old 2006-07-19, 05:05
Haeleth's Avatar
Haeleth Haeleth is offline
Ex-boss
 
Join Date: Mar 2003
Location: England
Posts: 2,106
Default

That's the only English documentation I'm aware of.

Your best bet might be to have a look at existing games and copy what they do. Some games (particularly insani's recent releases) store their scripts in plain text under the name "0.txt"; any other game can be accessed just by running NSDEC (available from the insani site you know about) in the game folder. Open up the script, and use the command reference at insani's site to work out what each line does.

If there is any other help available in English, I'm sure someone will mention it soon!
Reply With Quote
  #3  
Old 2006-07-19, 05:28
Guest
 
Posts: n/a
Default

Well, I downloaded the ONScripter sources and makefiles for operation sanctuary since I want to try one of Augusts other games, but I can't seem to find this "0.txt" you talk about.

What is one of there more recent releases?
Reply With Quote
  #4  
Old 2006-07-19, 07:26
Haeleth's Avatar
Haeleth Haeleth is offline
Ex-boss
 
Join Date: Mar 2003
Location: England
Posts: 2,106
Default

Try Flood of Tears.
Reply With Quote
  #5  
Old 2006-07-19, 13:39
Guest
 
Posts: n/a
Default

Wow this thing is complicated. Its like your actually remaking the whole game. I have no idea what files do what.

Maybe I'll just translate the dialogue and get someone else to help with the Nscript thing.

Is there a way to extract the dialogue from a game?
Reply With Quote
  #6  
Old 2006-08-10, 22:40
haneyia haneyia is offline
Visitor
 
Join Date: Jul 2006
Posts: 4
Default

the 0.txt file can be extracted from nscript.dat use special tool likt nsdec or others....

0.txt file usually hv the structureslike this:
==========================================

*define

game
*start


end

=============================================

between *define and game is for u to define things which would be use in the whole game

and between *start and end is the main program of your game script...



after writing the 0.txt u should use a nscmake tool to compile it into a nscript.dat file for the exe to read

then run nscript.exe
your script will run

the simpliest example will be




*define

caption "WELCOME TO HAELETH"
effect 10,10,2000

game
*start

bg white,10
wait 1000
end
Reply With Quote
  #7  
Old 2006-08-18, 23:37
Mihara Mihara is offline
Regular
 
Join Date: Aug 2006
Location: Moscow, Russia
Posts: 41
Default

In case NSDEC does not work for you (like it did not for me, under XP - I guess either you have to run it in Japanese locale, which I don't, or something's generally broken about it in this day and age) this simple Python program will replace it:



Code:
#!/usr/bin/python

file = open('nscript.dat','r+b')

data = file.read()

file.close()

string = ''

for character in data:
    string += chr(ord(character) ^ 0x84)

outfile = open('0.txt','w+b')

outfile.write(string)
outfile.close()
It needs Python to run (which is a good idea to have in general if you mess with visual novels anyway) which you can get at http://www.python.org/
__________________
--- So you're like, nine hours fast?
--- Yes, I live in the future.
--- I doubt Russia is considered 'future'.
--- Maybe not the rest of Russia, but I certainly do.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to determine what visual novel engine does a visual novel use? raphael512 Production & Help 0 2014-03-28 23:50
How to use RL dev? Unregistered Technical Issues 6 2007-12-21 21:55
new to this, what tools to use?how to translate? buscasearch General Discussion 3 2007-12-16 20:02
How can I make Korean patch of game made by nscripter? helpme Technical Issues 3 2007-05-21 02:57
FAQ Haeleth Technical Issues 0 2006-01-09 06:45


All times are GMT -8. The time now is 03:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.