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

Oddity editing MiscText.dll

The general place to discuss MOD''ing Freelancer!

Post Tue Feb 22, 2005 4:40 am

Oddity editing MiscText.dll

After I edit a rumor in MiscText.dll, which are XML info-cards, I see the XML-code stuff in-game.

So when I go to the Bar and ask the Bartender if he has any news for me, instead of

The Outcasts come in from the Florida Jump Hole and then head for the Junker base in Debris Field One. Before they leave the system, they do a bit of pirating themselves. You’d think they wouldn’t care about pirating with all the money they make from Cardamine.


I see

<?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TEXT>The Outcasts come in from the Florida Jump Hole and then head for the Junker base in Debris Field One. Before they leave the system, they do a bit of pirating themselves. You’d think they wouldn’t care about pirating with all the money they make from Cardamine. </TEXT><PARA/><TEXT> </TEXT><PARA/><POP/></RDL>


(In the above example, I changed California in the original MiscText.dll entry to Florida, using FLED-ids.exe.)

The answer to this oddity might be easy: just remove all the XML-tags. But that's againts my religion I mean, the original MiscText.dll-entries are info-cards and use the XML-code, so why does a customized MiscText.dll entry needs to drop them?

Does anybody have any experience in this matter, or just some wise words of advice?

Thanks!


EDIT: Oh well, I decided not to bother, and work around it by adding a custom dll. The new rumors work fine as long as they're ids_name style (plain text, non-XML type) entries.


Edited by - moonhead on 2/22/2005 4:45:49 AM

Edited by - Moonhead on 2/22/2005 9:11:25 AM

Post Thu Feb 24, 2005 6:27 pm

Well, I still feel the need to answer this question for those (like me) who wish to duplicate the game. The reason for this is that the IDS Info, but not IDS Name, cuts off the first character. So, it turns into this:

?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TEXT>The Outcasts come in from the Florida Jump Hole and then head for the Junker base in Debris Field One. Before they leave the system, they do a bit of pirating themselves. You’d think they wouldn’t care about pirating with all the money they make from Cardamine. </TEXT><PARA/><TEXT> </TEXT><PARA/><POP/></RDL>

Note the missing character at the very beginning. To remedy this, put any character in BEFORE the < at the beginning. Like:

*<?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TEXT>The Outcasts come in from the Florida Jump Hole and then head for the Junker base in Debris Field One. Before they leave the system, they do a bit of pirating themselves. You’d think they wouldn’t care about pirating with all the money they make from Cardamine. </TEXT><PARA/><TEXT> </TEXT><PARA/><POP/></RDL>

That should take care of the problem.

MK

*edit*

Also, if the rumor doesn't have anything special (such as colored text, bolded, etc.), the <?xml version="1.0" encoding="UTF-16"?><RDL><PUSH/><TEXT> and </TEXT><PARA/><TEXT> </TEXT><PARA/><POP/></RDL> aren't even required. So, you could put:

*The Outcasts come in from the Florida Jump Hole and then head for the Junker base in Debris Field One. Before they leave the system, they do a bit of pirating themselves. You’d think they wouldn’t care about pirating with all the money they make from Cardamine.

It would read just the same. This takes less space, so reduces the .dll entry size. Also, might I recommend you use a new .dll, made just for your system/mod? It also saves space, causes less conflict, and is somewhat easier to work with.

Edited by - mknote on 2/24/2005 6:31:01 PM

Return to Freelancer General Editing Forum