djsouza asked me to help. I'm doing that right now.
It will take some time ok ? It's only 6.271 png files to check
![Wink :wink:](./images/smilies/icon_wink.gif)
Don't worry, tomorrow you will get it.
Btw, nice ideia on the subtitles.
Moderator: ScummVM Team
| <-- This is a 'pipe'.saulob wrote:1- All subtitles, like movie subtitles (.srt) has a "Line Break" (An 'ENTER'), on subtitles (movies) program they use this character | (one vertical line, dunno the name, sorry). So, I made two files from each movie file, file.txt it's the normal one, without this character and the other file_cod.txt with all the | on the same place from the original subtitles.
I'd guess the best way would be, if you nonetheless transcript that thing...saulob wrote:3- The CREDITS.SMK video file it's all translated, I mean, there's no subtitle on it. All the credits text like 'Director', 'Producer'... are all translated, including who did the original translation for the game (that's interesting to see)
So, how can we work it out ? This video has *only* 18mb (ouch, just for texts on a black see/show...)
I believe there already is code in the Broken Sword 1 engine - see engines/sword1/credits.cpp - to read the credits text from a file and render it on the fly. Though I haven't tried it, so I don't know how well it works or how it looks.saulob wrote: 3- The CREDITS.SMK video file it's all translated, I mean, there's no subtitle on it. All the credits text like 'Director', 'Producer'... are all translated, including who did the original translation for the game (that's interesting to see)
Example:
http://img87.imageshack.us/img87/5499/creditosbsih7.jpg
So, how can we work it out ? This video has *only* 18mb (ouch, just for texts on a black see/show...)
You wouldn't be guaranteed the exact colour, of course, since you're stuck with the 256-colour palette used by the movie frame itself. Currently, the work-in-progress subtitle code checks the palette every time it changes to find the colours closest to white and black. It should be trivial to make it search for custom "pen" and "border" colours whenever the palette or text colours change.Herrscher wrote:For the matter of different colors: Maybe this should go into the text file also. Either as "purple" or as RGB#-value.