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

Released R6.01u3 today! This is a rollup of R6.01u2 and R6.01u3, fixing some issues and doing some technical updates.

Changelog:
  • [R6.01u2] Fixed an error, where if the user set the save folder as the NW.js reserved folder, Quick Load breaks.
  • [R6.01u2] Slight performance improvements.
  • Re-worked how the JS Source Code tool worked behind-the-scenes, to fix an issue where the UI would lock up during that stage.
  • Slight tweaks to improve reliability.
  • Fixed a bug, where the bootstrap would throw an error as it was trying to load the file catalog, even though it's the first time that the game runs.
  • [Linux] Cache paths now use the XDG path spec.
Release R6.01u4 today! This brings some bug fixes alongside initial API support for handhelds like the ROG Ally (Windows only, at least for now).

Changelog:
  • Updated dependencies, bringing stability improvements.
  • [Windows] Initial API support for handhelds like the ROG Ally.
    • The bootstrap will add the --handheld command line argument before launching the game. The flag is skipped on the Proton compatible build and Linux.
  • Fixed a bug, where if the option to protect the source is turned off but asset encryption is on, the tool would crash.
Released R6.02 today! This update (codenamed Gnocchi) brings some quality-of-life improvements, alongside updating to .NET 10 (Release Candidate 1). One of the most notable changes is the re-worked creation of test builds: it’s now a dropdown in the main window; it takes care of the --disable-devtools option automatically (when necessary) and added additional info for better diagnostics. There was also an overhaul on the patching system, for better performance and accuracy.

A minor thing of note: due to changes with Halva’s code (there were changes in the framework that required code changes) the Halva packages may change a bit, resulting in big patches. This is normal, and the patches will return back to normal on subsequent builds.

