A downloadable tool for Windows and Linux

Download NowName your own price

What is this?

This tool automates the compilation of JavaScript files with NW.js' compiler. The compiler creates binary versions of the files, ensuring protection of the source code. The tool also packages the code (and the assets) on an archive that Nw.js can read.

How do I use it?

First of, you'll need to do a few modifications to the project. I've included the replacement code you need to apply to your project (after deploying it, of course). After that, it's pretty simple: Tell the tool where the nwjc.exe file is (RPG Maker MV has the SDK as well, which includes nwjc, but you can download a different version from https://nwjs.io) and the project you want to compile. In a few minutes, you can upload the game to the public.

Do note: once you compile it, you can only use the same version of nwjs for the same operating system. So, if you compiled the game with SDK Version 0.30.4 (for example) on Windows, you can only use the code with Standard Version 0.30.4 on Windows.

Command Line Arguments (CLI Version):

To compile the project quickly with the command line arguments: nwjsCookToolCLI.exe --SDKLocation "<put the location of the SDK here>" --ProjectLocation "<put the location of the project here>"

Or in Linux: ./nwjsCookToolCLI --SDKLocation "<put the location of the SDK here>" --ProjectLocation "<put the location of the project here>"

(Yes, you need the quotes there.)

Command Line Arguments:

--SDKLocation: Sets the location of the SDK.

--ProjectLocation: Sets the location of the project.

--FileExtension: Sets the File Extension for the compiled files. It's used like this: --FileExtension <insert file extension here>

--Parallel: Turns on Parallel mode. You can use it without the previous two arguments as well.

--ReleaseMode: Removes the JavaScript files after compiling.

--CompressProject: Compress project after compiling. "--CompressProject Final" (without quotes) removes the files after compression. Only works with the ReleaseMode flag.

--TestMode: Test the game after compiling. Cannot work when the CompressProject argument is in place.


System Requirements:

Windows 7 Service Pack 1 or newer.

Any computer that can run RPG Maker MV games, practically speaking.

NW.js SDK. You can use any version you want (preferably 0.22.x or newer).

FAQ:

Can I use it on Linux with WINE (or Proton or <insert a compatibility layer here>)?

Depends. If it is to make the Windows version of your game, then yes (assuming that it can run .NET Framework apps). If you want to use the tool to make the Linux version, then no. You can use the Console App version on Linux, though.

Can I use it on my current project?

The tool is a wrapper for the nwjc. I have used the tool for my project and I haven't noticed any issues. So, it has a "go-live" license (as in, it's OK to use it on your projects).

Updated 29 days ago
StatusIn development
CategoryTool
PlatformsWindows, Linux
Rating
(3)
AuthorAceOfAces
Tagscompiler, nwjs, RPG Maker, wrapper
LicenseMIT License
Average sessionA few minutes
LanguagesGreek Modern, English
LinksSource code, Blog, Homepage

Download

Download NowName your own price

Click download now to get access to the following files:

GUI Version (32-bit Windows) 59 MB
Version 3.0.0-20200928
GUI Version (64-bit Windows) 66 MB
Version 3.0.0-20200928
Command-line version (Windows) 24 MB
Version 2.0.0-20200928
Command-line version (Linux) 26 MB
Version 2.0.0-20200928

Also available on

Development log

View all posts

Leave a comment

Log in with itch.io to leave a comment.