MV/MZ RPG Maker Cook Tool Deluxe [R6.04u7]

English and Greek translations are included.

The RPG Maker Cook Tool Deluxe is the successor of the original tool. Rebuilt from the ground up, brings a ton of publishing features (on top of the robust compiler and packer tool) in a speedy, smaller package.

Features
Spoiler
  • Great experience for all: Utilizing Nw.js' JavaScript source protection, the games' source code is protected without sacrificing the developer's or the user's experience with the game. It's far more compatible than tools like Enigma VirtualBox and doesn't sacrifice performance.
  • Faster and better than ever: with a mix of a new UI framework and .NET NativeAOT technology, the tool is faster and uses far less memory and space.
  • An arsenal of tools for a perfect build: In addition to compiling and packing, new tools have been added so you can make a custom build. No need of extra tools. These are:
    • Hotpatch: No more manual patching of JS files! The compiler will now patch the files for you.
    • Asset Protection: Ensures that the assets aren't easily accessible. Using a plugin that compresses and/or encrypts the database? It takes care of any possible issues, too.
    • Nw.js Manager: Easily download the latest (or a specific) version of Nw.js you need, whenever you need newer features or shipping on platforms like Steam. It even prepares the final binary with a new icon and the details you input.
    • Metadata Editor: By exposing relevant settings for Nw.js apps, the editor allows you to fine-tune the behavior of the game's executable.
    • Asset Compressor: Combining the popular WebP and Opus Compression Tools, Asset Compressor compresses the files to WebP and Opus, with minimal to no quality loss.
    • [R5.01+] Font Compressor: Utilizes woff2 compression for fonts, reducing the size of the game and speeding up loading times.
  • Streamlined work flow: It's as easy as finding the exported game, pick the engine version and click build. You can even utilize the recipe files to quickly ready the compiler.

Screenshot:
Spoiler
screenshot1.png

Available on itch.io, Ko-fi and Gumroad.
Released some updates to Cook Tool Deluxe:

R5.01 Update 1
Spoiler
  • Updated the UI framework (Avalonia) to 11.0.5-rc.1. Brings UI improvements and fixes.
  • Updated AngleSharp to 1.0.5. Improves parsing of the nwjs version list.
  • Minor improvements to cases for cancelling a task.
  • You can now push F1 to open the manual. It will also open the relevant page when needed.
  • Fixed a bug where the Output location didn't show up when opening the Project Settings menu.
  • Fixed a bug where the Metadata Editor would always set the window to not be resizable.
  • Temporarily removed the Advanced settings area in the Metadata Editor due to a breaking issue.

R5.01 Update 2
Spoiler
  • Fixed a bug where the Halva compression would throw an error, due to looking a the wrong folder.
  • Fixed a bug where the database cleanup wouldn't properly ignore the set files.
  • [Linux] Fixed a bug where the NW.js fetch work didn't work properly.
  • [Linux] Fixed an oversight regarding tar.gz files (when downloading versions of NW.js) which would result in a crash.
Released a hotfix for the tool (R5.01 Update 3). This addresses the issue where setting the version of NW.js to "Auto-Detect" will always pick the version that is suitable for RPG Maker MV games, even if the game was made with RPG Maker MZ. It also updates to the final version of Avalonia 11.0.5, which brings additional bug and security fixes (specifically, a security fix for Skia).
Released R5.02 today. The latest update on the RPG Maker Cook Tool Deluxe (codenamed “Kestrel”) brings a number of improvements, alongside changes for the upcoming Halva Bootstrapper v2.

