Freelancer Community Network
Reminder: Internet Explorer 6 or below are NOT supported.
HomeHome
ForumForum
WikiWiki
DownloadsDownloads
ForgeForge
Multiplayer Connection Tutorial
Collapse/Expand Random Image
Collapse/Expand Login
Username:

Password:

Remember me



Lost Password?

Register now!
Collapse/Expand Chat
Collapse/Expand Who's Online
85 user(s) are online (52 user(s) are browsing Forum)

Members: 0
Guests: 85

more...
Collapse/Expand Donations
Monthly costs: -30€
Income (ads): +5€
Donations (last month): +165€

Current balance: 105€
(last updated 02/2021)

Please make a donation if you want to help keeping The-Starport online:

Thanks!
Collapse/Expand Links
Collapse/Expand Advertisement
There are currently 47 users playing Freelancer on 38 servers.
April. 16, 2021

Browsing this Thread:   1 Anonymous Users



 Bottom   Previous Topic   Next Topic  Register To Post



Compiling FLStat

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 40
Offline
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.
Top
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: 1985
Offline
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
Top
Re: Compiling FLStat

Joined:
2016/3/29 21:54
From England
Group:
Registered Users
Trusted Speciality Developers
Posts: 40
Offline
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.
Top
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: 1985
Offline
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
Top