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

Ahhh IDS ID''s driving me mad.

The general place to discuss MOD''ing Freelancer!

Post Mon Apr 04, 2005 6:40 am

Ahhh IDS ID''s driving me mad.

OK folks, read some of the tutorials on adding ships and the id's are still driving me mad.

What I'm trying to do is add donwloaded custom ships to my modded server (Rebalance). I've so far managed to get the NX01 Entyerprise in, but the info cards don't seem to work. I also donwloaded the Klingon Dreadnought and have tried examining the .dll's with FlED-ids.exe.

Here's what I've done;

1) Copied the .ddl files supplied with the KDREAD mod into the EXE folder in Freelancer. I also renamed them to KDreadEquipResources.dll, KDreadInfoCards.dll and DLL = KDreadNameResources.dll (for my own sanity)
2) Added the following lines to Freelancer.ini;

DLL = KDreadEquipResources.dll
DLL = KDreadInfoCards.dll
DLL = KDreadNameResources.dll

3) Run FLED-ids to try and work out how the numbers punched into in shiparch.ini by the KDread mod relate to what's in the .ddls. Here's what the script has for shiparch.ini;

ids_name = 197712
ids_info = 66641
ids_info1 = 66640
ids_info2 = 66608
ids_info3 = 66642

Now given this, I was thinking I should be able to put 66641, 66640, 66608 or 66642 into the top left IDS_Info field and clik on Get IDS-Info / When I do this I don't find anything. Same thing happens when I try to retreive 197712 as an IDS-Name !

I tried searching using the search in the left corner of FLED-ids and I got the following results;

1) Search for Dread against KDreadNameResources.dll returns 853713
2) Search for Klingon against KDreadNameResources.dll 984144.
3) Search for Dread against KDreadInfoCards.dll returns 917600 ,918534 and 918608.
4) Search for Klingon against KDreadInfoCards.dll returns 918608.
5) I did a convert on 984144 against KDreadInfoCards.dll and it returns 918608.

If I put any of the returned numbers into the ids_info box top left and click Get IDS ... I get invalid ID.

The script also adds the following to goods.ini;
nickname = kdread_hull
category = shiphull
ship = kdread
price = 10
ids_name = 12017

When I look up ids-name 12017 in FLED-ids it returns;

Border World Heavy Fighter Hull

Can someone help ?

What is the relationships between the IDS_NAme, IDS_INFO etc numbers in shiparch.ini and the codes that are viewed by FLED-ids ?

Pleeease help !

TIA

Post Mon Apr 04, 2005 6:52 am

[Resources
DLL = InfoCards.dll
DLL = MiscText.dll
DLL = NameResources.dll
DLL = EquipResources.dll
DLL = OfferBribeResources.dll
DLL = MiscTextInfo2.dll
DLL = te_mod.dll
DLL = tenameresources.dll

That is an example of what my Freelancer.ini file looks like!

So, the numbers? -Each dll file holds roughly about 65535 numbers, with the first 65535 being taken up with resources.dll (not listed there).
Infocards runs from 65535 to 131070
So Misctext.dll starts at 131071 and goes to (131071+65537) = 196608. Note that its not 65535 here, but an extra 2?
So - keep doing that and you find where your stuff is.

Now, if you go into Freelancer.ini and cut and paste the order about.....
DLL = NameResources.dll
DLL = EquipResources.dll
DLL = InfoCards.dll
DLL = MiscText.dll
DLL = OfferBribeResources.dll
DLL = MiscTextInfo2.dll
DLL = te_mod.dll
DLL = tenameresources.dll

You will find that 65536 is now NameResources.dll files first number.....

So the numbers are dynamic based upon their order in the freelancer.ini file.

I would guess that you need to copy and paste the infocards.dll file FROM the mod you are pinching them from, and paste it INTO your mods folder. That should sort your missing numbers out - just thought I would go through the explanation of how the file works above as well

Post Mon Apr 04, 2005 9:34 am

Chips ... OK, this helps alot Thanks. Still having trouble though .... FYI, my freelancer.ini bit for loading .dll's looks like this.

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
DLL = Modinfo.dll ;RB mods infocards and name info
DLL = flmm1.dll ;added by FLMM. DO NOT EDIT
DLL = flmm2.dll ;added by FLMM. DO NOT EDIT
DLL = flmm3.dll ;added by FLMM. DO NOT EDIT
DLL = rbmod.dll;
DLL = StarTrekShipsInfo.dll ;added by FLMM. DO NOT EDIT

I moved the starTrekShipinfo.dll up the order and guess what .... I could find the ship name and the ids_info cards. I moved it back down again and claculated the diference to be +327680. Trouble is, that FLED-ids reports and invalid id against anything in the order of 787548 (459868+327680) or there abouts. Also the IDS-name should be 851627 or 628. Same result though, invalid ids name. Is there a limit to the max value here with freelancer ? Or is it an FLED-Iids issue ??

Post Mon Apr 04, 2005 10:03 am

I would imagine that its a FLED-IDS issue, not the game itself. If I were you, get up to the last number you can go to, then plonk in any old dll (like a copy of infocards - something that you know has values in it etc), and calculate the first number (check that it has a string in it though, else it will be blank in game ). Then use that number and start the game. If it works, then FLED-IDS is a bit too limited
*edit* - how come FLMM adds soooooo many dlls?

Edited by - Chips on 4/4/2005 11:03:59 AM

Post Mon Apr 04, 2005 11:02 am

Chips - yep you're right. I used a combination of FLED-ids and flidref to work out what was stored where. Although FLED-ids won't look up any IDS names or info cards beyond the 7th .DLL file .... it will let you search for strings in the bottom right corner.

Return to Freelancer General Editing Forum