Little question about the .thn files.
Freelancer seems to consist primarily out of those compressed .ini files, and those .thn files. Using bini it's possible to decompress the .ini's, but there's no such tool for the .thn files.
These .thn files seem to contain scripts for the animations, missions and various other things. It appears they're the other integral part of Freelancer. It would be great if these were figured out.
I've been looking into this for a bit now, and I discovered Microsoft is using Lua 3.2 for those files. However, I myself have little experience in back-tracing compiled files. I've been reading the .thn files using a hex editor for a bit, and right now I'm trying to figure out how the opcodes are used.
Right now, the first 11 hexadecimal values of each .thn file are exactly the same, and the following 110 are almost identical. However, those vary slightly.
Then, at the end of those files appear to be a set of variable names and values. But since these .thn files are compiled, I have yet to figure out how they're used in the non-compiled script files.
I was wondering if any of you guys tried this or are doing right now, and if so, if you could care to share what you got?
You can get the sourcecode of lua at www.lua.org, and I'm sure you could find a hex editor if you tried.
I can never think of anything funny to put here.