Difference between revisions of "HPL2/Lang Editor Tool"

From Frictional Wiki
Jump to navigation Jump to search
(Upload from wiki)
 
m (Mudbill moved page Hpl2:Resources:let to HPL2/Lang Editor Tool without leaving a redirect)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
= Amnesia Lang Editor Tool - V1.1 =
 
= Amnesia Lang Editor Tool - V1.1 =
 
  
 
[http://www.frictionalgames.com/forum/thread-12213.html Original Forum Post]  
 
[http://www.frictionalgames.com/forum/thread-12213.html Original Forum Post]  
 
  
 
== About ==
 
== About ==
 
  
 
I've always found myself prone to making syntax errors when writing the  language file data for amnesia, but yet i found the existing Lang tool  (HplLangTool) not quite what I was looking for either. It was also  lacking a way of merging files together. So I've written up this new  tool.
 
I've always found myself prone to making syntax errors when writing the  language file data for amnesia, but yet i found the existing Lang tool  (HplLangTool) not quite what I was looking for either. It was also  lacking a way of merging files together. So I've written up this new  tool.
 
  
 
== Features ==
 
== Features ==
 
+
# Reads / Writes valid XML LANG files. Provides a useful error message if there was a parsing failure (errors tab) - helpful for debugging.
 
+
# Allows appending lang files together. If there is an entry collision  the old entry is kept, and a message output to the errors tab.
## Reads / Writes valid XML LANG files. Provides a useful error message if there was a parsing failure (errors tab) - helpful for debugging.
+
# Easy to use, for adding & removing categories & entries you shouldn't even need the mouse.
## Allows appending lang files together. If there is an entry collision  the old entry is kept, and a message output to the errors tab.
+
# Collapsible tree structure to make categories easy to navigate.
## Easy to use, for adding & removing categories & entries you shouldn't even need the mouse.
+
# Resources information parsed
## Collapsible tree structure to make categories easy to navigate.
+
# Move entries between categories by dragging and dropping.
## Resources information parsed
+
# Script support. You can now easily write scripts (C#) to generate language file content.
## Move entries between categories by dragging and dropping.
+
# SpellChecker
## Script support. You can now easily write scripts (C#) to generate language file content.
 
## SpellChecker
 
 
 
 
 
 
== Download ==
 
== Download ==
 
  
 
Requires .net framework 3.0 to run.
 
Requires .net framework 3.0 to run.
 
  
 
Latest Version:
 
Latest Version:
 
  
 
[http://dl.dropbox.com/u/64805489/LangEditor/LangEditorV1.1.zip V1.1]  
 
[http://dl.dropbox.com/u/64805489/LangEditor/LangEditorV1.1.zip V1.1]  
 
  
 
Older Versions:
 
Older Versions:
 
  
 
[http://dl.dropbox.com/u/64805489/LangEditor/LangEditorV1.0b.zip V1.0B] <br />
 
[http://dl.dropbox.com/u/64805489/LangEditor/LangEditorV1.0b.zip V1.0B] <br />
Line 45: Line 32:
  
 
== Quick Usage Guide ==
 
== Quick Usage Guide ==
 
  
 
Open up a language file using "Open". The Left hand side should list all  the categories with a little "+" icon next to them (If a category has  no entries then no + sign is listed). You can expand the categories by  clicking this to show all the entries. Click an entry once to highlight  it - the text associated with this entry should appear on the right. You  can delete an entry by highlighting it and pressing the delete key.  <br /> <br />Double click and entry or category to rename it. A list of other options  are available by right clicking on on the left hand pane.  <br /> <br />Full list of Keyboard Shortcuts:
 
Open up a language file using "Open". The Left hand side should list all  the categories with a little "+" icon next to them (If a category has  no entries then no + sign is listed). You can expand the categories by  clicking this to show all the entries. Click an entry once to highlight  it - the text associated with this entry should appear on the right. You  can delete an entry by highlighting it and pressing the delete key.  <br /> <br />Double click and entry or category to rename it. A list of other options  are available by right clicking on on the left hand pane.  <br /> <br />Full list of Keyboard Shortcuts:
  
 +
*Ctrl + O : Open
 +
*Ctrl + S : Save
 +
*Ctrl + N : New
 +
*Ctrl + W : Add Category (Main tab)
 +
*Ctrl + E : Add Entry (Main tab)
 +
*Ctrl + P : Add Path (Resources tab)
 +
*Shift + Delete: Delete entry (Whilst not in focus)
 +
*Cut, Copy, Paste, Undo etc supported too.
  
<syntaxhighlight lang="">
+
==Unimplemented features==
Ctrl + O : Open
+
*Multilanguage support
Ctrl + S : Save
+
*Enabling/Disabling the spellchecker option.
Ctrl + N : New
 
 
 
Ctrl + W : Add Category (Main tab)
 
Ctrl + E : Add Entry (Main tab)
 
Ctrl + P : Add Path (Resources tab)
 
Shift + Delete: Delete entry (Whilst not in focus)
 
 
 
Cut, Copy, Paste, Undo etc supported too.
 
</syntaxhighlight>
 
 
 
 
 
== Known bugs / Todo list ==
 
 
 
 
 
Look at adding multilanguage support (multiple dictionaries / custom dictionaries)?
 
 
 
 
 
Enable/Disable Spellchecker option.
 

Latest revision as of 00:10, 6 August 2020

Amnesia Lang Editor Tool - V1.1

Original Forum Post

About

I've always found myself prone to making syntax errors when writing the language file data for amnesia, but yet i found the existing Lang tool (HplLangTool) not quite what I was looking for either. It was also lacking a way of merging files together. So I've written up this new tool.

Features

  1. Reads / Writes valid XML LANG files. Provides a useful error message if there was a parsing failure (errors tab) - helpful for debugging.
  2. Allows appending lang files together. If there is an entry collision the old entry is kept, and a message output to the errors tab.
  3. Easy to use, for adding & removing categories & entries you shouldn't even need the mouse.
  4. Collapsible tree structure to make categories easy to navigate.
  5. Resources information parsed
  6. Move entries between categories by dragging and dropping.
  7. Script support. You can now easily write scripts (C#) to generate language file content.
  8. SpellChecker

Download

Requires .net framework 3.0 to run.

Latest Version:

V1.1

Older Versions:

V1.0B
Beta 3
Beta 2
Beta 1

Quick Usage Guide

Open up a language file using "Open". The Left hand side should list all the categories with a little "+" icon next to them (If a category has no entries then no + sign is listed). You can expand the categories by clicking this to show all the entries. Click an entry once to highlight it - the text associated with this entry should appear on the right. You can delete an entry by highlighting it and pressing the delete key.

Double click and entry or category to rename it. A list of other options are available by right clicking on on the left hand pane.

Full list of Keyboard Shortcuts:

  • Ctrl + O : Open
  • Ctrl + S : Save
  • Ctrl + N : New
  • Ctrl + W : Add Category (Main tab)
  • Ctrl + E : Add Entry (Main tab)
  • Ctrl + P : Add Path (Resources tab)
  • Shift + Delete: Delete entry (Whilst not in focus)
  • Cut, Copy, Paste, Undo etc supported too.

Unimplemented features

  • Multilanguage support
  • Enabling/Disabling the spellchecker option.