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

**UTILITY** ids_name/ids_info extractor/editor

Here you can find the postings on the different editing utilities found for Freelancer

Post Sun Mar 23, 2003 7:29 pm

**UTILITY** ids_name/ids_info extractor/editor

Greetings,

The old "convert ids/reshack/find resource" routine for getting names and infocards bored me, so I made this little thing.

What it does is, after you tell it the location of your FL, it reads the freelancer.ini file to get what resource dll's you're using and then look up the resources for the ids you type in. That means it will also work for your custom names/infocards.

Click "save ids_info" and "save ids_name" to save the contents back into the dll.
If you save it with an ID that doesn't exist, it will be automagically created.

It hasn't been tested extensively, so it might blow up if you give it crap.

http://hosted.nihilogic.dk/freelancer/fled-ids.zip.


Edit: FLEd-ids can now edit infocards as well, read below.

Edit #2: + edit/create ids_name strings.

Edit #3: Updating and adding strings and infocards should now be working on Win9x systems. Thanks to EraDKtor for testing.
Also, there is now a search function. It lists all IDs matching a given string.

As usual, make backups.

Edit #4: Please use [email protected] for bugs, questions, etc. as I don't read these forums anymore.

Edited by - dixi on 28-07-2003 20:36:16

Post Sun Mar 23, 2003 8:11 pm

Yeah Cool !

Post Sun Mar 23, 2003 8:17 pm

Very handy dude, lets me check my calculations work

Reckon you could hack together an app that can edit the info in these visually? directly fromm the dll?

Post Mon Mar 24, 2003 12:01 am

I've looking into that..but have now come to the sad conclusion that I was not meant to write resource editing code at this point in my life. =/

So..it stays read-only for now.

Post Mon Mar 24, 2003 1:43 am

well lets not put down what you have made dude!!

this make the extracting of the xml data a breeze,you do the normal open *.ini copy res number into your app it gets the xml info and u simply gotta copy&paste into wordpad for editing saving as html and then adding back via res hack it saves the lookup process (of opening fl id ref doing the calc, then getting res hack to extract as binary file, edit in wordpad and then replace via res hack) i will have to make a point of updating my guide to make use of this app
(if of course you dont mind me hosting the app on my server?) see link in my sig

Zen,
Even the greatest of whales is helpless in middle of desert.
DuwX.com

Edited by - Zen Eryu on 24-03-2003 02:43:32

Post Mon Mar 24, 2003 11:43 am

Actually, come think of it..I might be able to add editing/adding of the xml infocards. My problem so far has been with the string tables.

Will give it another shot when I get home later today.

Also, no problem with you hosting the file.

- Dixi

Post Mon Mar 24, 2003 10:25 pm

Ok, FLEd-ids has been updated, got Infocard editing working now. (yay)
You'll notice a "?" in front of the xml when you extract the original infocards. I have no idea what good it does, but the ?'s are in the dll, so it's not a bug. It also doesn't seem to matter if it's there or not. At least not with the cards I've tested on.
So remove it if you want.

I also added a ResID to FL id conversion function.

Note: It won't update the dll if you have FL running. So don't.

- Dixi

Edit: One more thing, if you save an infocard with a non existing ID, it will automatically create a new entry in the dll.

Obligatory disclaimer: It's not my fault if it screws up your dll's, so make backups.

Edited by - dixi on 24-03-2003 22:50:16

Post Tue Mar 25, 2003 2:12 am

you sir are my personal savour if this works dude "YOU DA MAN"

Oh and just so you know the app WILL overwrite IDS_NAME into the IDS_INFO section if you hit the save ids info button thought i would test to make sure Incase peeps bitch about it.

Oh yeah man i like this app this is seriously sweet Now i know i am asking alot but is there anyway you could add editing of the string tables?

it save s string tables in exactly the same way as the xml files for all intents and purposes there might be a way to mod the code you already have to do the same with the diffrent field as long as it saves to "String Table" and not "STRING TABLE" like res hack likes to rename it too it SHOULD work.

Oh one last bit of info can you add the table# like with the ids_name as the infocards also use this (exactly liek the string table) 1-15 infocards = table 1, 16 - 31 = table 2 and so on string tables work the res id refrerers to the position in the table numbered x which is why we have identical numbers for ids_name and ids_info

i hope that helps, and not seeming too demanding or anything, but i can see the full potential and time saving of your app man and i get a little over excited lol

okie i'll shut up now

thanks for an excellant app man

Zen,
Even the greatest of whales is helpless in middle of desert.
DuwX.com

Edited by - Zen Eryu on 25-03-2003 02:34:45

Post Tue Mar 25, 2003 6:14 am

Yes it will write what ever is in the big field when you click save. Maybe a confirmation box would be in order to avoid 'accidents'?

Hmm..where is it you want the table # added?

About the string tables..I had figured it would be easy peasy..but it's been giving me nothing but a headache. I've not given up yet, though. But no promises.

Post Tue Mar 25, 2003 7:03 am

Good job, It defintely speeds things up! Doing it the old hard way got long and boring; I thought I would die of old age before I was done editing about Hundreds of new items, name, and info cards text. Thanks for your hard work.

CW

Post Tue Mar 25, 2003 8:19 am

This is a really useful program! Thanks Dixi!

Regarding the question mark at the beginning for a record, somehow if I leave it there the text in the game will get really screwed up (it displays all those XML tags). If I remove it everything becomes normal again.

War does not decide who is right, only who is left.

Post Tue Mar 25, 2003 8:43 am

Hmm..ok, thanks.
I'll have the program remove it when it extracts the xml.

Post Tue Mar 25, 2003 12:07 pm

Calc for ids_name = DLL #7 - zen.dll - Table 1 - ResID 1
Calc for ids_info = DLL #7 - zen.dll - ResID 1 <-- table number for this one too would be super handy although prolly not needed as your calc already takes this into consideration

Its a shame its giving ya problems for the string table but i am sure you'll crack it duder i mean your app is like super sweet.

Zen,
Even the greatest of whales is helpless in middle of desert.
DuwX.com

Post Tue Mar 25, 2003 10:41 pm

Why would you need a table number for the infocards, though?
Not that it's a problem.

I'll try to implement that search function you asked about tomorrow.
Just got home from work..and it's almost 11pm. Ack..

Oh, and if anyone knows anything about editing string tables, any help would be much appreciated. [email protected]

Post Wed Mar 26, 2003 1:05 am

hey its cool man take yer time i got way too excited about it, lol

i wouldnt actually worry about it too much i found out the app wont add new info unless there is an infocard is actually in the dll anyways but it edits those there perfectly. So still gotta get it created with res hack but man you have done a sweet app. and i am thankfull for the time you have spent bring it to us

Zen,
Even the greatest of whales is helpless in middle of desert.
DuwX.com

Return to Freelancer Editing Utilities Forum