Skip to content

Releases: Nenkai/Bakery

2.0.1

Choose a tag to compare

@Nenkai Nenkai released this 17 Apr 16:39
f704d37

2.0.1

❤️ This release was made possible through several weeks of research. If this tool was useful to you and would like to contribute back, consider stopping by and donate on ko-fi!


Changelog

Note

Source release for this version will come later this year/in a few months.

USAGE

This is a command-line tool. You may use the provided .bat files to use it, or a terminal such as cmd or Powershell.

  • FIRST, You must copy oo2core_9_win64.dll from any of the games next to Bakery.CLI.exe. This file is copyrighted & commercial material, it cannot be provided.

Some batch (.bat) scripts are included which can be used by dropping files or folders into them.

  • Unpacking: Drop .cak files into Unpack.bat to extract them into an <name>.extracted folder next to the original cak files.
  • Listing Files: Drop .cak files into ListFiles.bat to create a text file listing all files in that cak file.
  • Baking: Drop any folder into Bake_XX.bat to create a ready to use .cak file for the target game.

Otherwise, CLI Usage:

  • Unpacking cakes: Bakery.CLI.exe unpack-cak -i <path to .cak> - make sure the cake file name hasn't been renamed.
  • Unpacking a specific file from a cake archive: Bakery.CLI.exe unpack-file -i <path to .cak> -f <game file path> [-o output path]
  • Packing a cake: Bakery.CLI.exe pack -i <path to folder> -v <version> version is 9.2 (24)/9.3 (25) or 9.9 (26). Earlier is untested.

Note

Arguments wrapped in <> are required and [] are optional.

A hook is provided for K26 enabling support for custom cake files in a mods folder. Extract the contents of SimpleCakeHook.zip to the game directory. (The loader used is Ultimate ASI Loader. This should be compatible with other means of modifying the game provided they do not use a custom loader. Ultimate ASI loader uses .asi (renamed .dll) files sitting in the scripts folder).

Changes since 2.0.0

  • fix: baking encrypted cakes would produce invalid files depending on their names
  • bug: output argument was erroneous
  • misc: added list files batch scripts

Changes since 1.0.1

  • branding changes: CakeTool is now known as Bakery.
  • archives: support for K26 Archives.
  • archives: support for printing file lists out of cake archives
  • archives: support for extracting files with an extra layer
  • textures: support 3D texture, cubemap & array texture extractions. You can use this tool to preview those dds files.

DISCLAIMER

I hold no responsibility for anything that you do with this tool. This extends to extraction, alteration and tampering of certain files.

2.0.0

Choose a tag to compare

@Nenkai Nenkai released this 16 Apr 19:13
f704d37

2.0.0

❤️ This release was made possible through several weeks of research. If this tool was useful to you and would like to contribute back, consider stopping by and donate on ko-fi!


Changelog

Note

Source release for this version will come later this year/in a few months.

This is a command-line tool. It must be used using a terminal such as cmd or Powershell.

  • You must copy oo2core_9_win64.dll from any of the games next to Bakery.CLI.exe.
  • Some batch (.bat) scripts are included which can be used by dropping files or folders into them. Drag any cake file into the Unpack.bat file to extract it.

Otherwise:

  • Unpacking cakes: Bakery.CLI.exe unpack-cak -i <path to .cak> - make sure the cake file name hasn't been renamed.
  • Unpacking a specific file from a cake archive: Bakery.CLI.exe unpack-file -i <path to .cak> -f <game file path> [-o output path]
  • Packing a cake: Bakery.CLI.exe pack -i <path to folder> -v <version> version is 9.2 (24)/9.3 (25) or 9.9 (26). Earlier is untested.

Note

Arguments wrapped in <> are required and [] are optional.

Changes since 1.0.1

  • branding changes: CakeTool is now known as Bakery.
  • archives: support for K26 Archives.
  • archives: support for printing file lists out of cake archives
  • archives: support for extracting files with an extra layer
  • textures: support 3D texture, cubemap & array texture extractions. You can use this tool to preview those dds files.

DISCLAIMER

I hold no responsibility for anything that you do with this tool. This extends to extraction, alteration and tampering of certain files.

1.0.1

Choose a tag to compare

@Nenkai Nenkai released this 03 Apr 17:09

1.0.1

This is a command-line tool. It must be used using a terminal such as cmd or Powershell.

Changes

  • fix: packing would fail (due to some odd issue with being compiled as release)
  • fix: ensure to clean up temp dir if it exists.

Features

  • Cake extraction (20 -> 25)
  • Cake building (24 -> 25) with support for building textures with any DDS texture format.
  • Hook for modding - refer to requirements below.

Requirements

  • .NET 9.0
  • oo2core_9_win64.dll - grab it from one of the game's directories and place it next to the tool.
  • (K25, might be broken) For the hook - grab Ultimate ASI Loader (Win64, dinput.dll) and insert it in the game's directory. Download SimpleCakeHook.asi and place it in a scripts folder. For modded cakes, these go in a mods folder.

If this tool was useful to you, consider stopping by and donate on my ko-fi!

1.0.0

Choose a tag to compare

@Nenkai Nenkai released this 03 Apr 14:29

1.0.0

Initial release. For usage, refer to the read me/main page of the repository.

This is a command-line tool. It must be used using a terminal such as cmd or Powershell.

Features

  • Cake extraction (20 -> 25)
  • Cake building (24 -> 25) with support for building textures with any DDS texture format.
  • Hook for modding - refer to requirements below.

Requirements

  • .NET 9.0
  • oo2core_9_win64.dll - grab it from one of the game's directories and place it next to the tool.
  • For the hook - grab Ultimate ASI Loader (Win64, dinput.dll) and insert it in the game's directory. Download SimpleCakeHook.asi and place it in a scripts folder. For modded cakes, these go in a mods folder.

If this tool was useful to you, consider stopping by and donate on my ko-fi!