Skip to content

Commit

Permalink
Add recom and bbs support
Browse files Browse the repository at this point in the history
  • Loading branch information
Sirius902 committed Aug 12, 2021
1 parent fd8c9ee commit 3e3b400
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 2 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
- Extract ``DINPUT8.dll`` from ``DINPUT8.zip`` to the directory Kingdom Hearts 1.5+2.5 is installed which should be `KH_1.5_2.5`.
- Place your scripts in a folder named `scripts/[gameid]` in the `KINGDOM HEARTS HD 1.5+2.5 ReMIX` folder in your Documents folder.
- For Kingdom Hearts Final Mix the folder will be `scripts/kh1`.
- For Kingdom Hearts Re: Chain of Memories the folder will be `scripts/recom`.
- For Kingdom Hearts II Final Mix the folder will be `scripts/kh2`.
- For Kingdom Hearts Birth by Sleep Final Mix the folder will be `scripts/bbs`.
- The installation is now finished. LuaBackend will be automatically started with the game and can be easily uninstalled
by simply removing the ``DINPUT8.dll``. To verify it is installed correctly, you can open the LuaBackend console using
the F2 key on the keyboard in game.
4 changes: 3 additions & 1 deletion LuaBackendDLL/main_dll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@

const std::unordered_map<std::string_view, GameInfo> gameInfos{
{ "KINGDOM HEARTS FINAL MIX.exe", { { 0x109152, 17 }, 0x3A0606, "kh1" } },
{ "KINGDOM HEARTS II FINAL MIX.exe", { { 0x12BCFD, 15 }, 0x56450E, "kh2" } },
{ "KINGDOM HEARTS Re_Chain of Memories.exe", { { 0x2E28A2, 17 }, 0x4E4660, "recom" } },
{ "KINGDOM HEARTS II FINAL MIX.exe", { { 0x12C272, 17 }, 0x56450E, "kh2" } },
{ "KINGDOM HEARTS Birth by Sleep FINAL MIX.exe", { { 0x4EF242, 17 }, 0x60E334, "bbs" } },
};

namespace fs = std::filesystem;
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ loop effectively eliminating these issues. However, scripts that rely on new fea
are not supported and it is recommended to use LuaFrontend concurrently with LuaBackend Hook to achieve this.

## Support
For the time being, only supports the PC Global versions of:
Supports the PC Global versions of:
* Kingdom Hearts Final Mix
* Kingdom Hearts Re: Chain of Memories
* Kingdom Hearts II Final Mix
* Kingdom Hearts Birth by Sleep Final Mix

Installation instructions are in [INSTALL.md](INSTALL.md).

Expand Down

0 comments on commit 3e3b400

Please sign in to comment.