source: trunk/reskit/reskit.txt@ 255

Last change on this file since 255 was 223, checked in by root, 20 years ago

Integrate Greg Young's hints and tips

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.9 KB
Line 
1
2FM/2 Translation Toolkit
3
4This Toolkit allows you to modify the strings and icons stored in FM3RES.STR
5and FM3RES.DLL. This allows you to translate FM/2 for other languages and
6to replace FM/2's standard icons and bitmaps.
7
8To use the Toolkit, create a work directory and unzip the reskit.zip to this
9directory. Be sure to preserve the directory structure in the zip file. You
10will also need a copy of FM3RES.DLL in the work directory. Copy this file
11from your FM/2 directory.
12
13Modify the files in the Toolkit as described below and run the COMPILE
14script to rebuild the selected files.
15
16To rebuild FM3RES.DLL, you will need a copy of RC.EXE on your PATH and
17appropriate OS/2 #include files. RC and the #include files come with the
18OS/2 developer's toolkit and various OS/2 compilers. See the comments in
19FM3STR.H for remarks about additions and insertions.
20
21When making changes to FM3DLL.STR, FM3RES.RC or FM3RES.DLG, translate the
22_text only_. Do _not_ reorder, remove or create new lines in FM3DLL.STR.
23Do not modify the odd-looking %%s, %%lu, etc. items in FM3DLL.STR. They are
24used by the formatted print routines.
25
26When replacing icons, make sure you provide an appropriate set of
27resolutions. When replacing bitmaps, make sure you to size the bitmap to fit
28correctly in place of the original bitmap.
29
30Do not alter any other files. If you do not follow the above guidelines,
31FM/2 may refuse to run correctly.
32
33To get quick usage help, type:
34
35 COMPILE
36
37at the command line.
38
39To rebuild just FM3RES.STR, type:
40
41 compile /s
42
43at the command line.
44
45To rebuild both FM3RES.DLL and FM3RES.STR, type:
46
47 compile /b
48
49at a command line.
50
51After rebuilding, shut down FM/2 and copy the new files to the FM/2
52program directory and restart FM/2.
53
54
55== Trouble Shooting ==
56
57FM/2 versions 3.20i-6 and earlier stripped the DOS stub from FM3RES.DLL.
58This will cause RC.EXE to fail with a 1013 error. Current versions of FM/2
59preserve the stub, so you should not see this error.
60
61If you want to alter FM3RES.DLL for an older version of FM/2, you need to run
62LXLITE.EXE on FM3RES.DLL to restore the DOS stub before running RC.EXE. You
63can get LXLITE.EXE from Hobbes:
64
65 <http://hobbes.nmsu.edu/cgi-bin/h-search?key=lxlite&pushbutton=Search>
66
67Any relatively recent version of lxlite should work, but 1.3.3 was used to
68verify this procedure.
69
70At a command promt, run:
71
72 lxlite X:\path\fm3res.dll /x
73 lxlite X:\path\fm3resdll /c:minstub
74
75This will decompress the DLL and restore the stub.
76
77After recompiling the DLL, you can run
78
79 lxlite X:\path\fm3res.dll /c:default
80
81to recompress the DLL, if you wish.
82
83Not all versions of RC.EXE are created equal. Currently, the best version to
84use is:
85
86 12-18-97 6:01 868,000 0 rc.exe
87
88which reports itself as:
89
90 IBM RC (Resource Compiler) Version 5.00.002 Dec 18 1997
91
92and which is available at:
93
94 <ftp://ftp.software.ibm.com/ps/products/warpzilla/os2tk40rc.zip>
95
96
97$Id: reskit.txt 223 2005-06-18 04:16:59Z root $
Note: See TracBrowser for help on using the repository browser.