Comments (10)
I haven't tried that. When I translate it into Chinese, I kept line limitations as it is. It's more beautiful, isn't it?
from fuckgalengine.
Even if you can increase the limit, there will always be some words broken off.
In your example, the word positive
may be complete after increasing the limit, but the word result
will be broken off at the same time. You can not determine which word will be at the end of line.
And the text will not be at the center of the game window, which makes it looking ugly.
My tools includes paz package extractor (fuckpaz) and game exe hooks (MinoriPatch), fuckpaz works no matter what language you are working on, and MinoriPatch support chinese which means it supports engligh theoretically. The only thing is that MinoriPatch has many hard code address which only aims to the newest game of Minori (currently Trinoline). Besides if you want to translate a game completely, you may also have to modify the exe file.
from fuckgalengine.
@imKota
or... you can browse through commit and revert the changes by yourself
666323e
from fuckgalengine.
-
You use SetDll.exe to modify the game exe file, then the game can load MinoriPatch.dll.
Command like:setdll /d:MinoriPatch.exe 12eve.exe
-
For scripts, unpack
scr.paz
usingfuckpaz.exe
, you get a lot of*.sc
files, then you usesc_text_out.py
to extract the text intotxt
files.
After translated, you usesc_text_in.py
to import the text back intosc
files.
Finally, you usefuckpaz.exe
again to pack thesc
file intopaz
package. -
For images, there are two types of images.
-
a. Images in
sys.paz
is simple, you just unpack thepaz
, modify images, then repack. -
b. Images in 'bg.paz' is a little complicated. You have 3 ways to deal with it.
i. Just give up, since there will be only a few images which have Japanese text, and there will be script which you can translate showing under the image when you play the game. I suggest you this way.
ii. Just repack using 'fuckpaz.exe', this will make the repacked package very big, but it works.
iii. Replace the only the image you modified. This will be a hard way. First you usePackCnBg.py
to pack the modified images, you must keep thepng
format, include its' channel count. The packed file will becnbg.paz
but it's not a realpaz
format file. So the game can not parse it. You have to patch the game to make it works. Code is inMinoriPatch.cpp
. You can use hard code address in commit which @0xh3LL0 provides. Just replace the address in the newest code with the ones in that commit should work.
-
I changed the repacked package name, plus
cn
prefix just for making the old Japanese game can work at the same time. If you do not care about it, just comment the code about hookingCreateFileA
-
There are some features in
MinoriPatch
which you may not want, like showing original Japanese once press Tab. Just comment the code.
from fuckgalengine.
Reusing my patch is a clever way, surprisingly you can find it!
You should have found that the file name format is different between yours and mine.
Do not append folder name before filename.
Just place modified bmp file in a folder named cnbg
, then run PackCnBg.py
outside of the folder.
from fuckgalengine.
@Inori Another question, sorry.
In the committee that indicated @0xh3LL0 there are no addresses for the latest version of the patch.FuckGalEngine/Minori/Minori/MinoriPatch/MinoriPatch.cpp
Line 546 in b76ba86
void pSavePngName = (void)0x0046AC1C;
FuckGalEngine/Minori/Minori/MinoriPatch/MinoriPatch.cpp
Line 668 in b76ba86
void* p_old_png_read_info = (void*)0x004C1650;
How to deal with this?
Well in old version of MinoriPatch
, I use bmp
format for images in bg.paz
.
Recently I changed it to original png
format.
If you use the compiled version of my old Chinese Patch, you just use bmp
format as I described above.
If you want to compile the dll yourself, maybe you have to find the address yourself, since there's no history commit about this.
from fuckgalengine.
Your old compiled patch (which uses bmp) does not load cngb.paz. I downloaded the release, and it all works (translated into Chinese scripts, menus, etc.). But the modified CGs don't work.
Well I don't think so. Do you mean that my original cnbg.paz
do not work?
You will not believe it, I do: D
It's the fault of your MSYS environment, use Windows cmdline instead.
from fuckgalengine.
@Inori can you write me in telegram or another real time chats?
To not flood here xD
I'm on my holiday of Chinese New Year, and I only have a MBP on my hand, which can not run windows programs.
Maybe I can provide you the address when I return.
from fuckgalengine.
I'm on my holiday of Chinese New Yea
Happy New Year !
And sorry to bother you.Maybe I can provide you the address when I return.
Thanks in advance, I will wait!Tell me please, do you plan to do what I wrote above? Adapt the latest developments for other novels, and create branches for them.
Thank you very much!
You really helped me out.
If you have worked out all the problems, you don't need the addresses anymore. The file name can be changed by modifying the binary content of MinoriPatch.dll
, you can search cnscr.paz
and change to ruscr.paz
for example.
I do not have a plan to create branches for other games, I will only support the newest game I'm working on :) . Many addresses can be found in history commits, although it's a little complicated. :(
from fuckgalengine.
@Inori Well, I got it.
Thanks for the work you've done!
You're welcome.
from fuckgalengine.
Related Issues (20)
- IGPatch vertical font fix HOT 13
- deleted HOT 2
- deleted
- deleted
- AseetStudio (for Unity)
- CMVS Engine HOT 1
- Have no idea about finding minori dat_key HOT 5
- ahdprc 导入汉化文本的问题 HOT 3
- Need help for PSV air prototype .dat picture extract HOT 1
- KaGuYa Engine - How to unpack tblstr.arc files? HOT 1
- PJADV encode
- FuckGalEngine\Krkr\XP3Viewer-121113项目不能正确编译
- I get garbled text when I translate *eden*.
- Hello,please help me unpack and Repack .pna HOT 10
- Problem with test. sc in Soreyorino and other games (Minori)
- PackNameTxt HOT 2
- igscript 的实际指令格式 HOT 1
- FuckGalEngine-master\Silky\AkbTool \png.h is missing HOT 3
- ExHIBIT How To Get Key HOT 2
- fuckpaz: ef - first tale,ef - latter tale problem
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuckgalengine.