You do not have permission to edit this page, for the following reason:
The action you have requested is limited to users in one of the groups: Users, Administrators.
Free text:
ONScripter (O-N-Scripter) is an open-source implementation of the visual and sound novel game engine [https://en.wikipedia.org/wiki/NScripter NScripter]. This is a port of ONScripter based on the official version ONScripter-20070206 with support for GBK, BIG5, SHIFT-JIS encoding. Changes from to the official version: *Automatically saving global variables when exiting with the HOME button. *Introduced a PSP-specific ons.ini configuration file, it differs from the one used in [[ONScripter for PSP|すとーむ version.]] *Users can now select character encoding during compilation (for developers only). *Added default icons and backgrounds for PSP. == Installation == === Folder structure === ms0:/PSP/GAME/ONS/ * EBOOT.PBP * 0.txt or nscript.dat (script file) * arc.nsa or arc.sar (archive for image, music, etc. converted for PSP) * default.ttf (TrueType Fonts for Windows that support Unicode) * ons.ini (configuration file) * additional folder with BGM or movies (e.g. cd/Track01.xxx, cd/Track02.xxx, cd/Track03.xxx... cd/Track14.xxx) For general instructions and tools for preparing the game data please refer to [[ONScripter_for_PSP#Installation|this section]]. === ons.ini === The configuration file for this Chinese version (ons.ini) works the same as the one compiled by Storm (the original Japanese version). To use it, create an ons.ini file and place it in the same directory as the executable. However, the specific configuration options differ from the Storm version, as listed below. <!--i think this is for the pc version (The general options works the same as the corresponding [https://web.archive.org/web/20190321025310/https://onscripter.osdn.jp/onscripter.html#option command-line parameters].) '''General:''' * <code>font=(font filename)</code> ** Set a TTF font file, e.g., font=./simhei.ttf. (Note: The path separator on PSP is '/' not '\'.) * <code>registry=(registry file)</code> ** Set a registry file. Since ONS does not directly access the Windows registry, a text file is used to record the registry entries. * <code>dll=(DLL substitute definition file)</code> ** Set a dll file. Since ONS cannot load DLL plugins, text scripts are used instead. For details on dll.txt, refer to the [https://web.archive.org/web/20190321025310/https://onscripter.osdn.jp/onscripter.html#dll ONS official website]. * <code>root=(game root directory)</code> ** Specify the game root directory. This is required when the executable and the NSA package are not in the same directory. * <code>fullscreen=(yes | no)</code> ** Indicate whether to enter the game in fullscreen mode. '''PSP-Specific:''' --> * <code>resolution=(1~360)</code> ** Specify the resolution for PSP. This number represents the width; the height is calculated based on a 4:3 ratio. ** The default value is 360. * <code>screensize=(normal | full)</code> ** Indicate whether to use widescreen. ** Widescreen here simply stretches the 4:3 image to 16:9; native 16:9 support is not available. * <code>cpuclock=(integer)</code> ** Adjust the cpu clock, with a valid range of 1~333. * <code>busclock=(integer)</code> ** Adjust the bus clock, with a valid range of 1~167. * <code>LMB_ONCE=(key)</code> ** Specify the PSP key for a single left mouse button click; the default is Cross. * <code>LMB=(key)</code> ** Specify the PSP key for continuous left mouse button clicks; the default is Circle. * <code>RMB=(key)</code> ** Specify the PSP key for the right mouse button; the default is Triangle. * <code>CURSOR_PREV=(key)</code> ** Specify the key for "previous option"; the default is Up. * <code>CURSOR_NEXT=(key)</code> ** Specify the key for "next option"; the default is Down. * <code>SKIP=(key)</code> ** Specify the key for "fast forward"; the default is Square. * <code>PAGEFLIP=(key)</code> ** Specify the key for "toggle page display"; the default is L. * <code>MEM_UP=(key)</code> ** Specify the key for "previous line in backlog"; the default is Left. * <code>MEM_DOWN=(key)</code> ** Specify the key for "next line in backlog"; the default is Right. * <code>AUTOMODE=(key)</code> ** Specify the key for "toggle auto-read mode"; the default is Start. * <code>SPEED=(key)</code> ** Specify the key for "change text speed"; the default is Select. * <code>NONE=(key)</code> ** Disables the function of a specific key. * Key Value and Binding: **1 : Triangle **2 : Circle **3 : Cross **4 : Square **5 : L **6 : R **7 : Down **8 : Left **9 : Up **10: Right **11: Select **12: Start The configuration options are case-insensitive. === Resources === * [http://nscripter.insani.org/list.html List of NScripter games] / [https://vndb.org/r?f=fwNScripter-&fil=&o=a&s=minage VNDB] <!--* [http://izuno.blog22.fc2.com/blog-entry-168.html Game compatibility list]--> * [https://kaisernet.org/onscripter/api/NScrAPI-framed.html NScripter API Reference] == Controls == Cross - Confirm, Advance text Triangle - Menu Up/Down - Previous/Next option Square - Fast forward L - Toggle page display Left/Right - Backlog Start - Automode Select - Change text speed == Screenshots == https://dlhb.gamebrew.org/psphomebrew/images/onscpsp6.png https://dlhb.gamebrew.org/psphomebrew/images/onscpsp.png https://dlhb.gamebrew.org/psphomebrew/images/onscpsp7.png https://dlhb.gamebrew.org/psphomebrew/images/onscpsp2.png == Compatibility == Tested on PSP-1000 with 3.52 M33. == Known issues == Due to limited memory in the PSP and the lack of support for streaming playback, there are restrictions on the length of audio that can be played using dwave command (not longer than 40 seconds). Generally, different formats have different limitations. Playing audio longer than the allowed length will likely cause the system to crash. Some of the possible solutions include reducing the audio length, converting stereo to mono, or lowering the sample rate. == Changelog == '''(ZH version)''' '''20080121-zh04''' * Fixed compatibility with PSP 3.71 kernel version; it should work now. '''20080121-zh03''' * Added support for Big5 encoding (Traditional Chinese). * Fixed a bug in reading the configuration file. '''20080121-zh02''' * Added <code>cpuclock</code> and <code>busclock</code> options to the configuration file (ons.ini) to support adjusting PSP CPU and bus frequency. '''20080121-zh01''' * Integrated the previous translation version with the official code from 20080121. * Added support for PSP 3.71 kernel version; untested and may not work at all. '''(Official version)''' '''20080121''' * Fixed a bug in <code>pretextgosub</code> that caused script reading errors. '''20080115''' * Fixed a bug where using the <code>bgm</code> command to stream OGG would corrupt internal data. '''20080112''' * Fixed a bug where the display of phonetic symbols (above the text) was incorrect. '''20080111''' * Fixed a bug where volume settings did not reflect correctly. '''20080110''' * Integrated support for GP2X, iPhone, and WinCE (mingw32ce). '''20080107''' * Fixed a bug where <code>texton</code> and <code>textoff</code> commands ignored the effects specified by <code>windoweffect</code>. * Implemented the <code>windowchip</code> command. '''20080106''' * Fixed a bug in the <code>lsp2</code> command regarding coordinate specification. * Implemented the <code>vsp2</code> command. '''20080105''' * Fixed a bug where <code>logsp</code>, <code>strsp</code>, <code>movemousecursor</code>, and <code>shadedistance</code> commands did not map the resolution correctly. * Fixed a buffer overflow bug that occurred when saving and loading progress after defining <code>ENABLE_1BYTE_CHAR</code>. * Fixed a bug where phonetic symbols did not display correctly when executing the <code>logsp</code> command. * Implemented the <code>savegame2</code>, <code>pagetag</code>, and <code>gettaglog</code> commands. '''(ZH version)''' '''20070826a-zh00 Test Version''' * The configuration file is compatible with versions for all platforms (only tested on Windows and PSP). * Enhanced the functionality of the <code>ons.ini</code> configuration file (specifying font files, Archive root directory, etc.). * Added a Makefile for MinGW; future Windows versions will be compiled using MinGW GCC instead of VC++. '''(Official version)''' '''20070826a''' * Fixed a bug related to the incorrect order of sprite representation. '''20070826''' * Fixed the issue where OGG audio could not loop when using CD Audio. * Fixed the problem where the resolution would not change when taking screenshots with the <code>--disable-rescale</code> parameter in PDA. * Implemented commands: <code>lsp2</code>, <code>lsph2</code>, <code>csp2</code>, <code>msp2</code>, <code>amsp2</code>, <code>allsp2resume</code>, <code>allsp2hide</code>. '''20070823''' * Fixed errors caused by commands such as <code>systemcall reset</code>, <code>systemcall load</code>, <code>reset</code>, <code>definereset</code>, <code>loadgame</code>, and <code>definereset</code>, which stopped sound playback during <code>dwave</code>. * Fixed the issue where the page-turning function (O key) in <code>textgosub</code> was not working in version 20070822. * When streaming and looping OGG or MP3 music, data will be reused from memory instead of reloading from disk. '''20070822''' * Fixed an error where displayed text could not be interpreted correctly when <code>textgosub</code> was specified. * Fixed a bug in <code>drawbg2</code> that caused calculation errors due to overflow. * Fixed a bug where the <code>return</code> command would fail. '''20070821a''' * Adopted variable-length file information to save memory. '''20070821''' * Fixed a bug where the <code>dwavestop</code> and <code>chvol</code> commands would fail when using channels above 54. * Fixed an error when using <code>iconv</code> on macOS that caused issues with Shift-JIS filenames (this part was completely revised in the translated version and does not affect it). * Added support for the PS3 platform (not tested). * Fixed a bug causing incorrect text buffer character count when reading very old version save files (NS 1.xx). * Fixed a bug where the <code>getparam</code> command could not correctly interpret variable IDs for string variables. * Corrected spelling errors in the output text for the command line parameter <code>--help</code>. * Fixed an error where a space between <code>;value</code> and a number in the <code>;value</code> command caused it to be ignored. '''(ZH version)''' '''20070206-zh04''' * Corrected code layout, reintroduced the Shift-JIS character set, and added support for compiling in GBK and Shift-JIS. * Added functionality for the PSP version to read the <code>ons.ini</code> configuration file. * Added XMB icons for the PSP version. * Other bug fixes. '''20070206-zh02 and 20070206-zh03''' * Fixed localized garbled text bugs. * The PSP version saves global variables when exiting by pressing the HOME key. '''20070206-zh01''' * Modified the Shift-JIS character set to GBK based on the official version 20070206. * Translated the Japanese right-click menu into Chinese. == External links == *Author's website - [https://web.archive.org/web/20080522010153/http://blog.163.com/john_he_/blog/static/76595505200832514228686/ http://blog.163.com/john_he_/] (archived) *rpgchina - [https://web.archive.org/web/20070822202756/http://bbs.rpgchina.com/read-htm-tid-26878.html http://bbs.rpgchina.com/read-htm-tid-26878.html] (archived) <!--pocketpc ver. https://web.archive.org/web/20110828050429/http://blog.163.com:80/john_he_/blog/static/7659550520084185134325 invalid source links https://bbs.sumisora.net/read.php?tid=220684-->
Advertising: