Subtitles [OBSOLETE]
-
I try this mod… the result (converter.exe):
" ": translated from my language
“unhadled exception”: System.FormatException: “Invalid input charstring format”
System.Number.ParseSingle(String value, NumberStyles options, NumberFormatInfo numfmt)
c.a(XDocument A_0, BinaryWriter A_1)
c.a(Stream A_0, Stream A_1)
Converter.Program.Main(String[] args) -
Is there any data I could get from the game files regarding the “automated speech” you often get when landing for instance? I’d like to know the possible patterns the game could use when stitching together sound clips to form a complete sentence.
For example, “Acknowledged.”+“Your request to”+“dock”+“is granted.”+“Proceed”+“to dock”+“two” is a valid sentence, but it’s impossible to get “two” right after “Your request to”.
-
The landing/docking sequence is not from the game files, but [c]content.dll[/c] (function at 0x6ED74D0 in 1.1). The example above is: gcs_misc_ack + gcs_dockrequest_yourrequest+ + gcs_dockrequest_todock + gcs_dockrequest_granted + gcs_dockrequest_proceed + gcs_dockrequest_todock_number + gcs_misc_number_N_-. If you have access to the nicknames (maybe hook [c]GetNicknameId[/c]), you could look for a trailing [c]+[/c] and combine it with everything until a trailing [c]-[/c].
-
No updates, just wanted to keep you posted on current developments. Right now I’m in the middle of a minor revamp of text rendering.
All the versions I’ve posted here so far assemble the final subtitle text comprising multiple lines by essentially adding a line break and redrawing the entire text (while trying to be smart about it) based on what audio sources are currently active (or in the case of dynamic captions, changing text while audio is playing).
This has two drawbacks: firstly, this can cause rapid transitions when a new line of text starts before the previous one ends. This can be observed in the first Manhattan bar scene after Trent rather politely joins Juni’s conversation. While this could be hidden by cutting short or delaying certain captions, it’s not ideal, so I’m looking to make each line’s position fixed for their lifetimes. This has some quirks to work out, like what happens if you have a three-line text area with the middle line occupied and a large two-liner caption is about to appear.
The second drawback is that this setup makes it hard to assign multiple audio sources to the same line (which is exactly what happens when you’re being hailed), or one audio source to multiple lines at the same time (as long as they’re not overlapping, which is exactly what dynamic captions were doing). I was trying to implement some kind of hand-over, whereby these audio chunks would contribute text to a special 0th line reserved for this, but this ended up being too hacky.
-
Unfortunately I had to remove the project link from here due to reasons beyond my control. To prevent any speculation, this had nothing to do with a cease&desist or anything like that.
Please see https://the-starport.net/freelancer/forum/viewtopic.php?post_id=64608#forumpost64608 which is a superior solution for subtitles.
-
This tool doesn’t work with my new sounds.
Example:
https://drive.google.com/file/d/1SRE07Uxn0y_vtXnyIR4NvzGU8Yj_g4IP/view?usp=sharingMy file converted by the GoldWave. File wav + mp3 codec (max quality). Voices working in FL, but I getting error on trying to compile subtitles.
On default FL voices (renamed files) - I have no problems.
May be I don’t know, how properly export audio files to FL…
Need help!
-
Hi,
I’ve seen this project and I think it is very interesting, most of it for translations.
So, I’ve been trying to use the files inside flsubs.zip of the first post to see if they work, but I can not make them work in my environment (the original ones).
I’m using Windows 10 x64 (last build), spanish version. I have the original game in CD, I can install it and I use the Russian .exe to run it. I do not use any more mods or anything right now until I can use the subtitles. I run the game with Admin privileges and outside “Program Files” folder. In “C:\Games\Freescape”. I have a GTX 1080 videocard.
I’ve changed the dacom.ini LOCKABLE_BACKBUFFER= true variable also and using 1280x960x32bit resolution. All works perfect, but I can not see the subtitles.
After running Convert.exe (which works well, I have both .dat files), I have no subtitles in-game or cinematics. I’ve tryied to change also speakerchannels=2 in dacom.ini.
Anyone more is having this problem?
I will appreciatte any help you can provide.
Thanks in advance.
PD: Ok, I’ve solved the problem. Recompiling the tool with VS2015 has helped and it works in Windows 10 x64. But I found that it has some limits (which I don’t have time to resolve) and there is a LOT of text to transcribe (which my English is not perfect and I can not understand all the lines).