Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

DLL''s

The general place to discuss MOD''ing Freelancer!

Post Mon Oct 10, 2005 1:18 pm

DLL''s

Is there anyway to edit DLL's utilizing a script?

Has anyone tried it?

Can it be done?

Post Tue Oct 11, 2005 5:11 am

I'm not sure this is what you're asking, but FLMM scripts can dynamically create a dll and related entries. the GENERATESTRRES (I think- it's documented somewhere in FLMM's stuff) command is the one that does that

Chris Bates
Lead scripter,
Stargate BFM: Freelancer

Post Tue Oct 11, 2005 5:19 am

and an operation to replace a set of IDS #'s with a new DLL entry is very easy,simply using the replace option w/ the DLL generating code in it - for lots of them you can regenerate the entire file from FLMM with the new file method

Post Tue Oct 11, 2005 6:32 am

Will I was thinking more along the lines of adding the Order to the rep list hack in the Common.dll, and the new Accelerated Tradelane v1.0 and other moding along those lines. I knew about the IDS #'s just wanted to know if it could be used for the above hacks also.

If you can use it for DLL's why not the Exe if MS allowed it?

What I am trying to ask is can a Freelancer mod be totally scripted other then the .mat, .sur, CMP, & like files?

Edited by - flybyu on 10/11/2005 7:37:07 AM

Post Tue Oct 11, 2005 11:19 pm

Yes you can - I posted a modified common.dll sometime ago but the method is thus :

Search in common.dll with your hex editor for fc_n_grp and you'll find all the factions that are blocked from showing in the rep list. cover every letter of each faction name you wish to show with 00h effectively turning each into a NULL string.

A similar trick can be done for the initial displayed faction if you have a nocd version of the exe. Search that for li_p_grp and 00h or change it to another faction. BTW it may be unwise to add a longer faction name here.

Edit:
Rereading this is not really what you are asking - in xml script you cannot do this. If you wanted to get technical python scripting would allow such a maneuver but would require that clients had python installed too i believe. It would also take more work than the reduced d/l size would be worth.
+++ out of cheese error - redo from start +++

Edited by - anton on 10/12/2005 12:23:17 AM

Return to Freelancer General Editing Forum