{"id":45,"date":"2019-07-29T20:44:05","date_gmt":"2019-07-29T20:44:05","guid":{"rendered":"https:\/\/blogs.scummvm.org\/vyzigold\/?p=45"},"modified":"2022-05-23T20:44:37","modified_gmt":"2022-05-23T20:44:37","slug":"project-update","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/vyzigold\/2019\/07\/29\/project-update\/","title":{"rendered":"Project update"},"content":{"rendered":"<p>Hello, last week I have been making some finishing touches to the TTS project. I improved voice mapping in the Mortvile Manor game, because I used to use pitch values from the original game to map the characters to different voices. That would mean for example that if a user has only 3 female voices available, both female characters would map to the same voice. So I added an array of voice indices, so the voices map as evenly as possible. I improved TTS in GUI, but that still needs some more work. But the biggest addition to the TTS actually isn&#8217;t from me, because Criezy implemented TTS for Mac OS, which I couldn&#8217;t do (I don&#8217;t own a Mac).<\/p>\n<p>Because TTS is almost finished, I started to work on my next project, which is adding a way to convert between different character encoding. Right now, if you need to convert between encodings, you can:<\/p>\n<ul>\n<li>use the U32String class to convert between a few encodings.<\/li>\n<li>use TransMan (if TransMan is enabled) to convert between unicode and current GUI charset<\/li>\n<li>use platform specific code (SDL, Win32 and Mac have their own ways of converting encodings).<\/li>\n<li>implement your own conversion (The most reliable, probably even after I finish this project).<\/li>\n<\/ul>\n<div>This seems quite messy and confusing to me, we probably don&#8217;t want each engine to implement it&#8217;s own encoding conversions. So I am adding an option to compile ScummVM with iconv, which is a library, that specializes in encoding conversion. The plan is to first try to use iconv, then the platform specific conversion code and as a last resort use the TransMan to try to convert the string either to the GUI encoding or UTF-32 and try to convert that to the final encoding.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Hello, last week I have been making some finishing touches to the TTS project. I improved voice mapping in the Mortvile Manor game, because I used to use pitch values from the original game to map the characters to different voices. That would mean for example that if a user has only 3 female voices [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-45","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/vyzigold\/wp-json\/wp\/v2\/posts\/45","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/vyzigold\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/vyzigold\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/vyzigold\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/vyzigold\/wp-json\/wp\/v2\/comments?post=45"}],"version-history":[{"count":1,"href":"https:\/\/blogs.scummvm.org\/vyzigold\/wp-json\/wp\/v2\/posts\/45\/revisions"}],"predecessor-version":[{"id":46,"href":"https:\/\/blogs.scummvm.org\/vyzigold\/wp-json\/wp\/v2\/posts\/45\/revisions\/46"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/vyzigold\/wp-json\/wp\/v2\/media?parent=45"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/vyzigold\/wp-json\/wp\/v2\/categories?post=45"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/vyzigold\/wp-json\/wp\/v2\/tags?post=45"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}