Changelog:
Spoiler
  • Overhauled project management:
    • Overhauled the recipe file architecture for easier expandability. (Recipe files created by older versions are not compatible. Migration tool is coming a little later.)
    • You can now set defaults for new projects.
    • Added the option to create new recipe on the “Project and Utilities” menu.
  • Improved the algorithm for determining the engine version.
  • Improvements to the Halva packaging system:
    • Expanded the settings for the upcoming Halva Bootstrapper v2.
    • If the Halva compression type is selected, the Cook Tool will put the NW.js files to the “Binaries” folder in the project’s output.
  • Improved the logging system.
  • UI improvements:
    • Moved the utilities to the “Utilities” sub-menu.
    • Added tooltips to most of the settings in the Project Settings menu.
    • Fixed some typos.
  • Fixed an error, where the version numbers were mixed up.
  • Fixed a bug where the “Use the computer’s RAM for compression” option didn’t apply properly.
Released R5.02 Update 1 today. This brings some minor performance and stability issues.

Changelog:
Spoiler
  • Updated to the GA version of .NET 8. Brings performance and stability improvements.
  • Updated AngleSharp to 1.0.6. Improves the stability and performance of the NW.js version lookup.
  • Minor improvements to logging.
  • Updated FFMpeg. Brings minor improvements to audio compression.
  • Made additional changes, in preparation for the Halva Bootstrapper 2.0.
R5.02 Update 2 was released today! Alongside a few fixes, it also includes a copy of the Halva Bootstrapper (v2.0). The new Halva Bootstrapper is much more straightforward, and it's easier to customize. All that the player has to do is to simply run the "Dragonhouse.GameBootstrapper" executable. A minor thing, it is recommended to reset your default settings before using this (and adjust the folder settings for Halva for existing recipe files), as it can cause a mess if not fixed.

If you are wondering about Halva: it's a far more efficient archive format than Zip. Alongside better resilience against cracking, it's also more efficient for pushing out patches.

Changelog:
  • Includes a copy of the Halva Bootstrapper 2.0.
    • The Cook Tool will now copy the required files to the game's output.
  • Adjusted the default settings so it avoids potential issues with the Halva Bootstrapper.
  • Performance and stability improvements.
  • Fixed an error where the question for resetting the default settings only showed an OK button.
With 2023 almost ending, a new update for RPG Maker Cook Tool Deluxe has arrived! R5.03 (codenamed "Kestrel 2"), brings data validation. This is used to verify that the settings are set up properly. This prevents potential issues that could occur from user error. I've also re-enabled the advanced settings that reside in the Metadata Editor. Previously, leaving these empty would cause an error that neither the nodejs main and background scripts could be found. This version will simply mark them as null when they are empty instead.

Changelog:
Spoiler
  • Implemented data validation.
    • Prevents user error in areas where this could cause issues for the game.
    • For the compiler, it will show a message that the package.json file isn't present, and point them to the Metadata Editor.
  • Restored the options to set the Nodejs main and background scripts.
    • If these settings are empty, they will be set to null in the package.json file, fixing the issue where the game wouldn't load due to missing main/background script.
  • Fixed an issue, where the converter settings were mixed up. The "Use WebP" would disable the "Use Opus" setting and vice versa.
  • Fixed an issue with the converters, where pressing the Cancel button for the first time would carry over the cancel request to the subsequent tasks.
  • Fixed a typo in the logs. When the converter would search for audio files, the log would claim that it's searching for images, not audio.
Have a wonderful new year!
Well... Talk about rapid fire fixes.

Cook Tool Deluxe has been updated twice. The first time, it fixes issues with the Halva Bootstrapper. The second is to fix an issue with data validation false flagging the windows icon setting.

