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

Decompiling THN files

Scheduled Pinned Locked Moved Freelancer-related Programming
7 Posts 3 Posters 5.6k 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.
  • D Offline
    D Offline
    Dromedary
    wrote on global:last_edited_by,
    #1

    Having issues trying to decompile THN files. The tool i’ve been using for years, dear old FLED Thorn doesn’t work for me under W10. Keeps telling me it’s missing loads of files to run, namely ocx files.

    I know Adoxa has something but i can’t make head or tail of the readme file regarding useage. If someone knows a way to decompile THN files, or can explain Adoxas readme to me, I’d appreciate it

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

    Download comdlg32, extract it and run [c]register[/c] - allow access and then it should tell you it was registered - now FLED Thorn should work.

    Mine’s command line, so you need to use it through Command Prompt (tip: type the first couple of characters of file and directory names, then [c]TAB[/c] to cycle through the complete names):

    C:\Games\Freelancer\EXE>copy \contrib\games\Freelancer\thorn\dethorn.exe
            1 file(s) copied.
    
    C:\Games\Freelancer\EXE>cd ..\DATA\SCRIPTS\STORY
    
    C:\Games\Freelancer\DATA\SCRIPTS\STORY>\Games\Freelancer\EXE\dethorn.exe li_01_equipment_ambi_s005_ship_01.thn
    
    C:\Games\Freelancer\DATA\SCRIPTS\STORY>head li_01_equipment_ambi_s005_ship_01.lua
    duration = 600.000;
    
    entities =
    {
    
            {
                    entity_name = "Layer_li_01_Equip_ambient_int",
                    type = SCENE,
                    template_name = "",
                    lt_grp = 0, srt_grp = 0, usr_flg = 0,
    
    
    1 Reply Last reply
    0
  • J Offline
    J Offline
    Jefferson001 Historic Supporter
    wrote on global:last_edited_by,
    #3

    Can you give me a link or clue to that download? Can’t find it under C’s. Thanks.

    1 Reply Last reply
    0
  • D Offline
    D Offline
    Dromedary
    wrote on global:last_edited_by,
    #4

    @Adoxa

    Thanks for the help. Two things have now happened, i understand your program better, and FLED Thorn now works again. Registered as per your instructions 🙂

    @Jefferson

    Just click on his link

    1 Reply Last reply
    0
  • J Offline
    J Offline
    Jefferson001 Historic Supporter
    wrote on global:last_edited_by,
    #5

    ??? Link ???

    1 Reply Last reply
    0
  • D Offline
    D Offline
    Dromedary
    wrote on global:last_edited_by,
    #6

    Click on where it says comdlg32

    1 Reply Last reply
    0
  • J Offline
    J Offline
    Jefferson001 Historic Supporter
    wrote on global:last_edited_by,
    #7

    Okay sorry. All looked the same. Got it. Thorny problem.

    Edit: And thank you much. Helped big time.

    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