Changelog:
Spoiler
  • Improvements to creating test builds:
    • The checkbox for it was reworked into a drop down (visible in the main window.
    • The tool will now remove or add the --disable-devtools, depending on the setting.
    • Added code to certain areas, so it’s easier to see which plug-in broke.
    • Added a message to notify the user that dev tools are accessible and should create a release build to remove them.
  • Updated to .NET 10 (RC 1), improving performance and reliability.
  • Updated dependencies, for improved performance and reliability.
  • Reduced the download size of the program.
  • Overhauled the patching system, for better accuracy and performance.
  • Under the hood changes to improve maintainability.
  • The password for Deep Level Encryption is now properly formatted for the JS file.
  • Made the checks between the source and output folders more robust.

EDIT: Released R6.02u1, which fixes some bugs that cropped up.
Released R6.02u2 today! This update brings some bug fixes, alongside a few improvements. I’ve also updated the plugins pack to include a new one: FullScreen +. As the name implies, it adds a full screen toggle. And it also adds support for Windows PC handhelds when using the bootstrap.

Changelog:

  • Overhauled how WebP compression works.
    • Switched over to ImageMagick.
    • Merged the option for lossy/lossless compression and the compression level into two settings.
      • Setting it to 100% triggers lossless compression.
  • Both WebP and AVIF use the same Image quality setting.
  • [Bootstrap] Added File System diagnostics.
    • This will check if the bootstrap can create the cache folder, alongside checking if there’s enough space.
  • Fixed a bug with the password prompt. Due to a misalignment, the buttons were a bit cut off.
  • Updated dependencies, for better performance and reliability.
  • [Plugins Pack] Added a new plugin: Full Screen +.
    • This adds a Fullscreen toggle, alongside support for Windows PC handhelds (requires Cook Tool Deluxe R6.01u4 or newer).
Nice to see more updates on this!
Released R6.02u5 today! This is mainly bug fixes and improvements, alongside an update to dotnet 10 RC2.

Changelog:
  • Updated to .NET 10 Release Candidate 2 (alongside the dependencies), improving performance and reliability.
  • [RPG Maker MZ, R6.02u5] Fixed a bug regarding the patches for Deep Level Encryption/Source Code Protection. Plugins wouldn't load.
  • [Bootstrap and Cook Tool addon plugin] Added support for Windows tablets and 2in1s.
    • This is mostly relevant for RPG Maker MZ, as it has improved touch controls.
  • [Cook Tool Addon plugin] Re-worked the plugin:
    • The main executable checks will work when the game is compiled.
    • Added methods to the plugin that check the flags.
  • Simplified the AV1 hardware encoding setting.
    • Note that this is still experimental.
Released R6.02u6 today! This update brings some quality-of-life improvements.

Changelog:

  • Download progress for downloading the nwjs binaries will now show up.
  • Merged the conversion and encryption steps into one. This improves build speeds a bit.
  • Removed the "Patch source files" option.
    • This was meant for those that have already patched the core scripts. Due to causing confusion and not being used much, it was removed.
  • Enabled HTTP/3 support on the Cook Tool.
    • Note that this requires msquic package installed. It's already present on Windows, but Linux users will need to installl it. Either by importing Microsoft's Package Repo or the distro's own (usually under the libmsquic name).
With the release of the .NET 10 GA, I’m releasing R6.02u8, which updates the tool to use that version. This also includes changes from R6.02u7, which fixes some issues with loading and creating the default settings.

Changelog:

  • [R6.02u8] Updated to the GA version of .NET 10, bringing reliability improvements.
  • Updated dependencies, bringing improved performance and reliability.
  • Fixed an issue, where the defaults weren’t created or loaded properly.
Released R6.02u9 today! This update brings technical improvements (particularly in the patching mechanism). As a bit of a heads up: An under-the-hood change makes the manifest and file catalog (used by the bootstrap for certain functions) incompatible with older versions. Make sure to change the version number for the engine package (if you disabled the option to delete the cache when the game closes) so it has the correct version.

Changelog:

  • Security improvements.
  • Overhauled the patching mechanism so it can handle HTML files better.
  • Updated dependencies, improving performance and stability.
With nwjs receiving arm64 support on Windows, I released R6.03 today! This version (codenamed “Lasagna”) brings a native arm64 version, allowing you to create native versions for Windows on Arm devices. The tool technically could run on arm via emulation, but this update makes it a heck of a lot better on those machines. Alongside it, I also went in and streamlined the settings for projects.

Changelog:

  • Added native support for arm64 for both the tool and bootstrap.
    • The versions used for automatic detection have been updated to handle this.
  • Streamlined settings.
    • Removed the option to set the IV key manually (to be more in line with Deep Level Encryption). It will be created automatically when you set a password.
      • A button to regenerate the key was added.
    • Re-worked the cache location settings to be simpler.
      • When the option to delete the cache after the game closes, the bootstrap will use a temporary folder.
      • When that option is off, it will derive the folder from the Customization settings (specifically, from Company name and Product Name).
  • Dependency updates for better performance and reliability.
  • Merged components for easier maintainability.
  • Changed how nwjs files are downloaded. It now uses reserved temp files when downloading.
    • This also fixes a bug, where canceling while downloading the files would result in an error.
Released R6.03 Update 3 today! This is a roll up of updates [R6.03u1-R6.03u3] that improve the tool’s performance and reliability.

  • [R6.03u1] Under the hood changes, that improve performance and file size.
  • Updated dependencies, improving stability.
  • [R6.03u1, Bootstrapper] Fixed a bug, where the disk check would crash when checking the temp folder.
  • [R6.03u2+u3, Bootstrap] Improved performance for updating the cache (applies when the option to reset the cache after the game closes is turned off).
I've released R6.04 today! This release (codenamed "Mousakas") brings quality of life improvements alongside bug fixes. The most notable improvements are the option to build a new version and an overhauled way to handle the output folder. The "Build new version" button (available on the sub-menu near the build button) allows you to punch in the new version and (if you use Halva) the package versions. The package versions are derived from the UTC time, formatted as "yyyyMMddHHmmss". The bootstrapper was updated to handle larger numbers as well (they were originally integers).

The overhauled handling of output folder is to address an issue I was noticing via feedback: before this update, the output folder was treated as a scratch folder. It was expecting that the folder would just hold the builds. However, this had the side effect of deleting other files as well, if the user configured the output to be on a folder that had personal files (and not setting a sub-folder in it). So, if they set it to (for example) C:\Users\<user>\Documents\ but not C:\Users\<user>\Documents\builds, it would delete the Documents folder. To avoid this, I reworked it, so it automatically creates this, in this format:

<output folder>\<developer name>\<product name>\<runtime id>\

Steam builds also work like that:

<output folder>\<developer name>\<product name>\<runtime id>\

To keep a consistency with that format, the output (when the user hasn't set the folder) also reflects this:

Standard build: <project folder>\out\<runtime-id>

Steam build: <project folder>\out\steam-<runtime-id>

I was debating if I should remove that option entirely, since it was an unintentional first user trap. But considering about the features I want to implement and with the new UI in the works, I decided to re-work this.

Sidenote: I'm including changes that were in R6.03u4 - R6.03u6 in the changelog as well.

Changelog​

Spoiler
  • Added the option to build a new version (accessible in the sub-menu, near the Build button).
    • Makes it easy to create a new version.
    • Provides a quick way to also update the package versions as well (if you use Halva compression).
      • Package versions generated by this, are numbers that are derived from UTC time, formatted as yyyyMMddHHmmss.
  • Updated the bootstrapper, so it handles large numbers.
  • Re-worked how the output folder is set.
    • If an output folder is set in the project settings, it will derive the developer's name and product name to create the actual path, alongside the runtime ID of the tool.
    • If it's not set, it will set it as <project folder>\out\<runtime id>
    • Steam builds follow a similar logic for their output.
  • Updated dependencies, for better performance and stability.
  • Restructured the settings window, moving the customization options to more logical areas.
    • Splash screen and bootstrapper settings are now under Halva settings.
    • Company name, Product Name, Game Version, File Version, Copyright and User-Friendly Version are now under "Essentials".
    • Moved most of the settings for asset preparation into the "Advanced" section.
    • Settings related to executable settings and creating the required files for itch.io and Steam are under "Packaging and User Services.
  • Copyright Info now has formatting support. {0} adds the year. {1} adds the company name.
  • [Bootstrapper] Fixed a bug, where the manifest carried a path that the Linux version couldn't read.
  • [RPG Maker MZ] The tool will automatically update the package.json file.
    • This is a necessity, as the editor also edits the JSON file.
  • [R6.03u4] Addresses a bug with the save mechanism. Due to an error, the tool wouldn’t overwrite the recipe file properly sometimes.
  • [R6.03u5] Updated dependencies, bringing stability and performance improvements.
  • [R6.03u5] The check for when it’s packaged in a MSIX package was reworked so it’s more reliable.
  • [R6.03u6] Fixed a bug that prevented the tool and bootstrapper from working on Windows 10 systems.
I've recently released R6.04u2. This is a roll up of fixes included on R6.04u1 and R60.4u2.

Changelog:
  • Tweaked the filters used when copying the files from the project. This should prevent false flagging files that have similar names and get skipped.
  • Fixed a bug, where MV games exported via the editor would throw an error.
  • Translated a string to Greek.
  • [R6.04u2] Fixed a bug, where the Proton build wouldn't have the icon and the details of the main build as well.
  • [R6.04u2] Updated the generated itch.io manifest, to include the Visual C++ Redistributable v14 as a prerequisite (required for the bootstrap).
I've recently released R6.04u5, bringing bug fixes. This is also a roll up of R6.04u3-R6.04u4.

Changelog:
  • [R6.04u3] Fixed a bug, where updating the cache for Deep Level Encryption would pull the wrong files as well.
  • [R6.04u3] Under the hood changes to improve reliability.
  • [R6.04u4] Updated dependencies, improving performance and reliability.
  • [R6.04u4] Fixed a bug, where the dev tools wouldn't be accessible in test builds.
R6.04 Update 5 specifically fixes a bug that was introduced in the previous update, where Avalonia 12 would crash the app and bootstrap when a message box is involved.
Released R6.04u6 today! This update brings a small but important improvement: Updating to Avalonia 12. In the previous update, I had to roll back that change, as it was crashing the tool and bootstrap (since Avalonia 12 had breaking changes). Now that it's been addressed, I've updated the tool to that version, which brings performance and stability improvements. Plus dependency updates to further improve stability.
Released R6.04u7 today! This update bring technical improvements, alongside foundational work for new features and improvements.

Changelog:

  • Performance improvements, alongside a slight reduction of file size for the bootstrapper.
  • Updated dependencies, improving performance and reliability.
  • Under the hood changes, for future features and provisional support for Linux on Arm.
    • Due to these, builds created with this version aren't compatible with bootstrappers from old versions.
  • Fixed a bug, where the tool would copy over the png set as the splash screen, even if ImageMagick is present on the folder.
Released yesterday, R6.04u8 addresses issues that cropped up on the previous update.
Changelog:
  • Fixed a regression, where the build would stop during the packaging process. If there were custom files that weren't included to the list, it would throw an error about exhausted switch cases.
  • Fixed a regression where the effects folder wasn't included by default.
  • [Bootstrapper] Fixed a bug, where Linux builds would report that the user didn't have write permissions, when they had.
Released R6.05 today! This is a minor release that adds some fit and finish improvements, alongside better handling of node_modules.

Changelog:

  • Added accent colors to buttons in windows.
  • Improved handling of node_modules.
    • The folder is also added to the engine package by default.
  • Updated dependencies, for improved performance and stability.
  • Updated AngleSharp, which addresses a potential security vulnerability.
    • This is mostly to cover bases.
With the forums shutting down, the only things I can say are:
  1. Thank you all for the feedback. Although there's work to be done, I wouldn't have made it without your input. Either here or other places.
  2. Development continues on. Follow the development on its page or on my blog. Link here: https://linktr.ee/aceofaces
  3. I'll be here (once it launches): https://rpg-refuge.com/
  4. Also on there, too: https://forum.rmplanet.com/
All that's left to say is (as we say in Greece) : Καλή Συνέχεια.

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