"Wrote past end of buffer in stream" when packging
#4

Quote:
19 hours ago, Ketchup said:




i never never did a translation pack so i have no idea whats going on with your problem. gonna email someone who i know is doing some translations and ask him if he want you come here and maybe help you. in fact i asked 2 translater modders.




Thank you bro.




I did a lot of test for modding my translation mod,here's the final result:




If you create a font mod(translation mod) the modkit will make 4 images with all characters you'll gonna use with 4 different fontsizes.The modkit already limit something,if your characters too many,you'll have to change the image's size bigger,but the maximum acceptable size is:2047x1024!If you choose 2048x1024 or bigger,it's gonna "Wrote past end of buffer in stream
!".





So with the 2047x1024 size,I have to change the fontsize very small(16) to put all my 2500-3000 characters in it.But it's fine,I think I can narrow the characters down to near 1800,so I think this problem is sloved.Maybe the game designer didn't think there is a language have so many characters.





Here is the last problem and it's very important I can't slove so long:





 


<iframe data-embedcontent="" frameborder="0" src="<___base_url___>/index.php?/topic/2299-missing-last-character-when-next-line-in-translation/&do=embed"></iframe>


 




In my translation mod if something is more than 15(near) characters that need to change to next line,the last character of the previous line will be missing.I think maybe because the Chinese character take 2 bytes.




Hope you can help me fix this last problem,really thanks!


  Reply


Messages In This Thread
"Wrote past end of buffer in stream" when packging - by cnzjs - 05-01-2019, 02:08 AM