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 ** INI Parser

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

Post Thu Mar 13, 2003 6:01 pm

** Utility ** INI Parser

In working on my ship editor and planning for a random universe generator I created a tool for parsing the value of a particular item in the Freelancer ini file. This might be useful to a lot of you.

Download from:
http://www.thenetsedge.com/freelancer/fliniparser.zip


This does require the .Net Framework to be installed. Sorry...but I am not going back to VB.

Readme file:
Freelancer INI Parser by Stuart "vovin" Presley

Parses a Freelancer ini file for the values of a particular item.

For instance:
If you wanted all the nicknames of everything in the shiparch.ini file (after you use something like bini to extract the ini file) then open the file with this tool, type nickname, click go and you get something like this:

b_battleship_butt_dmg_cap
b_battleship_engine_cap
b_battleship_head_dmg_cap
b_battleship_neck_dmg_cap
b_battleship_port_gen_cap
b_battleship_starboard_gen_cap
b_battleship_tail_dmg_cap
b_battleship_tower_cap
b_destroyer_body_cap
b_destroyer_port_eng_cap
b_destroyer_starboard_eng_cap
b_destroyer_tower_cap
b_destroyer_wplat_cap
b_gunship_port_eng_cap
b_gunship_port_wing_cap
b_gunship_starboard_eng_cap
b_gunship_starboard_wing_cap
b_gunship_tail_cap
b_gunship_tower_cap... and more....

Use Copy To Clipboard to copy the list to the clipboard and paste it wherever...
Use the remove duplicates box (enabled by default) to remove duplicate items from the parsing.


-V

Edited by - vovin on 13-03-2003 18:02:46

Edited by - vovin on 13-03-2003 18:07:31

Post Fri Mar 14, 2003 12:06 am

Just wanted to bump as anyone working on a ship editor, trade editor, system editor, universe editor should find this utility quite useful in gathering resource data about values in the ini files.

Post Fri Mar 14, 2003 3:04 am

Making this a sticky. Great utility you've made V!

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
The Next Thing I Say To You Will Be True
The Last Thing I Said Was False

Post Sat Mar 15, 2003 5:46 am

Updated to Ver 1.1 (use the same link as above). I discovered this did not work with the INI files created by FLINI. Also removed debug code which improved the speed and made the download footprint even smaller.


-V
The Nets Edge
Freelancer .INI File Parser

Post Wed Mar 19, 2003 4:52 pm

i would like to use your ini-parser and it starts normal, but when i try to open a file , before i can even selects one, i get this error-message:


.net is installed, where is the problem? any idea?

thanx

Edited by - Dschonny on 19-03-2003 16:54:44

Post Wed Mar 19, 2003 5:02 pm

found it, had to give it full trust... why full?

Post Wed Mar 19, 2003 5:08 pm

would be REALLY nice if the prog wouldn't sort all the info, or even better if it was possible to search for two values.. is that possible?

Post Wed Mar 19, 2003 10:56 pm

What is this .Net Framework and where i can download it please




Edited by - m31asy on 19-03-2003 22:57:33

Post Thu Mar 20, 2003 12:09 am

Hit windows update, .NET support is one of the non-critical updates.

Post Mon Mar 24, 2003 10:47 pm

I tried opening the INI files, (such as constants.ini) and NOTHING happened, nothing appeared in the white box below...

I have the NET framework installed.

Post Sat Apr 05, 2003 11:36 pm

So what does this actually do?

Post Tue Apr 15, 2003 2:16 am

To the person asking about access rights: I assume that the application needs full access because it does File I/O. File I/O is one of the most dangerous things an application can do, and thus an application doing I/O must be "trusted".

About installing the Framework: Finding it is fairly easy, the Windows Update site (as mentioned above), or you can do a Google search for ".NET Framework Runtime" (or whatever) to find mirrors/etc. The file is 10-20 MBs, but I wouldn't complain, as this is fairly light. (The last VB runtime was 6 MBs.) The Runtime also happens to include all of the compilers. (The difference b/w the Runtime and the SDK is mostly documentation and samples.) This means that you can easily download a program like SharpDevelop (icsharpcode.net) and develop your own .NET programs.

I agree with the guy who made this program, I'm never going to touch VB again. .NET is more powerful, cheaper, and cooler. It's safer and more reliable than any Java implementation on Windows. Believe it or not, but it is also a better standard than Java, because the CLR (the "Virtual Machine" and C# language are both ECMA standards. (Java is not a standard, it is a licensed and proprietary language.)

--WorldMaker--

Return to Freelancer Editing Utilities Forum