Aleksei Posted June 30, 2014 Share Posted June 30, 2014 Hi, Im installing this mod but the last part, dialogs initiated by the player, was wrong and dont get installed. I cant attach the file, where I can mail it or how I can get permitted to upload it? I put instead as pastebin links: http://pastebin.com/Psp0P1Y3 http://pastebin.com/dr3FirRz Regards Link to comment
AstroBryGuy Posted June 30, 2014 Share Posted June 30, 2014 Looks like there is a character in the spanish translation of x#pcinit_tmp.tra that iconv cannot convert to UTF8. Currently, it stops when it hits an error, but WeiDU doesn't know it. I can set iconv to silently drop bad characters. A word might end up missing a letter, but it will still install. Uninstall the mod, replace the conv_tra.bat file in your bg1npc directory with this file: https://dl.dropboxusercontent.com/u/80058200/conv_tra.bat Then, reinstall the mod. Link to comment
Aleksei Posted June 30, 2014 Author Share Posted June 30, 2014 Thanks a lot! Now it's work Link to comment
jastey Posted June 30, 2014 Share Posted June 30, 2014 AstroBryGuy: Not sure what "drop" means in this content. Make sure the UTF-8 version doesn't include any symbol or non-latin letter, or the game will crash on it (I guess you know this, just want to make sure.) Link to comment
AstroBryGuy Posted June 30, 2014 Share Posted June 30, 2014 Jastey - sorry if that wasn't clear what I meant by "drop". I added the "-c" option to the iconv commands which convert the strings to UTF-8. That option does the following (from the iconv man page at GNU.org): −c When this option is given, characters that cannot be converted are silently discarded, instead of leading to a conversion error. So, when iconv hits an unconvertible character, it will skip that character and move on, rather than stopping with a conversion error (which leads to an incomplete converted .tra file). Link to comment
jastey Posted June 30, 2014 Share Posted June 30, 2014 Great! Thank you for clearifying. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.