Tsc - It’s Train Time On Long Island!

Discussion in 'Dovetail Live Article Discussion' started by DTG Jamie, Jul 14, 2022.

  1. Cyclone

    Cyclone Well-Known Member

    Joined:
    Feb 29, 2020
    Messages:
    3,853
    Likes Received:
    1,324
    It is well known that the M7 is slow. I don’t know if the answer has been found yet. I think the Hudson one has been mentioned to be slow, as well.
     
  2. wellington

    wellington Guest

    If it was just the LIRR M7 it would be great, the LIRR M3 has the same problem, what a beautiful piece of LOVE, but here people love slides in Train Simulator Classic, everything is beautiful.

    Another detail, it seems that people are blind in the writings, when you put only a fleet of LIRR M7 or LIRR M3 trains, the fraps are good, the problem is when static trains and AI are present, but it seems that people not read.

    I congratulate Schnauzahpowahz on your 3 replies, he gained another fan on his Youtube channel.
    https://forums.dovetailgames.com/threads/tsc-it’s-train-time-on-long-island.56544/#post-507335
    https://forums.dovetailgames.com/threads/tsc-it’s-train-time-on-long-island.56544/#post-507375
    https://forums.dovetailgames.com/threads/tsc-it's-train-time-on-long-island.56544/#post-508175

    Your analysis is perfect as of 1:28:50.


    Soon we will have a new DLC, the launch of LIRR M9 also for slides. :o
     
    Last edited by a moderator: May 23, 2023
  3. Cyclone

    Cyclone Well-Known Member

    Joined:
    Feb 29, 2020
    Messages:
    3,853
    Likes Received:
    1,324
    Do you know something not announced?
     
  4. wellington

    wellington Guest

    After disassembling the LIRR M7 files, I discovered its textures come from the HL M7 from the Hudson line, However, if using the M7 file from the Hudson line creates another texture issue just below this one and the wrong name of the train ("Long Island Rail Road") in the center aisle of the cabin, I had to do some makeup to get it correct. I even fixed the problem, very easy.

    https://www.trainsimcommunity.com/m...-patches/i3555-lirr-m7-cabine-decal-fix-patch

    withoutfix.jpg withfix.jpg
     
    Last edited by a moderator: May 31, 2023
  5. 390001

    390001 Well-Known Member

    Joined:
    Jan 18, 2018
    Messages:
    2,352
    Likes Received:
    1,584
    If you read his comment you will see he is making a light hearted joke.
     
    • Like Like x 1
  6. wellington

    wellington Guest

    Yes, I liked you for knowing how to interpret that.

    About the fraps falling in LIRR with the M7, one of the biggest problems is in the M7_EngineScript.out file (Lua Scripts), a pity that it is not in the .lua format, it could be discovered what is causing this, who knows the developer release it without being in the strip debug information format (.out).
     
  7. cActUsjUiCe

    cActUsjUiCe Developer

    Joined:
    Sep 21, 2017
    Messages:
    810
    Likes Received:
    2,668
    All .lua source files get processed before being sent to Steam. There was a time when .lua source was sent with the product (i.e. original Northeast Corridor), but that's no longer the case. I don't know if it's to optimize the code or just to obfuscate it to protect DTG intellectual property.
     
  8. wellington

    wellington Guest

    That's true, much of the RSC content is still in .lua format, the DTG is compiling to .out just to try to protect it I think, but if someone wants to optimize the code they can't, I'm sure there is bad code in several DLC's, because in the past it was much more optimized, especially when it was in the hands of RSC.

    I'm even trying to decompile the .out, small files with little information is easy, I reversed the M7_SimulationScript.out file of Size 189 bytes with CRC32: D240EC05.

    Decompiled:
    Code:
    local L0_1, L1_1
    function L0_1()
      local L0_2, L1_2
    end
    Setup = L0_1
    function L0_1(A0_2)
      local L1_2
    end
    Update = L0_1
    Translating what was decompiled to real lua script codes.
    Code:
    function Setup () end
    function Update (inteval) end
    Putting lua script codes in an M7_SimulationScript.lua file.

    Compiling the M7_SimulationScript.lua file again with the luac.exe tool that is inside the RailWorks folder through the command prompt (CMD).

    luac -s "M7_SimulationScript.lua"

    There will be a file called luac.out in the output with the same input characteristics as the real decompiled M7_SimulationScript.out file.

    Code:
    Name: luac.out
    Size: 189 bytes
    CRC32: D240EC05
    :cool:

    Already in this M7_EngineScript.out file, there are many functions to translate, who knows there isn't some hack interpreter for us to translate everything effortlessly.

    With the joke I also discovered this, game poorly optimized by old version of lua script.
    https://forums.dovetailgames.com/th...update-route-refresh.69230/page-6#post-661967
     
    • Like Like x 1

Share This Page