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

Released R5.07 today! This update (codenamed Sparrow 2) is focussing on streamlining the build process and be more flexible (useful for future features down the pipeline).
  • Added the option to generate a manifest for the itch.io app.
    • This tells the app which executable to launch, alongside installing the latest version of DirectX.
    • This also addresses the issue for games that don't use compression, where the app asks which executable to launch.
  • If the package.json file is missing the required details, a window to fill them in will show up.
  • Re-tooled the Halva's package management to be more flexible.
  • Slightly re-tooled the file catalog loading mechanism.
  • The option for the strict cache checking is opt-in now.
  • Fixed an error, where the "Verifying cache..." text is shown on the bootstrap window briefly, when it's not necessary.
Released R5.07 Update 1 today! This update brings fixes for the bootstrapper, alongside an update to dependencies.

Changelog:

  • Updated Avalonia to 11.1.0-rc.2, improving stability.
  • Fixed a bug, where the version checking was between the game config file with itself. This would result into not updating the cache (if the developer opted into not clearing the cache after the game closes).
  • Fixed a bug with strict cache integrity check. Due to the game master not terminating the file watcher, it would crash when it tried to clear the cache.
Released R5.07 Update 2 today! This update is (primarily) a rollup of updates for the tool's dependencies, alongside a few quality-of-life improvements.

  • Performance improvements.
    • [Linux] Enabled Vulkan support for rendering the UI (if available).
    • [Windows] Enabled support for Windows.UI.Composition (falls back to DirectComposition if not). Improves support for high refresh rates.
  • Updated the following dependencies:
    • Updated .NET to 8.0.7. Brings stability and security improvements.
    • Updated Avalonia to 11.1.0. Brings additional performance and stability improvements.
    • Rolled up the latest updates for ImageMagick. Brings stability improvements.
  • Adjusted the filters so it doesn't copy the Mapshots folder to the final output.
Released R5.08 today!
This update (codenamed Soufflé) brings quality of life improvements. There’s also a slightly experimental build of the Game Master for Steam (primarily so it can work with Steam Proton on Linux).

Changelog:
  • Moved the utilities into their own section in the menu.
  • Introduced a bit of code to not allow the bootstrapper to launch again (if the game is launched already).
    • NW.js is always single instance, anyway.
  • Updated dependencies, improving performance and stability.
  • Tweaked some of the text, improving clarity.
  • Improved the accuracy of the filter used in certain file copy procedures.
    • This is primarily to strip out files from NW.js, if you export the game as a desktop game.
    • It’s recommended to always export as a web browser build, to ensure a clean build. The tool will convert it into a desktop game automatically.
  • Fixed an error in the metadata editor. Browsing for the icon would change the location of the html file instead.
  • [Windows] Temporarily removed most of the customization options for the bootstrapper, as it was causing false flags with Windows Defender.
    • Changing the executable’s name and icon should still work.
Released R5.09 today! This update (codenamed "Sous Vide") brings a batch of quality-of-life improvements, support for MZ v1.8.1 and integrating the Steam Proton support files to the tool.

Changelog:

  • Updated to .NET 9 (RC1), bringing performance and size improvements.
  • Now compatible with RPG maker MZ 1.8.1.
  • Added (initial) Steam support.
    • [Windows] The Steam Proton files are now integrated to the main bundle for the bootstrap.
    • [Windows] You now have the option to create a separate, Steam Proton compatible build.
    • Greenworks.js is now added to the custom files and folders (applies if Greenworks must be in the game’s parent folder).
  • Files for the lib folder are now added to the Halva packages by default.
    • It will also strip out library files that don’t apply for the OS that the game is built on.
    • This is primarily for supporting Steam, but it could support for other libraries as well.
  • Added the option to create a test build.
    • This will use the SDK version of NW.js. This allows access to the Dev Tools (useful for diagnosing issues that could happen after building the final build).
  • Fixed a bug, where the bootstrapper would hang on the “Checking game files” stage, if the game was in a folder that doesn’t allow write access.
  • Minor fit and finish updates.
Released R5.10 today! This update (codenamed "Sous Vide Grande") contains a small, but substantial update: the upgrade to Halva 2. The new, overhauled version of Halva brings performance and security improvements. Specifically, there are under the hood changes that improve compression and decompression performance, alongside improving security. Although it sounds like an update to the existing Halva system, the under the hood and file changes create new files. Hence, why this update has the R5.10 version.

If you are using a service like Steam to distribute your game, the patches to your users will end up bigger than anticipated. This is normal, as the packages are different despite carrying the same files. Updates that your release after that first build with this version should come back to normal.

Changelog:

  • Updated Halva Package System to v2.
    • Overhauled internals and file architecture to improve performance and security.
    • Packages will carry the .halva2 file extension.
  • Updated dependencies and .NET, bringing performance and stability improvements.
  • The name used by the bootstrapper will now use the "Product Name" text in the project settings.
  • Tweaked the Customization tab. If the option to compress the game files is turned on, the access to the options for the Splash screen and icon should available now.
Hello!
I got this error and deleted the font, but the error still persists.
Do you know what the cause is?

