Jump to content

Kein

Members
  • Posts

    15
  • Joined

  • Last visited

Posts posted by Kein

  1. I've used krkrextract and it works great for Japanese and English VNs but I can't figure out how to decompile certain Chinese ones, two examples are True Love ~Confide to the Maple~ and Fate/Knight Rhapsody. I've tried garbro as well but the xp3s are not recognized as archives. Does anyone know how to remove encryption from these two?

  2. I've found out how to decompile and compile.

    First, Furikiri seems to be the only decompiler that exists for tjs, everything else is a dissembler. You can learn the difference here: https://ulysseswu.azurewebsites.net/post/Furikiri

    The main thing to know is that you can't use a compiler successfully on a dissembled tjs, only a decompiled one.

    I have uploaded the exes here, for people who don't know how to build it: https://mega.nz/#!3HZWTS4L!CFJ2xBI8hhHCPlcLfUz2ySvD725W6MFlg4_4WpSht1o

    To use girigiri.exe open the command line with shift + right click, then type "girigiri (tjs name + extension) --dec", or use --help to see all the commands.

    For compiling, I recommend xmoe's compiler over the official ctjs2: https://github.com/xmoeproject/KrkrExtract/releases (download from releases and the exe will be under Tool Sources)

    After you decompile you also have to change the encoding to UTF 16 (/ UCS 2) LE BOM.

    Like it says on the blog post, the decompiler will not usually work if the tjs is complex but this is the only option, overall I wouldn't recommend doing this if you can use use this instead: https://github.com/marcussacana/KrKrZSceneManager

  3. 12 minutes ago, uyjulian said:

    Did you try to use KrkrExtract to decompile the script?

    Yeah, it seems that is the problem. I've tried using both tjs compliers now on a decomplied startup.tjs that was included with krkr2bytecode and they compile without a problem. So I'm right now looking for a different method to decompile.

  4. 1 hour ago, uyjulian said:

    Is it a half width to full width conversion error? If so, save the script in UTF-16 with BOM.

    All the error says is "error at initialize line 1 Sytnax Error".

    This is what the compiled and uncompiled versions look like, the second works without any problems:

    https://i.imgur.com/7EHjmEn.png7EHjmEn.png

    tW4Ughm.png

    I've tried ctjs2 from here too: http://www.kaede-software.com/2013/02/tjs2_3.html

    But I get this error with Japanese locale: 1NqiePm.png

  5. In short, Kirikiroid2 (an app) isn't compatible with some English releases of VNs because the encryption changes and such, and since the developer's main focus isn't English it can take months for compatibility patches for English releases. English patches work instantly however because it's still the Japanese version. 

    I know how to depack and repack xp3s but is there a guide I can follow to make an English patch from the official English release of a VN for the Japanese version?

  6. 10 hours ago, frc_ said:

    Does the file start with "TJS2" when you open it in a hex editor? In that case, it's not encrypted but compiled. As far as I know, there's only a disassembler for this format (giving you the list of virtual machine instructions), not a decompiler (giving you an approximation of the original .tjs script). That said, only few Kirikiri applications compile their TJS scripts; the only ones I know of are Nekopara and Emote Movie Maker.

    If the file starts with the bytes "FE FE", though, it's a plain text script that got scrambled using one of the three algorithms supported by Kirikiri. I have a program that can reverse these, so let me know if you need it.

    Sorry about the late reply back, this is a screenshot of it opened in a hex editor: 4GaOLyA.png

    There is no TJS2 or FE FE, any ideas on what I should do?

×
×
  • Create New...