| 1 |
NAME |
| 2 |
ucxt - Ultima VII/VIII usecode disassembler. |
| 3 |
|
| 4 |
SYNOPSIS |
| 5 |
ucxt [OPTIONS] -a |
| 6 |
prints all the functions |
| 7 |
|
| 8 |
ucxt [OPTIONS] <hex_function_number> |
| 9 |
disassembles a single function to stdout |
| 10 |
|
| 11 |
DESCRIPTION |
| 12 |
Games supported by Exult (Ultima VII, for example) consist in large part |
| 13 |
of usecode. Exult basically implements a virtual machine the machine |
| 14 |
language of which is usecode. |
| 15 |
|
| 16 |
The ucxt command allows you to disassemble usecode. |
| 17 |
|
| 18 |
OPTIONS |
| 19 |
Misc Flags (any/all of these): |
| 20 |
|
| 21 |
-nc don't look for exult's .xml config file |
| 22 |
|
| 23 |
-v turns on verbose output mode |
| 24 |
|
| 25 |
-ofile output to the specified file |
| 26 |
|
| 27 |
-ifile load the usecode file specified by the filename |
| 28 |
|
| 29 |
-ro output the raw opcodes in addition to the -f format |
| 30 |
|
| 31 |
-ac output automatically generated comments |
| 32 |
|
| 33 |
-uc output automatically generated 'useless' comments |
| 34 |
|
| 35 |
-b only do 'basic' optimisations |
| 36 |
|
| 37 |
-dbg output debugging information if present in usecode |
| 38 |
|
| 39 |
-ext32 convert function to ext32 format if not already |
| 40 |
|
| 41 |
Game Specifier Flags (only one of these): |
| 42 |
|
| 43 |
-bg select the black gate usecode file |
| 44 |
|
| 45 |
-si select the serpent isle usecode file |
| 46 |
|
| 47 |
-u8 select the ultima 8/pagan usecode file (experimental) |
| 48 |
|
| 49 |
Output Format Flags (only one of these): |
| 50 |
|
| 51 |
-fl output using brief "list" format |
| 52 |
|
| 53 |
-fa output using "assembler" format (default) |
| 54 |
|
| 55 |
-fs output using "exult script" format |
| 56 |
|
| 57 |
-fz output using "exult script" format |
| 58 |
|
| 59 |
-ftt output using the translation table xml format |
| 60 |
|
| 61 |
-ff outputs all flags referenced in the usecode file sorted both by |
| 62 |
"flags within a function" and "functions using flag" |
| 63 |
|
| 64 |
(ReadMe copied from man page ucxt.1) |