Windows PList Editor

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
Gunney_Plym
Dangerous
Dangerous
Posts: 64
Joined: Wed Jun 25, 2008 12:22 pm
Location: Sol 3, mostly.

Windows PList Editor

Post by Gunney_Plym »

Not sure if this has been highlighted before but for editing plist files I use TextPad.

Anyhow the reason for this post is that I have created a Syntax Highlight file for TextPad that emphasises structure and keys within the file.

Version 1 of the file covers all entries I could find in the ShipData, ShipYard, KeyConfig, and Equipment files. If I've missed any then please either let me know and I'll update the file.

TextPad can be found here
To download the syntax file grab it from here

To set it up for Oolite.
  • Install TextPad (no really :lol: )
    Download the Syntax file and extract it's contents to the System directory under TextPad Install directory
    Run TextPad and from the Configure menu select New Document Class
    Enter a class name (eg 'Oolite PList')
    Enter '*.plist' for the Class members
    Check Enable syntax highlighting and from the dropdown select 'oolite-plist.syn'
    Click Finish
You can then set up custom colours for the highlighting by -
  • Select Preferences from the Configure menu
    Expand the Document Classes entry and then the Oolite class (which will be named as you specified
    Select the Colors entry from the tree
    On the right hand side will then be all the colours used for the highlighting
I would recommend that you open a plist file while you set up your colour preferences and you will see the effect each time you click Apply.
Gunney.

"In space nobody cares if you scream"

Wiki Page : http://wiki.alioth.net/index.php/User:Gunney_Plym
User avatar
Dr. Nil
---- E L I T E ----
---- E L I T E ----
Posts: 983
Joined: Thu Sep 28, 2006 5:11 pm
Location: Nearest Hoopy Casino
Contact:

Post by Dr. Nil »

Good job! :)
Image

300 billboards in Your Ad Here!
Astromines and more in Commies.
AVAILABLE HERE along with other Oolite eXpansion Packs.
Post Reply