NScripter to VNDS Converter? (7)

1 Name: Volvagia356 : 2009-08-27 22:31 ID:c6P18WEi [Del]

I'm just wondering is there a NScripter to VNDS Converter existing.

I just want to make sure as I'm currently making one and don't want to finish it just to realize someone else has already done it.

I'm writing mine in PHP(only language I'm good at) and it is currently capable or parsing ` into text, * into individual .scr files and gosub into jump.

Should save a lotta copy+pasting work...

2 Name: Anonymous : 2009-08-29 12:35 ID:t6R1UxcO [Del]

Nice! Keep up the good work, this should really serve to quickly enrichen the VNDS library.

3 Name: Volvagia356 : 2009-08-29 22:53 ID:c6P18WEi [Del]

Current Progress:

-Parse each * into an individual script file (because a huge main.scr with goto doesn't work very well...)
- Parse ` into text lines
- Parse goto into jump
- Parse bg into bgload
- Parse ; comments into # comments (can be disabled)
- Parse most sound related stuff (play, mp3loop, wave, waveloop, playstop, stop, dwavestop)
- Parse !w into delay
- Parse blank lines in the original to the VNDS script (can be disabled)
- Place unparsed commands into comments in VNDS script for porter to manually port
- Ignore know unportable comments (can be disabled)
- Automatically convert all foreground images

Only downside is that since I wrote it in PHP, the PHP library needs to be installed to be used. Good thing is, it works on any platform that can run PHP.

4 Name: Anonymous : 2009-08-30 05:07 ID:4TUhRiuZ [Del]

unless the disabling does exactly that, removing the ; comments would be a better option, since while they're not parsed, they're still loaded into ds's very limited amount of ram.

the ones which keep the original jap text are especially useless and should be removed in my opinion. sometimes removing all of them reduces the script size even by half or so.

also, would it be somehow possible to use that thing from a web server with php, and have it output a converted file for you to save?

5 Name: Volvagia356 : 2009-08-30 06:14 ID:c6P18WEi [Del]

Disabling the comments feature does exactly that, they will not appear in the VNDS script.

Yes you can run in a web browser but only the processing log will be sent to the web browser. The converted files will be stored in a directory called "script" which you can grab through FTP later.

Unless you prefer downloading them individually through a web browser....

6 Name: Anonymous : 2009-09-01 04:17 ID:4Pt9DY+C [Del]

>Unless you prefer downloading them individually through a web browser....

what i meant was make the server send it out after converting, so i do an upload, it processes the file, then when done it opens a download window with the file, asking me where to save it on my hdd.

7 Name: Volvagia356 : 2009-09-01 07:30 ID:c6P18WEi (Image: 709x372 png, 38 kb) [Del]

src/1251815444675.png: 709x372, 38 kb

It's possible after a little modification since when I write it in the begining, I've ment for it to be a console application.

Screenshot is of the program finished converting Narcissu

Also just to note that the converted script isn't directly playable. It's ment to help in porting VNs and not ment to port VNs by itself.

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification:
Image: