The Starport
  • Categories
  • Recent
  • Users
  • Groups
  • Starport Blog
  • Knowledge Base
  • The Forge
  • Discord
  • Register
  • Login

Subtitles [OBSOLETE]

Scheduled Pinned Locked Moved Speciality Modding
32 Posts 10 Posters 51.4k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lorash
    wrote on global:last_edited_by,
    #1

    Obsolete, please see https://the-starport.net/freelancer/forum/viewtopic.php?post_id=64608#forumpost64608 instead.

    1 Reply Last reply
    0
  • U Offline
    U Offline
    utrack
    wrote on global:last_edited_by,
    #2

    Whee, neat stuff!

    1 Reply Last reply
    0
  • L Offline
    L Offline
    Lorash
    wrote on global:last_edited_by,
    #3

    Preview release! \ o /

    I’ve done most of the “core” work, and I can reliably display subtitles by “listening in” to what Freelancer is currently playing.

    Notably missing is the ability to display multi-part subtitles (the ones you usually get when you dock) and tools for working with the actual sound files instead of Freelancer’s raw audio buffers.

    I’ve attached the .zip file to the first post, let me know your opinions 🙂 Refer to the readme.txt file in the .zip for instructions.

    If you’re missing either msvcr120.dll or msvcp120.dll, download and run vcredist_x86.exe from http://www.microsoft.com/en-us/download/details.aspx?id=40784

    1 Reply Last reply
    0
  • adoxaA Offline
    adoxaA Offline
    adoxa
    wrote on global:last_edited_by,
    #4

    The keys are different when using l3codecp.acm (the professional version of Fraunhofer). From MP3Codec:

    Freelancer uses the “advanced” MP3 codec from Fraunhofer, which comes with 9X
    and XP, but Vista/7 install with the “decode only” version, resulting in
    numerous “missing MP3 codec” spew warnings. However, Vista/7 include the
    “professional” version (also available for XP via WMP11), which can be
    installed manually (e.g.: http://www.looprecorder.de/tut_l3codec.php). This
    plugin tests for a custom codec via environment variable “FL_MP3”, then any
    of the Fraunhofer ones.

    1 Reply Last reply
    0
  • L Offline
    L Offline
    Lorash
    wrote on global:last_edited_by,
    #5

    Thanks for pointing this out, I didn’t even know the professional codec existed. 🙂

    With tooling in place, the subtitles will be attached to particular files / UTF entries (much easier to reach 100% coverage this way). I’ll just have to come up with the subtitle keys on the user’s computer before the first run, it seems.

    1 Reply Last reply
    0
  • L Offline
    L Offline
    Lorash
    wrote on global:last_edited_by,
    #6

    I’ve managed to (almost, there’s a bug still) recreate Freelancer’s audio decoding, which means that in theory the keys should match any codec.
    Could you please test the FP7 intro with the new version inside converttest.zip?

    1 Reply Last reply
    0
  • adoxaA Offline
    adoxaA Offline
    adoxa
    wrote on global:last_edited_by,
    #7

    Didn’t work at all for me - crashed soon after startup (passing a [c]NULL[/c] pointer to [c]RtlEnterCriticalSection[/c]).

    1 Reply Last reply
    0
  • L Offline
    L Offline
    Lorash
    wrote on global:last_edited_by,
    #8

    Thanks for the feedback!

    Could you please retry with this d3d8.dll? It opens a console window when it’s loaded; I’d like to see what was printed before the crash.

    1 Reply Last reply
    0
  • adoxaA Offline
    adoxaA Offline
    adoxa
    wrote on global:last_edited_by,
    #9

    Ah, sorry, it was my fault - [c]Converter[/c] didn’t work because I only had 4.5, and the absence of [c]subtitles.dat[/c] caused the crash. Updated to 4.5.1 and all good.

    1 Reply Last reply
    0
  • L Offline
    L Offline
    Lorash
    wrote on global:last_edited_by,
    #10

    Whew, that’s one less mysterious bug to worry about. 🙂

    About 4.5.1: I don’t actually use any of the new features, but for some reason VS doesn’t let me target 4.0 or 4.5 (I forgot which one I need). I’ll fix it for an actual release. Error reporting is something that could be improved as well, but it’s not trivial because I do my stuff after Freelancer has switched to exclusive fullscreen.

    1 Reply Last reply
    0
  • M Offline
    M Offline
    Moyzis
    wrote on global:last_edited_by,
    #11

    Lorash wrote:
    Hi all! first post

    I’ve been working on adding subtitles to Freelancer in the past couple of days, and I’ve finally got to a point where I can actually show off something 🙂

    –-
    Edit: added the .zip file

    Wow! I did not know someone is making subtitles for Freelancer! Tomorrow I am going to buy one gaming magazine with original Freelancer in it so I will try your subtitles. The more testers, the better!

    Hope everything is goin well 🙂

    1 Reply Last reply
    0
  • D Offline
    D Offline
    dRaiser
    wrote on global:last_edited_by,
    #12

    Hi, thanks for excellent modification. Works almost fine for me, but I’m using it with Jason’s Freelancer Patch for widescreen resolution and have a ugly black box with random (debug?) characters on the right side of screen. Is there some way to fix it? 🙂 thanks!

    Screen: http://draiser.net/gfx/screen2-low.jpg

    1 Reply Last reply
    0
  • adoxaA Offline
    adoxaA Offline
    adoxa
    wrote on global:last_edited_by,
    #13

    It is debug info; I’ve attached a patched version that removes it.

    1 Reply Last reply
    0
  • D Offline
    D Offline
    dRaiser
    wrote on global:last_edited_by,
    #14

    Thanks!

    1 Reply Last reply
    0
  • L Offline
    L Offline
    Lorash
    wrote on global:last_edited_by,
    #15

    I’ve not had much time to work on this lately, but I did manage to add a hack that appears to fix MIXES. I’ve updated the first post with the latest version, without the debug bar this time.

    I haven’t tested it on widescreen. I guess when I get to making the text areas configurable this problem will solve itself. 🙂

    1 Reply Last reply
    0
  • L Offline
    L Offline
    Lorash
    wrote on global:last_edited_by,
    #16

    dRaiser wrote:
    Hi, thanks for excellent modification. Works almost fine for me, but I’m using it with Jason’s Freelancer Patch for widescreen resolution and have a ugly black box with random (debug?) characters on the right side of screen. Is there some way to fix it? 🙂 thanks!

    Screen: http://draiser.net/gfx/screen2-low.jpg

    I’m more worried about the font. Does Freelancer use its usual font in-game for you?
    It should look like this:
    http://www.fontriver.com/i/fonts/agency_fb/agency_fb_specimen.jpg

    1 Reply Last reply
    0
  • L Offline
    L Offline
    Lorash
    wrote on global:last_edited_by,
    #17

    New version is in the first post.

    Highlights of this release:

    • Converter.exe now uses all of your CPU cores for MP3 decoding, resulting in a massive speedup.
    • Configuration! You can disable, resize, move, and customize the font inside each text area. Check out subtitles.cfg and don’t forget to rerun Converter to apply your changes made to it.
    • Subtitles.dat is no more (you can delete yours if you have one), and has been replaced with flsd.dat and flsc.dat. These have a binary format which is no longer documented. Don’t forget to rerun Converter after you update to generate these.
    • Because of this change, the admittedly weird restriction is gone from dynamic subtitles and they can now contain colons.
    • I’ve made captions for about half of King’s lines spoken in-game (in the order they appear in king.utf, so I have stuff from the beginning of the game as well as some lines mentioning Nomads). Some of them are just radio spam he says during combat; I’ll have to do something with those, as right now they’re kind of annoying.
    1 Reply Last reply
    0
  • H Offline
    H Offline
    Hahukum_Konn
    wrote on global:last_edited_by,
    #18

    By the way, this totally rocks. I’ve long wanted subtitles for the game because I don’t understand half the dialog (especially the important stuff with the Dom Kavosh 😐 ).

    1 Reply Last reply
    0
  • D Offline
    D Offline
    dRaiser
    wrote on global:last_edited_by,
    #19

    I’ll test this in few days. I’m actually not sure if it’s standard Freelancer font because I started playing for the 1st time with your mod.

    1 Reply Last reply
    0
  • L Offline
    L Offline
    Lorash
    wrote on global:last_edited_by,
    #20

    dRaiser wrote:
    I’ll test this in few days. I’m actually not sure if it’s standard Freelancer font because I started playing for the 1st time with your mod.

    Do you see text in menus (for instance, the options menu)?

    1 Reply Last reply
    0

  • Story Mission level requirement
    C
    CommanderArgelo
    0
    11
    52

  • Crash Offsets
    J
    josbyte
    0
    231
    251.4k

  • Capital ships shield collision detection
    C
    CommanderArgelo
    0
    3
    17

  • Dropping a phantomloot cargo from an NPC
    C
    CommanderArgelo
    0
    5
    26

  • Incorrect Shield Value on HUD
    C
    CommanderArgelo
    0
    4
    19

  • @Adoxa - Wheel Scroll plugin improvements
    AingarA
    Aingar
    0
    3
    20

  • Release: Advanced Renderer v. 1.1 beta 1
    S
    SWAT_OP-R8R
    3
    50
    428

  • German Mod Tutorials? 2024 Mod Tutorial?
    S
    SWAT_OP-R8R
    0
    18
    66
  • First post
    Last post
0
  • Categories
  • Recent
  • Users
  • Groups
  • Starport Blog
  • Knowledge Base
  • The Forge
  • Discord