arcusmaximus / VNTranslationTools

Tools for translating visual novels
MIT License
296 stars 45 forks source link

Index out of array bounds(Csystem) #120

Closed blw1234 closed 1 year ago

blw1234 commented 1 year ago

It seems that the text should be exported well, but even if I put it back intact, it will prompt that the index exceeds the array limit. This is a game https://vndb.org/v13730 In addition, does this engine not support SJIS tunnel? input.zip image

Cosetto commented 1 year ago

Yes, it does support sjistunnel

Cosetto commented 1 year ago

But the problem is old Heiantei game's suck and they just preference dsound.dll which makes thing even harder, you will have to use a program like Setdll.exe to inject another libraries in the exe. Another problem is new dlls cause Heiantei's game to crash, only old dlls from old vntextpatch work.

d2d1.dll is a good example you can try to inject

arcusmaximus commented 1 year ago

Crashes in both VNTextPatch and VNTextProxy for this game should be fixed now. I also added a new proxy for msacm32.dll, which you can use here without requiring Setdll.

Cosetto commented 1 year ago

Tested on another Heiantei's game. Lmao, idk what is the shadow thing, this happens on every game of Heiantei image

Edit: Nvm, it looks like I need to put translation in image

blw1234 commented 1 year ago

The crash problem of this game has been well solved But I also encountered the above shadow problem, and this is also the case in my translated text image

arcusmaximus commented 1 year ago

Doesn't seem to occur with the original Japanese. Can you send an archive file with a translation that triggers it?

Cosetto commented 1 year ago

The crash problem of this game has been well solved But I also encountered the above shadow problem, and this is also the case in my translated text image

Try to shrink the font in the config dSy.dat

blw1234 commented 1 year ago

It seems that I didn't put Chinese fonts in the game root directory. After the font is put in, only the symbol has dark shadow In addition, I also have this problem when using original Japanese games, even if I put Japanese fonts in the root directory of the game image image

arcusmaximus commented 1 year ago

Please try this version, then - it has the character repositioning disabled since you won't need it anyway for Chinese. msacm32.zip

blw1234 commented 1 year ago

The black shadow has disappeared. There are no other problems except that the mapped font is a little small. Thank you very much for your help image