Automatically generate string-based resource IDs for all content.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2864 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2007-11-27 11:32:31 +00:00
parent 3543c7ae72
commit 73803cc42f
4 changed files with 146 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
The resmap tool is a set of utilities for generating subsidiary resource
index files based on the current system.
----
Currently available runnable files:
mastermap.py: Walks the content tree, finds all the .lst files, and
produces a master resource map mapping IDs to each file.
----
Currently available library files:
explorer.py: Provides routines for locating and parsing .lst files in
the content tree.
stridgen.py: This does most of the grunt work. It provides the
makeid() function, which, given a filename, produces a
suitable Resource ID string. This is handled with a huge
array of regular expressions at present; as the design
of the resource tree evolves, this script may be kept in
sync with it.