aboutsummaryrefslogtreecommitdiff
path: root/write-brlan.py
diff options
context:
space:
mode:
Diffstat (limited to 'write-brlan.py')
-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..f4a45fd 100644
--- a/write-brlan.py
+++ b/write-brlan.py
@@ -1,6 +1,12 @@
import sys, struct, re
from ethyl import *
+if len(sys.argv) != 3:
+ 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