OpenKH / OpenKh

Kingdom Hearts libraries, tools, game engine and documentation
https://openkh.dev
Apache License 2.0
302 stars 83 forks source link

[BUG] - Patching Days/Recoded cutscenes causes Steam versions to softlock #1121

Open Bobbypin12 opened 3 weeks ago

Bobbypin12 commented 3 weeks ago

OpenKH Build 24.10.14.0

OpenKH Program OpenKh.Command.IdxImg.exe

Describe the Bug Trying to patch Mare.pkg in order to mod the cutscene movies (days/coded). If using "EGS" version 1.0.0.8 (pre-June 2024 update) Mare.pkg, all goes well and the mod does what it should. EGS 1 0 0 8

If modding "Steam" Mare.pkg, the launcher gets stuck on an infinite loading screen. The one where its a black background with the heart logo in the bottom right just spinning forever.

Also both Mare.pkg from the newest game versions from Steam and EGS produce an odd error. They will show an "Unknown filename (hash: XXXXXXXX)" in the command line. The newest EGS version will still load my mod but unsure if it will have any unforeseen issues. The steam version will have the already mentioned issue. Latest EGS and Steam

To Reproduce Steps to reproduce the behavior:

  1. Extract Mare.pkg
  2. Find applicable file and make modification
  3. Create folder structure to match what it is in Mare.pkg with the top folder being "Mare.hed_out" and keeping it in loose file format
  4. Essentially, make it as if making any other pc patch file mod but not packing it.
  5. Add Mare.pkg, Mare.hed, and the mod folders into openKH directory so they are in the same folder as "OpenKh.Command.IdxImg.exe"
  6. Open CMD, navigate to where "OpenKh.Command.IdxImg.exe" is and run; OpenKh.Command.IdxImg.exe hed patch Mare.pkg Mare.hed_out
  7. A new "Mare" folder is created with the modified Mare.pkg and Mare.hed
  8. Add those to the "image" folder in the game directory
  9. Boot game
  10. As stated above, EGS is good (aside from the odd issue using the newest version) but steam has the mentioned issue of not booting.

Expected behavior Expect the launcher to boot up without issue on both storefronts