-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NekoPara tpm extraction doesn't work #2
Comments
This extraction tool is really old and I'm positive the .tpm files in NekoPara aren't the same format as anything this supports. |
Well they still have the exports V2Unlink and V2Link, so I guess the x3dec module inside the kirikiri engine hasn't changed much. |
It seems you can't open the "newer" xp3 files. 16:34:17 Script exception raised |
and if this nekopara_v1.tpm is the key "signature" encrypted so that the executable has the key to uncrip the tpm..., the engine may generate a key time and using it saves the encrypted nekopara_v1.tpm with her and same key and save the executable. .. hence the error reason to try to start with another executable ... Sorry, my English is not so good ... kkkk hope of to understand |
Afaik the tpm doesn't get encrypted or decrypted, as i understood from browsing around the Internet, tpm IS the decryption algorithm itself. But I may be wrong. |
nekopara_v1.tpm is located in plugin |
Ohh, and this Tpm is a .dll file but another extension.... |
Yes tpm is a dll and dlls in general are non executable. |
This indeed interessting, I'll take a look at it, looks pretty much what i talked about. |
Hello, i speak little english,hope you understand , i want traslate this same game, i use all tools of xp3 files, NvTools , xp3 Tools,Crage and more, i dont know if i dont use correctly or that? TT-TT |
The Nekopara don't use the KrKr2 Engine.. is KrKrZ |
Even then extraction could be added, but it's quite hard to understand how the engine works, if you don't speak Japanese. |
@Fighter19 Are you try with fuck tpm? https://github.com/regomne/chinesize/tree/master/kirikiri2/FuckTpm See this http://prntscr.com/686mnj |
i can't compile the FuckTPM, you have the library to compile the source? |
They are just the translated version of another project (from Jap to Chinese). It doesn't work with FuckTPM it can't inject properly. EDIT: As far as I remember when I had a look at it, koisakura was the project which did pretty much the same, but I think what has to be injected has to be changed as well, and the opcodes weren't documented properly, so I don't know what they try to achieve. |
I think the best way to translate the game would be in an external way, since it is impossible to do it within the code, on the other hand this would be similar as the following image and the code that will use would be "java" or "c ++" since these are used by windows. http://bit.ly/1vpWqSB (spanish) |
steins;gate? for xbox? but pc is possible |
it's good.... :/ you can try if the game support this chars? |
The best free program is called Cheat Engine, however I would write you a script so you only need to write the text file. And yes, the characters are supported by default so no need to change the font, better contact me now in freenode irc (send messsage to /msg Fighter19), as this is now Off-Topic |
Hi guys I have good news, having lasted many hours looking for online methods to translate this game I came across a program called "Visual novel reader" which provides the facility to translate game (if there is already a translation) and try with nekopara version English and did not work, however to change Japanese language and to this work = D but translations do not make much sense, I think that there is a way in which you can add translations manually here is a screenshot and the link of the program. Link: https://drive.google.com/folderview?id=0B3YXxE6u-4bzc1RKWHpoLWZROTQ |
@Fighter19 What is the name of Program? |
It's not a program yet, I manually edited Memory to show a method on how to WRITE a program or script. All you have to do is to acquire the pointer of the text section then overwrite the text there with your own text, but right now, the limitation is that you can't change the size of the written text. However if I take my time I can find the value which indicated how many characters a text has, then manually change them. After done so, I could dump the information of the dialogue (to a file) then translate them. A custom script would then handle injecting the correct translated data into the game (it looks like a chapter has it's own text). This script will run Nekopara than patch it automatically in the end. But your program looks like a nice universal workaround. Also I can't promise I manage to finish the script as it takes quite some time for a newbie like me (I've only done more little things before, here I actually have to write a tool which parses information) |
i understand, but when I do the same with the cheat engine, for example I'm looking for "i wipeed the sweet off..." the result are hexadecimal codgios, and if I want to change them, idk that i do as it would happen texts to hexadecimal codes? D: |
Example |
You need to do a text search (also mind capital letters), also for now, you won't come far with doing this in RAM as after a restart of the game, the changes are undone, you can however begin to translate it in a file which is dumped. |
http://vn.i-forge.net/tools/#arctool See this? and this http://bit.ly/1DbUJ92 (spanish) |
in this way, you can create a dll that is injecte automatically usign cheat engine. |
Can you send me a picture that how do you do this? |
Currently, I'm working with krkrz engine.And here are some of my suggestions. There are this structure of PSB file: I'm so sad that those strings are 'sorted'.( It means the order in this script isn't same as game |
Thank you for this useful information! |
There's not much point decrypting Nekopara to translate it into English by the way as it's already available in English from dlsite. |
I have the Steam version, it comes with English, Japanese and Chinese. However there are other languages as well, which could be supported by the community. |
here i find to portuguese brazilian translation project.. |
hello again @Fighter19 ^^, man, i remove the nekopara protection... |
Interesting however I found out, that the Key is stored inside nekopara_vol1.exe. The protection is trivial, I just lack the skill, and the time to reverse it (I even found the location where the decryption takes place). As far as I know the protection it self isn't even stored in a TPM (in comparison to what I thought first), however you being able to remove the file should show it i think. It is an XOR (quite primitive encryption, if you can call that encryption) which loops through the section which uses a specific key, much like in Fate/Night (afaik). |
man, you know how can edit the ks.scn files? the xmoeproject don't say how the offset tree work bellow |
As far as I know scn files are encrypted, so you were able to get some? |
Ah, well, they definitely have the strings. Is there a section which contains some gibberish / unreadable symbols. There might be the offsets, length or pointers stored for the strings. Make sure those symbols don't make sense in Chinese or Japanese (set the encoding respectively) |
hm... encoding... well spoken, can say the encoding.... allways i viewn here for sample: 「もうちょっとしたらあんな風にちゃんとしてくれるのかなぁ?」 and english: %fSourceHanSansCN-M;「%f;No! If that's the case, then Chocola will sleep on the sofa!%fSourceHanSansCN-M;」 hex: |
ohh, upoad end here, if you like download, only request |
huh, for me it looks like you successfully extracted the files. With which tools? :O |
after decrypted... hm... any works, arc_conv, AE, KiriKiri, xp3_upk, it's raw xp3 |
the game with xp3 raw format: |
Great! i want to translate this game for spanish thanks |
@marcussacana Can you not share things like this on the project page? I'd like to not get the repo taken down; thanks. |
@lioncash I totally understand that for the decrypted files, but not for the tool, well. |
If it's the just the tool, that's fine (@marcussacana can re-add the link in that case, and I apologize in advance if one of the links was solely said tool). |
is the game setup, my normal reaction on view any user removing download links because the laws it's only repost kkkkk, but in this case i don't like affect the lion, he post tools for any people and help any people, he have my respect for this, he could have asked to i remove the url... anyway if a visitant read this issue discussion, only add-me on skype: live:ddtank.marcus or send-me a email for: ddtank.marcus@gmail.com i send the download link again |
tpm files are dll plugins for krkrz. It dosen't make scene wheather the My tool(KrkrExtract) 2015-09-16 23:39 GMT+08:00 marcussacana notifications@github.com:
|
and @xmoeproject you know about the psb emote format? |
@marcussacana It was me, who sent you the url, you know littleFIGHTER19 ;) |
kkkkkkkk wtf, i'm cofuse now... kkkkk |
please tell us where, which files stored text! how to add, and then how to run with my change! |
you only can translate, you can't mod the nekopara because he use compiled scripts, in others words... it's a binary file, in the scn folder... |
I compiled the program from source, however I couldn't do so with Debug flag (I used VC2010)
It complained about zlibd.lib not being found, I checked the project settings zlibd wasn't referenced, so I think this is some kind of VC habit I don't know (I'm not really developing with VC).
Decrypting doesn't work (at least I assume so), also tried with other xp3 extraction programs
(No files are listed)
I could provide an exe together with a tpm file.
Or I could do the debugging part myself, if I only knew how to get to break the algorithm (would be great to do a documentation so other people can contribute as well). I'm like a starter in Debugging on ASM base.
Adding a new tpm file to the directory will make the game crash with the reason of a parsing error.
The text was updated successfully, but these errors were encountered: