aboutsummaryrefslogtreecommitdiff
path: root/write-brlan.py
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2009-02-17 23:46:31 -0500
committercomex <comexk@gmail.com>2009-02-17 23:46:31 -0500
commit5089b4a5cd8b40a02187b4969bd97fba81f9d8f1 (patch)
tree6bf871dfc15f02975e49b00997432ee3c4ad04c6 /write-brlan.py
parent8504fb221559b57e38650be3a88bfafa02bf0998 (diff)
Helpfulness.
Diffstat (limited to '')
-rw-r--r--write-brlan.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/write-brlan.py b/write-brlan.py
index e9fa710..c2a2ce4 100644
--- a/write-brlan.py
+++ b/write-brlan.py
@@ -1,6 +1,12 @@
import sys, struct, re
from ethyl import *
+if len(sys.argv) != 2:
+ print 'Usage: python write-brlan.py input.rlan.py output.brlan'
+ print '(for example, see test.rlan.py)'
+ sys.exit(1)
+
+
CAT_COORDS = 0x1000000
CAT_2_UNK = 0x2000000 # alpha and stuff
COORD_X = 0