Reminder: Internet Explorer 6 or below are NOT supported.





There are currently 42 users playing Freelancer on
44 servers. | March. 3, 2021 |
The Starport Forum Index
>
The Shipyard
>
Speciality Modding
>
Freelancer-related Programming
>
Compiling FLStat
Browsing this Thread:
1 Anonymous Users
Compiling FLStat |
||||
---|---|---|---|---|
![]() Joined:
2016/3/29 21:54 From England
Group:
Registered Users Trusted Speciality Developers
Posts:
39
![]() |
I found a bug with FLStat caused by altering the path of the resource dlls. It assumes that the resource dlls will always be located next to the exe, even though they can be located in another folder.
I thought I'd be able to fix it by altering the assembly found at Adoxa's website, but I got no idea how to compile it (tried running it through NASM on a hunch, which didn't get me anywhere). Any ideas how to properly compile it?
Posted on: 2020/4/13 19:08
|
|||
Way too ambitious for his own good. | ||||
|
Re: Compiling FLStat |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2009/8/16 2:58 From Qld, Aus.
Group:
Registered Users FLServer Admins Trusted Speciality Developers Senior Members
Posts:
1979
![]() |
It's not the source to FLStat, only my patch, using the Multiline Ultimate Assembler plugin for OllyDbg/x64dbg. FLStat's parser is weird, so I'm afraid you might miss out on that one, just put 'em (or links to 'em) in EXE.
Posted on: 2020/4/14 1:31
|
|||
|
Re: Compiling FLStat |
||||
---|---|---|---|---|
![]() Joined:
2016/3/29 21:54 From England
Group:
Registered Users Trusted Speciality Developers
Posts:
39
![]() |
I looked into my issue further. Found that the dll names are hardcoded into the application. My names are different and in some cases longer. Do you know how I could increase the length of the string to accommodate my new path names?
Posted on: 2020/4/19 15:09
|
|||
Way too ambitious for his own good. | ||||
|
Re: Compiling FLStat |
||||
---|---|---|---|---|
Home away from home
![]() ![]() Joined:
2009/8/16 2:58 From Qld, Aus.
Group:
Registered Users FLServer Admins Trusted Speciality Developers Senior Members
Posts:
1979
![]() |
There are two issues: you can't use
.. for a relative path (because I made it stop at a dot, due to QuickFix using tabs before the comment); nor can you use \ for an absolute path (it always prefixes the full exe path). If it's relative paths causing the problem edit 2F36A, 2E74 -> 2076. That will stop at a space or control character (meaning a space/tab between resource and comment is required). I'm afraid you're out of luck if you want an absolute path.
Posted on: 2020/4/22 9:32
|
|||
|