Important MessageYou are browsing the archived Lancers Reactor forums. You cannot register or login. |
Which dll has what?
The general place to discuss MOD''ing Freelancer!
14 posts
• Page 1 of 1
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.
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.
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.
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
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
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
[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
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?
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
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
14 posts
• Page 1 of 1
Return to Freelancer General Editing Forum