Jump to content

how do I put my repacked folder file containing .ks files into the game .exe?


alpeel

Recommended Posts

I'm trying to translate True Remembrance. The game is in .exe form, I can open it with GARbro and see multiple folders, one of which is the "scenarios" folder that contains multiple .ks files. I accessed and edited a .ks file, but can't quite figure out how to put it back in the game. 

Link to comment
Share on other sites

  • 2 weeks later...

I am not sure if this will ever be read, but maybe it gives someone a few hints.

Don't know much about GARbro, but your game uses the KiriKiri 2 engine. You know this since there is a "plugin" folder with krmovie.dll and some other .ddl files that are important for KiriKiri. Also, if you inspect your .exe with a Hexeditor you should find this string here:

TVP(kirikiri) for win32


If I remember this correctly, KiriKiri 2 engine offers a few distribution formats: In most cases, you have to pack your ks files and all the other stuff into archive files (XP3 files) and distribute these together with the krkr.exe file. Or, alternatively, you bundle everything together in a standalone .exe file (called PEXP3), hence just one .exe file and no XP3 files. For your game, the second option should be the case.

In the original KiriKiri SDK (not available anymore since many years), there was a tool called krkrrel.exe or something like that you could use to create XP3/PEXP3 files, but I guess the newer KrKrZ should have something similar. If not, just look if you can find a copy of the old SDK.

Link to comment
Share on other sites

  • 1 month later...
On 2/11/2023 at 9:20 PM, Sinned said:

I am not sure if this will ever be read, but maybe it gives someone a few hints.

Don't know much about GARbro, but your game uses the KiriKiri 2 engine. You know this since there is a "plugin" folder with krmovie.dll and some other .ddl files that are important for KiriKiri. Also, if you inspect your .exe with a Hexeditor you should find this string here:

TVP(kirikiri) for win32


If I remember this correctly, KiriKiri 2 engine offers a few distribution formats: In most cases, you have to pack your ks files and all the other stuff into archive files (XP3 files) and distribute these together with the krkr.exe file. Or, alternatively, you bundle everything together in a standalone .exe file (called PEXP3), hence just one .exe file and no XP3 files. For your game, the second option should be the case.

In the original KiriKiri SDK (not available anymore since many years), there was a tool called krkrrel.exe or something like that you could use to create XP3/PEXP3 files, but I guess the newer KrKrZ should have something similar. If not, just look if you can find a copy of the old SDK.

Very cool. Thank you for this!

A little off topic, does this Hexeditor method also work while finding what kind of engine other game built in?

Link to comment
Share on other sites

  • 1 month later...
On 1/31/2023 at 10:56 AM, alpeel said:

I'm trying to translate True Remembrance. The game is in .exe form, I can open it with GARbro and see multiple folders, one of which is the "scenarios" folder that contains multiple .ks files. I accessed and edited a .ks file, but can't quite figure out how to put it back in the game. 

What encryption scheme did you use for GARbro on True Remembrance?

Edit: Nvm, figured it out.

Edited by chalko3
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...