Difference between revisions of "Testing Resources"

From Armagetron
m
m (appearance improved)
Line 29: Line 29:
 
You may want to set the configuration item permanently by editing  
 
You may want to set the configuration item permanently by editing  
  
*'''Windows'''—C:\Program Files\Armagetron Advanced\config\settings_custom.cfg
+
*Linux — ~/.armagetronad/config/settings_custom.cfg
*'''Mac OS X'''—~/Library/Application Support/Armagetron Advanced/config/settings_custom.cfg
+
*Windows — C:\Program Files\Armagetron Advanced\config\settings_custom.cfg
*'''Linux'''—~/.armagetronad/config/settings_custom.cfg
+
*Mac OS X — ~/Library/Application Support/Armagetron Advanced/config/settings_custom.cfg
  
 
=== Run Armagetron ===
 
=== Run Armagetron ===

Revision as of 17:45, 16 September 2006

So you have written a new resource and would like to test it? Then you have come to the right place :)

Save it

Resources are stored in

  • Linux — ~/.armagetronad/resource
  • Windows — C:\Program Files\Armagetron Advanced\resource
  • Mac OS X — ~/Library/Application Support/Armagetron Advanced/resource

Inside this directory, resources are located at

author/category/name-version.type.xml

where type, name, version, author and category must match those stated in the resource:

<Resource type="..." name="..." version="..." author="..." category="...">

In windows, the subdirectories must be seperated by '\', not '/'.

Tell Armagetron to use it

by setting the relevant configuration item to

author/category/name-version.type.xml

(note that you have to use '/' regardless of whether you use windows)

You may want to set the configuration item permanently by editing

  • Linux — ~/.armagetronad/config/settings_custom.cfg
  • Windows — C:\Program Files\Armagetron Advanced\config\settings_custom.cfg
  • Mac OS X — ~/Library/Application Support/Armagetron Advanced/config/settings_custom.cfg

Run Armagetron

Now its time to play Armagetron Advanced locally.

If you have saved it wrong or the path you put is incorrect it will tell you.

If your settings or code is wrong it will also tell you a line number.