Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Multilanguage game

  • #1, by ke4 12 years ago Zitieren
    Hi,

    This is more a thought than problem i would need to handle now.
    I want to have my game in two languages - in czech with voices and in english ( subtitles ) ( czech subtitles too ) and i would like to have an option to hide czech subtitles and have only audio. Can be hidden texts in visionaire?
    But what i'm thinking about is if visionaire does support subtitles in video? Because in this case i would need to 3 versions of each video, audio only, czech subs, enlish subs and the game would have a loot GB in that way. The best would be to choose with which subtitles play the video, but i guess that's not possible.
    Do you have any ideas how to deal with it?
  • #2, by SimonS 12 years ago Zitieren
    Hi,
    you mean no text shown at all ? Change the font to an empty font.
    Videos can have multiple subtitle streams, you can change the current language in the field VGameVideoSubtitleLanguage.
    http://wiki.visionaire2d.net/index.php?title=Video_encoding
  • #3, by ke4 12 years ago Zitieren
    Yes, show just text in dialog menu and action text.
    Wow, it's simple, thanks a lot! :-)
  • #4, by Machtnix 12 years ago Zitieren
    I don't understand.
    I want to use two videos in the intro (because of the demo-game must be in English), now I have two different videos (one in German, one in English - I change the link in the game). How works this subtitle thing - so I need only one movie without fixed subtitles?

    Machtnix
  • #5, by ke4 12 years ago Zitieren
    You'll use normal .srt subtitles file, you can add it right into the video file, you can add more then one subtitles.
    You can use MkvToolNix to do that, you'll import video and subtitles there and it'll makes video with subtitles inside for you.

    Then depending on the selected language you'll set what language of subtitles visionaire should show with
    execution a script: VGameVideoSubtitleLanguage.
  • #6, by afrlme 12 years ago Zitieren
    I believe it's also possible to change video audio language track too. I know that .mkv can have multiple tracks & subtitles embedded into them. I'm not sure how though as I'm not well versed on video encoding & it appears we are missing the video tables from both the new & old wiki data structure pages.
  • #7, by Machtnix 12 years ago Zitieren
    I have never done this. OK, for dummies:
    1. I make my video in my movie-program without subtitles.
    2. I make a final movie rendering in the requiring format (mkv?).
    3. I make a text-file (maybe from an editor) with ONE language?
    4. The second one.
    5. Than I change / import (whatever) the .txt into .srt?
    6. I install this mkvtoolnix and import the movie first and the .srt-file?
    7. In this tool I can set the duration and the position of the subtitles?
    8. I think, I try it without movie in only two months... ;-) ;-)

    Machtnix
  • #8, by ke4 12 years ago Zitieren
    You can have multiple audio too, so maybe it can be changed in visionaire as well.
    But what i'm not sure about, the syntax is just VGameVideoSubtitleLanguage("language") ?
  • #9, by ke4 12 years ago Zitieren
    Yes, you can also use some software for making subtitles where you put your video.
    And you don't need to necessary have mkv file, you can make .MP4, i'm using sony vegas which MKV even doesn't support.
  • #10, by Machtnix 12 years ago Zitieren
    The audio switching in Vis is like my way: I have two language files and I use one of them for 1. language and the other for 2. language. But movies could have a size of >20 MB, so thats not good for the memory and the size of the game... But it's the easy way to work.

    Machtnix
  • #11, by Machtnix 12 years ago Zitieren
    Yes, you can also use some software for making subtitles where you put your video.
    And you don't need to necessary have mkv file, you can make .MP4, i'm using sony vegas which MKV even doesn't support.


    Yeah, but I have the prefered format in the contest discription. My cut program is an older one and doesn't work (well) with mp4 or mkv. Myself I use .mov, .avi, .flv or mostly .mpg; but that's not allowed.