Locomoto.txt 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. locomoto v1.22 (Hide and Seek) Jun 23 1999 by Gerry Shaw, EAC
  2. USAGE: locomoto [-options] <sourcefile>
  3. VERSION: WIN NT v1.22 (Hide and Seek), Spit v2.89
  4. SUMMARY: locomoto string compiler tool
  5. SPIT environment variable is LOCOMOTO_OPTS
  6. @<file> response file, containing a list of options and files
  7. -v# verboseness 0=nothing,1=errors,2=default,3=extra,4=debug
  8. -cpp C++ style header files (const int vs default #define)
  9. -header# 0=does not create .h file,1=creates .h file (default)
  10. -id# specifies what column id values in (default 1, -1 for none)
  11. -index# create an index, # specifies what column index (-1 for none)
  12. -define# specifies what column the conditionals are in (default -1)
  13. -D... specifies conditional
  14. -strings#..# range of columns containing string values
  15. -check check for duplicate strings (default off - this is O(n^2))
  16. -ascii source file is ASCII encoded (default)
  17. -unicode source file is Unicode encoded, must be tab delimited
  18. -csv source file is a DataTableIndex, comma seperated file (default)
  19. -tab source file is tab delimited
  20. -multifile languages are stored in multiple files (default is off)
  21. -lc<char> character to indicate left side of a comment (default none)
  22. -rc<char> character to indicate right side of a comment (default none)
  23. Notes: * Column values are 0 based. Column 'A' in Excel is column 0.
  24. * Use -1 to specify a column does not exist
  25. * Range syntax for strings is 3..6 for 4 columns of strings
  26. * If no string range is given than all left over columns with
  27. a column header are considered to have strings.
  28. * Conditionals are good when you want to share strings among
  29. different platforms. Put a pc or psx to limit the string
  30. to a specific platform. Use -Dpc to get only pc strings.
  31. * If using Unicode you must use tab delimited files
  32. * In general tab delimited is better than comma delimited
  33. * In order to use the new LOCALE_getstr API you must use the
  34. -multifile option to get each language in it's own .loc file.
  35. * Pathnames are taking from the top row of each column when
  36. using the multifiles.
  37. * Use -lc and -rc to allow for comments in the strings
  38. ie, "[winning team name] defeat [losing team name]."
  39. Use these options to handle the above example -lc[ -rc]
  40. locomoto -h # for this help
  41. locomoto -help # for web page