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

Adding new resources DLL *IS* possible

The general place to discuss MOD''ing Freelancer!

Post Fri Mar 14, 2003 9:10 pm

Adding new resources DLL *IS* possible

- Took Resource Tuner and opened nameresources.dll
- In string tables, deleted everything xept the first table
- Edited the 1st string with ID 1 in that table!
- Saved as new DLL into EXE dir. ( named it xlrc.dll )
- In freelancer.ini added this line right after DLL = MiscTextInfo2.dl:
DLL = xlrc.dll
- since all DLLs and stuff is loaded sequentially, my dll is loaded 7th
- computed id_name for dll 7 and string with ID 1 (using our formula, read elsewhere), got: 458753

WORKS!!!

Screenshot

Edited by - XLancer on 15-03-2003 03:49:43

Post Fri Mar 14, 2003 9:17 pm

That's great!!! Excellent find.


-V

RaK

Post Fri Mar 14, 2003 10:28 pm

i think i love you

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

Post Sun Mar 16, 2003 8:13 pm

yeah, found that too...
My original nameresources.dll was full

Post Mon Mar 17, 2003 2:01 am

excuse, but i'm a bit retardet can you tell me how i can create a new resource DLL?? i have visual c++ 6 and never used it... what a program are you using? if i create a new resource file (there is only "resource template" ) add a string table ...blablabla... i can't save it as dll. only as .rc (resource script), .rct (resource template) or .res (32 bit resource file). have i to save it as .res and then rename it??? please help me

Edited by - skyshooter on 17-03-2003 02:02:00

Post Mon Mar 17, 2003 2:03 am

Where do you get this Resource Tuner please? I really could take advantage of that. There is no search function on forum and I do not know what happens to old post. Thanks if you can tell me or send it to me! I got some stuff I want to rename.

Post Mon Mar 17, 2003 2:13 am

i dont know where u get resource tuner, but u can get resource hacker (same thing freeware) here
*edit*
resource tuner is here it's a 30 day trial


Edited by - skyshooter on 17-03-2003 02:30:17

Post Mon Mar 17, 2003 2:38 am

Is that it? Thanks for the heads up on that one. Heck, I already have it! Did not know it works on these files, I guess I am still n00b around the ears...THX. Res tuner is expenive compared to free ResHack.
-----------------------------------------------
Give me a house I sleep for the night; give me a hammer, I sleep forever.

Edited by - Xerx on 17-03-2003 02:46:05

Post Tue Mar 18, 2003 5:50 am

Hey X-Lancer what is the formula you used?

Post Tue Mar 18, 2003 5:57 am

From: strangeduck
2nd Lieutenant
posted 12-03-2003 13:29 CET
--------------------------------------------------------------------------------
change the INI file ID from decimal to hex: you'll get a 5 digit hex number
first digit of the hex number corresponds to which DLL file you're looking in (ordered by where they appear in freelancer.ini - i.e. 1st digit of 1 = first DLL under [resources, 1st digit of 2 = 2nd DLL listed there)
next 3 digits: convert those back to decimal, add one, and you've got yourself which string table you're looking in.
last digit: convert to decimal, add one, you've got which string in that table you're looking at.

Vovin's Input: BTW, if you extract the resource files into an .RC file and load it into Visual Studio, Convert the 5 digit ID to hex, remove the first digit, convert it back to decimal and then look the string up.

Hope that helps,

-V
The Nets Edge
Freelancer .INI File Parser
Freelancer IDSName Matcher

Post Tue Mar 18, 2003 6:04 am

Wow thanks for quick response, I was thinking thats what I had to do.

Post Thu Mar 20, 2003 11:27 am

It works for infocard.dll so that you can change the information description cards of items to go along with the changed main name from namesresources.dll.

Post Thu Mar 20, 2003 12:52 pm

Using resHacker i managed to get a infocard working for a custom weapon take a look here

I also noticed you can just use string table refrences instead of the infocard xml type refrences and it also works (athough oviously its not formated)

Post Thu Mar 20, 2003 1:27 pm

or if you don' t want tu use each time the formula you can
*spam on*
use my prog for converting the INI ID to Res ID's. Link
*spam off*

Edited by - skyshooter on 20-03-2003 13:27:39

Post Thu Mar 20, 2003 1:32 pm

@Turkeh:
please, can u post a little reference of the xml tags used in FL?? in xml things i' m really a great NoOb, thx

Return to Freelancer General Editing Forum