![]() ![]() ![]() ![]() ![]() ![]() |
|
![]() Resource Index |
LAYTSPLT is a small command line program for breaking INF layout files apart. This program and its source code are in the public domain, and you can download a statically linked Windows executable from here.
How to UseLAYTSPLT is an INF layout file splitting tool used in remastering large base cabinet sets in Windows 95 OSR2, Windows 98, and Windows ME. Because the Diamond and MAKECAB tools have no such mechanism available for splitting layout files themselves, this program is needed to ensure INFs fit under the ~60KB limit if you're automating the process. In your DDF file, add a line like this to indicate the start of some lines which should only go in a specific file: .InfWrite ";LAYTSTRT"
To stop making file lines exclusive to a file, write this in your DDF: .InfWrite ";LAYTEND"
Repeat for any other lines you need contained in specific files. Your source INF should look something like this: ; This will be present in both files since it's outside a marker [DosAppVersion] ; These goes in LAYOUT.INF only ;LAYTSTRT gorilla.bas=28,,29434 money.bas=28,,46225 nibbles.bas=28,,24103 remline.bas=28,,12314 edlin.exe=28,,12642 ;LAYTEND ; Same, except in LAYOUT1.INF ;LAYTSTRT 440mxCOR.inf=28,,54004 440mxIDE.inf=28,,3981 440mxUSB.inf=28,,4414 546X.INF=28,,7283 810.inf=28,,3496 ;LAYTEND Please ensure there are no trailing characters in the line, as the program was rushed and is very picky as a result. LAYTSPLT will read the file for comments and can split your source INF into up to four other INFs named LAYOUT.INF, LAYOUT1.INF, LAYOUT2.INF, and LAYOUT3.INF, respecting the convention used by Windows 9x. |
68 unique views here since February 11, 2021 |