home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / lxlt121s.zip / lxLite_src / lxlite.rc < prev    next >
Text File  |  1997-06-08  |  14KB  |  341 lines

  1. /************************* lxLite resource file *****************************/
  2.  
  3. StringTable
  4. begin
  5.  100 "┌[ lxLite ]──────────────────────────────────[ Version %s]┐"
  6. /* YOU ARE *NOT* ALLOWED TO CHANGE THE FOLLOWING LINE */
  7.  101 "├ Copyright 1996,97 by FRIENDS software ─ All rights reserved ┘"
  8.  102 "└┤Done"
  9.  103 "[Enter] Next Line   [Space] Next Page   [Esc] Abort"
  10.  104 "├ Invalid command line parameter %s"
  11.  105 "└ Program aborted"
  12.  106 "├ FATAL: Internal error %d at %08x in lxLite version %s"
  13.  107 "└ Please report to author"
  14.  
  15.  151 "└┤Cannot load DOS stub replacement %s"
  16.  152 "└┤Fatal disk I/O error: cannot restore file from backup"
  17.  153 "└┤Invalid stub format: not a DOS .EXE file %s"
  18.  154 "└┤Failed to open configuration file %s"
  19.  155 "└┤Failed to open log file %s"
  20.  156 "└┤Cannot get country information"
  21.  157 "└┤Option /G?#: Cannot apply given filemask onto filename"
  22.  158 "└┤Option /G?#: Output filename must be different from module filename"
  23.  159 "└┤Cannot open output file for extra/debug/stub data"
  24.  160 "└┤Recursive configuration entry detected"
  25.  161 "└┤Cannot create directory tree %s"
  26.  162 "└┤Cannot copy file %s to backup directory"
  27.  163 "└┤Failed to load configuration record [%s]"
  28.  
  29. /* LX format information strings */
  30.  192 "├ -= Empty =-"
  31.  
  32.  193 "  Valid  "
  33.  194 "RL-packed"
  34.  195 " Invalid "
  35.  196 "  Zeroed "
  36.  197 "  Range  "
  37.  198 "LZ-packed"
  38.  199 " unknown "
  39.  
  40.  200 "  unused  "
  41.  201 "  16:16   "
  42.  202 "16:16 gate"
  43.  203 "   0:32   "
  44.  204 " Forwarder"
  45.  205 "  unknown "
  46.  
  47.  206 "i80286"
  48.  207 "i80386"
  49.  208 "i80486"
  50.  209 "P5"
  51.  210 "P6"
  52.  211 "P7"
  53.  
  54.  224 " Index ┬ Name "
  55.  225 " Index ┬ Offs ┬ Name "
  56.  226 "Exp"
  57.  227 "Shr"
  58.  228 "Par: %dw"
  59.  229 "proc offs %d"
  60.  230 "application"
  61.  231 "full-screen"
  62.  232 "windowed"
  63.  233 "PM"
  64.  234 "unknown type"
  65.  235 "DLL"
  66.  236 "Protected DLL"
  67.  237 "Physical Driver"
  68.  238 "Virtual Driver"
  69.  239 "Per-process Init"
  70.  240 "Per-process Term"
  71.  241 "Unknown module type"
  72.  242 "Internal fixups applied"
  73.  243 "External fixups applied"
  74.  244 "Not loadable"
  75.  
  76.  250 "├ Module type:   %s"
  77.  251 "├ Required CPU:  %12s   Version:       %9d.%02d"
  78.  252 "├ Required OS:   %12s   Pages in file: %12d"
  79.  253 "├ Page size:     %12d   Page shift:    %12d"
  80.  254 "├ Objects:       %12d   Resources:     %12d"
  81.  255 "├ ObjTable offs:     %08x   ResTable offs:     %08x"
  82.  256 "├ MapTable offs:     %08x   DirTable offs:     %08x"
  83.  257 "├ N-Res Names offs:  %08x   N-Res Names size:  %08x"
  84.  258 "├ ImportProc offs:   %08x   EntryTable offs:   %08x"
  85.  259 "├ PageData offs:     %08x   CompData offs:     %08x"
  86.  260 "├ PageFixTable offs: %08x   Fixup Table offs:  %08x"
  87.  261 "├ Fixups size:       %08x   Fixup CRC:         %08x"
  88.  262 "├ Resident size:     %08x   Resident CRC:      %08x"
  89.  263 "├ ImportTable offs:  %08x   DebugData offs:    %08x"
  90.  264 "├ Imported entries:%10d   Debug info,b:  %12d"
  91.  265 "├ Start obj:EIP:%4d:%08x   Stack obj:ESP:%4d:%08x"
  92.  266 "├ Auto data object:%10d   Preloaded pages:%11d"
  93.  267 "├ Stack size:    %12d   Heap size:     %12d"
  94.  268 "├ Module name: %s"
  95.  269 "├ Description: %s"
  96.  270 "├ Object Table"
  97.  271 "├ ## ─ Base ─── Size ──R─W─E─Res─Dis─Shr─Pre─Inv─Swp─Rsd─Loc─A16─32B─Cnf─IOP─"
  98.      /*  0 00000000 00000000 Y Y Y  Y   Y   Y   Y   Y   Y   Y   Y   Y   Y   Y   Y */
  99.  272 "└┬─ Index ──┬ FileOffs ┬ Size ┬ Attribute ┐"
  100.      /*└ 00000000 ┴ 00000000 ┴ 0000 ┴ LZ-packed ┘*/
  101.  273 "├ Resident Names Table"
  102.  274 "├ Non-Resident Names Table"
  103.  275 "├ Imported Modules Table"
  104.  276 "├ Imported Procedures Table"
  105.  277 "├ Module Entry Table"
  106.  278 " Index ┬ Entry Type ┬ Entry Attributes"
  107.  279 "├ Relocation Table"
  108.  280 "Object index: %d; Page index: %d; Absolute page: %d;"
  109.  281 "Low byte"
  110.  282 "Selector"
  111.  283 "16:16 pointer"
  112.  284 "16-bit offset"
  113.  285 "16:32 pointer"
  114.  286 "32-bit offset"
  115.  287 "32-bit relative offset"
  116.  288 " of "
  117.  289 "object %d"
  118.  290 " offset %08x"
  119.  291 "import %s"
  120.  292 "module entry #%d"
  121.  
  122.  300 "├ ═══════════ lxLite configuration: ═══════════"
  123.  301 "├ Show info:                %s"
  124.  302 "├ Run at idle priority:     %s"
  125.  303 "├ Unpack loaded executable: %s"
  126.  304 "├ Backup executables:       %s"
  127.  305 "├ Pause before each file:   %s"
  128.  306 "├ Replace DOS stub by:      %s"
  129.  307 "remove it"
  130.  308 "├ Align first object:       %s"
  131.  309 "no alignment"
  132.  310 "on PageShift bound"
  133.  311 "on sector bound"
  134.  312 "├ Align other objects:      %s"
  135.  313 "on PageShift bound"
  136.  314 "on sector bound"
  137.  315 "├ Set PageShift value to:   %s"
  138.  316 "don`t change"
  139.  317 "├ Run-length packing:       %s"
  140.  318 "Disabled"
  141.  319 "Minimal (find 1-byte sequences)"
  142.  320 "Middle (up to 16-byte sequences)"
  143.  321 "Maximal (find ALL sequences (SLOW!!!))"
  144.  322 "├ Lempel-Ziv packing:       %s"
  145.  323 "├ Excluded files mask:      %s"
  146.  324 "├ Fixups packing level:     %s"
  147.  325 "Disabled"
  148.  326 "Minimal (OS/2 v2.x)"
  149.  327 "Medium (OS/2 v4.0 /8.250+/)"
  150.  328 "Maximal (OS/2 v4.0 /8.250+/)"
  151.  
  152.  351 "error reading executable"
  153.  352 "error writing executable"
  154.  353 "invalid executable file format"
  155.  354 "unsupported executable format revision"
  156.  355 "invalid word/dword ordering in executable"
  157.  356 "executable target is an unsupported CPU type"
  158.  357 "executable target is an unsupported OS"
  159.  358 "module has 'not loadable' flag set"
  160.  359 "unknown entry bundle type in executable"
  161.  360 "unknown page flags in executable"
  162.  361 "invalid page in executable"
  163.  362 "not enough memory to load executable"
  164.  363 "invalid stub"
  165.  364 "error reading EAs"
  166.  365 "error writing EAs"
  167.  366 "is an NE module"
  168.  367 "is an LX module"
  169.  368 "invalid fixup record"
  170.  369 "bound application"
  171.  370 "doesn`t support long filenames"
  172.  371 "incompatible segment definition"
  173.  372 "bad executable segment"
  174.  373 "contains 16-bit resources"
  175.  
  176.  400 "├ The module %s is used by another process"
  177.  401 "[R]eplace, [S]kip or [A]bort?"
  178.  402 "RSA"
  179.  403 "├ Cannot replace module %s"
  180.  
  181.  410 "└ Processing file %s "
  182.  411 "├ The file %s contains %d bytes of debug information"
  183.  412 "[D]iscard or [L]eave them, [S]kip file or [A]bort ?"
  184.  413 "DLSA"
  185.  414 "already processed"
  186.  415 "├ The file %s contains %d bytes out of module structure"
  187.  416 "[D]iscard or [L]eave them, [S]kip file or [A]bort ?"
  188.  417 "DLSA"
  189.  418 "├ The file %s already exists"
  190.  419 "[O]verwrite .BAK/[N]o backup/[S]kip file or [A]bort?"
  191.  420 "ONSA"
  192.  421 "└ Backing up  %s ... "
  193.  422 "cannot backup module"
  194.  423 "└ Saving file %s ... "
  195.  424 "├%28s initial:%8d final:%8d gain: %s%%"
  196.  425 "├┤Total gain: %d bytes"
  197.  426 "├ Current directory %s"
  198.  427 "├ The file %s contains %d bytes in non-resident names table"
  199.  428 "[D]iscard or [L]eave them, [S]kip file or [A]bort ?"
  200.  429 "DLSA"
  201.  
  202.  430 "-------- %s at %s started lxLite v%s"
  203.  431 "%s File: %s initial: %d final: %d gain: %s%%"
  204.  432 "         Debug info has been placed into %s"
  205.  433 "         Debug info has been removed"
  206.  434 "         Debug info has been kept"
  207.  435 "         Extra LX data has been placed into %s"
  208.  436 "         Extra LX data has been removed"
  209.  437 "         Extra LX data has been kept"
  210.  438 "         .BAK file already existed and has been overwritten"
  211.  439 "         .BAK file already existed: no backup has been made"
  212.  440 "         Module was loaded by another process; unlocked"
  213.  441 "         module stub has been placed into %s"
  214.  442 "%s File %s: %s"
  215.  443 "%s Current directory: %s"
  216.  444 "-------- Total gain: %d bytes"
  217.  445 "         Non-resident table has been removed"
  218.  446 "         Non-resident table has been kept"
  219.  
  220.  450 "├ Cannot find such files: %s"
  221.  451 "File %s: [P]rocess, [S]kip or [A]bort?"
  222.  452 "PSA"
  223.  
  224.  460 "contains debug info: skipped"
  225.  461 "contains debug info: aborted"
  226.  462 "contains extra data: skipped"
  227.  463 "contains extra data: aborted"
  228.  464 "file is in use by another process"
  229.  465 ".BAK already exists: skipped"
  230.  466 ".BAK already exists: aborted"
  231.  467 "has non-resident names table: skipped"
  232.  468 "has non-resident names table: aborted"
  233.  
  234.  480 "├[ List of configurations ]────────────────────────────────────"
  235.  481 "├[ List of selected-by-mask configurations ]───────────────────"
  236.  
  237. /* lxLite help screen */
  238.  500 "├[ lxLite help screen ]────────────────────────────────────────"
  239.  501 "│ Option description syntax:"
  240.  502 "│ #     Decimal number"
  241.  503 "│ %     Any string of characters, usually an file name"
  242.  504 "│ A|B|C Either expression A or B or C"
  243.  505 "│ {...} An optional expression (which can be ommited)"
  244.  506 "│ [...] An required expression"
  245.  507 "│ (...) Zero or more enclosed expressions"
  246.  508 "├──────────────────────────────────────────────────────────────"
  247.  509 "├ Usage: lxLite [FileMask( FileMask)] {[/|-]Options}"
  248.  510 "├ /A[{P|S|N{P|S}}{:#}]"
  249.  511 "│  Set alignment for first/rest of objects. First object can be aligned on"
  250.  512 "│  [P]age shift, [S]ector or [N]o boundary. For all others you can request"
  251.  513 "│  alignment on [P]age shift or [S]ector bound. You also can set a new page"
  252.  514 "│  shift factor (#); use 0 to leave it as-is"
  253.  515 "├ /B(D|X|N|+|-){:%}"
  254.  516 "│  Enable (+) or disable (-) copying original file into *.BAK; optionaly lxLite"
  255.  517 "│  can do it only either when [D]ebug or e[X]tra data is present in module or"
  256.  518 "│  when source executable is in NE format. Also you can specify an directory %"
  257.  519 "│  for backed up files (relative to root). The entire directory tree will be"
  258.  520 "│  re-created inside the backup directory."
  259.  521 "├ /C{S}{+|-}"
  260.  522 "│  Enable (+) or disable (-) colored output. You can specify {S} to force"
  261.  523 "│  lxLite to use StdOut instead of VioXXX functions."
  262.  524 "├ /C[:%]"
  263.  525 "│  Load configuration with given (#) identifier"
  264.  526 "├ /D{+|-}"
  265.  527 "│  [D]iscard specific options for all files that fits filemasks defined in"
  266.  528 "│  [/%] sections of configuration file"
  267.  529 "├ /E[:%(:%)]"
  268.  530 "│  Set [E]xclude filemasks. Skip files that fits given filemasks"
  269.  531 "├ /F{+|-}"
  270.  532 "│  Force (+) or don`t force (-) repacking. Use to bypass autodetection"
  271.  533 "├ /H,/?"
  272.  534 "│  Show this help screen"
  273.  535 "├ /I{+|-}"
  274.  536 "│  Run lxLite at [I]dle (+) or at normal (-) priority"
  275.  537 "├ /J[A|E|L|P|V](E|L|P|V|N|X|+|-)"
  276.  538 "│  Change module type: Leave [A]s-is, [E]xecutable module, [L]ibrary module,"
  277.  539 "│  [P]hysical or [V]irtual driver. Especially useful when converting NE drivers"
  278.  540 "│  Optionaly you can restrict this to work only on [E]xecutables, [L]ibraries,"
  279.  541 "│  [P]hysical and [V]irtual drivers, restricting to [N]E or L[X] executables"
  280.  542 "├ /L(A|S|U|+|-){:%}"
  281.  543 "│  Set [L]og filename. If not specified, defaults to lxLite.log. You can log"
  282.  544 "│  either [S]uccessful, [U]nsuccessful or [A]ll (more than just /LS+U+) cases"
  283.  545 "├ /M[R[N|1|2|3]|L[N|1]|F[N|1|2|3]]"
  284.  546 "│  Set packing method & parameters:"
  285.  547 "│  R = run-length (/EXEPACK:1); [N]one or level [1],[2],[3] (3=max comp. lvl)"
  286.  548 "│  L - kinda Lempel-Ziv (/EXEPACK:2); [N]one or level [1] (always best match)"
  287.  549 "│  F - fixups packing method; [N]one or level [1] (OS/2 v2.x+) or [2] (v4.x+)"
  288.  550 "│      Level 3 is slow, but finds most useful compromise between [1] and [2]"
  289.  551 "├ /N(B|L|R|+|-)"
  290.  552 "│  [N]E executables: convert into LX (+) or reject (-) modules that are"
  291.  553 "│  [B]ound, not [L]FN-aware, contains [R]esources"
  292.  554 "├ /O(X|D|S|A|+|-){:%}"
  293.  555 "│  [O]utput e[X]tra/[D]ebug/[S]tub data into an external file; filename is"
  294.  556 "│  determined by applying mask % onto original filename. Data is written"
  295.  557 "│  [A]lways in the A+ state and only when removed in the A- state"
  296.  558 "├ /P{+|-}"
  297.  559 "│  Enable (+) or disable (-) pause before each file"
  298.  560 "├ /Q{+|-}"
  299.  561 "│  [Q]uery available configurations. Almost equivalent to TYPE lxLite.cfg"
  300.  562 "├ /R{+|-}"
  301.  563 "│  Enable (+) or disable (-) [R]ecursive file search through subdirectories"
  302.  564 "├ /S{+|-}"
  303.  565 "│  Show (+) or don`t show (-) current configuration (useful with /C#)"
  304.  566 "├ /T{:%}"
  305.  567 "│  Replace DOS stub by data contained in file %. If no filename is given,"
  306.  568 "│  file stub is removed (see also /Z option)"
  307.  569 "├ /U{+|-}"
  308.  570 "│  Enable (+) or disable (-) unpacking file before packing"
  309.  571 "├ /V(0|1|2|3|O|C|R|N|M|P|E|F|+|-)"
  310.  572 "│  Verbose: Enable or disable display of module info:"
  311.  573 "│  0-3 - Header info verbosity level (0-minimum, 3-maximum)"
  312.  574 "│  O - [O]bject Map;           C - Object [C]ontents (page map);"
  313.  575 "│  R - [R]esident Names Table; N - [N]on-Resident Names Table;"
  314.  576 "│  M - Import [M]odules Table; P - Import [P]rocedures Table;"
  315.  577 "│  E - Module [E]ntry Table;   F - Page [F]ixup Table"
  316.  578 "├ /W(W|S|+|-)"
  317.  579 "│  [W]rite (+) or [S]imulate writing of resulting file. In the /W- state"
  318.  580 "│  lxLite will do nothing (useful for /V option); in the /WS+ state lxLite"
  319.  581 "│  will even display compression ratio, but won`t alter any file on disk"
  320.  582 "├ /X{+|-}"
  321.  583 "│  e[X]pand files: The rules for unpacking are given in 'unpack' section"
  322.  584 "│  of configuration file"
  323.  585 "├ /Y[U|D|X|N|B|C][?]"
  324.  586 "│  auto-repl[Y] '?' on one of given questions:"
  325.  587 "│  - file in [U]se /Answer: [R]eplace, [S]kip, [A]bort/"
  326.  588 "│  - [D]ebug info in file /Answer: [D]iscard, [L]eave, [S]kip, [A]bort/"
  327.  589 "│  - e[X]tra data in file /[D]iscard, [L]eave, [S]kip, [A]bort/"
  328.  590 "│  - [N]on-resident names table /[D]iscard, [L]eave, [S]kip, [A]bort/"
  329.  591 "│  - [B]ackup file exists /[O]verwrite, [N]o backup, [S]kip, [A]bort/"
  330.  592 "│  - [C]onfirmation on /P+ /[P]rocess, [S]kip, [A]bort/"
  331.  593 "│  If reply (?) is missing, lxLite will ask you interactively each time"
  332.  594 "├ /Z[X|D|S{:#}]"
  333.  595 "│  Set si[Z]e threshold: e[X]tra, [D]ebug or [S]tub data will be proceeded"
  334.  596 "│  according to user reply or /Y{...} only if its size is less than specified"
  335.  597 "│  When {:#} is ommited, threshold is considered VERY big"
  336.  598 "├┤Default: /ANP /B- /C:default /D+ /E- /F- /I+ /JA /L /MRN /ML1 /N- /O-"
  337.  599 "│          /P- /Q- /R4 /S- /T /U+ /V- /W+ /X- /Y /ZD /ZS:0 /ZX:1024"
  338.  600 "└┤Example: lxLite *.exe *.dll *.fon *.sys /e /p+ /bd-x /yur /ass:2 /osa:*.stub"
  339.  
  340. end
  341.