The app doesn't have access to the file: Access to the path 'XXX.ttf' is denied.
Please check the file permissions and try again.
Hello!
I got this error and deleted the font, but the error still persists.
Do you know what the cause is?

The app doesn't have access to the file: Access to the path 'XXX.ttf' is denied.
Please check the file permissions and try again.
This sounds like a permission error related to running the software without administrator permission.
Try right-clicking the software executable and select the "Run as Administrator " option. When prompted, click "yes", and it will run with higher permissions than normally. It will then be able to access directories that require specific permissions.
No, it is not possible.
The same error occurs when I run it as an administrator, and also when I create a new project and deploy it.
I have already deleted the font causing the error from the Windows fonts.
Release R5.10u3 today! This update improves Steam support and a few fixes.
Changelog:
  • Updated dependencies, for better performance and stability.
  • Improvements to Steam support:
    • A separate build will happen if the Steam option is enabled.
    • It will now imply --in-process-gpu flag for the Steam build.
  • Fixed an issue with the asset compressor. Under certain circumstances, the paths were mixed up. That would cause the app to throw an error that the path doesn't exist.
  • Internal tech improvements, for future features.
After some feedback and assisting with getting a game to work with it, I can confidently say that the tool can create Steam Deck compatible builds. There was quite the guesswork to get stuff working (primarily with Steam Input. The Steamworks documentation didn't do a good explanation on how it latches on to the game), but recent updates have improved on that front. And looking on said feedback, I covered the bases for supporting Steam Deck out of the box. This update will change one more default setting to make it easier to bring over your game to the Deck (specifically, building a Steam Proton/WINE compatible build). This won't be applied if you are updating from an older patch, but you can edit the default settings via the tool.

Alongside this update, I'm adding experimental support for hardware encoding videos to AV1. This requires very recent hardware (AMD Radeon RX700/GeForce RTX 30/Intel Arc series and newer), but it will speed up the encoding. It's experimental, as I do need to do more work on it (including automating the selection of the appropriate encoder for your graphics card). If you are feeling a bit adventurous, feel free to test it out and give me some feedback.

Changelog:

  • Added Hardware Encoding support for converting videos to AV1.
    • In Windows, selecting the Hardware Encoder will use the GPU manufacturer's API (Quick Sync Video, NVENC, AMD VCE).
    • On Linux, Intel and AMD cards will use Video Acceleration API (usually used with Mesa drivers. Your distro may be using these drivers already).
    • This is a work in progress and there may be issues. If you don't want to deal with that, leave the option to Software.
  • Adjusted the default option for "Create a Steam Proton/WINE compatible build" to ON.
    • Note that this won't be applied to you automatically if you have updated from an older patch of R5.10.
  • Implemented RecyclableMemoryStream to both the tool and the bootstrapper, improving performance and memory usage.
  • In the package.json file, tool will apply the version number that is on the "Game Version" setting (found on Project Settings -> Customization -> Essential Information).
    • The "Game Version" option in the Metadata Editor was removed, as a result.
  • Adjusted some of the text in the tooltips.
  • Added tooltips for explaining the AV1 options.
After some feedback and assisting with getting a game to work with it, I can confidently say that the tool can create Steam Deck compatible builds. There was quite the guesswork to get stuff working (primarily with Steam Input. The Steamworks documentation didn't do a good explanation on how it latches on to the game), but recent updates have improved on that front. And looking on said feedback, I covered the bases for supporting Steam Deck out of the box. This update will change one more default setting to make it easier to bring over your game to the Deck (specifically, building a Steam Proton/WINE compatible build). This won't be applied if you are updating from an older patch, but you can edit the default settings via the tool.

This sounds very useful. Can you explain a bit about how the process for Steam Deck/auto updating NW.js works? My only concern is that if it forces a NW.js version that could cause crashes (I've noticed some versions break things easily). I don't own the tool yet, but will definitely get it if I'm confident this won't break something and steamline a very tedious process.
This sounds very useful. Can you explain a bit about how the process for Steam Deck/auto updating NW.js works?
For the Steam Deck, it's a matter of going to the Project Settings in the tool and tick on the "Steam" option. Once you start building, the Steam build will be put into a separate folder and be set up so the Steam Overlay (and Steam Input) can work out of the box. And, with the recent updates, it will prep it so it's compatible with Steam Proton (you are free to create a Linux native build, if you know how to run the Linux version of the tool).

As for NW.js: by default, it will use a known compatible version (depending on the engine). You are free to pick a specific version of NW.js on the Project Settings. You can even customise the executable as well.
Released R5.10 Update 6 today! This update brings various performance improvements to the tool and the bootstrap, alongside better conversion speeds to AV1 (using the Asset Compressor).

Changelog:
  • Overhauled calls to FileStream (where applicable) to improve read speeds.
  • Improved read and file integrity check speeds for the Bootstrapper.
  • When using hardware acceleration for converting to AV1, the GPU will also be used to read the original video file (effectively transcoding it). This will result in better conversion speeds.
  • Improvements to conversion speed on Nvidia GPUs.
Released R5.10 Update 8 today! Continuing on improving performance, this update includes updated dependencies and additional performance improvements for the bootstrap. Originally, it was meant to be R5.10u7. However, with the recent release of MZ 1.9.0, a hotfix was released to add support for it. It was an extremely easy update, as the code changes only added support for more customizability (which R5.10u8 handles).

The other inclusion was a security fix. This was due to an issue with a dependency importing a vulnerable version of a library. Thanks to an SDK update, I was able to override the affected library and fix that issue. While I don’t think there are potential exploits, it’s recommended to update the tool and bootstrap to cover all bases.

Changelog:

  • [R5.10u8] Added support for MZ 1.9.0.
  • Additional performance improvements for the bootstrapper.
  • Fixed a security issue with the tool and bootstrapper.
    • This security issue was caused due to a dependency importing a vulnerable version of the affected library.
    • As far as I am aware, this security issue doesn’t affect the tool and bootstrapper that much. It is recommended to update, to cover all bases.
  • Updated dependencies for better performance and stability
I don't suppose you plan on releasing a feature/option that packages everything into one .exe similarly to Enigma VB, but actually functional for rmmz? Would be very nice.
packages everything into one .exe
It's not a good idea to do that with MV to begin with.
For one, exe's simply are meant to execute the launch function of the program and therefore contain very little data. When an exe contains a lot of data, Windows will often false flag them as viruses since it doesn't expect an exe to be large.
Secondly, this can cause read/write issues as well and may result in the game not functioning correctly, incorrectly saving the game, or break how plugins or other aspects of the engine are intended to function.

I cannot speak for Ace, but considering the flaws with packing everything into an exe, I imagine he has no plans to do that since it is ill advised to begin with.
(also, last time I tried Cook Tool Windows still doesn't like the exe's it generates either and still false flags them. lol)
Ah, that's a bummer. I haven't run into that security flagging issue yet with cook tool thankfully, so here's hoping that's fixed for things like an eventual steam release.
Ahoy! Pardon the late reply, as I was busy with the IRL stuff.
I don't suppose you plan on releasing a feature/option that packages everything into one .exe similarly to Enigma VB, but actually functional for rmmz? Would be very nice.
Putting the potential false flagging aside, it can be quite impractical for certain situations (for example, creating patches for itch.io client. Butler doesn't like single files). It is possible (usually with stuff like Tauri), but it makes more sense with small games (about 100-200MB of actual game files).
(also, last time I tried Cook Tool Windows still doesn't like the exe's it generates either and still false flags them. lol)
This is addressed in the latest updates. The false flag was due to some of the customisation settings (which were removed). That was probably confusing the anti-malware. Adding a digital certificate to it would also fix that, but it might be a bit cost prohibiting (the cheapest is Microsoft's Trusted Signing. It does require some info in order to give you the cert, tho).
It's been a while since the last release. But today's release (R5.11, codenamed "Kebab") is a quite big release. One of the most notable additions is the support for Quick Loading. Using the included Advanced Save Handler plugin, this allows the game to load the latest save and get the player where they were. It's a nice player facing quality of life improvement, since the player can jump in immediately. In addition, there are quite a lot of technical improvements under the hood, bringing better performance, stability, and a bit of smaller space requirements. Finally, to streamline the setup for Steam Proton compatible builds, the option to create these builds is turned on by default for new projects (alongside the "Protect JavaScript Source Code" option, as the compatibility issues are extremely specific).

Changelog:
Spoiler
  • Added support for Quick Load (requires the included Advanced Save Handler plugin).
    • This allows the game to load the latest save file and start the game.
    • Supports RPG Maker MZ’s Autosave slot.
    • The feature is accessible on the Bootstrap by passing the --qload command line argument.
  • Added a “Player friendly version text” to the customization tab.
    • This is intended for an upcoming feature. If you have a custom launcher made by me, it will use it to show the game’s version better.
  • Updated dependencies for better performance and stability.
  • Slight to moderate reduction is space usage.
  • Slight visual update to the tool and assistant.
  • Slight update to the bootstrapper’s design.
    • If an image is in the game files, it will function as a splash screen displayed until the game starts.
  • Starting with this release, the following changes to the default settings will be applied:
    • The option "Create Proton compatible builds" (used to create Steam Proton compatible builds) is enabled.
    • The “Protect JavaScript Source Code” is turned on.
  • Technical improvements for downloading the required files.
  • Updates for Advanced Save Handler:
    • Support for the XDG variables (used on Linux systems to establish standard folders).
      • Support for XDG folders will be added to the bootstrapper in a future release.
    • [RPG Maker MV] Added the option to use Brotli compression for saves.
  • Fixed the following bugs:
    • [Bootstrapper] An error occurs if automatic removal of game files upon closing is disabled due to task misfires.
    • The absolute path was set, if you pressed “Browse” and selected the file on the Metadata Editor.
    • [Bootstrapper] Related to the first bug, if an updated version of the game comes with a new folder in one of the packages, the app would throw an error that part of the path is missing.
    • [Cook Tool Plugin] Sometimes, the game would just close due to an error in how it gets the required information.

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