Important MessageYou are browsing the archived Lancers Reactor forums. You cannot register or login. |
Adding new resources DLL *IS* possible
The general place to discuss MOD''ing Freelancer!
47 posts
• Page 2 of 4 • 1, 2, 3, 4
Yer ive been using your program and a great help it is too! Anyone wanting to work out ref IDs i would say use this program. However if u wanna refrence binarys (ie xml files) you have to work kinda backwards since the binarys arnt in tables so you carnt fill in the table feild. Is there anyway you could include a method for refrencing them from Res ID and DLL #
basiclay its like this. Im using the code that produced the data card shown in my picture.
<pre><font size=1 face=Courier><font size=1 face=Courier><font size=1 face=Courier>
<?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TRA data="1" mask="1" def="-2"/>
<JUST loc="center"/><TEXT>FL1A "Swarm Flaker" Torpedo Launcher</TEXT>
<PARA/><TEXT> </TEXT><PARA/><TRA data="0" mask="1" def="-1"/><JUST loc="left"/>
<TEXT>Developed for use in combat situations requiring the break up of lightly armored fighters
the flaker has become one of the fringe worlds more popular weapons. </TEXT>
<PARA/><TEXT> </TEXT><PARA/><TEXT>*Requires Flaker
Torpedo</TEXT><PARA/><TEXT> </TEXT><PARA/><POP/></RDL>
</font> </font> </font></pre>
Change the code however you want and save as html file. Then using reshacker add the .html file as a resource (type 23).
I think you could probably add other types of basic html encoding and it would proably work (i havent tryed) also there are bits where i think you could add text:
<pre><font size=1 face=Courier>
<TEXT> </TEXT>
</font></pre>
but ive no idea how it would end up formated
Edited by - Turkeh on 20-03-2003 13:53:36
<pre><font size=1 face=Courier><font size=1 face=Courier><font size=1 face=Courier>
<?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TRA data="1" mask="1" def="-2"/>
<JUST loc="center"/><TEXT>FL1A "Swarm Flaker" Torpedo Launcher</TEXT>
<PARA/><TEXT> </TEXT><PARA/><TRA data="0" mask="1" def="-1"/><JUST loc="left"/>
<TEXT>Developed for use in combat situations requiring the break up of lightly armored fighters
the flaker has become one of the fringe worlds more popular weapons. </TEXT>
<PARA/><TEXT> </TEXT><PARA/><TEXT>*Requires Flaker
Torpedo</TEXT><PARA/><TEXT> </TEXT><PARA/><POP/></RDL>
</font> </font> </font></pre>
Change the code however you want and save as html file. Then using reshacker add the .html file as a resource (type 23).
I think you could probably add other types of basic html encoding and it would proably work (i havent tryed) also there are bits where i think you could add text:
<pre><font size=1 face=Courier>
<TEXT> </TEXT>
</font></pre>
but ive no idea how it would end up formated
Edited by - Turkeh on 20-03-2003 13:53:36
oh, thats great! I havn' t see that reshack can import html files.. THX
for my prog: it can already convert ids_info (xml entries) and you don' t need to put in a "table number" maybe you have an old version. the actual version is 0.5. just select in top if the form the "ids_info" option and it converts with the right formula...
for my prog: it can already convert ids_info (xml entries) and you don' t need to put in a "table number" maybe you have an old version. the actual version is 0.5. just select in top if the form the "ids_info" option and it converts with the right formula...
so complicated using visual studio...
i have Visual studio, it has a BUILT in resource editor.
so I just straight up edited the file.
an example of my work is.... http://freelancer.solutionvii.com/?down ... 180921.dll
you'd have to take out the tame stamp... it's the infocards.dll file.
it's a small edit, I only added the max shield class to the infocard stats description... so if you scan a barracuda, it'll list the max shield along with the other info.
i have Visual studio, it has a BUILT in resource editor.
so I just straight up edited the file.
an example of my work is.... http://freelancer.solutionvii.com/?down ... 180921.dll
you'd have to take out the tame stamp... it's the infocards.dll file.
it's a small edit, I only added the max shield class to the infocard stats description... so if you scan a barracuda, it'll list the max shield along with the other info.
Volvin, sorry am a newbie to this could you explain that process for me please. (Am using res hacker to view dll's btw)
Am trying to add some new classes of ship into the game, this looks like the best way to be doing it, of course problem there is the ids_name thing which i have stumbled onto X-Lancer how did you get to that number? (can ya link me to the post or explain in a little more details)
Cheers guys
-Zen
Am trying to add some new classes of ship into the game, this looks like the best way to be doing it, of course problem there is the ids_name thing which i have stumbled onto X-Lancer how did you get to that number? (can ya link me to the post or explain in a little more details)
Cheers guys
-Zen
Would anyone be prepared to write up a tutorial on how to add new ships/ship instances? Cus i want to make a new texture for a ship but not overwrite the existing ship texture. I want this ship to be available at only one place. I might even try and add custom ship textures for each faction so each faction has it's own paint job.
X-Lancer :
Thats the exact problem i get if i try to add infocards to a new dll with same calculations as for the ship. However if i try and tack on a new resource to the end of the infocards.dll the game reads the orignal data from the orignal resource. Glad i aint the only one lol
Have_Blue :
Am in the stages of writing one myself, depends if X-Lancer is doing one as well coz i will hold on mine hes got a better understanding of this i think.
I have gotten quite far, adding edited stuff into the game seems really easy now compared to it this time yesturday lets hope tomorrow beings an eiphany i am looking for lmfao
Zen,
Even the greatest of whales is helpless in middle of desert.
DuwX.com
Thats the exact problem i get if i try to add infocards to a new dll with same calculations as for the ship. However if i try and tack on a new resource to the end of the infocards.dll the game reads the orignal data from the orignal resource. Glad i aint the only one lol
Have_Blue :
Am in the stages of writing one myself, depends if X-Lancer is doing one as well coz i will hold on mine hes got a better understanding of this i think.
I have gotten quite far, adding edited stuff into the game seems really easy now compared to it this time yesturday lets hope tomorrow beings an eiphany i am looking for lmfao
Zen,
Even the greatest of whales is helpless in middle of desert.
DuwX.com
Am in the stages of writing one myself, depends if X-Lancer is doing one as well coz i will hold on mine hes got a better understanding of this i think.
I was planning to .. LOL (cuz I got several e-mails asking for specific details)
BUT.. unfortunatly (as I mentioned) I haven't got much free time these days so if you want to make one ... then by all means.
My names and infocards are working (yay!)
http://hosted.nihilogic.dk/freelancer/screen8.jpg
I made a new nameresources.dll and infocards.dll and loaded them as #7 and #8.
I wasn't sure how to get the .ini ID for the infocards, but using skyshooters excellent little tool ( http://mypage.bluewin.ch/skyshooter/fil ... lidref.zip ), selecting "ids_name" and using "1" for the table field seems to get the right infocard IDs.
These IDs work for the dll's below if any of you are still having problems.
[Ship
ids_name=462753
ship_class=1
ids_info=524289 ; Stats (texts + values)
ids_info1=524290 ; Description
ids_info2=524291 ; Stats (only texts)
ids_info3=524292 ; Stats (only values)
nickname=ship_frigate
http://hosted.nihilogic.dk/freelancer/n ... es_new.dll
http://hosted.nihilogic.dk/freelancer/infocards_new.dll
Edit: Oh, I got the Unknown Object thing as well..until I realised I'd gotten the IDs wrong. Pfft..
Edited by - dixi on 22-03-2003 05:41:27
http://hosted.nihilogic.dk/freelancer/screen8.jpg
I made a new nameresources.dll and infocards.dll and loaded them as #7 and #8.
I wasn't sure how to get the .ini ID for the infocards, but using skyshooters excellent little tool ( http://mypage.bluewin.ch/skyshooter/fil ... lidref.zip ), selecting "ids_name" and using "1" for the table field seems to get the right infocard IDs.
These IDs work for the dll's below if any of you are still having problems.
[Ship
ids_name=462753
ship_class=1
ids_info=524289 ; Stats (texts + values)
ids_info1=524290 ; Description
ids_info2=524291 ; Stats (only texts)
ids_info3=524292 ; Stats (only values)
nickname=ship_frigate
http://hosted.nihilogic.dk/freelancer/n ... es_new.dll
http://hosted.nihilogic.dk/freelancer/infocards_new.dll
Edit: Oh, I got the Unknown Object thing as well..until I realised I'd gotten the IDs wrong. Pfft..
Edited by - dixi on 22-03-2003 05:41:27
Yeah i been using flidref to do the calculations i'll check out your dll's see if i can work out where i have been going wrong, thanks dude
This just could be the break i have been looking for woo hoo lmfao
if i am reading your info correctly
ids_name = dll 7, table 251, position 2
ids_info = dll 8, resid 2 (and sequentially 3,4,5)
time to check lol
Zen,
Even the greatest of whales is helpless in middle of desert.
DuwX.com
This just could be the break i have been looking for woo hoo lmfao
if i am reading your info correctly
ids_name = dll 7, table 251, position 2
ids_info = dll 8, resid 2 (and sequentially 3,4,5)
time to check lol
Zen,
Even the greatest of whales is helpless in middle of desert.
DuwX.com
Yes, them ID names have a pattern. I added NEW stuff also, especially info cards for my coming Prisoner MOD (Faction pilots can be captured as loot to ransom). I created a seperate Escape Pod for each faction with name and descriptions.
I have a quest for your more experts modders, can I use a new Resource DLL to get the EXE to "read in" say a new goods.ini file to change commodity prices?
The EXE is constantly looking at these dll and you can not write over them while EXE is running. But I can make a 'script' sort like the Random Mission routines to sqeeze in a simulated (limited for now) Dynamic Economy for trade prices.
Hey, why not just decompile the darn EXE and change that hard code the easy way? LOL We make a 'patch' for it. Is that legal?
I have a quest for your more experts modders, can I use a new Resource DLL to get the EXE to "read in" say a new goods.ini file to change commodity prices?
The EXE is constantly looking at these dll and you can not write over them while EXE is running. But I can make a 'script' sort like the Random Mission routines to sqeeze in a simulated (limited for now) Dynamic Economy for trade prices.
Hey, why not just decompile the darn EXE and change that hard code the easy way? LOL We make a 'patch' for it. Is that legal?
47 posts
• Page 2 of 4 • 1, 2, 3, 4
Return to Freelancer General Editing Forum