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

Which dll has what?

The general place to discuss MOD''ing Freelancer!

Post Mon Mar 10, 2003 1:10 am

Which dll has what?

Could someone please list out which dll contains the equipment descriptions as well as the ships. I've got some new ships and weapons going already, but i need descriptions for them and i cannot seem to find the correct dll file. Please help.

Post Mon Mar 10, 2003 3:06 am

I second this one. A little advice on this would be nice. I'm searching like crazy, but up until now, I haven't met success in finding the files which hold the ingame names and descriptions.

T448 ... out.

Post Mon Mar 10, 2003 3:07 am

It LOOKS like equipresources.dll, for equipment names, and infocards.dll for basically all descriptions... although I'm not sure about the stats (Damage, etc.) which might be automatically done.

I still haven't found the DLL that contains system/object names... or at least I haven't found how to reference it. In the system's info in universe.ini it shows the tag ids_info and strid_name, both seem to be references to numbers in the string tables of DLLs... but I've tried editing them in relation to multiple DLLs and both tags but still haven't figured it out... bah.

Post Mon Mar 10, 2003 3:38 am

Thanks, Sniper.

I have one more question, though. How do the string refs in the ini files match to the ID strings in the dll's?

T448 ... out.

Post Mon Mar 10, 2003 3:44 am

That's what I'd like to know =/

Post Mon Mar 10, 2003 3:52 am

I think the first 2 numbers refer to a specific dll folder and the remaining numbers to the subfolder within.

Post Mon Mar 10, 2003 6:42 am

Did you guys try using pedump.exe on the dll's? This will dump out tons of info about each dll. Specifically, if you use the /r option you will get the stringtables and dialogs. For example "pedump /r nameresources.dll > nameresources_dll.txt"

You can get pedump here:

http://www.wheaty.net/downloads.htm

Also, if you want to know too much about PE files (i.e. windows .exe and .dll files) he wrote two articles on them:

http://msdn.microsoft.com/library/defau ... ringpe.asp

http://msdn.microsoft.com/msdnmag/issue ... fault.aspx

Post Mon Mar 10, 2003 11:00 pm

I can edit and view the tables directly through visual studio .net, if that's what you mean.I'm sure 6.0 can load most of them, at least...

pci

Post Mon Mar 10, 2003 11:18 pm

If you look in Freelancer.ini it has the Resource DLL's listed with comments!

[Resources
DLL = InfoCards.dll ; Contains all infocard text resources
DLL = MiscText.dll ; Contains other bulk text resource: rumor, offer, and mission text
DLL = NameResources.dll ; Contains names of things, primarily.
DLL = EquipResources.dll ;Contains names of equipment (in string table) and infocards for equipment (in HTML resources)
DLL = OfferBribeResources.dll ; Contains random mission offers and bribes
DLL = MiscTextInfo2.dll ;Contains MP UI elements as well as other misc. text

Also if you look at a sample IDS value in Li01.ini

ids_name = 196766

this value is actually 0x0003009E in hexadecimal

Resource values are 16-bit numbers... so I believe this refers to Resource # 0x9E in the 3rd resource file which is NameResources.dll

Post Mon Mar 10, 2003 11:41 pm

The numbers I saw in the string table were in normal format, not hex... (sorry if it's obvious but I'm new to this). How would I reference a number in the ini file? For instance "New York" is listed as 1 in the string table. In the Universe.ini, strid_name = 196609 and ids_info = 66106... how does either of those equal 1?

Post Mon Mar 10, 2003 11:54 pm

pci you DA man!!!

Sniper, it's just like he said:

196609 => 0x30001 hex

3 0001 => 3rd resource, string with id 1

Post Tue Mar 11, 2003 12:01 am

Now it appears that all I need is a dec->hex converter... yay.

Post Tue Mar 11, 2003 1:01 am

Or not... it appears that strid_name = 196608 + (the # of your object in the string table). The hex way didn't work for me. And base names must have to be changed in whatever file controls the archetypes.

Update: Looks like the file is located under data/solar/solararch.ini. It uses ids_name, not strid_name so I'll try and figure out how that works...

Edited by - Sniper59 on 11-03-2003 01:05:41

RaK

Post Tue Mar 11, 2003 5:37 pm

hex !! i didnt think of that :/


excellent >

*wanders off and plays*

------------------
You just washed up here or something?

Return to Freelancer General Editing Forum