For the first update: due to a typo in the relative cache folder location, the game wouldn't launch properly. The typo has been fixed, but two actions are required for existing users of the tool:

  1. Reset your default settings. This is necessary, so the issue doesn't persist.
  2. For any recipe files that were created before this version, you will need to edit the settings and fix the error. If it's not fixed, the editor will not let you save. To fix this:

  1. Turn on "Compress files" (if you have it turned on.
  2. On the Compiler and packer settings, set the compression type to Halva.
  3. Open the Halva settings and fix the relative cache folder location (remove the first '/').
  4. Roll back the changes in steps 1 and 2. Then save.

For the second update, it's a slight re-tool of how it validated the path. Previously, it checked for invalid characters for file names. This caused the issue of showing an error for invalid characters. R5.03 Update 2 changes the list of invalid characters to the one for the path. It essentially checks if the path has invalid characters.

Changelog:

R5.03 Update 1
Spoiler
  • Fixed a typo that broke the path constructor for the bootstrapper. This would result in the game not booting.
  • Changed the default version of NW.js to 0.48.4. Fixes an issue where the game wouldn't boot.
  • Added data validation for the relative cache location.
  • Fixed a minor typo in the game master.

R5.03 Update 2
Spoiler
  • Fixed the validation for the Windows Icon setting. It would show a message that there are invalid characters in the path, even if the user used the Browse button or was written properly.
Happy new year, maties!

This update fixes some issues regarding data validation. It also includes a change that was meant for a future release: Packaging as a zip file is removed, in favor of Halva (which has better asset protection and it's far more efficient). Games compiled with this version onwards will pack the files with Halva (which is far better in asset protection and provides better compression). The game simply launches from the provided "Dragonhouse.GameBootstrapper" executable.

Changelog:

  • Updated .NET to version 8.0.1. Brings minor stability improvements and security fixes.
  • Removed the option to pack the files into Zip (Halva does a far better job, anyway).
  • Improved the logging system.
  • Fixed an issue where the Metadata Editor wasn't available.
  • Fixed an issue where creating a package.json file for games didn't unlock the build option.
  • Fixed an issue where certain settings would show a message (when they are not required). This affected the Metadata editor.
With the release of version 1.8.0 of RPG Maker MZ, a new version of Cook Tool Deluxe has arrived! This update brings these key changes:

  • It's now compatible with RPG Maker MZ 1.8.0.
  • The bootstrapper can be customized now. You can change the executable's information and icon.
  • Custom files and folders can be added to the packages now. Originally, the code assumed that the game only had the standard folders. With this update, you can add additional files to the packages.
There are more changes (including a vastly improved recipe migration system), which make the tool even better.

Changelog:

  • Fixed compatibility issues with RPG Maker MZ 1.8.0.
  • You can now add custom files and folders to Halva packages.
    • Dragonbones is added by default in the database package.
    • This is only required for additional files that aren’t part of a standard RPG Maker project (such as the aforementioned Dragonbones folder, if it’s stored on the root folder of the project).
  • The bootstrapper can be customized.
  • If the default JSON files cannot be loaded, it will record the error in the log.
  • Implemented code that updates the default settings and recipe files (to improve compatibility).
    • This was partially implemented since R5.02, but this update makes it far more robust.
  • Updated Avalonia to 11.0.7. Brings performance and stability improvements.
Released R5.04 Update 1 today! This adds AV1 Image Format (AVIF) to the Asset compressor. This gives better compression ration (compared to lossy WebP). There are a few bug fixes as well.

Changelog:

  • AV1 Image Format (AVIF) has been added to the converter!
    • AVIF brings a better compression ratio compared to lossy WebP.
  • Asset Compressor now skips the git files.
  • Fixed a bug, where hitting the Cancel button on the converter (during conversion) wouldn't stop the conversion.
  • Fixed a bug where the data validation for the bootstrapper's icon didn't trigger.
Released R5.04 Update 2 today! This update expands on the customization of the bootstrapper, alongside fixing some issues. The customizations are for adding a splash image and add the option to save into the base folder (requires the free plugin in the downloads page). Adding a custom splash image to the bootstrapper can add a bit of spice (or build a bit of intrigue).


A thing to note: The bootstrapper is theme-aware. Depending on the user's settings, it will switch between dark and light themes. This may affect the readability of the text. Make sure that the image doesn't affect this. Using a gradient or transparency (in the bottom part of the image) can help with this.


Changelog:​


  • Added the option to show a splash image for the bootstrapper.
  • The icon of the bootstrapper window should be using the correct one.
  • Added the option to set a title for the bootstrapper window.
  • Added the option to change the save location to the base folder (requires the FSDK_AdvSaveHandler plugin).
    • The location is related to the bootstrapper.
    • This is only necessary for games that save on the game's folder.
  • Removed the option to change the bootstrapper internal name (Bootstrapper Name), in order to avoid compatibility issues.
  • Improved the cleanup routine.
  • If the recipe file is made with a newer version of the Cook Tool, it will skip loading it. This is necessary, as newer versions could use a newer format of the recipe file.
  • Fixed a bug in the bootstrapper, where the app would hang (or otherwise crash) when an error occurred.
  • Updated Avalonia to 11.0.8. Brings stability improvements and miscellaneous bug fixes.
Released R5.05 today! This update is a behind-the-scenes re-work, which streamlines the tool and brings a few quality of life improvements.
Changelog:
  • Merged the Bootstrapper Settings and Executable Metadata tab into the "Customization" tab.
    • This is enabled when the option to change the exe metadata is turned on.
  • Improvements to the Halva Bootstrapper:
    • Re-worked the structure of the manifest.
    • Added manifest version and file integrity checks.
    • The Game Master executable is now stored to the Binaries folder.
    • Improved package version checks.
  • Improvements to the Asset Compressor:
    • Implemented a bit of code to improve the copying of the audio's metadata.
    • Fixed an error, where AVIF Chroma Subsampling was set to 4:2:0, instead of 4:2:2. Chrome subsampling 4:2:0 would result in images being greyscale.
  • Updated .NET to 8.0.2. Brings stability improvements.
  • Slipstreamed the latest patches for ImageMagick. Brings stability improvements.
Released R5.05 Update 2 today! This update fixes some critical bugs.

  • The SDK version of the NW.js is only downloaded if the option to compile the JavaScript code is turned on.
  • Fixed a bug with the migration code. If the original recipe file (or default settings file) has the setting for the cache location empty, it would cause the loading mechanism to break. This bug would break the tool.
  • [R5.05u1] Fixed an issue where setting a different executable name for the game would cause the bootstrapper to show a message that some files were missing.
R5.05 Update 1 was released a few days ago to fix the above critical issue. Updating to the latest version includes that.
Released R5.06 today! This update (codenamed Sparrow) brings various quality of life improvements, alongside some technical improvements.

  • Re-worked the mechanism for downloading the relevant NW.js files.
    • Improves the memory usage when downloading these files.
    • This may improve build times as well.
  • Added a screen that allows the immediate addition of additional files to the packages.
    • It will show up when you either select the project’s location by clicking on the Browse button or clicking on Import in the project settings.
  • [Game Bootstrapper] Added support for cases where the game is packaged into an MSIX package (such as builds for the Microsoft Store).
  • Moved the “Product Version” into the common settings.
    • The manifest that is create will also reference that.
    • This is reserved for a future feature.
  • Fixed a bug, where clicking on “Download selected version” would skip the download of the binaries for NW.js (but it would download the SDK version of NW.js).
  • Slipstreamed patches for ImageMagick. Improves stability.
  • Updated cwebp (used for WebP compression). Brings performance and stability improvements.
  • [Plugin] Fixed an error, where the path to the save files on Linux/Mac were on a different place than expected.
Released R5.06 Update 1 today! This adds AV1 video compression to the asset compressor and brings stability and performance improvements.

Changelog:
  • Added AV1 Video Compression to the asset compression.
    • Brings improved compression vs VP8/VP9.
    • This is turned off by default, as it requires a powerful CPU or a system with hardware acceleration to play the videos.
  • Fixed a bug, where using AVIF compression could throw an error, breaking the image compression.
  • Fixed a bug, where cancelling the task and then restart, it would mangle the path. This would throw an error where the path doesn't exist.
  • Updated ImageMagick to 7.1.1-31. Brings improved performance and stability.
  • Windows specific changes:
    • Updated rcedit to 2.0.0. Brings bug fixes.
    • Updated ffmpeg to 7.0. Brings performance improvements.
    • Fixed an issue, where the tool and the included bootstrapper would crash, if the system didn't support the SSE4.2 instruction set.
Released R5.06 Update 2 today!
This update provides additional security improvements and some quality of life improvements (particularly if you use an installer for the game or you published it on Steam).

Important: A plugin must be installed, in order to take full advantage of the security features that this update includes. Have it turned off while you are working on the game via the editor and then turn it on when exporting. If your game is compatible, it’s also recommended to enable the “Compile source files” option in the project settings.

Changelog:

  • Added the option to put the final build to a sub-folder.
  • Added additional security measures for games that are packed with Halva.
  • If available, the bootstrapper will use WebP images for the splash screen.
    • If the WebP converter isn’t removed, it will convert the selected image to lossless WebP image.
  • Added the following command line arguments for the bootstrapper (useful for projects where they opt into not reseting the cache after the game closes.
    • These are useful for cases where either an installer or Steam is involved.
    • The following arguments are as follows:
      • –rebuild: Rebuilds the cache.
      • –cleanup: Clears the cache.
      • –prebuild: Builds the cache on demand.
  • Compatibility improvements for the Game Master component.
Released R5.06 Update 3 today! This update is focused on improving the performance and reliability of the bootstrapper, alongside updating some dependencies.
IMPORTANT: If you have the game set up to keep the cache (even when the game closes), an error about corrupt cache will appear. This is due to the new integrity checks using different values for verifying the cache files (thus, it's false positive). Once the cache is re-created, it will load the correct values. If you left the default setting for the cache (which is to reset the cache when the game closes), this does not affect you.

Changelog:
  • Overhauled the file integrity checks.
    • Substantially improves launch times for the bootstrapper.
  • Updated .NET to 8.0.5. Brings stability and security improvements.
  • Updated ImageMagick to 7.1.1-32. Brings stability improvements.
  • [Linux] Updated FFmpeg to 7.0. Brings performance improvements.
  • Updated SkiaSharp to 2.88.8. Brings stability improvements.
  • Fixed a bug in the bootstrapper, where an error about wrong parameters.
  • Fixed a bug in the bootstrapper, where rebuilding the cache would result in re-doing the extraction step on the next launch.
Released R5.06 Update 4 today! This is a minor update that rolls up some fixes regarding Halva compression and update some dependencies.

Changelog:

  • Improvements to the stability and speed of Halva Package System.
  • Updated dependencies:
    • Updated to .NET 8.0.6 (8.0.5 in Linux). Brings stability and security improvements.
    • Slipstreamed updates to ImageMagick, improving stability.
    • [Windows] Updated FFmpeg to 7.0.1. Brings stability improvements.
    • Updated Serilog to 4.0.0. Brings stability improvements in log related actions.
  • [Plugin Pack – Cook Tool Add-On] Fixed a typo in the plugin that prevented the game from starting up.
  • [Plugin Pack – Cook Tool Add-On] Re-factored the code to improve the reliability of the plugin.
Released R5.06 Update 5 today! This is a hotfix that addresses some issues with the strict cache integrity checks option (introduced as part of R5.06u2), alongisde the option to turn it on/off.

Changelog:
  • Added the option to enable/disable the strict cache integrity checks (introduced in R5.06 Update 2).
    • This is primarily used for prevented cheats and malware via tampering the files.
    • This option can be toggled when the setting to delete the cache every time the game closes.
  • Fixed some errors in the Greek translation.
  • Fixed a bug caused by a race condition. This would prevent the creation of the file catalog (required for the strict cache integrity checks).
While you are here: As I am planning out the next updates for the tool, I'll need your input. I would like to know how the tool works for you, what features you'd like to see (both for you and your players) and what to improve. If you have some time to spare, please fill out the survey: https://forms.office.com/r/pue3EiCPzd Your feedback is highly appreciated.

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-cook-tool-deluxe-r6-04u7.161761/