Changeset 222 for trunk/reskit
- Timestamp:
- Jun 18, 2005, 6:00:06 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/reskit/compile.cmd
r2 r222 1 1 @Echo off 2 :: $Id$ 3 :: Build resource kit 4 5 :: 17 Jun 05 SHL Rework comments add missing missing file check 6 2 7 if "%1" == "/S" goto JustStr 3 8 if "%1" == "/s" goto JustStr … … 8 13 if "%1" == "-B" goto JustStr 9 14 if "%1" == "-b" goto JustStr 15 10 16 Echo. 11 17 Echo FM/2 Translation Toolkit 12 18 Echo. 13 Echo Translate the _text only_ in FM3DLL.STR, FM3RES.RC and FM3RES.DLG 14 Echo (do _not_ reorder, remove or create new lines in FM3DLL.STR or alter 15 Echo any other files, except, perhaps, icons!). Then type COMPILE /B at 16 Echo a command line to build both the new FM3RES.DLL and FM3RES.STR files. 17 Echo Copy these new files to your FM/2 directory to use them. You will 18 Echo need a copy of RC.EXE on your PATH and appropriate OS/2 #include 19 Echo files in order to replace the resources (dialogs, icons, menus, etc.) 20 Echo in FM3RES.DLL. RC and the #include files come with the OS/2 21 Echo developer's toolkit and various OS/2 compilers. See comments in 22 Echo FM3STR.H for remarks about additions and insertions. 19 Echo Usage: compile [/B] [/S] 23 20 Echo. 24 Echo Type COMPILE /S to compile only FM3RES.STR from FM3DLL.STR (RC and 25 Echo #include files not required). Don't fool with those odd-looking %%s, 26 Echo %%lu, etc. thingies in FM3DLL.STR -- they're used by the C runtime 27 Echo *printf routines, and FM/2 may crash if you remove or reorder them. 21 Echo /B rebuild both FM3RES.DLL and FM3RES.STR 22 Echo /S rebuild FM3RES.STR 28 23 Echo. 24 Echo See reskit.txt for detailed instructions. 29 25 goto End 26 30 27 :JustStr 31 28 Echo. … … 42 39 if not exist fm3dlg.h goto Error 43 40 if not exist fm3dll2.h goto Error 41 if not exist fm3hlp.h goto Error 44 42 if not exist icons goto Error 45 43 if not exist fm3res.dll goto Error … … 54 52 Echo. 55 53 Echo FM3DLL.STR 56 Echo MKSTR 2.EXE54 Echo MKSTR.EXE 57 55 if "%1" == "/S" goto SkipStr 58 56 if "%1" == "/s" goto SkipStr … … 63 61 Echo FM3DLG.H 64 62 Echo FM3DLL2.H 63 Echo FM3HLP.H 65 64 Echo FM3RES.DLL 66 65 Echo Various icons in the ICONS subdirectory.
Note:
See TracChangeset
for help on using the changeset viewer.