arcusmaximus / vntranslationtools Goto Github PK
View Code? Open in Web Editor NEWTools for translating visual novels
License: MIT License
Tools for translating visual novels
License: MIT License
Can you implement these two engines? I got cpp code for it from the Internet, it dumps/inserts Silky's engine properly, creates line breaker with \n. The problem it can't dump Ai6win properly, some of the scripts are not extracted, can't insert too. I included the script of link(Ai6win) in the zip
mestool.zip
I'm trying to port the old English version of Desire to remake version using BGI, but some scripts can't be extracted. I've also included the ._bp files if you need them
script.zip
New version of Silky engine I guess, scrips are not in .MES anymore only code there, real scripts are in .MAP in data.arc
.Map is used in this and steam version of Doukyuusei-Remake
This is the script of Doukyuusei-Remake. I only need to get the English script out for translation.
Silky.zip
I am having an issue with encoding during insertlocal. I do not have this issue when I try to encode the files with BGIKit's ScriptEncoder, but I'm still trying to figure out what I'm doing wrong here. I first used extractlocal to spit out the script.xlsx file, then ran it again after editing the names in names.xml, then I ran insertlocal with that script.xlsx using the syntax VNTextPatch insertlocal \orig script.xlsx \patch where C:\Orig contains one of the original script files, ev0010.bgi. The command works in that it spits out ev0010.bgi into C:\Patch, but when I open it in EthernelEditor, there are some commands missing.
Below shows the original file (left) and the encoded file from insertlocal (right) in EthornellEditor. Scene and BGM commands disappear during the encoding process, and the IS_ECG102_s01 command gets duplicated at the beginning, replacing _FadeBGM. The game files are from Ima Sugu Onii-chan ni Imouto da tte Iitai!.
Hello, I'm translating café stella to shinigami no chou to my language and I tried to use yours tool because are nicer for translating, but I got some errors. First one is that the tool try to process the .ks.scn files but gets 0 lines and process stop, no .xlsx is created. Then I tried to compile and decompile the scn with another tool and this time the scripts were procesed but with this result. I don't really know the origin of this, would you please check it? Here's some scripts.
scripts.zip
Also for scripts with multiple languages, is there a way to extract text for only one language like english for example?
I got an error when extracting script from .BGI
"The given key was not present in the dictionary."
I wonder why this happen?
Hello, arcusmaximus
I'm trying to translate Moto Yankee Tsuma Hinako to Thai language.
I'm using VNTextPatch to translate and wondering how to use VNTextProxy
After I translated some text into Thai and put the file in the game folder to test and this happened
I wondering how can I add a custom font Cordia New in to the game?
Hello maximus,
Your Yu-RIS Word-Wrapping tool has been working for me flawlessly for the last vn that I had shown you, but I also found out with your tool I can also work with my favorite Vns - Clock Up titles - however I am having a slight issue with it, it has some weird two-character spaces after every link-break - this is what I am talking about ――
Here's some better examples ――
I tried both Monospace and Proportional but nothing seems to work or maybe I am doing something wrong. I hope to you if you have any solution to this or maybe something needs to be changed like the fonts etc. This is the VN I encountered this issue - https://vndb.org/v18806 , Once Again thanks for this amazing tool!
Thank you and best regards,
xenei
For Golden Marriage I already checked the .exe, and there is reference to d3d9, also tried using locale emu function, but I didn't worked, so I don't know if this engine is incompatible or is just my game or something else. (AdvHD)
For Shukusei i also used d3d9,dll and it worked for font, but It didn't worked SJIS tunneling. (Whale Engine)
sjis_ext.zip
By the way, this is just a question, I tried using VNProxy with Doukyuusei English Version, but It seems this version It uses Images to display chars, so I was wondering if you know a possible solution or maybe someone else.
So I can dump the script from Csystem(tinkerbell)? but how can I pack it back to the .dat format? Or does the game can read from specific folder?
Do I need to modify something besides the files from "AlternateProxies"? Since I get an error because this line
Btw, I get the same error when I try to compile as "release" even with the original files (d2d1)
log:
VNTextProxy.log
For BGI, you say tool expects .bgi. Should I rename the files to add the .bgi extension for the .exe to run?
Thank you for the great tools.
This is not an issue, but a feature request.
Is it possible to add support for JSON format? I mean, dumping the translatable texts into the excel spreadsheet is great and all. But dumping the scripts into JSON files will allow the translators to work it through automation easily to their desired CAT tools. Not to mention the elimination of the dependency to Microsoft products.
Hi, I'm trying to extract kirikiri files to translate them, but I'm having a hard time because I don't have Excel installed locally. Having an extractgdocs
command to go with the insertgdocs
command would be very useful.
Hello. Is it possible to implement the .abs script found in Artemis Engine? I know that VNTextPatch already has support just plain Artemis .txt, but these scripts are compiled. I personally never saw these scripts in any of the VNs in that engine, but at least one has them and it's a new version of Aiyoku no Eustia on Artemis Engine.
Here sample: aiy00010.zip
I studied the script a bit, and found that each line of text has a data tag preceded by a string size in bytes. Through the hex editor I made the string longer, and then changed the size of the string. As a result, the game does not crash, and it displays the changed string, which is longer than the original string (if you do not change the size of the string, the game crashes, which is logical). About other strings, such as character names and choices I do not know, but I think there is also just a string size. All text is in UTF-8.
Hello, thanks for the new update for the Silk's .map format. I tried to use it but got unexpected message index error in the process after decompile a few scripts. I tried first just with the english scripts of https://vndb.org/v26000 and then with japanese, english and chinese all together (from the english release).
scripts.zip
I'm requesting a possible implementation of the Amuse Craft/Softpal engine. The engine doesn't seem to have changed too much when the company rebranded to Amuse Craft.
I've tested out another tool developed by AyamiKaze that deals with the text.dat file, and it works in terms of extraction, though given how the text is put in the file it just spits out all the text into a single document. The tool claims to rebuild the text.dat file as well, but I don't see a way how to do that. This tool borrows code from another tool developed by number201724, which has been deleted just a couple of weeks ago, but forks still contain most of the code.
There's also marcussacana's UnisonShiftManager which can deal with the text as well, but the readme mentions this engine uses script offsets (jump points, I believe?) making it unusable in most cases.
Since USM mentions script offsets, the VN I am specifically requesting is Koi Suru Kokoro to Mahou no Kotoba. Here's the text.dat file if it is needed. Please tell me if there's anything more needed.
Can you add support for .s files from Innocentgrey engine? As far I seen, that's the extension of the scripts in titles like Flowers.
Hello, Is it possible to add support for TmrAdvSystem game-engine? the archive format is .pac and script files are format-less, though Garbro shows them as .srp and .var for system files; which also has some important text for the game, this game engine is mostly used by Lune titles - https://vndb.org/p490 -
Here's a reference - Link
The attached link for the reference can only extract but can't repack to .srp and .var
EDIT: Here's an sample of the script files and system files -
garbro.zip
Thank you.
Hello. I want to ask, is it possible to edit encrypted .ybn files through VNTextPatch? Just, I found out that the files are encrypted with some key, but I don't know what kind of key and where to get it. I need help. Thanks in advance.
I get this kind of error in some VNs when patching script
"Lists don't have equal number of items"
I wonder what's the reason of this error? and how to fix this?
below is the script.
Hey @arcusmaximus,
Last time I made a issue about how there's certain 2 letters gap after Line-breaks which is indeed weird, and you suggested me to decompile then find and fix it...
But I finally figured out what the problem is! It is either the repacking of the scripts or I think your tool is doing... Because I manually edited the game and there's was no weird gaps, here's the proof -
So the pic above is the one with your tool, you can see the weird gaps...
And here this one is mine, which I edited and manually added \r\n then repacked using one chinese tool (which doesn't work with clock-Ups..) and the result is -
As you can see the problem was not that the company modified their scripts but something that your tool is doing it (please don't take this offensively)
the game I tested here is this - https://vndb.org/v16133
Now I humbly request you to please look into this matter because I think something is wrong with repacking script, And your tool is the only tool that works with Clock-UP Vns...
Note:
This issue is happening with some particular VNs only so it is not that the Repacking script is entirely doing anything wrong, but with VNs like this; something sure is wrong here with the tool
Thank you and best regards,
xenei
Hello, sorry for inconvenience, I wonder if is possible add support for HorkEye Engine's scripts. I tried to extract arc.dat of one game but I don't know the file extension of the scripts, and there's not really many tools that support this engine (and some one them are quite complicated to understand for me) I'm attaching one script here just in case, also the game is this one, it's for a translation project. Thank you in adavance https://vndb.org/v22880
00001D3587EF8E0F46D43.zip
When cloning the solution and trying to compile in VS it says that FreeMote.csproj can't be found. 2 of 6 projects can't be loaded. The FreeMote folder is in fact empty.
Can you add a support for .spt files from the system nnn engine? at the moment only exist a tool called gsspt but only works with short novels made in that engine in long novels for example sadistic blood this tool doesnt work
i know that the game use a xor encryption with the key FF in all the bytes but i stuck there i don't know how to continue so if you can add support to that files i really appreciate it. oh and the source code of systemnnn is here on github, thanks.
Can you add a support for .sc files from the musica engine?
Hello, I want to ask how to use this tool.
Should I download your whole code and place them somewhere? I tried that but only managed a not recognized as an internal or external command. Which file should I execute? Should I add your code folder to PATH etc? Platform: Windows
Hello maximus,
I've been working on a Yu-RIS engine title since forever.. I recently found out about your tool for Yu-RIS engine, but I don't any issue with getting the text or re-inserting them back. I however have a issue with Word-wrapping for Yu-RIS engine, It only accepts " manual spcaes " such as -
And for a normal person without any proper background on coding I don't have any work-around without doing them manually which in the long run will probably exhaust me.
So I am here kindly requesting you, if you can make a work-around or tool that can add spaces and fix Yu-RIS word-wrapping problem. The VN I am working is this - https://vndb.org/v23179
Thank you, and best regards,
xenei
After compiling, I get the following error:
C:\Users\shant\source\repos\arcusmaximus\VNTranslationTools\Build\Debug>VNTextPatch extractlocal \Folder script.xlsx
Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
I've looked up the issue and changed Target CPU to x86 (as recommended here) but error still persists.
Any help would be much appreciated, thanks :)
Sorry for the second issue post in the same day, but I got this error in a game that I'm translating atm. Engine is Kirikiri Z core and the file format is .ks. I tried reading old issues and I know that error would appears because too many characters (as the message error says) and by changing some things like " / " to "/". I checked my xlsx and there's not that kind of errors (I also tried to limit the characters writen) but the process still stops always in the third script, script that, needed to say, I haven't worked in at all. Could you take a look on it please? This is the game just in case: https://vndb.org/v28644
and I'm also attaching my xlsx and original scripts.
scenario.xlsx
scenario.zip
PD: Program still resambled the first two scripts, I repacked them and works perfectly (just some wordwrap errors, but I think that's because the difference between the characters in the line translated and the original).
After compiling succesfully and trying to use the executable I keep getting the error "Der angegebene Schlüssel war nicht im Wörterbuch angegeben." which loosely translates into the issue title. I am trying to extract sakura no uta for translation purposes. My input is:
VNTextPatch.exe extractlocal "C:\Users\xxx\Desktop\arc_files_for_extracting" "C:\Users\xxx\Desktop\arc_files_for_extracting\output" --format=ethornell
Output:
data01100.arc
Der angegebene Schlüssel war nicht im Wörterbuch angegeben.
It's caused by Freemote, can you share the freemote folder you use?
https://imgur.com/a/YPzMeQ4
I'm having trouble extracting the script files for 放課後シンデレラ and Pure x Connect - Full HD Remaster. "The given key was not present in the dictionary"
I've attached the ._bp files and two script files for 放課後シンデレラ.
放課後シンデレラ.zip
Hi!
I'm trying to reinsert translated text with spanish characters in a SystemNNN game, Clover Toshokan no Juunintachi. The text shows almost perfectly, but the spanish characters appear as a circle.
I've followed the instructions and, after replacing the .spt I unpacked and repacked using the TextPatch tool, put these files in the same folder as the .exe of the game:
ARIAULUNI.TFF (the font, Arial Unicode MS)
d2d1.dll
sjis_ext.bin
This game has a nnnConfig2.exe file that lets you choose a 'custom font', but only accepts japanese fonts. Even if I choose a font which should have spanish characters (such as Tahoma or Arial Unicode MS), those characters still won't look as intended.
Hi..
I get "Too many lines in translated script" error during insertlocal command after I'm done translating script.xlsx
What's wrong and what should I do?
In the game Clover Toshokan no Juunintachi you can choose a name for the protagonist, so in the script the name appears as #名 but in-game it's supposed to show the name the player wrote in the name input screen.
However, when I reinsert the text, the name of the protagonist simply shows as #名 instead of the chosen name. Also, it's probably not recognised as a name, since it doesn't show in a different textbox as it actually should.
So, I'm done with TL,
Now I need to repack ybn files to ypf
GarBro give me error "Encryption key required for archive creation", do you have any tips?
I also use other tool such as
https://github.com/crskycode/YPF_Tool and https://github.com/fengberd/YuRISTools , both give me error when starting the game.
How do you repack ybn back to ypf the right way?
It's difficult for non-C# experienced users to build a release on their own.
I'm requesting a compiled release for users who may be technically experienced to use the product but not have the know-how to compile a C# project.
Please let me know if there is already an executable in one of the folders that I missed out, thanks.
Can you add a support for artemis engine?
In Kangoku Academia (https://vndb.org/v19830) , I check that inside *.pfs, the script extension is only *.txt , which I think should be easy to implement in VNTextPatch.
Hello, I was testing the tool with a game based on Qlie (.s) and got this problem, it doesn't extract text but weirdo characters. It looks like this happens because the original codification of the text in the game, that is shift-JIS.
Tested with: Biman 3
Scripts for reference:
scenario.zip
ysbin.zip
the name of the game is リンカーベル・アカデミア 落第魔女とヒミツの儀式 (removed the ~)
there are two problems,first is the ??? (name) should be on top of the text not on the same row,the second is the ? at the end,some random lines have a ? at the end
(p.s. human translation)
I'm testing new feature of vntextpatch to extract .scn with multiple languges like on 9-nine steam version, but it gave that error.
input.zip
Hello, today I tested the tools with ArcGameEngine (eushully games) and found some things that in fact aren't a big problem (depeding of the person) it would be nice to adjust. It seems the program divides the dialogue lines, the words with furigana and the furigana itself in diferents lines, making this as result:
While sometimes furiganas in this kind of games are useful, there's times that are pretty usuless in a translation, and since one line alone can be divided into 3 differents line, there are times when script can turn in a mess and more in eushully games where are a high amount of furiganas. Is possible to divide the furiganas in a separate columm and merged the original word with its proper line? Tool tested on Amayui Castle Meister and Madou Koukaku but I'm sure it happens in all eushully games.
I'm attaching some script files here just in case.
amayui.zip
hello, a question, to use it I have to create an exe executable? thanks you
The missing text belongs to the backlog because it is illustrated by imagines
00_op_01.zip
Hello. Could you please add support to the tool for .nut files in the Mware engine? That is the new engine used by Nitro+'s recent games (and not so recent). I'm going to attach some scripts fore reference. Again, thank you.
nut.zip
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.