Results 1 to 12 of 12

subtitles

  1. #1
    the_n_man
    Guest

    subtitles

    Hey, Delphy or anyone else who knows, where is and how do you change the subtitles for each of the VCE sounds?

    The_N_Man

  2. #2
    At the moment there is no direct way to do this - you could do it with a hex editor though, but that's a bid tedious to do

  3. #3

    Changing

    I wrote a subtitle changer a long time ago - it uses a created text file from all the missions, which are placed in the right order, with trigger events. It creates a small file of text with the correct file offsets, and this can apply these modifications to a .vce file (as redistributing one would be ridiculous - it's too big)

    I only got up to about level 8? or 9? Can't quite remember, but it works fine, as long as the text is of equal length or less to the original HW text.

    I stopped work when I heard of the HWSS - this should allow you more flexibility with the text.

    If you want it for doing a modification to the vce, just ask.

    Here's a shot of the app, and a shot of the final product:



    Last edited by Crook; 7th Dec 01 at 8:09 AM.

  4. #4

    Subtitles with file offsets:

    And if you want to edit any, here are all the subtitles and offsets:

    (sorry about the long post )

    05703960 11"Event155_01"
    14116419 94"This is the Garden of Kadesh. For thirteen generations we have protected it from the unclean."
    14151521 152"The Turanic Raiders who came before you failed to join and were punished for this trespass. Like theirs, your ship has already defiled this holy place. "
    14197049 161"If you have come to join we welcome you and will spare your ship until all have disembarked. If you have come to consume the garden you will be removed at once."
    14255306 25"What are your intentions?"
    14260867 72"If you will not join, then die. There is no withdrawal from the Garden."

    [Edited for length: Sorry Crook ]

    lol, no problems. Who'd use it anyway?
    Last edited by Crook; 8th Dec 01 at 9:11 AM.

  5. #5
    Crook,

    The size of the subtitles can be changed though - if you are putting the information directly into the VCE file.

    The structure of an entry in the VCE is this:

    Public Type SoundChunk
    Info As String * 4
    SubtitleLength As Long
    Subtitle As Long
    Data As String * 4
    SoundSize As Long
    Sound As Long
    End Type

    So, simply by going 4 bytes backwards from the Subtitle offset, you can change the length - but that would mean altering the total size of the VCE.

    Instead of using offsets, a better way would be to calculate record numbers based on the size of the record. I believe that the source code for the RST program does this.

    Essentially, just skip to:

    FilePos = FilePos + 16 + CurrentChunk.SubtitleLength + CurrentChunk.SoundSize

    I know that some of the subtitles are in the exe though - those for single player missions and some other text.

    (Nice work on the subtitles, although this has been available from my RST program for some time now )

    Hope this helps,
    Delphy

  6. #6
    Yep - nothing new, just trying to make it easy on the end user, and give mod makers an easy to use program and way of getting it to the user - and I didnt like the idea of rearranging the whole VCE - my aim was a simple text replacer.

    When we get a full sound studio tool out, that should give us masses more flexibility.

  7. #7
    the_n_man
    Guest

    RST?????

    Delphy: How do you edit subtitles with RST?? I didn't see any options like that!

    Crook: I would like to see that app you have, I have the one that does the first two missions...but it would be VERY helpful to have that easy of a tool to work with 9+ missions

    Both of you:
    I looked through the AIFR's with a hex editor and didn't find anything. Am I missing something? Or should I be looking in the VCE?

    The_N_Man

  8. #8
    n_man: RST doesn't let you edit the subtitles, merely spits them out as part of the extract.html file it creates.

    Also, the AIFR files *dont* contain the subtitles - only the VCE does. That's why you don't find them in there.

    Hope this helps,
    Stuart

  9. #9
    themamboman
    Guest
    Yep, HWSS will have this once we turn Voice modification on. We can't do that until we figure out where the aifr header information for the raw sounds are hidden (but we are getting closer).

    TheMamboMan

    p.s. I never intended to do subtitles in HWSS, but Crook convinced me to do it since I was working in that area to begin with.

  10. #10
    Ghent
    Guest
    ARRrrrrr, GREAT! Crook, do you have a link to that nifty little proggy?

    It'd be a nice temp thing until the HWSS comes out (GL mamboman, keep at it!! )

  11. #11
    themamboman
    Guest
    Originally posted by Ghent
    ARRrrrrr, GREAT! Crook, do you have a link to that nifty little proggy?

    It'd be a nice temp thing until the HWSS comes out (GL mamboman, keep at it!! )
    Crook's subtitler is up on my homeworld toolshed:

    http://briefcase.yahoo.com/rushpat99945

    Progress is (slowly) being made on the rewrite of hwss. The reason this version is taking much longer than previous versions is my chronic lack of time. Hopefully, I'll have some over this weekend.

    TheMamboman

  12. #12
    Ghent
    Guest
    awesome !... i can't believe people aren't just rushing to grab this!... I mean making a custom SP campaign is totally dependent on changing the text and subtitles and what is actually being said.... then also the movies and .nis....

    Like i said... GREAT. And thanks for the link. HW:B , KvT, and T-MAT can all benefit from this.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •