http://fileformats.archiveteam.org/api.php?action=feedcontributions&user=JTN&feedformat=atom
Just Solve the File Format Problem - User contributions [en]
2024-03-29T09:11:28Z
User contributions
MediaWiki 1.19.2
http://fileformats.archiveteam.org/wiki/LocoScript
LocoScript
2023-02-28T20:26:17Z
<p>JTN: clarify that LocoScript was an MDA consumer, not creator</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Document<br />
|subcat2=Word Processor<br />
}}<br />
'''LocoScript''' was the word processor bundled with the Amstrad PCW. There were four major versions for the PCW, and two for MSDOS.<br />
<br />
8-bit versions ([https://www.seasip.info/Unix/Joyce/locohist.html more detail]):<br />
* LocoScript 1 (1985) was bundled with the Amstrad PCW 8256/8512 (3" drives) and PcW 9256 and 10 (3.5" drives).<br />
* LocoScript 2 (1987) was bundled with the Amstrad PCW 9512 (3" drive) and PcW 9512+ (3.5" drive), and was a common upgrade for the other models.<br />
* LocoScript 3 (1993) was only available separately. It added semi-scalable fonts.<br />
* LocoScript 4 (1996/7) was only available separately. It added support for using images (in [[MDA]] format) and colour printing.<br />
<br />
Most PCW documents, on either 3" or 3.5" floppy discs, are thus likely to be in LocoScript 1 or 2 format.<br />
<br />
(The PcW 16 did not run LocoScript.)<br />
<br />
While standard LocoScript had a relatively [https://www.seasip.info/Unix/PSF/Amstrad/Scrchar/index.html wide range of characters], there were some specialised versions for particular scripts, such as [http://www.fvempel.nl/manuals/araloco.pdf Euro-Arabic LocoScript] ([https://archive.org/details/8000-plus-magazine-37/page/n14/mode/1up see also]) and [http://www.habisoft.com/pcwwiki/doku.php?id=es:aplicaciones:advantage_hebrew_locoscript Hebrew LocoScript].<br />
<br />
PC versions:<br />
* LocoScript PC (later LocoScript PC Easy)<br />
* LocoScript Professional<br />
<br />
== File formats ==<br />
<br />
Each major version of LocoScript changed the file format. Newer versions could read files from older versions, but not vice versa.<br />
<br />
* LocoScript 1 is relatively well documented.<br />
** [https://archive.org/details/35_Schneider_PC_International_1988-01 Schneider PC International 1988/01] (pp84-97) has a fairly detailed description of the LocoScript 1 format (in German), and provides Turbo Pascal source for a program LOCOCONV to convert it (updated in the [https://archive.org/details/44_Amstrad_PC_International_1988-10 1988/10 issue], pp92-97). Versions of that program exist in various places:<br />
*** Werner Cirsovius' site ([https://web.archive.org/web/20160311002010/http://cirsovius.de/CPM/Projekte/TURBO-PASCAL/LOCO/LocoConv-en.html on Wayback machine]) had a copy. Wayback Machine doesn't have all the code, but the whole website is archived as a .7z [http://www.classiccmp.org/cpmarchives/index.php here].<br />
*** A modified/translated version is on [http://fvempel.nl/domain.html Frank van Empel's site] (search for LOCOCON).<br />
** Another, briefer description of the [https://www.seasip.info/Unix/Joyce/ls1frm.html LocoScript 1 file format] (in English)<br />
** The character encoding used for the text portions is the [[Amstrad CP/M Plus character set]], except that the [[C1 controls]] range was used for control codes (different ones from the C1 control standard, which probably didn't exist yet) instead of the box-drawing characters of the CP/M Plus set.<br />
* LocoScript 2 and up: no known descriptions (although plenty of software exists to read them). These versions had a greatly expanded character repertoire, more than can fit in a single-byte character set; see reference from [http://www.seasip.info/Unix/PSF/Amstrad/Scrchar/ John Elliott]. They share some of the same basic structure as LocoScript 1.<br />
** Reportedly, Locomotive/LocoScript Software did produce format documentation for at least Loco 3 and 4 documents, the latter called ''The Structure of LocoScript 4 Documents'' and released under NDA; they don't seem to have made their way online. Refs: David Langford's columns in PCW Plus 114 (March 1996) and [https://archive.org/details/pcw-today-08/page/n37/mode/1up PCW Today issue 8 (Winter 97/98)].<br />
<br />
LocoScript documents did not have a conventional file extension. The default filenames it suggested were <tt>DOCUMENT.000</tt>, <tt>DOCUMENT.001</tt>, etc.<br />
<br />
== Identification ==<br />
<br />
All known (PCW) LocoScript files start with the three ASCII bytes <tt>4A 4F 59</tt> ("JOY"), followed by two bytes identifying the major format version:<br />
* <tt>01 00</tt>: Identified by LocoScript 4 as "LocoScript 2 document (Export)"<br />
* <tt>01 01</tt>: LocoScript 1 (emitted by 1.1, 1.11e, 1.20, 1.42H)<br />
* <tt>01 02</tt>: LocoScript 2 (emitted by 2.03, 2.12, 2.16, 2.28b)<br />
* <tt>01 03</tt>: Identified by LocoScript 4 as "LocoScript 3 document (Export)"<br />
* <tt>01 04</tt>: LocoScript 3 and 2.5x (emitted by 2.54, 3.06b)<br />
* <tt>01 05</tt>: Identified by LocoScript 4 as "LocoScript 4 document (Export)"<br />
* <tt>01 06</tt>: LocoScript 4 (emitted by 4.06, 4.10, 4.11)<br />
<br />
In addition, the byte at offset 0x7F must be the 8-bit checksum of the preceding 127 bytes.<br />
<br />
PC versions' documents seem to have a similar initial structure but start with the three ASCII bytes <tt>44 4F 43</tt> ("DOC"):<br />
* LocoScript PC 1.08 (© 1990) comes with documents starting "DOC" followed by <tt>01 01</tt>.<br />
* LocoScript Professional 2 Plus for MS-DOS (2.51) emits and reads documents starting with "DOC" followed by <tt>01 03</tt>.<br />
<br />
Other files used by LocoScript have a similar header, with their own three-letter identification codes:<br />
* "BMP" - Scalable font bitmap<br />
* "CHR" - Printer font<br />
* "CMB" - Dot matrix printer driver<br />
* "DMN" - Disc Manager data (LocoScript PC)<br />
* "DRV" - Driver<br />
* "EDC" - Spellchecker dictionary<br />
* "HLP" - Help file (LocoScript PC)<br />
* "KBD" - Keyboard layout<br />
* "KNO" - Settings<br />
* "OML" - Overlay (Mail merge)<br />
* "OSP" - Overlay (Spell checker)<br />
* "OVL" - Overlay<br />
* "PHR" - List of phrases<br />
* "PRI" - Printer driver<br />
* "SCR" - Screen characters<br />
* "SDC" - Spellchecker dictionary<br />
* "UDC" - Spellchecker dictionary<br />
* "XCH" - Scalable font<br />
<br />
== Converting LocoScript documents ==<br />
<br />
Probably the most difficult problem with converting LocoScript documents into more readable formats is not the conversion process itself, but the fact that the majority of LocoScript files were stored on [[three inch disc|3-inch floppy disks]], which are now difficult to access. See the linked page for ideas for how to deal with this.<br />
<br />
'''LocoLink''' (and the later 'LocoLink for Windows') is a hardware / software combination that connects a PC parallel port to the expansion connector of an Amstrad PCW, and provides the software tools for both transferring LocoScript documents to the PC, as well as converting them to RTF or TXT formats. Note that the later PcW 16 has part of LocoLink built-in, and while this means documents can be transferred from an older PCW to a PcW 16 and then onto a PC, PcW 16 computers are few and far between, making this option unlikely.<br />
<br />
PCW LocoScript used CP/M format for its discs, so LocoScript files are likely to be found in a [[CP/M file system]]. LocoScript only kept live versions of files in CP/M user areas 0-7 (called "group 0" etc by LocoScript); files in user areas 8-15 were "limbo files", previous or deleted versions of documents, that LocoScript would automatically delete when space was needed. User area 8 contained limbo versions of files from user area / group 0, and so on.<br />
<br />
Once you are at the stage of having individual document files:<br />
<br />
* [https://ai.ansible.uk/ailink.html AILINK] by Ansible Information is former commercial software for Windows, now free, which can convert PCW LocoScript 1-4 documents to more modern formats such as RTF, keeping most of the formatting codes and special characters (not Greek and Cyrillic). It can do bulk conversions. If you're not trying to read actual floppy discs with it, it should work fine under modern Windows. It runs adequately on Linux under [[Wine]].<br />
* The PC versions of LocoScript could read PCW files, and had an export function to other formats such as WordPerfect, but are no longer particularly easy to acquire and run themselves.<br />
* LocoLink for Windows could also convert files that were already on a PC to other formats, although reportedly with less fidelity than LocoScript PC ([https://groups.google.com/g/comp.sys.amstrad.8bit/c/wCCTSEzkIUc/m/9r4whhKeXrYJ according to Howard Fisher of Locomotive]).<br />
<br />
== Links ==<br />
* [http://www.locoscript.co.uk/ Publisher's website]<br />
** [https://web.archive.org/web/20141218181748/http://locoscript.co.uk/ 2014 archive]<br />
<br />
[[Category:Amstrad]]</div>
JTN
http://fileformats.archiveteam.org/wiki/LocoScript
LocoScript
2023-02-28T20:24:40Z
<p>JTN: note LocoLink for Windows file conversion, and its limitations</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Document<br />
|subcat2=Word Processor<br />
}}<br />
'''LocoScript''' was the word processor bundled with the Amstrad PCW. There were four major versions for the PCW, and two for MSDOS.<br />
<br />
8-bit versions ([https://www.seasip.info/Unix/Joyce/locohist.html more detail]):<br />
* LocoScript 1 (1985) was bundled with the Amstrad PCW 8256/8512 (3" drives) and PcW 9256 and 10 (3.5" drives).<br />
* LocoScript 2 (1987) was bundled with the Amstrad PCW 9512 (3" drive) and PcW 9512+ (3.5" drive), and was a common upgrade for the other models.<br />
* LocoScript 3 (1993) was only available separately. It added semi-scalable fonts.<br />
* LocoScript 4 (1996/7) was only available separately. It added support for images (in [[MDA]] format) and colour printing.<br />
<br />
Most PCW documents, on either 3" or 3.5" floppy discs, are thus likely to be in LocoScript 1 or 2 format.<br />
<br />
(The PcW 16 did not run LocoScript.)<br />
<br />
While standard LocoScript had a relatively [https://www.seasip.info/Unix/PSF/Amstrad/Scrchar/index.html wide range of characters], there were some specialised versions for particular scripts, such as [http://www.fvempel.nl/manuals/araloco.pdf Euro-Arabic LocoScript] ([https://archive.org/details/8000-plus-magazine-37/page/n14/mode/1up see also]) and [http://www.habisoft.com/pcwwiki/doku.php?id=es:aplicaciones:advantage_hebrew_locoscript Hebrew LocoScript].<br />
<br />
PC versions:<br />
* LocoScript PC (later LocoScript PC Easy)<br />
* LocoScript Professional<br />
<br />
== File formats ==<br />
<br />
Each major version of LocoScript changed the file format. Newer versions could read files from older versions, but not vice versa.<br />
<br />
* LocoScript 1 is relatively well documented.<br />
** [https://archive.org/details/35_Schneider_PC_International_1988-01 Schneider PC International 1988/01] (pp84-97) has a fairly detailed description of the LocoScript 1 format (in German), and provides Turbo Pascal source for a program LOCOCONV to convert it (updated in the [https://archive.org/details/44_Amstrad_PC_International_1988-10 1988/10 issue], pp92-97). Versions of that program exist in various places:<br />
*** Werner Cirsovius' site ([https://web.archive.org/web/20160311002010/http://cirsovius.de/CPM/Projekte/TURBO-PASCAL/LOCO/LocoConv-en.html on Wayback machine]) had a copy. Wayback Machine doesn't have all the code, but the whole website is archived as a .7z [http://www.classiccmp.org/cpmarchives/index.php here].<br />
*** A modified/translated version is on [http://fvempel.nl/domain.html Frank van Empel's site] (search for LOCOCON).<br />
** Another, briefer description of the [https://www.seasip.info/Unix/Joyce/ls1frm.html LocoScript 1 file format] (in English)<br />
** The character encoding used for the text portions is the [[Amstrad CP/M Plus character set]], except that the [[C1 controls]] range was used for control codes (different ones from the C1 control standard, which probably didn't exist yet) instead of the box-drawing characters of the CP/M Plus set.<br />
* LocoScript 2 and up: no known descriptions (although plenty of software exists to read them). These versions had a greatly expanded character repertoire, more than can fit in a single-byte character set; see reference from [http://www.seasip.info/Unix/PSF/Amstrad/Scrchar/ John Elliott]. They share some of the same basic structure as LocoScript 1.<br />
** Reportedly, Locomotive/LocoScript Software did produce format documentation for at least Loco 3 and 4 documents, the latter called ''The Structure of LocoScript 4 Documents'' and released under NDA; they don't seem to have made their way online. Refs: David Langford's columns in PCW Plus 114 (March 1996) and [https://archive.org/details/pcw-today-08/page/n37/mode/1up PCW Today issue 8 (Winter 97/98)].<br />
<br />
LocoScript documents did not have a conventional file extension. The default filenames it suggested were <tt>DOCUMENT.000</tt>, <tt>DOCUMENT.001</tt>, etc.<br />
<br />
== Identification ==<br />
<br />
All known (PCW) LocoScript files start with the three ASCII bytes <tt>4A 4F 59</tt> ("JOY"), followed by two bytes identifying the major format version:<br />
* <tt>01 00</tt>: Identified by LocoScript 4 as "LocoScript 2 document (Export)"<br />
* <tt>01 01</tt>: LocoScript 1 (emitted by 1.1, 1.11e, 1.20, 1.42H)<br />
* <tt>01 02</tt>: LocoScript 2 (emitted by 2.03, 2.12, 2.16, 2.28b)<br />
* <tt>01 03</tt>: Identified by LocoScript 4 as "LocoScript 3 document (Export)"<br />
* <tt>01 04</tt>: LocoScript 3 and 2.5x (emitted by 2.54, 3.06b)<br />
* <tt>01 05</tt>: Identified by LocoScript 4 as "LocoScript 4 document (Export)"<br />
* <tt>01 06</tt>: LocoScript 4 (emitted by 4.06, 4.10, 4.11)<br />
<br />
In addition, the byte at offset 0x7F must be the 8-bit checksum of the preceding 127 bytes.<br />
<br />
PC versions' documents seem to have a similar initial structure but start with the three ASCII bytes <tt>44 4F 43</tt> ("DOC"):<br />
* LocoScript PC 1.08 (© 1990) comes with documents starting "DOC" followed by <tt>01 01</tt>.<br />
* LocoScript Professional 2 Plus for MS-DOS (2.51) emits and reads documents starting with "DOC" followed by <tt>01 03</tt>.<br />
<br />
Other files used by LocoScript have a similar header, with their own three-letter identification codes:<br />
* "BMP" - Scalable font bitmap<br />
* "CHR" - Printer font<br />
* "CMB" - Dot matrix printer driver<br />
* "DMN" - Disc Manager data (LocoScript PC)<br />
* "DRV" - Driver<br />
* "EDC" - Spellchecker dictionary<br />
* "HLP" - Help file (LocoScript PC)<br />
* "KBD" - Keyboard layout<br />
* "KNO" - Settings<br />
* "OML" - Overlay (Mail merge)<br />
* "OSP" - Overlay (Spell checker)<br />
* "OVL" - Overlay<br />
* "PHR" - List of phrases<br />
* "PRI" - Printer driver<br />
* "SCR" - Screen characters<br />
* "SDC" - Spellchecker dictionary<br />
* "UDC" - Spellchecker dictionary<br />
* "XCH" - Scalable font<br />
<br />
== Converting LocoScript documents ==<br />
<br />
Probably the most difficult problem with converting LocoScript documents into more readable formats is not the conversion process itself, but the fact that the majority of LocoScript files were stored on [[three inch disc|3-inch floppy disks]], which are now difficult to access. See the linked page for ideas for how to deal with this.<br />
<br />
'''LocoLink''' (and the later 'LocoLink for Windows') is a hardware / software combination that connects a PC parallel port to the expansion connector of an Amstrad PCW, and provides the software tools for both transferring LocoScript documents to the PC, as well as converting them to RTF or TXT formats. Note that the later PcW 16 has part of LocoLink built-in, and while this means documents can be transferred from an older PCW to a PcW 16 and then onto a PC, PcW 16 computers are few and far between, making this option unlikely.<br />
<br />
PCW LocoScript used CP/M format for its discs, so LocoScript files are likely to be found in a [[CP/M file system]]. LocoScript only kept live versions of files in CP/M user areas 0-7 (called "group 0" etc by LocoScript); files in user areas 8-15 were "limbo files", previous or deleted versions of documents, that LocoScript would automatically delete when space was needed. User area 8 contained limbo versions of files from user area / group 0, and so on.<br />
<br />
Once you are at the stage of having individual document files:<br />
<br />
* [https://ai.ansible.uk/ailink.html AILINK] by Ansible Information is former commercial software for Windows, now free, which can convert PCW LocoScript 1-4 documents to more modern formats such as RTF, keeping most of the formatting codes and special characters (not Greek and Cyrillic). It can do bulk conversions. If you're not trying to read actual floppy discs with it, it should work fine under modern Windows. It runs adequately on Linux under [[Wine]].<br />
* The PC versions of LocoScript could read PCW files, and had an export function to other formats such as WordPerfect, but are no longer particularly easy to acquire and run themselves.<br />
* LocoLink for Windows could also convert files that were already on a PC to other formats, although reportedly with less fidelity than LocoScript PC ([https://groups.google.com/g/comp.sys.amstrad.8bit/c/wCCTSEzkIUc/m/9r4whhKeXrYJ according to Howard Fisher of Locomotive]).<br />
<br />
== Links ==<br />
* [http://www.locoscript.co.uk/ Publisher's website]<br />
** [https://web.archive.org/web/20141218181748/http://locoscript.co.uk/ 2014 archive]<br />
<br />
[[Category:Amstrad]]</div>
JTN
http://fileformats.archiveteam.org/wiki/VHD_(Virtual_Hard_Disk)
VHD (Virtual Hard Disk)
2023-02-28T19:58:00Z
<p>JTN: fix broken "Forensics Wiki" link (dunno if forensics.wiki is legit successor to forensicswiki.org, but it has basically the same content the old site did in 2019)</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Disk Image Formats<br />
|extensions={{ext|vhd}}<br />
}}<br />
<br />
==Introduction==<br />
<br />
Virtual hard disk formats supported by Microsoft Virtual PC and Virtual Server. Specification freely available.<br />
<br />
==Resources==<br />
<br />
* [http://www.microsoft.com/en-us/download/details.aspx?id=23850 Specs for download in Official Microsoft site]<br />
* [http://en.wikipedia.org/wiki/VHD_%28file_format%29 VHD (Wikipedia)]<br />
* [https://forensics.wiki/virtual_hard_disk_%28vhd%29/ Forensics Wiki article]<br />
<br />
==See also==<br />
* [[VFD (Virtual Floppy Disk)]]<br />
<br />
[[Category:Microsoft]]</div>
JTN
http://fileformats.archiveteam.org/wiki/VHD_(Virtual_Hard_Disk)
VHD (Virtual Hard Disk)
2023-02-28T19:56:53Z
<p>JTN: lk VFD (Virtual Floppy Disk)</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Disk Image Formats<br />
|extensions={{ext|vhd}}<br />
}}<br />
<br />
==Introduction==<br />
<br />
Virtual hard disk formats supported by Microsoft Virtual PC and Virtual Server. Specification freely available.<br />
<br />
==Resources==<br />
<br />
* [http://www.microsoft.com/en-us/download/details.aspx?id=23850 Specs for download in Official Microsoft site]<br />
* [http://en.wikipedia.org/wiki/VHD_%28file_format%29 VHD (Wikipedia)]<br />
* [http://www.forensicswiki.org/wiki/Virtual_Hard_Disk_%28VHD%29 Forensics Wiki article]<br />
<br />
==See also==<br />
* [[VFD (Virtual Floppy Disk)]]<br />
<br />
[[Category:Microsoft]]</div>
JTN
http://fileformats.archiveteam.org/wiki/VFD_(Virtual_Floppy_Disk)
VFD (Virtual Floppy Disk)
2023-02-28T19:54:28Z
<p>JTN: Minimal .vfd info</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Disk Image Formats<br />
|extensions={{ext|vfd}}<br />
}}<br />
Files with the extension <tt>.vfd</tt> are reportedly used for Microsoft Virtual PC's virtual floppy drive.<br />
<br />
Unlike the [[VHD (Virtual Hard Disk)|VHD]] format used in the same context, these files contain no metadata; they appear to be just [[raw disk image]]s ([https://www.virtualbox.org/ticket/7118 ref]). So they can be manipulated the same way as those files (e.g., they can be <tt>mount</tt>ed directly on Linux).<br />
<br />
== Sample files ==<br />
* [https://www.ohmancorp.com/RefWin-VirtualPC-NetBoot622.asp Virtual PC 2007 - MS-DOS 6.22 Virtual Boot Floppy]<br />
<br />
== Resources ==<br />
* [https://en.wikipedia.org/wiki/VHD_(file_format)#Virtual_Floppy_Disk_(VFD) Wikipedia]<br />
<br />
== See also ==<br />
* [[VHD (Virtual Hard Disk)]]</div>
JTN
http://fileformats.archiveteam.org/wiki/Microsoft_KWAJ_installation_compression
Microsoft KWAJ installation compression
2023-02-28T19:34:59Z
<p>JTN: /* Software */ more details on libmspack</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Compression<br />
|extensions={{ext|??_}}, {{ext|??$}}<br />
|pronom={{PRONOM|fmt/469}}<br />
|wikidata={{wikidata|Q105850885}}<br />
}}<br />
'''Microsoft KWAJ installation compression''' refers to a compressed file format used for software installation by Microsoft and their installer tools. "KWAJ" refers to the signature bytes at the beginning of a compressed file.<br />
<br />
KWAJ is a relative of some similar formats, most importantly the one known as "SZDD". For the other formats, see [[MS-DOS installation compression]] and [[Microsoft SZ installation compression]].<br />
<br />
KWAJ is more sophisticated than SZDD, though the relationship between them is not clear.<br />
<br />
== Format details ==<br />
There is a 16-bit field at offset 8 that specifies the compression or encoding method.<br />
<br />
{| class="wikitable"<br />
!Compression code !! Description<br />
|-<br />
|0 || Uncompressed (rare)<br />
|-<br />
|1 || [[Exclusive Or|XOR]] (rare)<br />
|-<br />
|2 || [[LZSS (Haruhiko Okumura)|Okumura's LZSS]]<br />
|-<br />
|3 || [[LZ77 with Huffman coding|LZ77 + Huffman]]<br />
|-<br />
|4 || [[MSZIP]] (based on [[DEFLATE]])<br />
|}<br />
<br />
== Identification ==<br />
Files begin with bytes {{magic|4b 57 41 4a 88 f0 27 d1}}.<br />
<br />
== Specifications ==<br />
* [https://www.cabextract.org.uk/libmspack/doc/szdd_kwaj_format.html libmspack: COMPRESS.EXE file formats]<br />
<br />
== Software ==<br />
* [https://archive.org/details/msdn-1996-04 MSDN Library - April 1996] → MSDN15_1.iso → MSDNSMPL/PROD/EISPAK11/DECOMP.EXE - Decompression utility for DOS; supports compression methods 2, 3, 4<br />
* [https://www.cabextract.org.uk/libmspack/ libmspack] → msexpand (decompress only) <br />
* {{Deark}}<br />
<br />
See also [[MS-DOS installation compression#Software]].<br />
<br />
== Sample files ==<br />
Compression method 2:<br />
* {{CdTextfiles|ccbwindows94/DRIVERS/MOUSE901.ZIP|MOUSE901.ZIP}} → *.??$<br />
<br />
Compression method 3:<br />
* {{CdTextfiles|simtel/simtel9606/WIN3/INET/POWERTCP.ZIP|POWERTCP.ZIP}}<br />
* {{CdTextfiles|simtel/simtel9606/WIN3/PRINT/PRTFRM41.ZIP|PRTFRM41.ZIP}}<br />
* {{CdTextfiles|cica/cica9404/WIN3/MISC/NSWP20.ZIP|NSWP20.ZIP}}<br />
* [https://archive.org/download/ms-dos-6.2 MS-DOS 6.2] → *.IMA → *.??_<br />
<br />
Compression method 4:<br />
* [https://archive.org/details/MicrosoftWorks3.01994English Microsoft Works 3.0] → MMWORKS300.iso → MSWORKS/*.??_<br />
<br />
[[Category:Microsoft]]<br />
[[Category:MS-DOS]]</div>
JTN
http://fileformats.archiveteam.org/wiki/MS-DOS_installation_compression
MS-DOS installation compression
2023-02-28T19:33:45Z
<p>JTN: /* Software */ fix my markup</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Compression<br />
|extensions={{ext|??_}}, {{ext|??$}}<br />
|pronom={{PRONOM|fmt/462}}<br />
}}<br />
'''MS-DOS installation compression''' refers to a family of compressed file formats formats by Microsoft that appear on MS-DOS and early Windows (3.x) installation disks. The formats have no generally agreed-upon name. This article is primarily about the format whose files start with "SZDD". For the other formats, see [[Microsoft KWAJ installation compression]] and [[Microsoft SZ installation compression]].<br />
<br />
Compressed files may be generated by the COMPRESS.EXE program (appearing in Microsoft's Setup Toolkit for Visual C++), and decompressed with the EXPAND.EXE program distributed with Windows and MS-DOS. Compressed files have the last character of the file extension replaced with an underscore, or sometimes a dollar sign.<br />
<!-- There are reports of the Google Chrome installer [http://festiva-yourchoice.blogspot.com/2010/01/expandexe-preventing-google-chrome-from.html needing the EXPAND.EXE program]. --><br />
<br />
== See also ==<br />
* [[Microsoft KWAJ installation compression]]<br />
* [[Microsoft SZ installation compression]]<br />
<br />
This is not the only compressed file format for which the last character of the file extension might be replaced with an underscore. Others include:<br />
* [[InstallShield installer archive]] (<code>_INST32I.EX_</code>)<br />
* [[FTCOMP]]<br />
* [[SQUEEZE (AJP Systems)]]<br />
* [[CAZIP]]<br />
<br />
== Format details ==<br />
SZDD's compression format is similar, but not identical, to [[LZSS (Haruhiko Okumura)|Okumura's LZSS]]. There is a byte at offset 8 that specifies the exact type of compression. Most sources say that the only known value for this byte is "A" (0x41), but some report[https://www.betaarchive.com/forum/viewtopic.php?t=26161] that there is also a type "B", used by Windows 3.1 builds 026 and 034e.<br />
<br />
== Identification ==<br />
An SZDD file begins with bytes {{magic|53 5A 44 44 88 F0 27 33}}.<br />
<br />
== Software ==<br />
* [https://www.cabextract.org.uk/libmspack/ libmspack] → msexpand (decompress only)<br />
* EXPAND.EXE - utility included with many versions of MS Windows and MS-DOS<br />
** [https://archive.org/details/1996-01-13-windows3.1windowsforworkgroups3.11intl Windows for Workgroups 3.11...] → WFW311/ENG_ARA/EXPAND.EXE - File Expansion Utility v2.10 (for DOS). This version of EXPAND.EXE supports SZDD, as well as KWAJ compression types 2 and 3.<br />
* [ftp://ftp.microsoft.com/softlib/mslfiles/CP0982.EXE Setup Toolkit for Visual C++]<br />
* [[7-Zip]]<br />
* [https://github.com/stapelberg/mscompress mscompress] ([ftp://ftp.penguin.cz/pub/users/mhi/mscompress/ original version]) → mscompress, msexpand (compression and decompression)<br />
* [https://www.winehq.org/ Wine]<br />
* {{Deark}}<br />
<br />
== Sample files ==<br />
* https://telparia.com/fileFormatSamples/archive/msCompress/<br />
<br />
== Links ==<br />
* [https://web.archive.org/web/20160527025701/https://support.microsoft.com/en-us/kb/80751 Documentation in Microsoft site] (archived)<br />
* [https://www.cabextract.org.uk/libmspack/doc/szdd_kwaj_format.html SZDD and KWAJ formats description]<br />
<br />
[[Category:File formats with too many extensions]]<br />
[[Category:Microsoft]]<br />
[[Category:MS-DOS]]<br />
[[Category:Windows]]</div>
JTN
http://fileformats.archiveteam.org/wiki/MS-DOS_installation_compression
MS-DOS installation compression
2023-02-28T19:33:21Z
<p>JTN: /* Software */ note which Linux tools have compression and decompression; link newer version of mscompress (as packaged by Debian)</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Compression<br />
|extensions={{ext|??_}}, {{ext|??$}}<br />
|pronom={{PRONOM|fmt/462}}<br />
}}<br />
'''MS-DOS installation compression''' refers to a family of compressed file formats formats by Microsoft that appear on MS-DOS and early Windows (3.x) installation disks. The formats have no generally agreed-upon name. This article is primarily about the format whose files start with "SZDD". For the other formats, see [[Microsoft KWAJ installation compression]] and [[Microsoft SZ installation compression]].<br />
<br />
Compressed files may be generated by the COMPRESS.EXE program (appearing in Microsoft's Setup Toolkit for Visual C++), and decompressed with the EXPAND.EXE program distributed with Windows and MS-DOS. Compressed files have the last character of the file extension replaced with an underscore, or sometimes a dollar sign.<br />
<!-- There are reports of the Google Chrome installer [http://festiva-yourchoice.blogspot.com/2010/01/expandexe-preventing-google-chrome-from.html needing the EXPAND.EXE program]. --><br />
<br />
== See also ==<br />
* [[Microsoft KWAJ installation compression]]<br />
* [[Microsoft SZ installation compression]]<br />
<br />
This is not the only compressed file format for which the last character of the file extension might be replaced with an underscore. Others include:<br />
* [[InstallShield installer archive]] (<code>_INST32I.EX_</code>)<br />
* [[FTCOMP]]<br />
* [[SQUEEZE (AJP Systems)]]<br />
* [[CAZIP]]<br />
<br />
== Format details ==<br />
SZDD's compression format is similar, but not identical, to [[LZSS (Haruhiko Okumura)|Okumura's LZSS]]. There is a byte at offset 8 that specifies the exact type of compression. Most sources say that the only known value for this byte is "A" (0x41), but some report[https://www.betaarchive.com/forum/viewtopic.php?t=26161] that there is also a type "B", used by Windows 3.1 builds 026 and 034e.<br />
<br />
== Identification ==<br />
An SZDD file begins with bytes {{magic|53 5A 44 44 88 F0 27 33}}.<br />
<br />
== Software ==<br />
* [https://www.cabextract.org.uk/libmspack/ libmspack] → msexpand (decompress only)<br />
* EXPAND.EXE - utility included with many versions of MS Windows and MS-DOS<br />
** [https://archive.org/details/1996-01-13-windows3.1windowsforworkgroups3.11intl Windows for Workgroups 3.11...] → WFW311/ENG_ARA/EXPAND.EXE - File Expansion Utility v2.10 (for DOS). This version of EXPAND.EXE supports SZDD, as well as KWAJ compression types 2 and 3.<br />
* [ftp://ftp.microsoft.com/softlib/mslfiles/CP0982.EXE Setup Toolkit for Visual C++]<br />
* [[7-Zip]]<br />
* [https://github.com/stapelberg/mscompress mscompress] (ftp://ftp.penguin.cz/pub/users/mhi/mscompress/ original version]) → mscompress, msexpand (compression and decompression)<br />
* [https://www.winehq.org/ Wine]<br />
* {{Deark}}<br />
<br />
== Sample files ==<br />
* https://telparia.com/fileFormatSamples/archive/msCompress/<br />
<br />
== Links ==<br />
* [https://web.archive.org/web/20160527025701/https://support.microsoft.com/en-us/kb/80751 Documentation in Microsoft site] (archived)<br />
* [https://www.cabextract.org.uk/libmspack/doc/szdd_kwaj_format.html SZDD and KWAJ formats description]<br />
<br />
[[Category:File formats with too many extensions]]<br />
[[Category:Microsoft]]<br />
[[Category:MS-DOS]]<br />
[[Category:Windows]]</div>
JTN
http://fileformats.archiveteam.org/wiki/IMG_(DOSIMG)
IMG (DOSIMG)
2023-02-28T19:22:19Z
<p>JTN: /* Overview */ lk raw disk image</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Disk Image Formats<br />
|extensions={{ext|img}}<br />
}}<br />
<br />
==Overview==<br />
'''IMG''' is an RLE-compressed sector-based disk image format probably used by the DOS program HD-Copy and/or others. It should not be confused with [[raw disk image|raw image files]] (sector dumps).<br />
<br />
There is a Pascal program floating around the internet which includes source code and can convert these IMG files to raw sector dumps. It is called '''DOSIMG''' and can be found mainly on various Chinese websites<ref>http://download.pchome.net/system/disk/down-13054-1.html</ref><ref>http://roy.orz.hm/soft/DOSIMG.zip</ref><ref>https://bitbucket.org/snippets/tifan/EeLAay/python-script-to-extract-compressed-img</ref><br />
<br />
''[Ed. note: This article needs a better title. We've named it "IMG (DOSIMG)" because the only thing we know for sure about this format is that it is supported by the DOSIMG utility.]''<br />
<br />
==Format description==<br />
{|<br />
!align="left"|byte<br />
!align="left"|description<br />
|-<br />
|0<br />
|last track on the original disk (either 39 or 79)<br />
|-<br />
|1<br />
|number of sectors per track<br />
|-<br />
|2-166<br />
|one byte for each track, 0x01 if the track is included in the file, 0x00 otherwise (empty/unformatted)<br />
|-<br />
|colspan="2"|For each track:<br />
|-<br />
|2 bytes<br />
|compressed size of this track, [[Endianness|little-endian]], not including this size field but including the next byte<br />
|-<br />
|1 byte<br />
|the escape-byte for the RLE coding<br />
|-<br />
|n-1 bytes<br />
|The actual sector data, RLE compressed. Should uncompress to at most num_sectors * 512 bytes, rest is filled with zero.<br />
Each byte is copied 1:1 to the output buffer, except when the escape-byte is encountered. Then, the next 2 bytes specify a byte-value and a count-value. To uncompress, copy the first byte after the escape-byte as many times as the second byte implies to the output buffer.<br />
|}<br />
<br />
==References==<br />
<references/></div>
JTN
http://fileformats.archiveteam.org/wiki/Disk_Image_Formats
Disk Image Formats
2023-02-28T19:13:09Z
<p>JTN: /* Amstrad */ lk 3" inch</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|thiscat=Disk Image Formats<br />
|image=Selanit floppy disk download icon.png<br />
}}<br />
<br />
[[Filesystem]]s and other file formats described on this page's parent page describe entities that exist on disks as they would normally be used. <br />
<br />
However, there are also file formats that allow a physical disk (or tape or other medium) to be "imaged" into a file, either to be re-copied onto a physical disk later, or else used by an *emulator* of the computer system that would have originally used that sort of media. <br />
<br />
These file formats represent a data image of one of the physical floppy disk (etc.) formats. In addition to the raw data from the disk/tape/etc, these formats may contain metadata that the corresponding emulator environment uses to correctly access the data.<br />
<br />
Typically, when archiving a physical disk for later use, a physical disk will be imaged into one of these file formats. Sub-pages of this page should contain information on the format itself as well as instructions on how to extract a physical disk into that disk image format, including information about what physical drives are required, what software to use and how and what OS that is run under.<br />
<br />
See also [[ROM and memory images]] for images of memory, and [[Floppy disk]]s for the physical floppies. See [[Archiving]] for archive and backup formats that are filesystem-based rather than raw-sector-based. See [[Filesystem]] for the filesystems. [[Forensics and Law Enforcement]] has formats for preserving drive contents with metadata for investigations.<br />
<br />
==Floppy Disk Image Formats==<br />
Images created directly from floppy disks.<br />
===Generic Sector Images===<br />
<br />
====Acorn====<br />
<br />
* [[Acorn Archimedes Disk Image]]<br />
<br />
====Amiga====<br />
<br />
* [[ADF (Amiga)]]<br />
* [[Disk Imploder]] (Amiga) (.dmp, .dex)<br />
* [[Disk Masher System]] (Amiga) (.dms)<br />
* [[WRP]]<br />
<br />
====Amstrad====<br />
<br />
* [[DSK (CPCEMU)]], used for Amstrad and related disks (typically [[3" disk]]s)<br />
<br />
====APF Imagination Machine====<br />
<br />
* [[APD]] (APF Imagination Machine emulated disk) (.apd)<br />
<br />
====Apple II series====<br />
<br />
* [[A2R disk image]]<br />
* [[Apple Disk Image]] (Apple II disk image with header) (.2mg)<br />
* [[Disk Copy 4.2]] (Apple)<br />
* [[Disk Copy 6]] (Apple)<br />
* [[DSK (Apple II)]], used for Apple II disks (typically 5.25" disks)<br />
* [[EDD disk image]]<br />
* [[Nibblized disk image]] (.nib), an Apple II disk image format that works for copy-protected disks<br />
* [[WOZ disk image]]<br />
<br />
====Atari====<br />
===== Atari 8-bit =====<br />
* [[ATR]] (SIO2PC)<br />
* [[DCM]] (Disk Communicator)<br />
* [[DI]] (800XL DJ emulator)<br />
* [[PRO]] (APE ProSystem)<br />
* [[SCP]] (Spartados)<br />
* [[XFD]] (Xformer)<br />
===== Atari ST =====<br />
* [[DIM]] (F-Copy)<br />
* [[The JAM Packer]]<br />
* [[MSA (Magic Shadow Archiver)]]<br />
* [[ST disk image]]<br />
* [[STT]] (STEEM)<br />
* [[STX]] (Pasti)<br />
<br />
====Commodore 64/128/PET/CBM====<br />
<br />
* [[C64 Nibbler Format]] (.nib) (created by mnib)<br />
* [[D64]] and its variants (D71, D81, all with optional error information) from the C64<br />
* [[G64]] C64 raw (GCR coded) disk image<br />
<br />
====Macintosh====<br />
<br />
* [[Apple Disk Image]] (MacOS or OS X disk image with header) (.dmg, .smi, .img)<br />
* [[DART]] (Apple)<br />
* [[MOOF]]<br />
* [[Sparse image]] (Apple disk image) (.sparseimage)<br />
<br />
====MSX====<br />
* [[PDI]] (Protected Disk Image)<br />
<br />
====PC (DOS/Windows)====<br />
<br />
* [[86F]] (86Box)<br />
* [[CopyQM]]<br />
* [[DDI]] (DiskDupe image file)<br />
* [[Disk Express]] (.dxp)<br />
* [[DSQ (disk image)|DSQ]]<br />
* [[FDF Image]] (EZ-DisKlone)<br />
* [[FDI]] (Formatted Disk Image)<br />
* [[IMA]]<br />
* [[IMD]] (ImageDisk)<br />
* [[IMG (DOSIMG)|IMG]] (HD-Copy disk image)<br />
* [[LoadDskF/SaveDskF]] (.dsk)<br />
* [[Quick Release Sector Transfer]] (Compaq)<br />
* [[RIM]] (EZ-DiskCopy PRO)<br />
* [[TD0]] (TeleDisk)<br />
* [[XPACK disk image]] (.xdi)<br />
<br />
====Tandy====<br />
<br />
* [[DMK]]<br />
* [[JV1/JV3]]<br />
* [[JVC]]<br />
<br />
====ZX Spectrum====<br />
* [[Mirage Microdrive Snapshot]]<br />
* [[TRD]] (see [[TR-DOS filesystem]])<br />
<br />
====Misc.====<br />
* [[Anex86 PC98 floppy image]] (.fdi)<br />
* [[D88]] (.d88, .1dd, .2dd)<br />
* [[DiscFerret floppy image]] (.dfi)<br />
* [[DSK (Oric)]]<br />
* [[Famicom Disk System]] (.fds)<br />
* [[LDBS disk image]] (.ldbs)<br />
* [[MESS floppy image]] (.mfi)<br />
* [[Pasopia disk image]] (.d88)<br />
* [[Raw disk image]] (.img) (ie, created with dd)<br />
<br />
===Physical (Hardware) Images===<br />
<br />
* [[DRAFT]] (Software Preservation Society intermediate format)<br />
* [[IPF]] (Software Preservation Society image format)<br />
* [[KryoFlux]]<br />
<br />
==Optical Disc Image Formats==<br />
CD-ROM, DVD-ROM, BluRay, GD-ROM etc. For the physical formats, see [[Optical Discs]].<br />
<br />
* [[BlindWrite Image File]] (.bwi, .bwt, .b5i, .b6i) [https://en.wikipedia.org/wiki/BlindWrite wiki]<br />
* [[CDI]] (Disc Juggler)<br />
* [[CloneCD Control File]] (.ccd, .img, .sub)<br />
* [[C2D]] Roxio<br />
* [[CIF Image]] Roxio<br />
* [[CUE and BIN]]<br />
* [[CyberLink P2I]]<br />
* [[DDP]] (Disc Description Protocol)<br />
* [[DMG]] (Apple)<br />
* [[GI]] (Sonic Global Image File)<br />
* [[ISOBuster Managed Image]] (IBP/IBQ)<br />
* [[ISO image]] (.iso)<br />
* [[ISZ]]<br />
* [[MDF and MDS]]<br />
* [[NRG]] (Nero Burning ROM)<br />
* [[TOAST]] (Roxio Toast)<br />
* [[XDI (Extended Disc Image)]]<br />
* [[TOC]] (CDRDAO)<br />
<br />
===Optical Disc Project Formats===<br />
Disc Burning Software Project files<br />
<br />
* [[Nero Burning ROM]]<br />
** [[NRI]] (CD-ROM Compilation)<br />
** [[Nero CoverDesigner]]<br />
** [[NSD]] Super VCD Compilation<br />
** [[NRV]] Video CD Compilation<br />
** [[NRE]] CD Extra Compilation<br />
* [[CDL]] (Corel CD Creator)<br />
* [[Easy CD Creator]] (CL2, CL3, CL4)<br />
* [[CL5]] (Roxio EasyCD Creator 5)<br />
* [[RCL]] (Roxio Creator Classic)<br />
* [[ROXIO]] (Roxio Creator Classic/Easy Media Creator)<br />
* [[ROX]] (Roxio Creator NXT)<br />
* [[DMSD]] (Roxio MyDVD)<br />
* [[DISC]] (Roxio TOAST)<br />
* [[DVD Sonic]] (Sonic myDVD .dvd)<br />
* [[NTI CD-DVD Maker]] (.cmd)<br />
* [[Adobe Encore]] (.ncor)<br />
* [[DVD Studio Pro]] (.dspproj)<br />
* [[CyberLink Power2Go]]<br />
<br />
==Hard Disk Image Formats==<br />
<br />
* [[HDV (disk image)|HDV]]<br />
* [[Raw disk image]] (.img)<br />
<br />
==Virtual Machine Disks and Virtualization Image Formats==<br />
* [[OVF (Open Virtualization Format)]]<br />
* [[qcow]] (QEMU)<br />
* [[VDI]] (Virtual Disk Image) (VirtualBox) (.vdi)<br />
* [[VHD (Virtual Hard Disk)]] (Microsoft) (.vhd)<br />
* [[VMDK]] (Virtual Machine Disk) (VMWare) (.vmdk)<br />
<br />
==Tape Image Formats==<br />
<br />
* [[APT (APF Imagination Machine)|APT]] (APF Imagination Machine emulated tape, logical bits) (.apt)<br />
* [[APW]] (APF Imagination Machine emulated tape, raw audio) (.apw)<br />
* [[CAS (Atari)|CAS]] (Atari; Digital Cassette Image system)<br />
* [[PZX]] (ZX Spectrum)<br />
* [[SIMH TAP]] (SIMH emulator's tape file format)<br />
* [[T64]]<br />
* [[TAP (Oric)]]<br />
* [[TAP (ZX Spectrum)]]<br />
* [[Tap file]] (contains data from Commodore data cassette)<br />
* [[Tape Image Format]] (TIF) (used for seismic data)<br />
* [[TZX]] (ZX Spectrum)<br />
* [[Unified Emulator Format]] (UEF; also does Acorn disks and ROMs)<br />
<br />
==Unknown==<br />
* [[lbl]] See here for details: [https://web.archive.org/web/20130103032119/http://classiccmp.org/pipermail/cctalk/2012-December/326747.html]<br />
<br />
==Tools==<br />
* [[The Sleuth Kit and Autopsy]] can read raw, [[Expert Witness]], and AFF formats<br />
* [http://www.winimage.com/ WinImage] to read, write and create images, also lots of info<br />
* [http://foremost.sourceforge.net/ Foremost: console tool to recover files from disk images]<br />
* [http://disktype.sourceforge.net/ disktype: detect format of disk or disk image]<br />
* [[TrID|TrID File Identifier]]: recognize many disk image formats<br />
* [https://github.com/bitcurator/bca-webtools bca-webtools]<br />
* [https://github.com/eaas-framework/xmount xmount: emulates various disk image formats for use in emulators requiring them]<br />
<br />
See also [[Disk Imaging Software & Systems]], and [[Forensics and Law Enforcement]].<br />
<br />
== Links ==<br />
* [http://qanda.digipres.org/20/what-are-the-reasons-for-saving-disk-images?show=183 What are the reasons for saving disk images?]<br />
* [http://ils.unc.edu/digccurr/curategear2016-talks/woods-curategear2016.pdf BCA-Webtools: Accessing and Visualizing Disk Images in a Web Browser]</div>
JTN
http://fileformats.archiveteam.org/wiki/PMA
PMA
2023-02-18T19:34:00Z
<p>JTN: fix copy/paste error</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Archiving<br />
|extensions={{ext|pma}}<br />
}}<br />
'''PMA''' is a variant of the [[LHA]] archiving format, with the same basic structure but a different set of compression types. These compression types originated in the [[CP/M]] archiver PMarc, created by Miyo. PMA was a popular format on MSX computers.<br />
<br />
It is not to be confused with the archives of the [http://www.pma.org/news/archives.asp Precision Metalforming Association] or the [http://www.pmanet.org/?cmd=main.category&id_category=58 Pacific Maritime Association] or the [http://www.polishmuseumofamerica.org/v4/EnglishVersion/PMAArchives.htm Polish Museum of America] (all of which may come up in a search for "PMA archive").<br />
<br />
== Compression schemes ==<br />
Refer to [[LHA#Compression schemes]] for more information about LHA-style compression schemes.<br />
<br />
{| class="wikitable"<br />
! ID !! Description and remarks<br />
|-<br />
|<code>-pc1-</code> || The signature "<code>-pc1-</code>" can appear in CP/M .COM files compressed with the "PopCom" executable compressor, but possibly not in anything resembling a compression ID field.<br />
|-<br />
|<code>-pm0-</code> || Uncompressed<br />
|-<br />
|<code>-pm1-</code> || <br />
|-<br />
|<code>-pm2-</code> || <br />
|-<br />
|<code>-pms-</code> || The signature "<code>-pms-</code>" can appear in self-extracting PMA archives, but possibly not in anything resembling a compression ID field.<br />
|}<br />
<br />
== Software ==<br />
* [https://github.com/fragglet/lhasa lhasa]<br />
* [http://www.asahi-net.or.jp/~am9y-mn/fswlist.htm Original(?) implementations] (Japanese)<br />
* [[Unar]]<br />
<br />
Some of the software listed at [[LHA#Software]] supports PMA.<br />
<br />
== Sample files ==<br />
* {{CdTextfilesURL|230/EMULATOR/DIVERSE/MSX/TOOLS/}}<br />
* [https://web.archive.org/web/20160902101645/http://msx.hansotten.com/index.php?page=msxutils Some sample PMA files (among other formats)] (archived from the original)<br />
* https://telparia.com/fileFormatSamples/archive/pma/<br />
<br />
== Links ==<br />
* [[Wikipedia:LHA_%28file_format%29#PMarc_extensions|Info in Wikipedia]]<br />
<br />
[[Category:CP/M]]<br />
[[Category:MSX]]</div>
JTN
http://fileformats.archiveteam.org/wiki/PMA
PMA
2023-02-18T19:33:40Z
<p>JTN: -pc1- vs PopCom</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Archiving<br />
|extensions={{ext|pma}}<br />
}}<br />
'''PMA''' is a variant of the [[LHA]] archiving format, with the same basic structure but a different set of compression types. These compression types originated in the [[CP/M]] archiver PMarc, created by Miyo. PMA was a popular format on MSX computers.<br />
<br />
It is not to be confused with the archives of the [http://www.pma.org/news/archives.asp Precision Metalforming Association] or the [http://www.pmanet.org/?cmd=main.category&id_category=58 Pacific Maritime Association] or the [http://www.polishmuseumofamerica.org/v4/EnglishVersion/PMAArchives.htm Polish Museum of America] (all of which may come up in a search for "PMA archive").<br />
<br />
== Compression schemes ==<br />
Refer to [[LHA#Compression schemes]] for more information about LHA-style compression schemes.<br />
<br />
{| class="wikitable"<br />
! ID !! Description and remarks<br />
|-<br />
|<code>-pc1-</code> || The signature "<code>-pms-</code>" can appear in CP/M .COM files compressed with the "PopCom" executable compressor, but possibly not in anything resembling a compression ID field.<br />
|-<br />
|<code>-pm0-</code> || Uncompressed<br />
|-<br />
|<code>-pm1-</code> || <br />
|-<br />
|<code>-pm2-</code> || <br />
|-<br />
|<code>-pms-</code> || The signature "<code>-pms-</code>" can appear in self-extracting PMA archives, but possibly not in anything resembling a compression ID field.<br />
|}<br />
<br />
== Software ==<br />
* [https://github.com/fragglet/lhasa lhasa]<br />
* [http://www.asahi-net.or.jp/~am9y-mn/fswlist.htm Original(?) implementations] (Japanese)<br />
* [[Unar]]<br />
<br />
Some of the software listed at [[LHA#Software]] supports PMA.<br />
<br />
== Sample files ==<br />
* {{CdTextfilesURL|230/EMULATOR/DIVERSE/MSX/TOOLS/}}<br />
* [https://web.archive.org/web/20160902101645/http://msx.hansotten.com/index.php?page=msxutils Some sample PMA files (among other formats)] (archived from the original)<br />
* https://telparia.com/fileFormatSamples/archive/pma/<br />
<br />
== Links ==<br />
* [[Wikipedia:LHA_%28file_format%29#PMarc_extensions|Info in Wikipedia]]<br />
<br />
[[Category:CP/M]]<br />
[[Category:MSX]]</div>
JTN
http://fileformats.archiveteam.org/wiki/LocoScript
LocoScript
2023-02-18T19:20:32Z
<p>JTN: lk JCE's page on Loco 2+ character set</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Document<br />
|subcat2=Word Processor<br />
}}<br />
'''LocoScript''' was the word processor bundled with the Amstrad PCW. There were four major versions for the PCW, and two for MSDOS.<br />
<br />
8-bit versions ([https://www.seasip.info/Unix/Joyce/locohist.html more detail]):<br />
* LocoScript 1 (1985) was bundled with the Amstrad PCW 8256/8512 (3" drives) and PcW 9256 and 10 (3.5" drives).<br />
* LocoScript 2 (1987) was bundled with the Amstrad PCW 9512 (3" drive) and PcW 9512+ (3.5" drive), and was a common upgrade for the other models.<br />
* LocoScript 3 (1993) was only available separately. It added semi-scalable fonts.<br />
* LocoScript 4 (1996/7) was only available separately. It added support for images (in [[MDA]] format) and colour printing.<br />
<br />
Most PCW documents, on either 3" or 3.5" floppy discs, are thus likely to be in LocoScript 1 or 2 format.<br />
<br />
(The PcW 16 did not run LocoScript.)<br />
<br />
While standard LocoScript had a relatively [https://www.seasip.info/Unix/PSF/Amstrad/Scrchar/index.html wide range of characters], there were some specialised versions for particular scripts, such as [http://www.fvempel.nl/manuals/araloco.pdf Euro-Arabic LocoScript] ([https://archive.org/details/8000-plus-magazine-37/page/n14/mode/1up see also]) and [http://www.habisoft.com/pcwwiki/doku.php?id=es:aplicaciones:advantage_hebrew_locoscript Hebrew LocoScript].<br />
<br />
PC versions:<br />
* LocoScript PC (later LocoScript PC Easy)<br />
* LocoScript Professional<br />
<br />
== File formats ==<br />
<br />
Each major version of LocoScript changed the file format. Newer versions could read files from older versions, but not vice versa.<br />
<br />
* LocoScript 1 is relatively well documented.<br />
** [https://archive.org/details/35_Schneider_PC_International_1988-01 Schneider PC International 1988/01] (pp84-97) has a fairly detailed description of the LocoScript 1 format (in German), and provides Turbo Pascal source for a program LOCOCONV to convert it (updated in the [https://archive.org/details/44_Amstrad_PC_International_1988-10 1988/10 issue], pp92-97). Versions of that program exist in various places:<br />
*** Werner Cirsovius' site ([https://web.archive.org/web/20160311002010/http://cirsovius.de/CPM/Projekte/TURBO-PASCAL/LOCO/LocoConv-en.html on Wayback machine]) had a copy. Wayback Machine doesn't have all the code, but the whole website is archived as a .7z [http://www.classiccmp.org/cpmarchives/index.php here].<br />
*** A modified/translated version is on [http://fvempel.nl/domain.html Frank van Empel's site] (search for LOCOCON).<br />
** Another, briefer description of the [https://www.seasip.info/Unix/Joyce/ls1frm.html LocoScript 1 file format] (in English)<br />
** The character encoding used for the text portions is the [[Amstrad CP/M Plus character set]], except that the [[C1 controls]] range was used for control codes (different ones from the C1 control standard, which probably didn't exist yet) instead of the box-drawing characters of the CP/M Plus set.<br />
* LocoScript 2 and up: no known descriptions (although plenty of software exists to read them). These versions had a greatly expanded character repertoire, more than can fit in a single-byte character set; see reference from [http://www.seasip.info/Unix/PSF/Amstrad/Scrchar/ John Elliott]. They share some of the same basic structure as LocoScript 1.<br />
** Reportedly, Locomotive/LocoScript Software did produce format documentation for at least Loco 3 and 4 documents, the latter called ''The Structure of LocoScript 4 Documents'' and released under NDA; they don't seem to have made their way online. Refs: David Langford's columns in PCW Plus 114 (March 1996) and [https://archive.org/details/pcw-today-08/page/n37/mode/1up PCW Today issue 8 (Winter 97/98)].<br />
<br />
LocoScript documents did not have a conventional file extension. The default filenames it suggested were <tt>DOCUMENT.000</tt>, <tt>DOCUMENT.001</tt>, etc.<br />
<br />
== Identification ==<br />
<br />
All known (PCW) LocoScript files start with the three ASCII bytes <tt>4A 4F 59</tt> ("JOY"), followed by two bytes identifying the major format version:<br />
* <tt>01 00</tt>: Identified by LocoScript 4 as "LocoScript 2 document (Export)"<br />
* <tt>01 01</tt>: LocoScript 1 (emitted by 1.1, 1.11e, 1.20, 1.42H)<br />
* <tt>01 02</tt>: LocoScript 2 (emitted by 2.03, 2.12, 2.16, 2.28b)<br />
* <tt>01 03</tt>: Identified by LocoScript 4 as "LocoScript 3 document (Export)"<br />
* <tt>01 04</tt>: LocoScript 3 and 2.5x (emitted by 2.54, 3.06b)<br />
* <tt>01 05</tt>: Identified by LocoScript 4 as "LocoScript 4 document (Export)"<br />
* <tt>01 06</tt>: LocoScript 4 (emitted by 4.06, 4.10, 4.11)<br />
<br />
In addition, the byte at offset 0x7F must be the 8-bit checksum of the preceding 127 bytes.<br />
<br />
PC versions' documents seem to have a similar initial structure but start with the three ASCII bytes <tt>44 4F 43</tt> ("DOC"):<br />
* LocoScript PC 1.08 (© 1990) comes with documents starting "DOC" followed by <tt>01 01</tt>.<br />
* LocoScript Professional 2 Plus for MS-DOS (2.51) emits and reads documents starting with "DOC" followed by <tt>01 03</tt>.<br />
<br />
Other files used by LocoScript have a similar header, with their own three-letter identification codes:<br />
* "BMP" - Scalable font bitmap<br />
* "CHR" - Printer font<br />
* "CMB" - Dot matrix printer driver<br />
* "DMN" - Disc Manager data (LocoScript PC)<br />
* "DRV" - Driver<br />
* "EDC" - Spellchecker dictionary<br />
* "HLP" - Help file (LocoScript PC)<br />
* "KBD" - Keyboard layout<br />
* "KNO" - Settings<br />
* "OML" - Overlay (Mail merge)<br />
* "OSP" - Overlay (Spell checker)<br />
* "OVL" - Overlay<br />
* "PHR" - List of phrases<br />
* "PRI" - Printer driver<br />
* "SCR" - Screen characters<br />
* "SDC" - Spellchecker dictionary<br />
* "UDC" - Spellchecker dictionary<br />
* "XCH" - Scalable font<br />
<br />
<br />
== Converting LocoScript documents ==<br />
<br />
Probably the most difficult problem with converting LocoScript documents into more readable formats is not the conversion process itself, but the fact that the majority of LocoScript files were stored on [[three inch disc|3-inch floppy disks]], which are now difficult to access. See the linked page for ideas for how to deal with this.<br />
<br />
'''LocoLink''' (and the later 'LocoLink for Windows') is a hardware / software combination that connects a PC parallel port to the expansion connector of an Amstrad PCW, and provides the software tools for both transferring LocoScript documents to the PC, as well as converting them to RTF or TXT formats. Note that the later PcW 16 has part of LocoLink built-in, and while this means documents can be transferred from an older PCW to a PcW 16 and then onto a PC, PcW 16 computers are few and far between, making this option unlikely.<br />
<br />
PCW LocoScript used CP/M format for its discs, so LocoScript files are likely to be found in a [[CP/M file system]]. LocoScript only kept live versions of files in CP/M user areas 0-7 (called "group 0" etc by LocoScript); files in user areas 8-15 were "limbo files", previous or deleted versions of documents, that LocoScript would automatically delete when space was needed. User area 8 contained limbo versions of files from user area / group 0, and so on.<br />
<br />
Once you are at the stage of having individual document files:<br />
<br />
* [https://ai.ansible.uk/ailink.html AILINK] by Ansible Information is former commercial software for Windows, now free, which can convert PCW LocoScript 1-4 documents to more modern formats such as RTF, keeping most of the formatting codes and special characters (not Greek and Cyrillic). It can do bulk conversions. If you're not trying to read actual floppy discs with it, it should work fine under modern Windows. It runs adequately on Linux under [[Wine]].<br />
* The PC versions of LocoScript could read PCW files, and had an export function to other formats, but are no longer particularly easy to acquire and run themselves.<br />
<br />
== Links ==<br />
* [http://www.locoscript.co.uk/ Publisher's website]<br />
** [https://web.archive.org/web/20141218181748/http://locoscript.co.uk/ 2014 archive]<br />
<br />
[[Category:Amstrad]]</div>
JTN
http://fileformats.archiveteam.org/wiki/CrLZH
CrLZH
2023-02-18T19:17:29Z
<p>JTN: fix rotted classiccmp.org links</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Compression<br />
|extensions={{ext|?y?}}, {{ext|yyy}}<br />
|released=1989<br />
}}<br />
'''CRLZH''' (or '''CrLZH''') is a single-file compression utility, and its associated file format, devised by Roger Warren and used on [[CP/M]]. The format is often referred to as just '''LZH''', but it's not to be confused with the format used for [[LHA|.lzh]] files.<br />
<br />
It came later than [[Squeeze]] and [[Crunch]] and generally achieved better compression than those formats. LZH files occurred standalone and as members in [[LBR]] archives. The underlying compression is based on that used by [[LHArc]].<br />
<br />
Similar to [[Squeeze]] and [[Crunch]], these files were signified in CP/M's 8.3 filename format by replacing the middle letter of the extension with Y (.?Y?), with the extension .YYY used for corner cases such as a blank extension.<br />
<br />
The compression schemes used by versions 1.x and 2.x are slightly different, but most decompression utilities support both.<br />
<br />
== Format details ==<br />
The compression algorithm uses [[LZ77 with Huffman coding|LZ77+Huffman]], with [[adaptive Huffman coding]]. It is derived from the same source code as [[LHA]]'s "lh1" compression, and is presumably quite similar to it. Differences include:<br />
* A 2K window instead of 4K<br />
* A special "EOF" code<br />
* In v2 format, offsets are encoded slightly differently.<br />
<br />
== Identification ==<br />
Files begin with bytes {{magic|76 fd}}.<br />
<br />
== Specifications ==<br />
<br />
* Some format information is in LZHREL.DOC shipped with [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/squsq/crlzh20.lbr CRLZH20.LBR]<br />
** An extracted copy is provided [[CrLZH/LZHREL.DOC|here]].<br />
* Note that the file header follows a similar/compatible structure to [[Crunch]].<br />
<br />
== Tools ==<br />
<br />
* [[CFX]] (DOS/Unix)<br />
* [http://www.svgalib.org/rus/lbrate.html lbrate] by Russell Marks, c. 2001 (Unix, GPL2)<br />
* {{Deark}}<br />
* [[Unar]]<br />
* On CP/M (or emulators):<br />
** The original tools were those in the CRLZH distribution, e.g. [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/squsq/crlzh20.lbr CRLZH20.LBR]<br />
** The later LT31 deals with extracting from all of [[Squeeze]], [[Crunch]], [[CrLZH]] and [[LBR]] formats. Widely available in CP/M archives, e.g. [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/arc-lbr/lt31.lbr LT31.LBR]<br />
** [http://www.retroarchive.org/cpm/cdrom/ENTERPRS/CPM/UTILS/F/LZH21SRC.LBR LZH21SRC.LBR] - Version 2.x LZH-CP/M source code - R. Warren - 1991-08-23<br />
<br />
== Sample files ==<br />
Note that for files in LBR archives, you may have to tell your LBR utility not to decompress them (e.g. <code>lbrate -n</code>).<br />
<br />
* [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/squsq/crlzh11.lbr crlzh11.lbr] → *.?y*<br />
* [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/squsq/crlzh20.lbr crlzh20.lbr] → *.?y*<br />
* https://telparia.com/fileFormatSamples/archive/crLZH/<br />
<br />
[[Category:File formats with too many extensions]]<br />
[[Category:CP/M]]</div>
JTN
http://fileformats.archiveteam.org/wiki/Crunch
Crunch
2023-02-18T19:16:13Z
<p>JTN: fix rotted classiccmp.org links</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Compression<br />
|extensions={{ext|?z?}}, {{ext|zzz}}<br />
|released=~1986<br />
}}<br />
:''This article is about the CP/M compressed file format. See the [[#Disambiguation|disambiguation section]] for other "Crunch" formats.''<br />
<br />
[[Crunch]] was a method of compressing single files popular on [[CP/M]], devised by Steve Greenberg circa 1986. It superseded [[Squeeze]] and was succeeded by [[CrLZH]], and crunched files were common in [[LBR]] archives. The underlying compression uses the [[LZW]] algorithm, combined with [[run-length encoding]].<br />
<br />
Similar to [[Squeeze]], crunched files were signified in CP/M's 8.3 filename format by replacing the middle letter of the extension with Z (.?Z?), with the extension .ZZZ used for corner cases such as a blank extension.<br />
<br />
There are two main versions of the compressed data format, and not all decompressors support both. The new (v2.x) format is apparently more common.<br />
<br />
== Disambiguation ==<br />
Not to be confused with:<br />
* The "crunched" compression methods used in [[ARC (compression format)|ARC]] format, though they are related.<br />
* [[Crunch-Mania]] - An Amiga file compression utility<br />
* [[Cruncher]] - An executable compression utility for DOS, by Ori Berger [http://cd.textfiles.com/simtel/simtel20/MSDOS/EXECOMP/CRUNCH10.ZIP]<br />
* CRUNCH - A compression optimization utility for DOS, by Bruce Gavin. It does not appear to have any native file formats. [http://cd.textfiles.com/20mnn/ARCHIVE/CRUNCH10.ZIP]<br />
* Crunch - An old [[ARC (compression format)|ARC]] compression utility by Richard P. Byrne [http://cd.textfiles.com/rbbsv3n1/d86v/crunch.zip]<br />
* CRUNCH - A PKARC automation utility by Chuck Zulker [http://cd.textfiles.com/megarom/megarom1/ARC_LBR/CRUNCH.ZIP]<br />
<br />
== See also ==<br />
* [[LZWCOM]] - predecessor<br />
* [[Squeeze]] - predecessor<br />
* [[CrLZH]] - successor<br />
* [[LBR]] - container<br />
* [[ZSQ (LZW compression)]] - Similar format<br />
* [[Zoo Z format]] - Same file naming convention<br />
<br />
== Format details ==<br />
The file header follows a similar/compatible structure to [[CrLZH]]. It was derived from [[Squeeze]], but bears only a little resemblance to it.<br />
<br />
Note that, as explained in the format documentation, the "filename" field contains not only the filename, but also extension data. If extension data exists, the filename extension is padded with spaces until it is exactly three characters long.<br />
<br />
In archives originating on CP/M systems, the high bit of each byte in the filename field may contain encoded CP/M file attributes. To extract the original filename, each byte should be masked with 0x7F.<br />
<br />
=== Compression ===<br />
V1.x compression is based on [[RLE90]] and [[LZWCOM]], very similar to [[ARC (compression format)|ARC]]'s method #6, except that Crunch reserves code 0 to mean "stop".<br />
<br />
V2.x compression is considerably more complex. CRUNCH20.DOC shipped in CRUNCH20.LBR says: ''It embodies all of the concepts employed in the UNIX COMPRESS / ARC512 algorithm, but is additionally enhanced by a "metastatic code reassignment" facility. This is one of several concepts I am developing as part of an effort to advance data compression techniques beyond current performance limits. I believe this is the first time this principle has been proposed or implemented.''<br />
<br />
== Identification ==<br />
Files begin with bytes {{magic|76 fe}}.<br />
<br />
== Specifications ==<br />
<br />
* The file header is described in the text file LZDEF20.DOC shipped with [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/sigm/vol294/crunch20.lbr CRUNCH20.LBR].<br />
** An extracted copy is provided [[Crunch/LZDEF20.DOC|here]].<br />
* [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/squsq/crunch.abs crunch.abs] - "Technical Abstract" by Steven Greenberg, 16 November 1986<br />
* [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/squsq/crunch.izf crunch.izf] → crunch.inf - Collected information about the format<br />
<br />
== Software ==<br />
<br />
* [[CFX]] (DOS/Unix)<br />
* [http://www.svgalib.org/rus/lbrate.html lbrate] by Russell Marks, c. 2001 (Unix, GPL2)<br />
* [[The Unarchiver]]<br />
* On CP/M (or emulators):<br />
** The canonical tools were CRUNCH and UNCR. Possibly Greenberg's last version (Feb 1988) is v2.4:<br />
*** [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/squsq/crunch24.lbr CRUNCH24.LBR]<br />
*** [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/squsq/crnch24s.lbr CRNCH24S.LBR] (source code)<br />
** The later LT31 deals with extracting from all of [[Squeeze]], [[Crunch]], [[CrLZH]] and [[LBR]] formats. Widely available in CP/M archives, e.g. [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/arc-lbr/lt31.lbr LT31.LBR]<br />
** crunch12.lbr - Crunch 1.2 - Possible sources: [http://gaby.de/ftp/pub/cpm/znode51/pcwworld/u111/user_0/crunch12.lbr], [https://www.worldofsam.org/products/fdos-disk-002-file-compressors-and-archivers]<br />
** [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/sigm/vol294/crunch20.lbr crunch20.lbr] - Crunch 2.0<br />
** [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/squsq/fcrnch11.lbr fcrnch11.lbr] - FCRUNCH v1.1 - An improved version of Crunch 2.x, by C.B. Falconer<br />
* {{CdTextfiles|megarom/megarom1/ARC_LBR/UNCR_DOS.ZIP|UNCR version "UNCR231"}} - Crunch v2 decompression source code by Frank Prindle. Package includes a DOS binary.<br />
** {{CdTextfiles|megarom/megarom1/ARC_LBR/UNCR233.ZIP|UNCR233}} - Based on UNCR231, with modifications by Skip Hansen (source code + DOS binary)<br />
<br />
== Sample files ==<br />
* [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/ OAK CP/M archive] → .../*.?z?<br />
* Found in many [[LBR#Sample files|LBR]] files. Note that you may have to tell your LBR utility not to decompress them (e.g. <code>lbrate -n</code>).<br />
* https://telparia.com/fileFormatSamples/archive/crunch/<br />
<br />
[[Category:File formats with too many extensions]]<br />
[[Category:CP/M]]</div>
JTN
http://fileformats.archiveteam.org/wiki/Squeeze
Squeeze
2023-02-18T19:14:25Z
<p>JTN: fix rotted classiccmp.org links</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Compression<br />
|extensions={{ext|?q?}}, {{ext|qqq}}, {{ext|sq}}<br />
|wikidata={{wikidata|Q34745668}}<br />
|released=ca. 1981<br />
}}<br />
:''Distinct from [[Squeeze It]] (SQZ). See the [[#Disambiguation|disambiguation section]] for more similarly-named formats.''<br />
<br />
[[Squeeze]] was a method of compressing single files popular on [[CP/M]], devised by Richard Greenlaw circa 1981. It was superseded by [[Crunch]] and later [[CrLZH]]. Squeezed files were common in [[LBR]] archives. It uses [[Huffman coding]] combined with [[run-length encoding]].<br />
<br />
Squeezed files were signified in CP/M's 8.3 filename format by replacing the middle letter of the extension with Q (.?Q? -- so FOO.TXT became FOO.TQT), with the extension .QQQ used for corner cases such as a blank extension. Some software for other platforms (e.g. squprt33.ark) appends a .SQ extension instead.<br />
<br />
The <tt>/usr/share/misc/magic</tt> file on Linux systems suggests that it was perhaps also in use on the [[Apple II|Apple ][]] platform, and in fact [[Binary II]] files are often found squeezed (as .bqy instead of .bny). Versions for PC/MS-DOS were also in use in the early 1980s before [[ARC (compression format)|ARC]] caught on as the dominant archiver.<br />
<br />
== Disambiguation ==<br />
Not to be confused with:<br />
* [[Squeeze It]] (SQZ) - A compression-and-archival format for DOS released around 1992.<br />
* [[SQUEEZE (AJP Systems)]] - A Windows 3.x file compression program and format.<br />
* [[squeeze (Daniel Bernstein)]] - A compressed file format<br />
* Squeez [https://www.sac.sk/download/pack/squeez.zip] - A compression/archiving application for 32-bit Windows, with internal support for several standard formats. By Sven Ritter and SpeedProject.<br />
* Squeez, UnSqueez - Terms used for software and technology associated with [[SQX]] format, by Sven Ritter and SpeedProject.<br />
* [[SQWEZ]] - Compressed archive format and software for DOS, with an emphasis on self-extracting archives.<br />
* [[Vidfern Squeezer]] - Executable compression software for 32-bit Windows. (Maybe also transparent file compression for Mac?)<br />
* [[ARC (compression format)|ARC]] "squeezed" compression - Related, but distinct<br />
<br />
== See also ==<br />
* [[SQ2]] - variant<br />
* [[ZSQ (LZW compression)]]<br />
* [[Crunch]] - successor<br />
* [[CrLZH]] - successor<br />
* [[LBR]] - container<br />
* [[ARC (compression format)|ARC]], "squeezed" compression<br />
<br />
== Format details ==<br />
Note:<br />
* Multi-byte integers are little-endian.<br />
* Some Squeeze software limits the length of a Huffman code to at most 16 bits.<br />
<br />
=== File structure ===<br />
{| class="wikitable"<br />
! Field !! Size in bytes !! Description<br />
|-<br />
|signature || 2 || <code>0x76 0xff</code><br />
|-<br />
|checksum || 2 || Low 16 bits of the sum of the decompressed byte values.<br />
|-<br />
|filename || variable || Original filename, terminated by a NUL byte. (TODO: Find a specification for this field. Some software interprets it in the same way as [[Crunch]], but that might be overkill.)<br />
|-<br />
|compressed data || variable || See below.<br />
|-<br />
|timestamp extension || 8 || Optional timestamp. See below.<br />
|}<br />
<br />
=== Compressed data section ===<br />
The "compressed data" section. This part is equivalent to [[ARC (compression format)|ARC]] compression method 4.<br />
<br />
{| class="wikitable"<br />
! Field !! Size in bytes !! Description<br />
|-<br />
|node_count || 2 || Number of nodes in the table. Valid values are 0 through 256, inclusive.<br />
|-<br />
|node table || 4 × node_count || The encoded Huffman tree. See below.<br />
|-<br />
|data || variable || Huffman-encoded data. Least-significant bit first. After Huffman decoding, the data is [[RLE90]]-compressed. The data should end with a special "stop" code. However, this compression format could be used in situations where it could also be terminated by other means.<br />
|}<br />
<br />
A table node contains two encoded values. Each is a signed 16-bit integer interpreted as follows:<br />
<br />
{| class="wikitable"<br />
! Encoded value !! Meaning<br />
|-<br />
| −257 || Stop<br />
|-<br />
| −256 ... −1 || Byte value 255 ... 0<br />
|-<br />
| 0 ... 255 || Pointer to a child node<br />
|}<br />
<br />
=== Timestamp extension ===<br />
Format of timestamp extension, taken from SQDATE.DOC (see below). It starts at the first byte boundary after the Stop code. It is present if the signature and checksum are correct.<br />
<br />
{| class="wikitable"<br />
! Field !! Size in bytes !! Description<br />
|-<br />
|signature || 2 || <code>0xff77</code> (<code>0x77 0xff</code>)<br />
|-<br />
|date || 2 ||rowspan="2"| [[MS-DOS date/time]] format<br />
|-<br />
|time || 2<br />
|-<br />
|checksum || 2 || Low 16 bits of the sum of the first three fields, interpreted as little-endian integers.<br />
|}<br />
<br />
== Identification ==<br />
Files begin with bytes {{magic|76 ff}}.<br />
<br />
Note that this does not distinguish them from [[CODEC (Telvox)]].<br />
<br />
== Specifications ==<br />
* See the [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/squsq/ SQUSQ] directory on CP/M archives for various source code and documentation (much of it, unfortunately, itself squeezed/crunched).<br />
* {{CdTextfiles|simtel/simtel/DISK1/DISC2/COMPRESS/SQDATE.DOC|SQDATE.DOC}} - Information about the timestamp extension<br />
<br />
== Tools ==<br />
<br />
* [[CFX]] (DOS/Unix)<br />
* [http://www.svgalib.org/rus/lbrate.html lbrate] by Russell Marks, c. 2001 (Unix, GPL2)<br />
* [[The Unarchiver]]<br />
* {{Deark}}<br />
* On CP/M (or emulators):<br />
** The original tools were SQ/USQ. See for instance the [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/squsq/ SQUSQ] directory of the Oakland CP/M archive.<br />
** The later LT31 deals with extracting from all of [[Squeeze]], [[Crunch]], [[CrLZH]] and [[LBR]] formats. Widely available in CP/M archives, e.g. [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/arc-lbr/lt31.lbr LT31.LBR]<br />
* [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/squsq/squprt33.ark squprt33.ark] - Portable sq/usq, version "3.3 10/29/86"<br />
* {{CdTextfiles|carousel/013B/NSQUSQ.ZIP|NSQUSQ.ZIP}} - Contains NUSQ v1.10 (1984-10-21; By Dave Rand, Paul Homchick and Cliff Sharp) and NSQ v2.01 (1984-10-20; "Originally by Richard Greenlaw") (DOS Software)<br />
* {{CdTextfiles|simtel/simtel20/MSDOS/COMPRESS/SQPC131.ZIP|SQPC131.ZIP}} - SQPC v1.31 (1986-03-02) and UNSQPC v1.36, by Vernon D. Buerg (DOS Software)<br />
* {{CdTextfiles|carousel/013A/ALUSQ11.ZIP|ALUSQ11.ZIP}} - ALUSQ v1.1 (1985-03-04) by Alan Losoff (DOS software, decompression only)<br />
<br />
== Sample files ==<br />
* [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/ OAK CP/M archive] → .../*.?q?<br />
* Found in many [[LBR#Sample files|LBR]] files. Note that you may have to tell your LBR utility not to decompress them (e.g. <code>lbrate -n</code>).<br />
* https://telparia.com/fileFormatSamples/archive/squeeze/<br />
<br />
== References ==<br />
<br />
* [[Wikipedia:SQ (program)]]<br />
<br />
[[Category:File formats with too many extensions]]<br />
[[Category:CP/M]]</div>
JTN
http://fileformats.archiveteam.org/wiki/LBR
LBR
2023-02-18T19:08:11Z
<p>JTN: /* Sample files */ fix rotted link</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Archiving<br />
|extensions={{ext|lbr}}, {{ext|lqr}}, {{ext|lzr}}, {{ext|lyr}}<br />
|wikidata={{wikidata|Q6457314}}<br />
}}<br />
[[LBR]] was a container format popular for distributing [[CP/M]] software, designed by Gary P. Novosielski. Since it had no compression of its own, it was common for individual members of .LBR files to be compressed with [[Squeeze]] (.?Q?), [[Crunch]] (.?Z?), or [[CrLZH]] (.?Y?). Alternatively, the whole library could be compressed with one of these methods (leading to the extensions .LQR, .LZR, .LYR).<br />
<br />
Under CP/M, the canonical tools for manipulating LBR files were LU.COM and NULU.COM. Other tools, such as NSWP.COM, understood both LBR and some of the closely associated compression formats.<br />
<br />
LBR has been implemented on other platforms including PC/MS-DOS, but the [[LBR (Commodore)|Commodore LBR]] format is unrelated and not compatible. (It was common in those days for different platforms to be Balkanized and not have file formats that are in any way compatible with those of other platforms, even when they served similar purposes and were inspired by other-platform formats even to the point of being named after them.)<br />
<br />
== Identification ==<br />
LBR files have no signature, but they begin with a "Directory Control Entry" that has a fairly strict format. So, LBR files start with a 0x00 byte, then 11 spaces (0x20), then two 0x00 bytes, then two bytes that are not both 0x00.<br />
<br />
== Tools ==<br />
<br />
* [[CFX]] (DOS/Unix)<br />
* [http://www.svgalib.org/rus/lbrate.html lbrate] by Russell Marks, c. 2001 (Unix, GPL2)<br />
* [http://www.seasip.info/Unix/Lar/index.html LAR] (Unix, tar-like interface) by John Elliott, based on Stephen C. Hemminger's original<br />
* [http://www.classiccmp.org/cpmarchives/cpm/mirrors/oak.oakland.edu/pub/cpm/arc-lbr/lu310.com lu310.com] (CP/M software)<br />
<br />
== Sample files ==<br />
* [http://cpmarchives.classiccmp.org/cpm/mirrors/oak.oakland.edu/pub/cpm/ OAK CP/M archive] → .../*.lbr<br />
* https://telparia.com/fileFormatSamples/archive/lbr/<br />
<br />
== References ==<br />
<br />
* .LBR format definition, Gary P. Novosielski, 1984-08-19 -- available as LUDEF5.DOC in many CP/M archives (e.g., [http://www.retroarchive.org/cpm/cdrom/CPM/UTILS/ARC-LBR/LUDEF5.DOC here])<br />
** [http://www.textfiles.com/programming/FORMATS/ludef5.txt This version] renames the extension to .txt so the browser won't try to launch M$ Word to open it.<br />
** '''[http://www.seasip.info/Cpm/ludef5.html HTML version]''' of the above<br />
* .LBR format definition, Gary P. Novosielski, 1984-08-04 -- [http://annex.retroarchive.org/cdrom/nightowl-001/015A/LUDEF4/LUDEF4.DOC an older version of the specification]<br />
* .LBR format definition, Gary P. Novosielski, 1983-08-16 [http://cpmarchives.classiccmp.org/cpm/Software/WalnutCD/lambda/soundpot/f/lu300.lbr] use e.g. [[The Unarchiver]] to access the contained files.<br />
* .LBR format definition, Gary P. Novosielski, 1982-11-04 -- [http://cpmarchives.classiccmp.org/cpm/Software/WalnutCD/simtel/sigm/vols100/vol119/ludef1.doc an early version of the specification]<br />
* [[Wikipedia:LBR (file format)|LBR (file format) at Wikipedia]]<br />
* [http://www.textfiles.com/programming/FORMATS/arc-lbr.pro ARC vs LBR comparison (1985)]<br />
<br />
[[Category:CP/M]]</div>
JTN
http://fileformats.archiveteam.org/wiki/LocoScript
LocoScript
2023-02-18T18:59:26Z
<p>JTN: lk JCE's LocoScript version history</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Document<br />
|subcat2=Word Processor<br />
}}<br />
'''LocoScript''' was the word processor bundled with the Amstrad PCW. There were four major versions for the PCW, and two for MSDOS.<br />
<br />
8-bit versions ([https://www.seasip.info/Unix/Joyce/locohist.html more detail]):<br />
* LocoScript 1 (1985) was bundled with the Amstrad PCW 8256/8512 (3" drives) and PcW 9256 and 10 (3.5" drives).<br />
* LocoScript 2 (1987) was bundled with the Amstrad PCW 9512 (3" drive) and PcW 9512+ (3.5" drive), and was a common upgrade for the other models.<br />
* LocoScript 3 (1993) was only available separately. It added semi-scalable fonts.<br />
* LocoScript 4 (1996/7) was only available separately. It added support for images (in [[MDA]] format) and colour printing.<br />
<br />
Most PCW documents, on either 3" or 3.5" floppy discs, are thus likely to be in LocoScript 1 or 2 format.<br />
<br />
(The PcW 16 did not run LocoScript.)<br />
<br />
While standard LocoScript had a relatively wide range of characters, there were some specialised versions for particular scripts, such as [http://www.fvempel.nl/manuals/araloco.pdf Euro-Arabic LocoScript] ([https://archive.org/details/8000-plus-magazine-37/page/n14/mode/1up see also]) and [http://www.habisoft.com/pcwwiki/doku.php?id=es:aplicaciones:advantage_hebrew_locoscript Hebrew LocoScript].<br />
<br />
PC versions:<br />
* LocoScript PC (later LocoScript PC Easy)<br />
* LocoScript Professional<br />
<br />
== File formats ==<br />
<br />
Each major version of LocoScript changed the file format. Newer versions could read files from older versions, but not vice versa.<br />
<br />
* LocoScript 1 is relatively well documented.<br />
** [https://archive.org/details/35_Schneider_PC_International_1988-01 Schneider PC International 1988/01] (pp84-97) has a fairly detailed description of the LocoScript 1 format (in German), and provides Turbo Pascal source for a program LOCOCONV to convert it (updated in the [https://archive.org/details/44_Amstrad_PC_International_1988-10 1988/10 issue], pp92-97). Versions of that program exist in various places:<br />
*** Werner Cirsovius' site ([https://web.archive.org/web/20160311002010/http://cirsovius.de/CPM/Projekte/TURBO-PASCAL/LOCO/LocoConv-en.html on Wayback machine]) had a copy. Wayback Machine doesn't have all the code, but the whole website is archived as a .7z [http://www.classiccmp.org/cpmarchives/index.php here].<br />
*** A modified/translated version is on [http://fvempel.nl/domain.html Frank van Empel's site] (search for LOCOCON).<br />
** Another, briefer description of the [https://www.seasip.info/Unix/Joyce/ls1frm.html LocoScript 1 file format] (in English)<br />
** The character encoding used for the text portions is the [[Amstrad CP/M Plus character set]], except that the [[C1 controls]] range was used for control codes (different ones from the C1 control standard, which probably didn't exist yet) instead of the box-drawing characters of the CP/M Plus set.<br />
* LocoScript 2 and up: no known descriptions (although plenty of software exists to read them). These versions had a greatly expanded character repertoire, more than can fit in a single-byte character set; see reference from [http://www.seasip.info/Unix/PSF/Amstrad/Scrchar/ John Elliott]. They share some of the same basic structure as LocoScript 1.<br />
** Reportedly, Locomotive/LocoScript Software did produce format documentation for at least Loco 3 and 4 documents, the latter called ''The Structure of LocoScript 4 Documents'' and released under NDA; they don't seem to have made their way online. Refs: David Langford's columns in PCW Plus 114 (March 1996) and [https://archive.org/details/pcw-today-08/page/n37/mode/1up PCW Today issue 8 (Winter 97/98)].<br />
<br />
LocoScript documents did not have a conventional file extension. The default filenames it suggested were <tt>DOCUMENT.000</tt>, <tt>DOCUMENT.001</tt>, etc.<br />
<br />
== Identification ==<br />
<br />
All known (PCW) LocoScript files start with the three ASCII bytes <tt>4A 4F 59</tt> ("JOY"), followed by two bytes identifying the major format version:<br />
* <tt>01 00</tt>: Identified by LocoScript 4 as "LocoScript 2 document (Export)"<br />
* <tt>01 01</tt>: LocoScript 1 (emitted by 1.1, 1.11e, 1.20, 1.42H)<br />
* <tt>01 02</tt>: LocoScript 2 (emitted by 2.03, 2.12, 2.16, 2.28b)<br />
* <tt>01 03</tt>: Identified by LocoScript 4 as "LocoScript 3 document (Export)"<br />
* <tt>01 04</tt>: LocoScript 3 and 2.5x (emitted by 2.54, 3.06b)<br />
* <tt>01 05</tt>: Identified by LocoScript 4 as "LocoScript 4 document (Export)"<br />
* <tt>01 06</tt>: LocoScript 4 (emitted by 4.06, 4.10, 4.11)<br />
<br />
In addition, the byte at offset 0x7F must be the 8-bit checksum of the preceding 127 bytes.<br />
<br />
PC versions' documents seem to have a similar initial structure but start with the three ASCII bytes <tt>44 4F 43</tt> ("DOC"):<br />
* LocoScript PC 1.08 (© 1990) comes with documents starting "DOC" followed by <tt>01 01</tt>.<br />
* LocoScript Professional 2 Plus for MS-DOS (2.51) emits and reads documents starting with "DOC" followed by <tt>01 03</tt>.<br />
<br />
Other files used by LocoScript have a similar header, with their own three-letter identification codes:<br />
* "BMP" - Scalable font bitmap<br />
* "CHR" - Printer font<br />
* "CMB" - Dot matrix printer driver<br />
* "DMN" - Disc Manager data (LocoScript PC)<br />
* "DRV" - Driver<br />
* "EDC" - Spellchecker dictionary<br />
* "HLP" - Help file (LocoScript PC)<br />
* "KBD" - Keyboard layout<br />
* "KNO" - Settings<br />
* "OML" - Overlay (Mail merge)<br />
* "OSP" - Overlay (Spell checker)<br />
* "OVL" - Overlay<br />
* "PHR" - List of phrases<br />
* "PRI" - Printer driver<br />
* "SCR" - Screen characters<br />
* "SDC" - Spellchecker dictionary<br />
* "UDC" - Spellchecker dictionary<br />
* "XCH" - Scalable font<br />
<br />
<br />
== Converting LocoScript documents ==<br />
<br />
Probably the most difficult problem with converting LocoScript documents into more readable formats is not the conversion process itself, but the fact that the majority of LocoScript files were stored on [[three inch disc|3-inch floppy disks]], which are now difficult to access. See the linked page for ideas for how to deal with this.<br />
<br />
'''LocoLink''' (and the later 'LocoLink for Windows') is a hardware / software combination that connects a PC parallel port to the expansion connector of an Amstrad PCW, and provides the software tools for both transferring LocoScript documents to the PC, as well as converting them to RTF or TXT formats. Note that the later PcW 16 has part of LocoLink built-in, and while this means documents can be transferred from an older PCW to a PcW 16 and then onto a PC, PcW 16 computers are few and far between, making this option unlikely.<br />
<br />
PCW LocoScript used CP/M format for its discs, so LocoScript files are likely to be found in a [[CP/M file system]]. LocoScript only kept live versions of files in CP/M user areas 0-7 (called "group 0" etc by LocoScript); files in user areas 8-15 were "limbo files", previous or deleted versions of documents, that LocoScript would automatically delete when space was needed. User area 8 contained limbo versions of files from user area / group 0, and so on.<br />
<br />
Once you are at the stage of having individual document files:<br />
<br />
* [https://ai.ansible.uk/ailink.html AILINK] by Ansible Information is former commercial software for Windows, now free, which can convert PCW LocoScript 1-4 documents to more modern formats such as RTF, keeping most of the formatting codes and special characters (not Greek and Cyrillic). It can do bulk conversions. If you're not trying to read actual floppy discs with it, it should work fine under modern Windows. It runs adequately on Linux under [[Wine]].<br />
* The PC versions of LocoScript could read PCW files, and had an export function to other formats, but are no longer particularly easy to acquire and run themselves.<br />
<br />
== Links ==<br />
* [http://www.locoscript.co.uk/ Publisher's website]<br />
** [https://web.archive.org/web/20141218181748/http://locoscript.co.uk/ 2014 archive]<br />
<br />
[[Category:Amstrad]]</div>
JTN
http://fileformats.archiveteam.org/wiki/MDA
MDA
2023-02-18T18:56:11Z
<p>JTN: note that LocoScript 4 documents could reference MDAs</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Graphics<br />
|extensions={{ext|mda}}, {{ext|mdp}}<br />
}}<br />
'''MicroDesign Area''' ([[MDA]]) and '''MicroDesign Page''' ('''MDP''') are monochrome raster graphics formats with simple lossless compression used by the MicroDesign family of programs on the [[Amstrad PCW]]. MDA represents images of arbitrary size, whereas MDP represents the whole of one of a small set of fixed page sizes, and has a little extra metadata associated with that purpose.<br />
<br />
Due to the nature of the Amstrad PCW's display, each pixel in this format should be treated as being twice as tall as it is wide.<br />
<br />
The MDA format comes in two related versions: one that was produced/consumed by MicroDesign PCW version 2, and a later one with more compression used by MicroDesign 3.<br />
<br />
A few other PCW programs could use images in this format; notably, [[LocoScript]] version 4 documents could reference MDA version 3 files.<br />
<br />
(FIXME: do these formats have any resemblance to the .DR(?) format used on the Amstrad CPC [http://www.cpcwiki.eu/index.php/MicroDesign MicroDesign] or [http://www.cpcwiki.eu/index.php/MicroDesign_Plus MicroDesign Plus]?)<br />
<br />
== Specifications ==<br />
* MicroDesign Page (.MDP) & Area (.MDA) File Specifications, Creative Technology, 1992<br />
** [http://www.chiark.greenend.org.uk/~jacobn/cpm/mdaspec.html Online HTML version] with extra annotations<br />
** [http://www.chiark.greenend.org.uk/~jacobn/cpm/mdaspec.pdf PDF scan of original]<br />
<br />
== Software ==<br />
* [[Netpbm]] includes the [http://netpbm.sourceforge.net/doc/mdatopbm.html mdatopbm] and [http://netpbm.sourceforge.net/doc/pbmtomda.html pbmtomda] tools to convert from and to these formats.<br />
<br />
[[Category:Amstrad]]</div>
JTN
http://fileformats.archiveteam.org/wiki/LocoScript
LocoScript
2023-02-18T18:54:03Z
<p>JTN: /* Converting LocoScript documents */</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Document<br />
|subcat2=Word Processor<br />
}}<br />
'''LocoScript''' was the word processor bundled with the Amstrad PCW. There were four major versions for the PCW, and two for MSDOS.<br />
<br />
8-bit versions:<br />
* LocoScript 1 (1985) was bundled with the Amstrad PCW 8256/8512 (3" drives) and PcW 9256 and 10 (3.5" drives).<br />
* LocoScript 2 (1987) was bundled with the Amstrad PCW 9512 (3" drive) and PcW 9512+ (3.5" drive), and was a common upgrade for the other models.<br />
* LocoScript 3 (1993) was only available separately. It added semi-scalable fonts.<br />
* LocoScript 4 (1996/7) was only available separately. It added support for images (in [[MDA]] format) and colour printing.<br />
<br />
Most PCW documents, on either 3" or 3.5" floppy discs, are thus likely to be in LocoScript 1 or 2 format.<br />
<br />
(The PcW 16 did not run LocoScript.)<br />
<br />
While standard LocoScript had a relatively wide range of characters, there were some specialised versions for particular scripts, such as [http://www.fvempel.nl/manuals/araloco.pdf Euro-Arabic LocoScript] ([https://archive.org/details/8000-plus-magazine-37/page/n14/mode/1up see also]) and [http://www.habisoft.com/pcwwiki/doku.php?id=es:aplicaciones:advantage_hebrew_locoscript Hebrew LocoScript].<br />
<br />
PC versions:<br />
* LocoScript PC (later LocoScript PC Easy)<br />
* LocoScript Professional<br />
<br />
== File formats ==<br />
<br />
Each major version of LocoScript changed the file format. Newer versions could read files from older versions, but not vice versa.<br />
<br />
* LocoScript 1 is relatively well documented.<br />
** [https://archive.org/details/35_Schneider_PC_International_1988-01 Schneider PC International 1988/01] (pp84-97) has a fairly detailed description of the LocoScript 1 format (in German), and provides Turbo Pascal source for a program LOCOCONV to convert it (updated in the [https://archive.org/details/44_Amstrad_PC_International_1988-10 1988/10 issue], pp92-97). Versions of that program exist in various places:<br />
*** Werner Cirsovius' site ([https://web.archive.org/web/20160311002010/http://cirsovius.de/CPM/Projekte/TURBO-PASCAL/LOCO/LocoConv-en.html on Wayback machine]) had a copy. Wayback Machine doesn't have all the code, but the whole website is archived as a .7z [http://www.classiccmp.org/cpmarchives/index.php here].<br />
*** A modified/translated version is on [http://fvempel.nl/domain.html Frank van Empel's site] (search for LOCOCON).<br />
** Another, briefer description of the [https://www.seasip.info/Unix/Joyce/ls1frm.html LocoScript 1 file format] (in English)<br />
** The character encoding used for the text portions is the [[Amstrad CP/M Plus character set]], except that the [[C1 controls]] range was used for control codes (different ones from the C1 control standard, which probably didn't exist yet) instead of the box-drawing characters of the CP/M Plus set.<br />
* LocoScript 2 and up: no known descriptions (although plenty of software exists to read them). These versions had a greatly expanded character repertoire, more than can fit in a single-byte character set; see reference from [http://www.seasip.info/Unix/PSF/Amstrad/Scrchar/ John Elliott]. They share some of the same basic structure as LocoScript 1.<br />
** Reportedly, Locomotive/LocoScript Software did produce format documentation for at least Loco 3 and 4 documents, the latter called ''The Structure of LocoScript 4 Documents'' and released under NDA; they don't seem to have made their way online. Refs: David Langford's columns in PCW Plus 114 (March 1996) and [https://archive.org/details/pcw-today-08/page/n37/mode/1up PCW Today issue 8 (Winter 97/98)].<br />
<br />
LocoScript documents did not have a conventional file extension. The default filenames it suggested were <tt>DOCUMENT.000</tt>, <tt>DOCUMENT.001</tt>, etc.<br />
<br />
== Identification ==<br />
<br />
All known (PCW) LocoScript files start with the three ASCII bytes <tt>4A 4F 59</tt> ("JOY"), followed by two bytes identifying the major format version:<br />
* <tt>01 00</tt>: Identified by LocoScript 4 as "LocoScript 2 document (Export)"<br />
* <tt>01 01</tt>: LocoScript 1 (emitted by 1.1, 1.11e, 1.20, 1.42H)<br />
* <tt>01 02</tt>: LocoScript 2 (emitted by 2.03, 2.12, 2.16, 2.28b)<br />
* <tt>01 03</tt>: Identified by LocoScript 4 as "LocoScript 3 document (Export)"<br />
* <tt>01 04</tt>: LocoScript 3 and 2.5x (emitted by 2.54, 3.06b)<br />
* <tt>01 05</tt>: Identified by LocoScript 4 as "LocoScript 4 document (Export)"<br />
* <tt>01 06</tt>: LocoScript 4 (emitted by 4.06, 4.10, 4.11)<br />
<br />
In addition, the byte at offset 0x7F must be the 8-bit checksum of the preceding 127 bytes.<br />
<br />
PC versions' documents seem to have a similar initial structure but start with the three ASCII bytes <tt>44 4F 43</tt> ("DOC"):<br />
* LocoScript PC 1.08 (© 1990) comes with documents starting "DOC" followed by <tt>01 01</tt>.<br />
* LocoScript Professional 2 Plus for MS-DOS (2.51) emits and reads documents starting with "DOC" followed by <tt>01 03</tt>.<br />
<br />
Other files used by LocoScript have a similar header, with their own three-letter identification codes:<br />
* "BMP" - Scalable font bitmap<br />
* "CHR" - Printer font<br />
* "CMB" - Dot matrix printer driver<br />
* "DMN" - Disc Manager data (LocoScript PC)<br />
* "DRV" - Driver<br />
* "EDC" - Spellchecker dictionary<br />
* "HLP" - Help file (LocoScript PC)<br />
* "KBD" - Keyboard layout<br />
* "KNO" - Settings<br />
* "OML" - Overlay (Mail merge)<br />
* "OSP" - Overlay (Spell checker)<br />
* "OVL" - Overlay<br />
* "PHR" - List of phrases<br />
* "PRI" - Printer driver<br />
* "SCR" - Screen characters<br />
* "SDC" - Spellchecker dictionary<br />
* "UDC" - Spellchecker dictionary<br />
* "XCH" - Scalable font<br />
<br />
<br />
== Converting LocoScript documents ==<br />
<br />
Probably the most difficult problem with converting LocoScript documents into more readable formats is not the conversion process itself, but the fact that the majority of LocoScript files were stored on [[three inch disc|3-inch floppy disks]], which are now difficult to access. See the linked page for ideas for how to deal with this.<br />
<br />
'''LocoLink''' (and the later 'LocoLink for Windows') is a hardware / software combination that connects a PC parallel port to the expansion connector of an Amstrad PCW, and provides the software tools for both transferring LocoScript documents to the PC, as well as converting them to RTF or TXT formats. Note that the later PcW 16 has part of LocoLink built-in, and while this means documents can be transferred from an older PCW to a PcW 16 and then onto a PC, PcW 16 computers are few and far between, making this option unlikely.<br />
<br />
PCW LocoScript used CP/M format for its discs, so LocoScript files are likely to be found in a [[CP/M file system]]. LocoScript only kept live versions of files in CP/M user areas 0-7 (called "group 0" etc by LocoScript); files in user areas 8-15 were "limbo files", previous or deleted versions of documents, that LocoScript would automatically delete when space was needed. User area 8 contained limbo versions of files from user area / group 0, and so on.<br />
<br />
Once you are at the stage of having individual document files:<br />
<br />
* [https://ai.ansible.uk/ailink.html AILINK] by Ansible Information is former commercial software for Windows, now free, which can convert PCW LocoScript 1-4 documents to more modern formats such as RTF, keeping most of the formatting codes and special characters (not Greek and Cyrillic). It can do bulk conversions. If you're not trying to read actual floppy discs with it, it should work fine under modern Windows. It runs adequately on Linux under [[Wine]].<br />
* The PC versions of LocoScript could read PCW files, and had an export function to other formats, but are no longer particularly easy to acquire and run themselves.<br />
<br />
== Links ==<br />
* [http://www.locoscript.co.uk/ Publisher's website]<br />
** [https://web.archive.org/web/20141218181748/http://locoscript.co.uk/ 2014 archive]<br />
<br />
[[Category:Amstrad]]</div>
JTN
http://fileformats.archiveteam.org/wiki/LocoScript
LocoScript
2023-02-18T18:53:18Z
<p>JTN: /* Converting LocoScript documents */ describe LocoScript's usage of CP/M "user areas", limbo files, etc</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Document<br />
|subcat2=Word Processor<br />
}}<br />
'''LocoScript''' was the word processor bundled with the Amstrad PCW. There were four major versions for the PCW, and two for MSDOS.<br />
<br />
8-bit versions:<br />
* LocoScript 1 (1985) was bundled with the Amstrad PCW 8256/8512 (3" drives) and PcW 9256 and 10 (3.5" drives).<br />
* LocoScript 2 (1987) was bundled with the Amstrad PCW 9512 (3" drive) and PcW 9512+ (3.5" drive), and was a common upgrade for the other models.<br />
* LocoScript 3 (1993) was only available separately. It added semi-scalable fonts.<br />
* LocoScript 4 (1996/7) was only available separately. It added support for images (in [[MDA]] format) and colour printing.<br />
<br />
Most PCW documents, on either 3" or 3.5" floppy discs, are thus likely to be in LocoScript 1 or 2 format.<br />
<br />
(The PcW 16 did not run LocoScript.)<br />
<br />
While standard LocoScript had a relatively wide range of characters, there were some specialised versions for particular scripts, such as [http://www.fvempel.nl/manuals/araloco.pdf Euro-Arabic LocoScript] ([https://archive.org/details/8000-plus-magazine-37/page/n14/mode/1up see also]) and [http://www.habisoft.com/pcwwiki/doku.php?id=es:aplicaciones:advantage_hebrew_locoscript Hebrew LocoScript].<br />
<br />
PC versions:<br />
* LocoScript PC (later LocoScript PC Easy)<br />
* LocoScript Professional<br />
<br />
== File formats ==<br />
<br />
Each major version of LocoScript changed the file format. Newer versions could read files from older versions, but not vice versa.<br />
<br />
* LocoScript 1 is relatively well documented.<br />
** [https://archive.org/details/35_Schneider_PC_International_1988-01 Schneider PC International 1988/01] (pp84-97) has a fairly detailed description of the LocoScript 1 format (in German), and provides Turbo Pascal source for a program LOCOCONV to convert it (updated in the [https://archive.org/details/44_Amstrad_PC_International_1988-10 1988/10 issue], pp92-97). Versions of that program exist in various places:<br />
*** Werner Cirsovius' site ([https://web.archive.org/web/20160311002010/http://cirsovius.de/CPM/Projekte/TURBO-PASCAL/LOCO/LocoConv-en.html on Wayback machine]) had a copy. Wayback Machine doesn't have all the code, but the whole website is archived as a .7z [http://www.classiccmp.org/cpmarchives/index.php here].<br />
*** A modified/translated version is on [http://fvempel.nl/domain.html Frank van Empel's site] (search for LOCOCON).<br />
** Another, briefer description of the [https://www.seasip.info/Unix/Joyce/ls1frm.html LocoScript 1 file format] (in English)<br />
** The character encoding used for the text portions is the [[Amstrad CP/M Plus character set]], except that the [[C1 controls]] range was used for control codes (different ones from the C1 control standard, which probably didn't exist yet) instead of the box-drawing characters of the CP/M Plus set.<br />
* LocoScript 2 and up: no known descriptions (although plenty of software exists to read them). These versions had a greatly expanded character repertoire, more than can fit in a single-byte character set; see reference from [http://www.seasip.info/Unix/PSF/Amstrad/Scrchar/ John Elliott]. They share some of the same basic structure as LocoScript 1.<br />
** Reportedly, Locomotive/LocoScript Software did produce format documentation for at least Loco 3 and 4 documents, the latter called ''The Structure of LocoScript 4 Documents'' and released under NDA; they don't seem to have made their way online. Refs: David Langford's columns in PCW Plus 114 (March 1996) and [https://archive.org/details/pcw-today-08/page/n37/mode/1up PCW Today issue 8 (Winter 97/98)].<br />
<br />
LocoScript documents did not have a conventional file extension. The default filenames it suggested were <tt>DOCUMENT.000</tt>, <tt>DOCUMENT.001</tt>, etc.<br />
<br />
== Identification ==<br />
<br />
All known (PCW) LocoScript files start with the three ASCII bytes <tt>4A 4F 59</tt> ("JOY"), followed by two bytes identifying the major format version:<br />
* <tt>01 00</tt>: Identified by LocoScript 4 as "LocoScript 2 document (Export)"<br />
* <tt>01 01</tt>: LocoScript 1 (emitted by 1.1, 1.11e, 1.20, 1.42H)<br />
* <tt>01 02</tt>: LocoScript 2 (emitted by 2.03, 2.12, 2.16, 2.28b)<br />
* <tt>01 03</tt>: Identified by LocoScript 4 as "LocoScript 3 document (Export)"<br />
* <tt>01 04</tt>: LocoScript 3 and 2.5x (emitted by 2.54, 3.06b)<br />
* <tt>01 05</tt>: Identified by LocoScript 4 as "LocoScript 4 document (Export)"<br />
* <tt>01 06</tt>: LocoScript 4 (emitted by 4.06, 4.10, 4.11)<br />
<br />
In addition, the byte at offset 0x7F must be the 8-bit checksum of the preceding 127 bytes.<br />
<br />
PC versions' documents seem to have a similar initial structure but start with the three ASCII bytes <tt>44 4F 43</tt> ("DOC"):<br />
* LocoScript PC 1.08 (© 1990) comes with documents starting "DOC" followed by <tt>01 01</tt>.<br />
* LocoScript Professional 2 Plus for MS-DOS (2.51) emits and reads documents starting with "DOC" followed by <tt>01 03</tt>.<br />
<br />
Other files used by LocoScript have a similar header, with their own three-letter identification codes:<br />
* "BMP" - Scalable font bitmap<br />
* "CHR" - Printer font<br />
* "CMB" - Dot matrix printer driver<br />
* "DMN" - Disc Manager data (LocoScript PC)<br />
* "DRV" - Driver<br />
* "EDC" - Spellchecker dictionary<br />
* "HLP" - Help file (LocoScript PC)<br />
* "KBD" - Keyboard layout<br />
* "KNO" - Settings<br />
* "OML" - Overlay (Mail merge)<br />
* "OSP" - Overlay (Spell checker)<br />
* "OVL" - Overlay<br />
* "PHR" - List of phrases<br />
* "PRI" - Printer driver<br />
* "SCR" - Screen characters<br />
* "SDC" - Spellchecker dictionary<br />
* "UDC" - Spellchecker dictionary<br />
* "XCH" - Scalable font<br />
<br />
<br />
== Converting LocoScript documents ==<br />
<br />
Probably the most difficult problem with converting LocoScript documents into more readable formats is not the conversion process itself, but the fact that the majority of LocoScript files were stored on [[three inch disc|3-inch floppy disks]], which are now difficult to access. See the linked page for ideas for how to deal with this.<br />
<br />
'''LocoLink''' (and the later 'LocoLink for Windows') is a hardware / software combination that connects a PC parallel port to the expansion connector of an Amstrad PCW, and provides the software tools for both transferring LocoScript documents to the PC, as well as converting them to RTF or TXT formats. Note that the later PcW 16 has part of LocoLink built-in, and while this means documents can be transferred from an older PCW to a PcW 16 and then onto a PC, PcW 16 computers are few and far between, making this option unlikely.<br />
<br />
PCW LocoScript used CP/M format for its discs, so LocoScript files are likely to be found in a [[CP/M file system]]. LocoScript only kept live versions of files in CP/M user areas 0-7 (called "group 0" etc by LocoScript); files in user areas 8-15 were "limbo files", previous or deleted versions of documents, that LocoScript would automatically delete when space was needed. User area 8 contained limbo versions of files from user area 0 ("group 0" in LocoScript terminology), and so on.<br />
<br />
Once you are at the stage of having individual document files:<br />
<br />
* [https://ai.ansible.uk/ailink.html AILINK] by Ansible Information is former commercial software for Windows, now free, which can convert PCW LocoScript 1-4 documents to more modern formats such as RTF, keeping most of the formatting codes and special characters (not Greek and Cyrillic). It can do bulk conversions. If you're not trying to read actual floppy discs with it, it should work fine under modern Windows. It runs adequately on Linux under [[Wine]].<br />
* The PC versions of LocoScript could read PCW files, and had an export function to other formats, but are no longer particularly easy to acquire and run themselves.<br />
<br />
== Links ==<br />
* [http://www.locoscript.co.uk/ Publisher's website]<br />
** [https://web.archive.org/web/20141218181748/http://locoscript.co.uk/ 2014 archive]<br />
<br />
[[Category:Amstrad]]</div>
JTN
http://fileformats.archiveteam.org/wiki/Datastrip_Code
Datastrip Code
2022-11-24T03:28:46Z
<p>JTN: more sources (...I suspect that Softstrip and Datastrip ought to be different pages)</p>
<hr />
<div>{{FormatInfo<br />
|formattype=physical<br />
|subcat=Bar codes<br />
|image=Datastrip.gif<br />
|released=1985<br />
}}<br />
<br />
'''Datastrip Code''', originally Softstrip, is reportedly the first 2D bar code symbology, released in 1985. (But the comedy book, ''The 80s: A Look Back'', published in 1979, had fake 2D bar codes in it.) The intended purpose was as a way for magazines to publish computer-readable data, such as program listings (which, in those days, were commonly printed in computer magazines such that the user would have to type them in).<br />
<br />
== Links ==<br />
* [[Wikipedia:Cauzin Softstrip|Wikipedia article (under the title Cauzin Softstrip)]]<br />
* [http://www.google.com/patents/US4728783 US Patent 4,728,783]<br />
* [http://www.nytimes.com/1985/10/15/science/personal-computers-supermarket-bar-codes-are-applied-to-software.html 1985 ''New York Times'' article]<br />
* [https://archive.org/details/8000_Plus_Issue_015_1987-12_Future_Publishing_GB/page/n39/mode/1up 1987 review] (8000 Plus magazine, issue 15, December 1987, p40) - includes sample barcode<br />
* [https://rich12345.tripod.com/museum2/softstrip.html Pictures of Softstrip hardware and sample barcode]<br />
* [http://www.prnewswire.com/news-releases/datastrips-2d-bar-code-technology-helps-combat-terrorism-at-sea-exceeding-new-ilo-standards-for-seafarers-identity-documents-70884882.html Combating terrorism at sea with Datastrip (press release)]<br />
* [http://www.barcode.ro/tutorials/barcodes/datastrip.html Datastrip Code info]<br />
* [https://archive.org/details/CauzinSoftstrip Cauzin Softstrip Application Notes & Marketing Material] (1986), at the Internet Archive.<br />
* [https://ataripodcast.libsyn.com/antic-interview-115-bob-brass-and-peter-damato-cauzin-softstrip ANTIC Interview 115] - Atari podcast interviews Cauzin staffers Bob Brass and Peter D’Amato (Oct 2015).<br />
* [https://www.insentricity.com/a.cl/265/encoding-software-in-barcodes-the-eight-bit-magazine-way 2016 blog post] by "FozzTexx" (Chris Osborn) reverse-engineering some details<br />
** [https://github.com/FozzTexx/Distripitor Distripitor], a 2016 barcode generator (in Objective-C; apparently depends on [https://github.com/FozzTexx/ClearLake ClearLake] and [https://github.com/FozzTexx/Makefiles Makefiles] from the same author to build)<br />
** [https://sowerbutts.com/cauzcoin/ Description] of decoding a freshly-generated Softstrip as part of a challenge (Will Sowerbutts, Sep 2016). Includes a Python decoder (not fully general).<br />
* [https://stl.htwsaar.de/tr/STL-TR-2018-03.pdf Reverse Engineering The Cauzin Softstrip.] Michael Reimsbach, MSc thesis at Michael Reimsbach. Technical Report – STL-TR-2018-03 (series ISSN 2364-7167). October 2018.<br />
** Describes the Softstrip format in detail, and differences from the later Datastrip format. Points to a corpus of examples (contempory and modern). Describes Softstrip decoder software (not published?).<br />
* [https://doi.org/10.1007/s10502-021-09358-z Decoding the Cauzin Softstrip: a case study in extracting information from old media.] Reimsbach, M., Aycock, J. Arch Sci 21, 281–294 (2021).</div>
JTN
http://fileformats.archiveteam.org/wiki/Datastrip_Code
Datastrip Code
2022-11-24T02:31:29Z
<p>JTN: another modern reference</p>
<hr />
<div>{{FormatInfo<br />
|formattype=physical<br />
|subcat=Bar codes<br />
|image=Datastrip.gif<br />
|released=1985<br />
}}<br />
<br />
'''Datastrip Code''', originally Softstrip, is reportedly the first 2D bar code symbology, released in 1985. (But the comedy book, ''The 80s: A Look Back'', published in 1979, had fake 2D bar codes in it.) The intended purpose was as a way for magazines to publish computer-readable data, such as program listings (which, in those days, were commonly printed in computer magazines such that the user would have to type them in).<br />
<br />
== Links ==<br />
* [[Wikipedia:Cauzin Softstrip|Wikipedia article (under the title Cauzin Softstrip)]]<br />
* [http://www.google.com/patents/US4728783 US Patent 4,728,783]<br />
* [http://www.nytimes.com/1985/10/15/science/personal-computers-supermarket-bar-codes-are-applied-to-software.html 1985 ''New York Times'' article]<br />
* [https://archive.org/details/8000_Plus_Issue_015_1987-12_Future_Publishing_GB/page/n39/mode/1up 1987 review] (8000 Plus magazine, issue 15, December 1987, p40) - includes sample barcode<br />
* [https://rich12345.tripod.com/museum2/softstrip.html Pictures of Softstrip hardware and sample barcode]<br />
* [http://www.prnewswire.com/news-releases/datastrips-2d-bar-code-technology-helps-combat-terrorism-at-sea-exceeding-new-ilo-standards-for-seafarers-identity-documents-70884882.html Combating terrorism at sea with Datastrip (press release)]<br />
* [http://www.barcode.ro/tutorials/barcodes/datastrip.html Datastrip Code info]<br />
* [https://www.insentricity.com/a.cl/265/encoding-software-in-barcodes-the-eight-bit-magazine-way 2016 blog post] by "FozzTexx" reverse-engineering some details<br />
** [https://github.com/FozzTexx/Distripitor Distripitor], a 2016 barcode generator (in Objective-C; apparently depends on [https://github.com/FozzTexx/ClearLake ClearLake] and [https://github.com/FozzTexx/Makefiles Makefiles] from the same author to build)<br />
* [https://doi.org/10.1007/s10502-021-09358-z Decoding the Cauzin Softstrip: a case study in extracting information from old media.] Reimsbach, M., Aycock, J. Arch Sci 21, 281–294 (2021).</div>
JTN
http://fileformats.archiveteam.org/wiki/Datastrip_Code
Datastrip Code
2022-11-24T01:59:19Z
<p>JTN: add some more links, including a generator</p>
<hr />
<div>{{FormatInfo<br />
|formattype=physical<br />
|subcat=Bar codes<br />
|image=Datastrip.gif<br />
|released=1985<br />
}}<br />
<br />
'''Datastrip Code''', originally Softstrip, is reportedly the first 2D bar code symbology, released in 1985. (But the comedy book, ''The 80s: A Look Back'', published in 1979, had fake 2D bar codes in it.) The intended purpose was as a way for magazines to publish computer-readable data, such as program listings (which, in those days, were commonly printed in computer magazines such that the user would have to type them in).<br />
<br />
== Links ==<br />
* [[Wikipedia:Cauzin Softstrip|Wikipedia article (under the title Cauzin Softstrip)]]<br />
* [http://www.google.com/patents/US4728783 US Patent 4,728,783]<br />
* [http://www.nytimes.com/1985/10/15/science/personal-computers-supermarket-bar-codes-are-applied-to-software.html 1985 ''New York Times'' article]<br />
* [https://archive.org/details/8000_Plus_Issue_015_1987-12_Future_Publishing_GB/page/n39/mode/1up 1987 review] (8000 Plus magazine, issue 15, December 1987, p40) - includes sample barcode<br />
* [https://rich12345.tripod.com/museum2/softstrip.html Pictures of Softstrip hardware and sample barcode]<br />
* [http://www.prnewswire.com/news-releases/datastrips-2d-bar-code-technology-helps-combat-terrorism-at-sea-exceeding-new-ilo-standards-for-seafarers-identity-documents-70884882.html Combating terrorism at sea with Datastrip (press release)]<br />
* [http://www.barcode.ro/tutorials/barcodes/datastrip.html Datastrip Code info]<br />
* [https://www.insentricity.com/a.cl/265/encoding-software-in-barcodes-the-eight-bit-magazine-way 2016 blog post] by "FozzTexx" reverse-engineering some details<br />
** [https://github.com/FozzTexx/Distripitor Distripitor], a 2016 barcode generator (in Objective-C; apparently depends on [https://github.com/FozzTexx/ClearLake ClearLake] and [https://github.com/FozzTexx/Makefiles Makefiles] from the same author to build)</div>
JTN
http://fileformats.archiveteam.org/wiki/Cauzin_Softstrip
Cauzin Softstrip
2022-11-24T01:56:01Z
<p>JTN: #REDIRECT Datastrip Code</p>
<hr />
<div>#REDIRECT [[Datastrip Code]]</div>
JTN
http://fileformats.archiveteam.org/wiki/LocoScript
LocoScript
2021-01-16T17:09:12Z
<p>JTN: another reference for Euro-Arabic LocoScript, thanks User:John e</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Document<br />
|subcat2=Word Processor<br />
}}<br />
'''LocoScript''' was the word processor bundled with the Amstrad PCW. There were four major versions for the PCW, and two for MSDOS.<br />
<br />
8-bit versions:<br />
* LocoScript 1 (1985) was bundled with the Amstrad PCW 8256/8512 (3" drives) and PcW 9256 and 10 (3.5" drives).<br />
* LocoScript 2 (1987) was bundled with the Amstrad PCW 9512 (3" drive) and PcW 9512+ (3.5" drive), and was a common upgrade for the other models.<br />
* LocoScript 3 (1993) was only available separately. It added semi-scalable fonts.<br />
* LocoScript 4 (1996/7) was only available separately. It added support for images (in [[MDA]] format) and colour printing.<br />
<br />
Most PCW documents, on either 3" or 3.5" floppy discs, are thus likely to be in LocoScript 1 or 2 format.<br />
<br />
(The PcW 16 did not run LocoScript.)<br />
<br />
While standard LocoScript had a relatively wide range of characters, there were some specialised versions for particular scripts, such as [http://www.fvempel.nl/manuals/araloco.pdf Euro-Arabic LocoScript] ([https://archive.org/details/8000-plus-magazine-37/page/n14/mode/1up see also]) and [http://www.habisoft.com/pcwwiki/doku.php?id=es:aplicaciones:advantage_hebrew_locoscript Hebrew LocoScript].<br />
<br />
PC versions:<br />
* LocoScript PC (later LocoScript PC Easy)<br />
* LocoScript Professional<br />
<br />
== File formats ==<br />
<br />
Each major version of LocoScript changed the file format. Newer versions could read files from older versions, but not vice versa.<br />
<br />
* LocoScript 1 is relatively well documented.<br />
** [https://archive.org/details/35_Schneider_PC_International_1988-01 Schneider PC International 1988/01] (pp84-97) has a fairly detailed description of the LocoScript 1 format (in German), and provides Turbo Pascal source for a program LOCOCONV to convert it (updated in the [https://archive.org/details/44_Amstrad_PC_International_1988-10 1988/10 issue], pp92-97). Versions of that program exist in various places:<br />
*** Werner Cirsovius' site ([https://web.archive.org/web/20160311002010/http://cirsovius.de/CPM/Projekte/TURBO-PASCAL/LOCO/LocoConv-en.html on Wayback machine]) had a copy. Wayback Machine doesn't have all the code, but the whole website is archived as a .7z [http://www.classiccmp.org/cpmarchives/index.php here].<br />
*** A modified/translated version is on [http://fvempel.nl/domain.html Frank van Empel's site] (search for LOCOCON).<br />
** Another, briefer description of the [https://www.seasip.info/Unix/Joyce/ls1frm.html LocoScript 1 file format] (in English)<br />
** The character encoding used for the text portions is the [[Amstrad CP/M Plus character set]], except that the [[C1 controls]] range was used for control codes (different ones from the C1 control standard, which probably didn't exist yet) instead of the box-drawing characters of the CP/M Plus set.<br />
* LocoScript 2 and up: no known descriptions (although plenty of software exists to read them). These versions had a greatly expanded character repertoire, more than can fit in a single-byte character set; see reference from [http://www.seasip.info/Unix/PSF/Amstrad/Scrchar/ John Elliott]. They share some of the same basic structure as LocoScript 1.<br />
** Reportedly, Locomotive/LocoScript Software did produce format documentation for at least Loco 3 and 4 documents, the latter called ''The Structure of LocoScript 4 Documents'' and released under NDA; they don't seem to have made their way online. Refs: David Langford's columns in PCW Plus 114 (March 1996) and [https://archive.org/details/pcw-today-08/page/n37/mode/1up PCW Today issue 8 (Winter 97/98)].<br />
<br />
LocoScript documents did not have a conventional file extension. The default filenames it suggested were <tt>DOCUMENT.000</tt>, <tt>DOCUMENT.001</tt>, etc.<br />
<br />
== Identification ==<br />
<br />
All known (PCW) LocoScript files start with the three ASCII bytes <tt>4A 4F 59</tt> ("JOY"), followed by two bytes identifying the major format version:<br />
* <tt>01 00</tt>: Identified by LocoScript 4 as "LocoScript 2 document (Export)"<br />
* <tt>01 01</tt>: LocoScript 1 (emitted by 1.1, 1.11e, 1.20, 1.42H)<br />
* <tt>01 02</tt>: LocoScript 2 (emitted by 2.03, 2.12, 2.16, 2.28b)<br />
* <tt>01 03</tt>: Identified by LocoScript 4 as "LocoScript 3 document (Export)"<br />
* <tt>01 04</tt>: LocoScript 3 (emitted by 3.06b)<br />
* <tt>01 05</tt>: Identified by LocoScript 4 as "LocoScript 4 document (Export)"<br />
* <tt>01 06</tt>: LocoScript 4 (emitted by 4.06, 4.10, 4.11)<br />
<br />
In addition, the byte at offset 0x7F must be the 8-bit checksum of the preceding 127 bytes.<br />
<br />
PC versions' documents seem to have a similar initial structure but start with the three ASCII bytes <tt>44 4F 43</tt> ("DOC"):<br />
* LocoScript PC 1.08 (© 1990) comes with documents starting "DOC" followed by <tt>01 01</tt>.<br />
* LocoScript Professional 2 Plus for MS-DOS (2.51) emits and reads documents starting with "DOC" followed by <tt>01 03</tt>.<br />
<br />
Other files used by LocoScript have a similar header, with their own three-letter identification codes:<br />
* "BMP" - Scalable font bitmap<br />
* "CHR" - Printer font<br />
* "CMB" - Dot matrix printer driver<br />
* "DMN" - Disc Manager data (LocoScript PC)<br />
* "DRV" - Driver<br />
* "EDC" - Spellchecker dictionary<br />
* "HLP" - Help file (LocoScript PC)<br />
* "KBD" - Keyboard layout<br />
* "KNO" - Settings<br />
* "OML" - Overlay (Mail merge)<br />
* "OSP" - Overlay (Spell checker)<br />
* "OVL" - Overlay<br />
* "PHR" - List of phrases<br />
* "PRI" - Printer driver<br />
* "SCR" - Screen characters<br />
* "SDC" - Spellchecker dictionary<br />
* "UDC" - Spellchecker dictionary<br />
* "XCH" - Scalable font<br />
<br />
<br />
== Converting LocoScript documents ==<br />
<br />
Probably the most difficult problem with converting LocoScript documents into more readable formats is not the conversion process itself, but the fact that the majority of LocoScript files were stored on [[three inch disc|3-inch floppy disks]], which are now difficult to access. See the linked page for ideas for how to deal with this.<br />
<br />
'''LocoLink''' (and the later 'LocoLink for Windows') is a hardware / software combination that connects a PC parallel port to the expansion connector of an Amstrad PCW, and provides the software tools for both transferring LocoScript documents to the PC, as well as converting them to RTF or TXT formats. Note that the later PcW 16 has part of LocoLink built-in, and while this means documents can be transferred from an older PCW to a PcW 16 and then onto a PC, PcW 16 computers are few and far between, making this option unlikely.<br />
<br />
PCW LocoScript used CP/M format for its discs, so LocoScript files are likely to be found in a [[CP/M file system]].<br />
<br />
Once you are at the stage of having individual document files:<br />
<br />
* [https://ai.ansible.uk/ailink.html AILINK] by Ansible Information is former commercial software for Windows, now free, which can convert PCW LocoScript 1-4 documents to more modern formats such as RTF, keeping most of the formatting codes and special characters (not Greek and Cyrillic). It can do bulk conversions. If you're not trying to read actual floppy discs with it, it should work fine under modern Windows. It runs adequately on Linux under [[Wine]].<br />
* The PC versions of LocoScript could read PCW files, and had an export function to other formats, but are no longer particularly easy to acquire and run themselves.<br />
<br />
== Links ==<br />
* [http://www.locoscript.co.uk/ Publisher's website]<br />
** [https://web.archive.org/web/20141218181748/http://locoscript.co.uk/ 2014 archive]<br />
<br />
[[Category:Amstrad]]</div>
JTN
http://fileformats.archiveteam.org/wiki/User_talk:Jsummers
User talk:Jsummers
2021-01-07T11:51:14Z
<p>JTN: /* BOOZ 1.02 */ too many e.g.s</p>
<hr />
<div>...<br />
<br />
== Very minimalist user page... ==<br />
<br />
But it's nice to see people editing this site. Good work! [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 15:14, 23 February 2013 (UTC)<br />
<br />
:It's enough to make my username turn blue, which is the important thing. [[User:Jsummers|Jsummers]] ([[User talk:Jsummers|talk]]) 18:01, 23 February 2013 (UTC)<br />
<br />
::Instead of "Don't it make my brown eyes blue", it's "Don't it make my username blue!" [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 18:54, 3 March 2013 (UTC)<br />
<br />
== Graphics ==<br />
<br />
Good work on the graphic section... do you think you can figure out what category some of that long list of uncategorized formats fit in? [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 18:53, 3 March 2013 (UTC)<br />
<br />
:Yeah, at some point I'll categorize most of the ones I can identify. [[User:Jsummers|Jsummers]] ([[User talk:Jsummers|talk]]) 20:05, 3 March 2013 (UTC)<br />
<br />
== Sorry ==<br />
<br />
: Sorry for reverting your edits by mistake then undoing that.. Keep hitting the wrong link when doing this on my iPhone. It should be back to normal now. Good work with those graphic formats. [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 17:07, 6 April 2013 (UTC)<br />
(And sorry for putting this comment on the user page by mistake instead of the talk page... I keep messing up here! I was posting from my iPhone before and now from an old clunky PC, after my regular PC died... in a couple of weeks I'll have the new PC I ordered and things will be better!) [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 22:06, 6 April 2013 (UTC)<br />
<br />
== Atari disk image formats ==<br />
<br />
Perhaps those Atari disk image formats should note which filesystems and physical disk formats they emulate (Atari 8-bit, Atari ST, etc.; 5.25", 3.5") and link to the appropriate articles in the [[Filesystem]] and [[Floppy disk]] sections? [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 18:44, 5 January 2014 (UTC)<br />
<br />
:Agreed, and I'll eventually do that for the disk formats where it's easy. But I want to write as little as possible about the annoying raw, headerless formats. I don't know enough about them -- I really only care about the files they contain. [[User:Jsummers|Jsummers]] ([[User talk:Jsummers|talk]]) 22:07, 5 January 2014 (UTC)<br />
::Though, to get at those files it is helpful to know something about the filesystem they're in. [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 01:14, 6 January 2014 (UTC)<br />
<br />
== Making a monkey out of me ==<br />
<br />
Nice work coming up with some actual facts about those MonkeyCard and MonkeyLogo formats (even if still kind of sketchy)... in years of those things sitting around on the list of uncategorized formats, I'd never managed to find very much at all about them, and finally created articles with the extremely fragmentary and doubtful stuff I had. [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 19:45, 8 June 2019 (UTC)<br />
<br />
:I had no luck in the past, but it was pretty easy to find this time. Could be that Google only just now decided that MonkeyCard/MonkeyLogo is a thing. [[User:Jsummers|Jsummers]] ([[User talk:Jsummers|talk]]) 21:36, 8 June 2019 (UTC)<br />
<br />
::Could Google actually be paying attention to this wiki for clues about what subjects are worth indexing? [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 22:49, 8 June 2019 (UTC)<br />
<br />
:::I don't want to speculate, but it doesn't sound completely crazy. We know that Google [https://news.ycombinator.com/item?id=19604135 fails to find] some old/unpopular results. [[User:Jsummers|Jsummers]] ([[User talk:Jsummers|talk]]) 19:43, 9 June 2019 (UTC)<br />
<br />
== BOOZ 1.02 ==<br />
<br />
I see you're doing a lot of work on [[Zoo]]. There's a copy of Rahul Dhesi's BOOZ 1.02 in the CP/M world, with source code and provenance (comp.sources.misc, Aug 1988), if that's of any historical interest? E.g. [http://www.classiccmp.org/cpmarchives/cpm/Software/WalnutCD/enterprs/cpm/utils/a/booz4cpm.lzh this booz4cpm.lzh]. -- [[User:JTN|JTN]] ([[User talk:JTN|talk]]) 11:39, 7 January 2021 (UTC)</div>
JTN
http://fileformats.archiveteam.org/wiki/User_talk:Jsummers
User talk:Jsummers
2021-01-07T11:39:31Z
<p>JTN: /* BOOZ 1.02 */ new section</p>
<hr />
<div>...<br />
<br />
== Very minimalist user page... ==<br />
<br />
But it's nice to see people editing this site. Good work! [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 15:14, 23 February 2013 (UTC)<br />
<br />
:It's enough to make my username turn blue, which is the important thing. [[User:Jsummers|Jsummers]] ([[User talk:Jsummers|talk]]) 18:01, 23 February 2013 (UTC)<br />
<br />
::Instead of "Don't it make my brown eyes blue", it's "Don't it make my username blue!" [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 18:54, 3 March 2013 (UTC)<br />
<br />
== Graphics ==<br />
<br />
Good work on the graphic section... do you think you can figure out what category some of that long list of uncategorized formats fit in? [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 18:53, 3 March 2013 (UTC)<br />
<br />
:Yeah, at some point I'll categorize most of the ones I can identify. [[User:Jsummers|Jsummers]] ([[User talk:Jsummers|talk]]) 20:05, 3 March 2013 (UTC)<br />
<br />
== Sorry ==<br />
<br />
: Sorry for reverting your edits by mistake then undoing that.. Keep hitting the wrong link when doing this on my iPhone. It should be back to normal now. Good work with those graphic formats. [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 17:07, 6 April 2013 (UTC)<br />
(And sorry for putting this comment on the user page by mistake instead of the talk page... I keep messing up here! I was posting from my iPhone before and now from an old clunky PC, after my regular PC died... in a couple of weeks I'll have the new PC I ordered and things will be better!) [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 22:06, 6 April 2013 (UTC)<br />
<br />
== Atari disk image formats ==<br />
<br />
Perhaps those Atari disk image formats should note which filesystems and physical disk formats they emulate (Atari 8-bit, Atari ST, etc.; 5.25", 3.5") and link to the appropriate articles in the [[Filesystem]] and [[Floppy disk]] sections? [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 18:44, 5 January 2014 (UTC)<br />
<br />
:Agreed, and I'll eventually do that for the disk formats where it's easy. But I want to write as little as possible about the annoying raw, headerless formats. I don't know enough about them -- I really only care about the files they contain. [[User:Jsummers|Jsummers]] ([[User talk:Jsummers|talk]]) 22:07, 5 January 2014 (UTC)<br />
::Though, to get at those files it is helpful to know something about the filesystem they're in. [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 01:14, 6 January 2014 (UTC)<br />
<br />
== Making a monkey out of me ==<br />
<br />
Nice work coming up with some actual facts about those MonkeyCard and MonkeyLogo formats (even if still kind of sketchy)... in years of those things sitting around on the list of uncategorized formats, I'd never managed to find very much at all about them, and finally created articles with the extremely fragmentary and doubtful stuff I had. [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 19:45, 8 June 2019 (UTC)<br />
<br />
:I had no luck in the past, but it was pretty easy to find this time. Could be that Google only just now decided that MonkeyCard/MonkeyLogo is a thing. [[User:Jsummers|Jsummers]] ([[User talk:Jsummers|talk]]) 21:36, 8 June 2019 (UTC)<br />
<br />
::Could Google actually be paying attention to this wiki for clues about what subjects are worth indexing? [[User:Dan Tobias|Dan Tobias]] ([[User talk:Dan Tobias|talk]]) 22:49, 8 June 2019 (UTC)<br />
<br />
:::I don't want to speculate, but it doesn't sound completely crazy. We know that Google [https://news.ycombinator.com/item?id=19604135 fails to find] some old/unpopular results. [[User:Jsummers|Jsummers]] ([[User talk:Jsummers|talk]]) 19:43, 9 June 2019 (UTC)<br />
<br />
== BOOZ 1.02 ==<br />
<br />
I see you're doing a lot of work on [[Zoo]]. There's a copy of Rahul Dhesi's BOOZ 1.02 in the CP/M world, with source code and provenance (comp.sources.misc, Aug 1988), if that's of any historical interest? E.g. [http://www.classiccmp.org/cpmarchives/cpm/Software/WalnutCD/enterprs/cpm/utils/a/booz4cpm.lzh e.g. this booz4cpm.lzh]. -- [[User:JTN|JTN]] ([[User talk:JTN|talk]]) 11:39, 7 January 2021 (UTC)</div>
JTN
http://fileformats.archiveteam.org/wiki/Floppy_disc
Floppy disc
2021-01-03T17:55:33Z
<p>JTN: #REDIRECT Floppy disk -- alternative spelling</p>
<hr />
<div>#REDIRECT [[Floppy disk]]</div>
JTN
http://fileformats.archiveteam.org/wiki/Amstrad_CP/M_Plus_character_set
Amstrad CP/M Plus character set
2021-01-02T22:14:46Z
<p>JTN: worldofspectrum link had rotted</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Character encoding<br />
}}<br />
The '''Amstrad CP/M Plus character set''', sometimes also called the PCW Character Set, was used with the CP/M Plus operating system on Amstrad 8-bit computers: the CPC, PCW and Spectrum +3. It was a variant of [[ASCII]] that assigned printable renditions to the entire 8-bit character code space from 0 to 255, including control characters, though such controls (e.g., the [[C0 controls]]) were also used as control characters, which could make it hard to type them when you're intending to use them in their graphical form.<br />
<br />
Various accented characters, mathematical symbols, and Greek letters were included, as well as line-graphics characters (which were in the [[C1 controls]] range). [[LocoScript]] version 1 used this character set but used the C1 control range for control codes.<br />
<br />
== Links ==<br />
* [https://k1.spdns.de/Vintage/Sinclair/86/ZX%20Spectrum%2B3/ZX%20Spectrum%2B3%20CP%3AM%20Manual/appendix2.html Character chart from Spectrum +3 CP/M Plus manual]<br />
* [https://en.wikipedia.org/wiki/Amstrad_CP/M_Plus_character_set Wikipedia]<br />
<br />
[[Category:Amstrad]]<br />
[[Category:CP/M]]</div>
JTN
http://fileformats.archiveteam.org/wiki/Category:Amstrad
Category:Amstrad
2021-01-02T22:11:01Z
<p>JTN: typo</p>
<hr />
<div>This category lists topics associated with Amstrad products, such as Amstrad CPC home computers, and Amstrad PCW word processors.<br />
<br />
[[Category:Computer platforms]]</div>
JTN
http://fileformats.archiveteam.org/wiki/Stop_Press_Canvas
Stop Press Canvas
2020-12-28T20:00:41Z
<p>JTN: + monochrome</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Graphics<br />
|extensions={{ext|spc}}<br />
}}<br />
'''Stop Press Canvas''' (extension '''.spc''') is an uncompressed fixed-size monochrome raster image format, originally associated with the Stop Press graphics package for Amstrad PCW computers.<br />
<br />
== Format description ==<br />
<br />
From [[User:John e|John Elliott]]'s SPC2BMP source code (August 1996):<br />
<br />
: SPC format:<br />
: SPC describes a black-and-white picture, 720 pixels across by 256 down. The aspect ratio is similar to the 640x200 CGA mode. The file is stored as 32 blocks of 720 bytes.<br />
: Within each block, eight lines are stored, interleaved. The top line is in bytes 0,8,16,...; the second in bytes 1,9,17,... and so on. <br />
: SPC files work from top to bottom and left to right.<br />
<br />
(This is essentially the [https://github.com/Zigazou/amstrad-pcw-technical-info/blob/master/video-memory/README.md in-memory format of the PCW screen].)<br />
<br />
== Examples ==<br />
<br />
* [https://www.seasip.info/Unix/Joyce/joyce-z80-2.1.10.tar.gz joyce-z80-2.1.10.tar.gz] - the source code for the Z80 utilities for the Joyce PCW emulator - includes "joyce.spc".<br />
<br />
== Links ==<br />
* [https://www.seasip.info/Cpm/software/sp2bmsea.com SP2BMSEA.COM], a CP/M / DOS self-extracting archive containing SPC2BMP (compiled programs and source code), which converts this format to [[BMP]]. (Archive can be unpacked with [[PMA]] / [[LHA]] tools.)<br />
* http://oliwright.pythonanywhere.com/ - converts other image files ''to'' SPC format<br />
<br />
[[Category:Amstrad]]<br />
[[Category:CP/M]]</div>
JTN
http://fileformats.archiveteam.org/wiki/LocoScript
LocoScript
2020-12-28T17:45:48Z
<p>JTN: /* Identification */ another PC version</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Document<br />
|subcat2=Word Processor<br />
}}<br />
'''LocoScript''' was the word processor bundled with the Amstrad PCW. There were four major versions for the PCW, and two for MSDOS.<br />
<br />
8-bit versions:<br />
* LocoScript 1 (1985) was bundled with the Amstrad PCW 8256/8512 (3" drives) and PcW 9256 and 10 (3.5" drives).<br />
* LocoScript 2 (1987) was bundled with the Amstrad PCW 9512 (3" drive) and PcW 9512+ (3.5" drive), and was a common upgrade for the other models.<br />
* LocoScript 3 (1993) was only available separately. It added semi-scalable fonts.<br />
* LocoScript 4 (1996/7) was only available separately. It added support for images (in [[MDA]] format) and colour printing.<br />
<br />
Most PCW documents, on either 3" or 3.5" floppy discs, are thus likely to be in LocoScript 1 or 2 format.<br />
<br />
(The PcW 16 did not run LocoScript.)<br />
<br />
While standard LocoScript had a relatively wide range of characters, there were some specialised versions for particular scripts, such as [http://www.fvempel.nl/manuals/araloco.pdf Euro-Arabic LocoScript] and [http://www.habisoft.com/pcwwiki/doku.php?id=es:aplicaciones:advantage_hebrew_locoscript Hebrew LocoScript].<br />
<br />
PC versions:<br />
* LocoScript PC (later LocoScript PC Easy)<br />
* LocoScript Professional<br />
<br />
== File formats ==<br />
<br />
Each major version of LocoScript changed the file format. Newer versions could read files from older versions, but not vice versa.<br />
<br />
* LocoScript 1 is relatively well documented.<br />
** [https://archive.org/details/35_Schneider_PC_International_1988-01 Schneider PC International 1988/01] (pp84-97) has a fairly detailed description of the LocoScript 1 format (in German), and provides Turbo Pascal source for a program LOCOCONV to convert it (updated in the [https://archive.org/details/44_Amstrad_PC_International_1988-10 1988/10 issue], pp92-97). Versions of that program exist in various places:<br />
*** Werner Cirsovius' site ([https://web.archive.org/web/20160311002010/http://cirsovius.de/CPM/Projekte/TURBO-PASCAL/LOCO/LocoConv-en.html on Wayback machine]) had a copy. Wayback Machine doesn't have all the code, but the whole website is archived as a .7z [http://www.classiccmp.org/cpmarchives/index.php here].<br />
*** A modified/translated version is on [http://fvempel.nl/domain.html Frank van Empel's site] (search for LOCOCON).<br />
** Another, briefer description of the [https://www.seasip.info/Unix/Joyce/ls1frm.html LocoScript 1 file format] (in English)<br />
** The character encoding used for the text portions is the [[Amstrad CP/M Plus character set]], except that the [[C1 controls]] range was used for control codes (different ones from the C1 control standard, which probably didn't exist yet) instead of the box-drawing characters of the CP/M Plus set.<br />
* LocoScript 2 and up: no known descriptions (although plenty of software exists to read them). These versions had a greatly expanded character repertoire, more than can fit in a single-byte character set; see reference from [http://www.seasip.info/Unix/PSF/Amstrad/Scrchar/ John Elliott]. They share some of the same basic structure as LocoScript 1.<br />
** Reportedly, Locomotive/LocoScript Software did produce format documentation for at least Loco 3 and 4 documents, the latter called ''The Structure of LocoScript 4 Documents'' and released under NDA; they don't seem to have made their way online. Refs: David Langford's columns in PCW Plus 114 (March 1996) and [https://archive.org/details/pcw-today-08/page/n37/mode/1up PCW Today issue 8 (Winter 97/98)].<br />
<br />
LocoScript documents did not have a conventional file extension. The default filenames it suggested were <tt>DOCUMENT.000</tt>, <tt>DOCUMENT.001</tt>, etc.<br />
<br />
== Identification ==<br />
<br />
All known (PCW) LocoScript files start with the three ASCII bytes <tt>4A 4F 59</tt> ("JOY"), followed by two bytes identifying the major format version:<br />
* <tt>01 01</tt>: LocoScript 1 (emitted by 1.1, 1.11e, 1.20, 1.42H)<br />
* <tt>01 02</tt>: LocoScript 2 (emitted by 2.03, 2.12, 2.16, 2.28b)<br />
* <tt>01 04</tt>: LocoScript 3 (emitted by 3.06b)<br />
* <tt>01 06</tt>: LocoScript 4 (emitted by 4.06, 4.10, 4.11)<br />
<br />
PC versions' documents seem to have a similar initial structure but start with the three ASCII bytes <tt>44 4F 43</tt> ("DOC"):<br />
* LocoScript PC 1.08 (© 1990) comes with documents starting "DOC" followed by <tt>01 01</tt>.<br />
* LocoScript Professional 2 Plus for MS-DOS (2.51) emits and reads documents starting with "DOC" followed by <tt>01 03</tt>.<br />
<br />
== Converting LocoScript documents ==<br />
<br />
Probably the most difficult problem with converting LocoScript documents into more readable formats is not the conversion process itself, but the fact that the majority of LocoScript files were stored on [[three inch disc|3-inch floppy disks]], which are now difficult to access. See the linked page for ideas for how to deal with this.<br />
<br />
'''LocoLink''' (and the later 'LocoLink for Windows') is a hardware / software combination that connects a PC parallel port to the expansion connector of an Amstrad PCW, and provides the software tools for both transferring LocoScript documents to the PC, as well as converting them to RTF or TXT formats. Note that the later PcW 16 has part of LocoLink built-in, and while this means documents can be transferred from an older PCW to a PcW 16 and then onto a PC, PcW 16 computers are few and far between, making this option unlikely.<br />
<br />
PCW LocoScript used CP/M format for its discs, so LocoScript files are likely to be found in a [[CP/M file system]].<br />
<br />
Once you are at the stage of having individual document files:<br />
<br />
* [https://ai.ansible.uk/ailink.html AILINK] by Ansible Information is former commercial software for Windows, now free, which can convert PCW LocoScript 1-4 documents to more modern formats such as RTF, keeping most of the formatting codes and special characters (not Greek and Cyrillic). It can do bulk conversions. If you're not trying to read actual floppy discs with it, it should work fine under modern Windows. It runs adequately on Linux under [[Wine]].<br />
* The PC versions of LocoScript could read PCW files, and had an export function to other formats, but are no longer particularly easy to acquire and run themselves.<br />
<br />
== Links ==<br />
* [http://www.locoscript.co.uk/ Publisher's website]<br />
** [https://web.archive.org/web/20141218181748/http://locoscript.co.uk/ 2014 archive]<br />
<br />
[[Category:Amstrad]]</div>
JTN
http://fileformats.archiveteam.org/wiki/LocoScript
LocoScript
2020-12-28T17:14:27Z
<p>JTN: Hebrew LocoScript</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Document<br />
|subcat2=Word Processor<br />
}}<br />
'''LocoScript''' was the word processor bundled with the Amstrad PCW. There were four major versions for the PCW, and two for MSDOS.<br />
<br />
8-bit versions:<br />
* LocoScript 1 (1985) was bundled with the Amstrad PCW 8256/8512 (3" drives) and PcW 9256 and 10 (3.5" drives).<br />
* LocoScript 2 (1987) was bundled with the Amstrad PCW 9512 (3" drive) and PcW 9512+ (3.5" drive), and was a common upgrade for the other models.<br />
* LocoScript 3 (1993) was only available separately. It added semi-scalable fonts.<br />
* LocoScript 4 (1996/7) was only available separately. It added support for images (in [[MDA]] format) and colour printing.<br />
<br />
Most PCW documents, on either 3" or 3.5" floppy discs, are thus likely to be in LocoScript 1 or 2 format.<br />
<br />
(The PcW 16 did not run LocoScript.)<br />
<br />
While standard LocoScript had a relatively wide range of characters, there were some specialised versions for particular scripts, such as [http://www.fvempel.nl/manuals/araloco.pdf Euro-Arabic LocoScript] and [http://www.habisoft.com/pcwwiki/doku.php?id=es:aplicaciones:advantage_hebrew_locoscript Hebrew LocoScript].<br />
<br />
PC versions:<br />
* LocoScript PC (later LocoScript PC Easy)<br />
* LocoScript Professional<br />
<br />
== File formats ==<br />
<br />
Each major version of LocoScript changed the file format. Newer versions could read files from older versions, but not vice versa.<br />
<br />
* LocoScript 1 is relatively well documented.<br />
** [https://archive.org/details/35_Schneider_PC_International_1988-01 Schneider PC International 1988/01] (pp84-97) has a fairly detailed description of the LocoScript 1 format (in German), and provides Turbo Pascal source for a program LOCOCONV to convert it (updated in the [https://archive.org/details/44_Amstrad_PC_International_1988-10 1988/10 issue], pp92-97). Versions of that program exist in various places:<br />
*** Werner Cirsovius' site ([https://web.archive.org/web/20160311002010/http://cirsovius.de/CPM/Projekte/TURBO-PASCAL/LOCO/LocoConv-en.html on Wayback machine]) had a copy. Wayback Machine doesn't have all the code, but the whole website is archived as a .7z [http://www.classiccmp.org/cpmarchives/index.php here].<br />
*** A modified/translated version is on [http://fvempel.nl/domain.html Frank van Empel's site] (search for LOCOCON).<br />
** Another, briefer description of the [https://www.seasip.info/Unix/Joyce/ls1frm.html LocoScript 1 file format] (in English)<br />
** The character encoding used for the text portions is the [[Amstrad CP/M Plus character set]], except that the [[C1 controls]] range was used for control codes (different ones from the C1 control standard, which probably didn't exist yet) instead of the box-drawing characters of the CP/M Plus set.<br />
* LocoScript 2 and up: no known descriptions (although plenty of software exists to read them). These versions had a greatly expanded character repertoire, more than can fit in a single-byte character set; see reference from [http://www.seasip.info/Unix/PSF/Amstrad/Scrchar/ John Elliott]. They share some of the same basic structure as LocoScript 1.<br />
** Reportedly, Locomotive/LocoScript Software did produce format documentation for at least Loco 3 and 4 documents, the latter called ''The Structure of LocoScript 4 Documents'' and released under NDA; they don't seem to have made their way online. Refs: David Langford's columns in PCW Plus 114 (March 1996) and [https://archive.org/details/pcw-today-08/page/n37/mode/1up PCW Today issue 8 (Winter 97/98)].<br />
<br />
LocoScript documents did not have a conventional file extension. The default filenames it suggested were <tt>DOCUMENT.000</tt>, <tt>DOCUMENT.001</tt>, etc.<br />
<br />
== Identification ==<br />
<br />
All known (PCW) LocoScript files start with the three ASCII bytes <tt>4A 4F 59</tt> ("JOY"), followed by two bytes identifying the major format version:<br />
* <tt>01 01</tt>: LocoScript 1 (emitted by 1.1, 1.11e, 1.20, 1.42H)<br />
* <tt>01 02</tt>: LocoScript 2 (emitted by 2.03, 2.12, 2.16, 2.28b)<br />
* <tt>01 04</tt>: LocoScript 3 (emitted by 3.06b)<br />
* <tt>01 06</tt>: LocoScript 4 (emitted by 4.06, 4.10, 4.11)<br />
<br />
LocoScript Professional 2 Plus for MS-DOS (2.51) emits and reads documents starting with the three ASCII bytes <tt>44 4F 43</tt> ("DOC") followed by <tt>01 03</tt>.<br />
<br />
== Converting LocoScript documents ==<br />
<br />
Probably the most difficult problem with converting LocoScript documents into more readable formats is not the conversion process itself, but the fact that the majority of LocoScript files were stored on [[three inch disc|3-inch floppy disks]], which are now difficult to access. See the linked page for ideas for how to deal with this.<br />
<br />
'''LocoLink''' (and the later 'LocoLink for Windows') is a hardware / software combination that connects a PC parallel port to the expansion connector of an Amstrad PCW, and provides the software tools for both transferring LocoScript documents to the PC, as well as converting them to RTF or TXT formats. Note that the later PcW 16 has part of LocoLink built-in, and while this means documents can be transferred from an older PCW to a PcW 16 and then onto a PC, PcW 16 computers are few and far between, making this option unlikely.<br />
<br />
PCW LocoScript used CP/M format for its discs, so LocoScript files are likely to be found in a [[CP/M file system]].<br />
<br />
Once you are at the stage of having individual document files:<br />
<br />
* [https://ai.ansible.uk/ailink.html AILINK] by Ansible Information is former commercial software for Windows, now free, which can convert PCW LocoScript 1-4 documents to more modern formats such as RTF, keeping most of the formatting codes and special characters (not Greek and Cyrillic). It can do bulk conversions. If you're not trying to read actual floppy discs with it, it should work fine under modern Windows. It runs adequately on Linux under [[Wine]].<br />
* The PC versions of LocoScript could read PCW files, and had an export function to other formats, but are no longer particularly easy to acquire and run themselves.<br />
<br />
== Links ==<br />
* [http://www.locoscript.co.uk/ Publisher's website]<br />
** [https://web.archive.org/web/20141218181748/http://locoscript.co.uk/ 2014 archive]<br />
<br />
[[Category:Amstrad]]</div>
JTN
http://fileformats.archiveteam.org/wiki/LocoScript
LocoScript
2020-12-28T17:08:02Z
<p>JTN: /* Identification */</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Document<br />
|subcat2=Word Processor<br />
}}<br />
'''LocoScript''' was the word processor bundled with the Amstrad PCW. There were four major versions for the PCW, and two for MSDOS.<br />
<br />
8-bit versions:<br />
* LocoScript 1 (1985) was bundled with the Amstrad PCW 8256/8512 (3" drives) and PcW 9256 and 10 (3.5" drives).<br />
* LocoScript 2 (1987) was bundled with the Amstrad PCW 9512 (3" drive) and PcW 9512+ (3.5" drive), and was a common upgrade for the other models.<br />
* LocoScript 3 (1993) was only available separately. It added semi-scalable fonts.<br />
* LocoScript 4 (1996/7) was only available separately. It added support for images (in [[MDA]] format) and colour printing.<br />
<br />
Most PCW documents, on either 3" or 3.5" floppy discs, are thus likely to be in LocoScript 1 or 2 format.<br />
<br />
(The PcW 16 did not run LocoScript.)<br />
<br />
While standard LocoScript had a relatively wide range of characters, there were some specialised versions for particular scripts, such as [http://www.fvempel.nl/manuals/araloco.pdf Euro-Arabic LocoScript].<br />
<br />
PC versions:<br />
* LocoScript PC (later LocoScript PC Easy)<br />
* LocoScript Professional<br />
<br />
== File formats ==<br />
<br />
Each major version of LocoScript changed the file format. Newer versions could read files from older versions, but not vice versa.<br />
<br />
* LocoScript 1 is relatively well documented.<br />
** [https://archive.org/details/35_Schneider_PC_International_1988-01 Schneider PC International 1988/01] (pp84-97) has a fairly detailed description of the LocoScript 1 format (in German), and provides Turbo Pascal source for a program LOCOCONV to convert it (updated in the [https://archive.org/details/44_Amstrad_PC_International_1988-10 1988/10 issue], pp92-97). Versions of that program exist in various places:<br />
*** Werner Cirsovius' site ([https://web.archive.org/web/20160311002010/http://cirsovius.de/CPM/Projekte/TURBO-PASCAL/LOCO/LocoConv-en.html on Wayback machine]) had a copy. Wayback Machine doesn't have all the code, but the whole website is archived as a .7z [http://www.classiccmp.org/cpmarchives/index.php here].<br />
*** A modified/translated version is on [http://fvempel.nl/domain.html Frank van Empel's site] (search for LOCOCON).<br />
** Another, briefer description of the [https://www.seasip.info/Unix/Joyce/ls1frm.html LocoScript 1 file format] (in English)<br />
** The character encoding used for the text portions is the [[Amstrad CP/M Plus character set]], except that the [[C1 controls]] range was used for control codes (different ones from the C1 control standard, which probably didn't exist yet) instead of the box-drawing characters of the CP/M Plus set.<br />
* LocoScript 2 and up: no known descriptions (although plenty of software exists to read them). These versions had a greatly expanded character repertoire, more than can fit in a single-byte character set; see reference from [http://www.seasip.info/Unix/PSF/Amstrad/Scrchar/ John Elliott]. They share some of the same basic structure as LocoScript 1.<br />
** Reportedly, Locomotive/LocoScript Software did produce format documentation for at least Loco 3 and 4 documents, the latter called ''The Structure of LocoScript 4 Documents'' and released under NDA; they don't seem to have made their way online. Refs: David Langford's columns in PCW Plus 114 (March 1996) and [https://archive.org/details/pcw-today-08/page/n37/mode/1up PCW Today issue 8 (Winter 97/98)].<br />
<br />
LocoScript documents did not have a conventional file extension. The default filenames it suggested were <tt>DOCUMENT.000</tt>, <tt>DOCUMENT.001</tt>, etc.<br />
<br />
== Identification ==<br />
<br />
All known (PCW) LocoScript files start with the three ASCII bytes <tt>4A 4F 59</tt> ("JOY"), followed by two bytes identifying the major format version:<br />
* <tt>01 01</tt>: LocoScript 1 (emitted by 1.1, 1.11e, 1.20, 1.42H)<br />
* <tt>01 02</tt>: LocoScript 2 (emitted by 2.03, 2.12, 2.16, 2.28b)<br />
* <tt>01 04</tt>: LocoScript 3 (emitted by 3.06b)<br />
* <tt>01 06</tt>: LocoScript 4 (emitted by 4.06, 4.10, 4.11)<br />
<br />
LocoScript Professional 2 Plus for MS-DOS (2.51) emits and reads documents starting with the three ASCII bytes <tt>44 4F 43</tt> ("DOC") followed by <tt>01 03</tt>.<br />
<br />
== Converting LocoScript documents ==<br />
<br />
Probably the most difficult problem with converting LocoScript documents into more readable formats is not the conversion process itself, but the fact that the majority of LocoScript files were stored on [[three inch disc|3-inch floppy disks]], which are now difficult to access. See the linked page for ideas for how to deal with this.<br />
<br />
'''LocoLink''' (and the later 'LocoLink for Windows') is a hardware / software combination that connects a PC parallel port to the expansion connector of an Amstrad PCW, and provides the software tools for both transferring LocoScript documents to the PC, as well as converting them to RTF or TXT formats. Note that the later PcW 16 has part of LocoLink built-in, and while this means documents can be transferred from an older PCW to a PcW 16 and then onto a PC, PcW 16 computers are few and far between, making this option unlikely.<br />
<br />
PCW LocoScript used CP/M format for its discs, so LocoScript files are likely to be found in a [[CP/M file system]].<br />
<br />
Once you are at the stage of having individual document files:<br />
<br />
* [https://ai.ansible.uk/ailink.html AILINK] by Ansible Information is former commercial software for Windows, now free, which can convert PCW LocoScript 1-4 documents to more modern formats such as RTF, keeping most of the formatting codes and special characters (not Greek and Cyrillic). It can do bulk conversions. If you're not trying to read actual floppy discs with it, it should work fine under modern Windows. It runs adequately on Linux under [[Wine]].<br />
* The PC versions of LocoScript could read PCW files, and had an export function to other formats, but are no longer particularly easy to acquire and run themselves.<br />
<br />
== Links ==<br />
* [http://www.locoscript.co.uk/ Publisher's website]<br />
** [https://web.archive.org/web/20141218181748/http://locoscript.co.uk/ 2014 archive]<br />
<br />
[[Category:Amstrad]]</div>
JTN
http://fileformats.archiveteam.org/wiki/LocoScript
LocoScript
2020-12-28T17:07:38Z
<p>JTN: add "Identification" section</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Document<br />
|subcat2=Word Processor<br />
}}<br />
'''LocoScript''' was the word processor bundled with the Amstrad PCW. There were four major versions for the PCW, and two for MSDOS.<br />
<br />
8-bit versions:<br />
* LocoScript 1 (1985) was bundled with the Amstrad PCW 8256/8512 (3" drives) and PcW 9256 and 10 (3.5" drives).<br />
* LocoScript 2 (1987) was bundled with the Amstrad PCW 9512 (3" drive) and PcW 9512+ (3.5" drive), and was a common upgrade for the other models.<br />
* LocoScript 3 (1993) was only available separately. It added semi-scalable fonts.<br />
* LocoScript 4 (1996/7) was only available separately. It added support for images (in [[MDA]] format) and colour printing.<br />
<br />
Most PCW documents, on either 3" or 3.5" floppy discs, are thus likely to be in LocoScript 1 or 2 format.<br />
<br />
(The PcW 16 did not run LocoScript.)<br />
<br />
While standard LocoScript had a relatively wide range of characters, there were some specialised versions for particular scripts, such as [http://www.fvempel.nl/manuals/araloco.pdf Euro-Arabic LocoScript].<br />
<br />
PC versions:<br />
* LocoScript PC (later LocoScript PC Easy)<br />
* LocoScript Professional<br />
<br />
== File formats ==<br />
<br />
Each major version of LocoScript changed the file format. Newer versions could read files from older versions, but not vice versa.<br />
<br />
* LocoScript 1 is relatively well documented.<br />
** [https://archive.org/details/35_Schneider_PC_International_1988-01 Schneider PC International 1988/01] (pp84-97) has a fairly detailed description of the LocoScript 1 format (in German), and provides Turbo Pascal source for a program LOCOCONV to convert it (updated in the [https://archive.org/details/44_Amstrad_PC_International_1988-10 1988/10 issue], pp92-97). Versions of that program exist in various places:<br />
*** Werner Cirsovius' site ([https://web.archive.org/web/20160311002010/http://cirsovius.de/CPM/Projekte/TURBO-PASCAL/LOCO/LocoConv-en.html on Wayback machine]) had a copy. Wayback Machine doesn't have all the code, but the whole website is archived as a .7z [http://www.classiccmp.org/cpmarchives/index.php here].<br />
*** A modified/translated version is on [http://fvempel.nl/domain.html Frank van Empel's site] (search for LOCOCON).<br />
** Another, briefer description of the [https://www.seasip.info/Unix/Joyce/ls1frm.html LocoScript 1 file format] (in English)<br />
** The character encoding used for the text portions is the [[Amstrad CP/M Plus character set]], except that the [[C1 controls]] range was used for control codes (different ones from the C1 control standard, which probably didn't exist yet) instead of the box-drawing characters of the CP/M Plus set.<br />
* LocoScript 2 and up: no known descriptions (although plenty of software exists to read them). These versions had a greatly expanded character repertoire, more than can fit in a single-byte character set; see reference from [http://www.seasip.info/Unix/PSF/Amstrad/Scrchar/ John Elliott]. They share some of the same basic structure as LocoScript 1.<br />
** Reportedly, Locomotive/LocoScript Software did produce format documentation for at least Loco 3 and 4 documents, the latter called ''The Structure of LocoScript 4 Documents'' and released under NDA; they don't seem to have made their way online. Refs: David Langford's columns in PCW Plus 114 (March 1996) and [https://archive.org/details/pcw-today-08/page/n37/mode/1up PCW Today issue 8 (Winter 97/98)].<br />
<br />
LocoScript documents did not have a conventional file extension. The default filenames it suggested were <tt>DOCUMENT.000</tt>, <tt>DOCUMENT.001</tt>, etc.<br />
<br />
== Identification ==<br />
<br />
All known (PCW) LocoScript files start with the three ASCII bytes <tt>4A 4F 59</tt> ("JOY"), followed by two bytes identifying the major format version:<br />
* <tt>01 01</tt>: LocoScript 1 (emitted by 1.1, 1.11e, 1.20, 1.42H)<br />
* <tt>01 02</tt>: LocoScript 2 (emitted by from 2.03, 2.12, 2.16, 2.28b)<br />
* <tt>01 04</tt>: LocoScript 3 (emitted by from 3.06b)<br />
* <tt>01 06</tt>: LocoScript 4 (emitted by from 4.06, 4.10, 4.11)<br />
<br />
LocoScript Professional 2 Plus for MS-DOS (2.51) emits and reads documents starting with the three ASCII bytes <tt>44 4F 43</tt> ("DOC") followed by <tt>01 03</tt>.<br />
<br />
== Converting LocoScript documents ==<br />
<br />
Probably the most difficult problem with converting LocoScript documents into more readable formats is not the conversion process itself, but the fact that the majority of LocoScript files were stored on [[three inch disc|3-inch floppy disks]], which are now difficult to access. See the linked page for ideas for how to deal with this.<br />
<br />
'''LocoLink''' (and the later 'LocoLink for Windows') is a hardware / software combination that connects a PC parallel port to the expansion connector of an Amstrad PCW, and provides the software tools for both transferring LocoScript documents to the PC, as well as converting them to RTF or TXT formats. Note that the later PcW 16 has part of LocoLink built-in, and while this means documents can be transferred from an older PCW to a PcW 16 and then onto a PC, PcW 16 computers are few and far between, making this option unlikely.<br />
<br />
PCW LocoScript used CP/M format for its discs, so LocoScript files are likely to be found in a [[CP/M file system]].<br />
<br />
Once you are at the stage of having individual document files:<br />
<br />
* [https://ai.ansible.uk/ailink.html AILINK] by Ansible Information is former commercial software for Windows, now free, which can convert PCW LocoScript 1-4 documents to more modern formats such as RTF, keeping most of the formatting codes and special characters (not Greek and Cyrillic). It can do bulk conversions. If you're not trying to read actual floppy discs with it, it should work fine under modern Windows. It runs adequately on Linux under [[Wine]].<br />
* The PC versions of LocoScript could read PCW files, and had an export function to other formats, but are no longer particularly easy to acquire and run themselves.<br />
<br />
== Links ==<br />
* [http://www.locoscript.co.uk/ Publisher's website]<br />
** [https://web.archive.org/web/20141218181748/http://locoscript.co.uk/ 2014 archive]<br />
<br />
[[Category:Amstrad]]</div>
JTN
http://fileformats.archiveteam.org/wiki/Stop_Press_Canvas
Stop Press Canvas
2020-12-28T14:18:43Z
<p>JTN: spc2bmp is online, I just missed it</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Graphics<br />
|extensions={{ext|spc}}<br />
}}<br />
'''Stop Press Canvas''' (extension '''.spc''') is an uncompressed fixed-size raster image format, originally associated with the Stop Press graphics package for Amstrad PCW computers.<br />
<br />
== Format description ==<br />
<br />
From [[User:John e|John Elliott]]'s SPC2BMP source code (August 1996):<br />
<br />
: SPC format:<br />
: SPC describes a black-and-white picture, 720 pixels across by 256 down. The aspect ratio is similar to the 640x200 CGA mode. The file is stored as 32 blocks of 720 bytes.<br />
: Within each block, eight lines are stored, interleaved. The top line is in bytes 0,8,16,...; the second in bytes 1,9,17,... and so on. <br />
: SPC files work from top to bottom and left to right.<br />
<br />
(This is essentially the [https://github.com/Zigazou/amstrad-pcw-technical-info/blob/master/video-memory/README.md in-memory format of the PCW screen].)<br />
<br />
== Examples ==<br />
<br />
* [https://www.seasip.info/Unix/Joyce/joyce-z80-2.1.10.tar.gz joyce-z80-2.1.10.tar.gz] - the source code for the Z80 utilities for the Joyce PCW emulator - includes "joyce.spc".<br />
<br />
== Links ==<br />
* [https://www.seasip.info/Cpm/software/sp2bmsea.com SP2BMSEA.COM], a CP/M / DOS self-extracting archive containing SPC2BMP (compiled programs and source code), which converts this format to [[BMP]]. (Archive can be unpacked with [[PMA]] / [[LHA]] tools.)<br />
* http://oliwright.pythonanywhere.com/ - converts other image files ''to'' SPC format<br />
<br />
[[Category:Amstrad]]<br />
[[Category:CP/M]]</div>
JTN
http://fileformats.archiveteam.org/wiki/User:JTN
User:JTN
2020-12-28T14:09:04Z
<p>JTN: </p>
<hr />
<div>My main thing is CP/M and Amstrad formats.<br />
<br />
Here's my to-do list. If I fail to deliver and you're interested in something specific, bug me via my [[User talk:JTN|talk page]].<br />
<br />
* <s>[[MDA]]/[[MDP]]</s><br />
** <s>[http://www.chiark.greenend.org.uk/~jacobn/cpm/mdaspec.pdf scanned spec document]</s><br />
* <s>[[CUT (Amstrad)|CUT]]/[[GRF (Amstrad)|GRF]]</s><br />
* <s>[[Stop Press Canvas|SPC]]</s><br />
** <s>SPC2BMP source</s> (not to be confused with [http://asmodean.reverse.net/pages/spc2bmp.html this different spc2bmp])<br />
* <s>[[Squeeze|?Q?]]</s>, <s>[[Crunch|?Z?]]</s>, <s>[[CrLZH|?Y?]]</s><br />
** <s>[[CFX]]</s><br />
* <s>[[LBR]]</s><br />
** <s>lar</s><br />
* <s>[[PMA]]</s><br />
** <s>http://www.asahi-net.or.jp/~am9y-mn/fswlist.htm</s><br />
** <s>http://en.wikipedia.org/wiki/LHA_%28file_format%29#PMarc_extensions</s><br />
* <s>[[3" disc]]s</s><br />
** <s>[[DSK (CPCEMU)|DSK/EDSK]]</s><br />
* <s>[[CP/M file system|CP/M disc formats]]</s><br />
** 22disk<br />
* MYZ80 disc format<br />
* <s>[[LocoScript]]</s><br />
<br />
* <s>[[ZOO]]</s> (BOOZ4CPM source), <s>[[ARJ]]</s><br />
<br />
* <s>netpbm (MDA, ...)</s> [[Conversion Software#Graphics|mentioned]]<br />
* <s>cpmtools</s></div>
JTN
http://fileformats.archiveteam.org/wiki/User:JTN
User:JTN
2020-12-28T14:08:31Z
<p>JTN: finally done SPC</p>
<hr />
<div>My main thing is CP/M and Amstrad formats.<br />
<br />
Here's my to-do list. If I fail to deliver and you're interested in something specific, bug me via my [[User talk:JTN|talk page]].<br />
<br />
* <s>[[MDA]]/[[MDP]]</s><br />
** <s>[http://www.chiark.greenend.org.uk/~jacobn/cpm/mdaspec.pdf scanned spec document]</s><br />
* <s>[[CUT (Amstrad)|CUT]]/[[GRF (Amstrad)|GRF]]</s><br />
* <s>[[Stop Press Canvas|SPC]]<br />
** <s>SPC2BMP source</s> (not to be confused with [http://asmodean.reverse.net/pages/spc2bmp.html this different spc2bmp]<br />
* <s>[[Squeeze|?Q?]]</s>, <s>[[Crunch|?Z?]]</s>, <s>[[CrLZH|?Y?]]</s><br />
** <s>[[CFX]]</s><br />
* <s>[[LBR]]</s><br />
** <s>lar</s><br />
* <s>[[PMA]]</s><br />
** <s>http://www.asahi-net.or.jp/~am9y-mn/fswlist.htm</s><br />
** <s>http://en.wikipedia.org/wiki/LHA_%28file_format%29#PMarc_extensions</s><br />
* <s>[[3" disc]]s</s><br />
** <s>[[DSK (CPCEMU)|DSK/EDSK]]</s><br />
* <s>[[CP/M file system|CP/M disc formats]]</s><br />
** 22disk<br />
* MYZ80 disc format<br />
* <s>[[LocoScript]]</s><br />
<br />
* <s>[[ZOO]]</s> (BOOZ4CPM source), <s>[[ARJ]]</s><br />
<br />
* <s>netpbm (MDA, ...)</s> [[Conversion Software#Graphics|mentioned]]<br />
* <s>cpmtools</s></div>
JTN
http://fileformats.archiveteam.org/wiki/SPC
SPC
2020-12-28T14:06:49Z
<p>JTN: lk Stop Press Canvas</p>
<hr />
<div>SPC might refer to:<br />
<br />
* [[PKCS7 certificate]], a certificate format<br />
* [[SPC (Audio)]], a format for playback of native audio from the Super Famicom / Super Nintendo Entertainment System<br />
* [[SPC (Spectroscopic Data)]], a scientific data format<br />
* [[Spectrum 512 formats|Spectrum 512 Compressed]], one of a group of raster image file formats associated with the Spectrum 512 paint program for the Atari ST<br />
* [[Stop Press Canvas]], an uncompressed raster image file format associated with the Amstrad PCW<br />
<br />
{{disambiguation}}</div>
JTN
http://fileformats.archiveteam.org/wiki/Stop_Press_Canvas
Stop Press Canvas
2020-12-28T14:05:44Z
<p>JTN: minimal initial page</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Graphics<br />
|extensions={{ext|spc}}<br />
}}<br />
'''Stop Press Canvas''' (extension '''.spc''') is an uncompressed fixed-size raster image format, originally associated with the Stop Press graphics package for Amstrad PCW computers.<br />
<br />
== Format description ==<br />
<br />
From [[User:John e|John Elliott]]'s SPC2BMP source code (August 1996; no longer online?):<br />
<br />
: SPC format:<br />
: SPC describes a black-and-white picture, 720 pixels across by 256 down. The aspect ratio is similar to the 640x200 CGA mode. The file is stored as 32 blocks of 720 bytes.<br />
: Within each block, eight lines are stored, interleaved. The top line is in bytes 0,8,16,...; the second in bytes 1,9,17,... and so on. <br />
: SPC files work from top to bottom and left to right.<br />
<br />
(This is essentially the [https://github.com/Zigazou/amstrad-pcw-technical-info/blob/master/video-memory/README.md in-memory format of the PCW screen].)<br />
<br />
== Examples ==<br />
<br />
* [https://www.seasip.info/Unix/Joyce/joyce-z80-2.1.10.tar.gz joyce-z80-2.1.10.tar.gz] - the source code for the Z80 utilities for the Joyce PCW emulator - includes "joyce.spc".<br />
<br />
[[Category:Amstrad]]<br />
[[Category:CP/M]]</div>
JTN
http://fileformats.archiveteam.org/wiki/LocoScript
LocoScript
2020-12-23T15:33:56Z
<p>JTN: /* File formats */ I see JCE has been busy again</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Document<br />
|subcat2=Word Processor<br />
}}<br />
'''LocoScript''' was the word processor bundled with the Amstrad PCW. There were four major versions for the PCW, and two for MSDOS.<br />
<br />
8-bit versions:<br />
* LocoScript 1 (1985) was bundled with the Amstrad PCW 8256/8512 (3" drives) and PcW 9256 and 10 (3.5" drives).<br />
* LocoScript 2 (1987) was bundled with the Amstrad PCW 9512 (3" drive) and PcW 9512+ (3.5" drive), and was a common upgrade for the other models.<br />
* LocoScript 3 (1993) was only available separately. It added semi-scalable fonts.<br />
* LocoScript 4 (1996/7) was only available separately. It added support for images (in [[MDA]] format) and colour printing.<br />
<br />
Most PCW documents, on either 3" or 3.5" floppy discs, are thus likely to be in LocoScript 1 or 2 format.<br />
<br />
(The PcW 16 did not run LocoScript.)<br />
<br />
While standard LocoScript had a relatively wide range of characters, there were some specialised versions for particular scripts, such as [http://www.fvempel.nl/manuals/araloco.pdf Euro-Arabic LocoScript].<br />
<br />
PC versions:<br />
* LocoScript PC (later LocoScript PC Easy)<br />
* LocoScript Professional<br />
<br />
== File formats ==<br />
<br />
Each major version of LocoScript changed the file format. Newer versions could read files from older versions, but not vice versa.<br />
<br />
* LocoScript 1 is relatively well documented.<br />
** [https://archive.org/details/35_Schneider_PC_International_1988-01 Schneider PC International 1988/01] (pp84-97) has a fairly detailed description of the LocoScript 1 format (in German), and provides Turbo Pascal source for a program LOCOCONV to convert it (updated in the [https://archive.org/details/44_Amstrad_PC_International_1988-10 1988/10 issue], pp92-97). Versions of that program exist in various places:<br />
*** Werner Cirsovius' site ([https://web.archive.org/web/20160311002010/http://cirsovius.de/CPM/Projekte/TURBO-PASCAL/LOCO/LocoConv-en.html on Wayback machine]) had a copy. Wayback Machine doesn't have all the code, but the whole website is archived as a .7z [http://www.classiccmp.org/cpmarchives/index.php here].<br />
*** A modified/translated version is on [http://fvempel.nl/domain.html Frank van Empel's site] (search for LOCOCON).<br />
** Another, briefer description of the [https://www.seasip.info/Unix/Joyce/ls1frm.html LocoScript 1 file format] (in English)<br />
** The character encoding used for the text portions is the [[Amstrad CP/M Plus character set]], except that the [[C1 controls]] range was used for control codes (different ones from the C1 control standard, which probably didn't exist yet) instead of the box-drawing characters of the CP/M Plus set.<br />
* LocoScript 2 and up: no known descriptions (although plenty of software exists to read them). These versions had a greatly expanded character repertoire, more than can fit in a single-byte character set; see reference from [http://www.seasip.info/Unix/PSF/Amstrad/Scrchar/ John Elliott]. They share some of the same basic structure as LocoScript 1.<br />
** Reportedly, Locomotive/LocoScript Software did produce format documentation for at least Loco 3 and 4 documents, the latter called ''The Structure of LocoScript 4 Documents'' and released under NDA; they don't seem to have made their way online. Refs: David Langford's columns in PCW Plus 114 (March 1996) and [https://archive.org/details/pcw-today-08/page/n37/mode/1up PCW Today issue 8 (Winter 97/98)].<br />
<br />
LocoScript documents did not have a conventional file extension. The default filenames it suggested were <tt>DOCUMENT.000</tt>, <tt>DOCUMENT.001</tt>, etc.<br />
<br />
== Converting LocoScript documents ==<br />
<br />
Probably the most difficult problem with converting LocoScript documents into more readable formats is not the conversion process itself, but the fact that the majority of LocoScript files were stored on [[three inch disc|3-inch floppy disks]], which are now difficult to access. See the linked page for ideas for how to deal with this.<br />
<br />
'''LocoLink''' (and the later 'LocoLink for Windows') is a hardware / software combination that connects a PC parallel port to the expansion connector of an Amstrad PCW, and provides the software tools for both transferring LocoScript documents to the PC, as well as converting them to RTF or TXT formats. Note that the later PcW 16 has part of LocoLink built-in, and while this means documents can be transferred from an older PCW to a PcW 16 and then onto a PC, PcW 16 computers are few and far between, making this option unlikely.<br />
<br />
PCW LocoScript used CP/M format for its discs, so LocoScript files are likely to be found in a [[CP/M file system]].<br />
<br />
Once you are at the stage of having individual document files:<br />
<br />
* [https://ai.ansible.uk/ailink.html AILINK] by Ansible Information is former commercial software for Windows, now free, which can convert PCW LocoScript 1-4 documents to more modern formats such as RTF, keeping most of the formatting codes and special characters (not Greek and Cyrillic). It can do bulk conversions. If you're not trying to read actual floppy discs with it, it should work fine under modern Windows. It runs adequately on Linux under [[Wine]].<br />
* The PC versions of LocoScript could read PCW files, and had an export function to other formats, but are no longer particularly easy to acquire and run themselves.<br />
<br />
== Links ==<br />
* [http://www.locoscript.co.uk/ Publisher's website]<br />
** [https://web.archive.org/web/20141218181748/http://locoscript.co.uk/ 2014 archive]<br />
<br />
[[Category:Amstrad]]</div>
JTN
http://fileformats.archiveteam.org/wiki/CF-2_Compact_Floppy_Disk
CF-2 Compact Floppy Disk
2020-12-22T20:14:43Z
<p>JTN: moar on Gotek</p>
<hr />
<div>{{FormatInfo<br />
|formattype=physical<br />
|subcat=Floppy disk<br />
}}<br />
The '''CF-2 Compact Floppy Disk''' also known as a '''three-inch disc''', was one of several odd-sized floppy formats that never caught on. It was 3 inches in width, and larger in height (of the casing unit the users saw; the actual disk inside is round as usual). It was released around the same time as the 3½" disk, attempting a "[[VHS]] vs. [[Betamax]]" or "[[BluRay Disc]] vs. [[HD-DVD]]" style format war.<br />
<br />
3" discs were mainly used in the 1980s and early 1990s. Machines which used them included:<br />
* Various 8-bit machines by the company Amstrad (sold by Schneider in some markets):<br />
** Amstrad CPC<br />
** Amstrad PCW (aka "Joyce")<br />
** Spectrum +3<br />
* Tatung Einstein<br />
<br />
Drives came in two variants: single-sided, single-density (typical capacity about 180 kilobytes per side, in 40 tracks) -- the drive would only read/write one side of the medium, and to access the other, you'd insert the disc the other way up -- and double-sided, double-density (capacity about 720 kilobytes per disc, in 80 tracks) -- in this case the disc would only ever be inserted one way up. Higher-density drives could read, but not (safely) write, media formatted to the lower density.<br />
<br />
The discs used in these two sorts of drives were identical, and could all be inserted either way up. (Early on, some discs were marked as being for the DSDD drives by being labelled as '''CF2DD''' or '''CF2-D''', but reportedly there was no difference in the underlying physical media [https://archive.org/details/8000-plus-magazine-15/page/n86/mode/1up] and they were mechanically identical.)<br />
<br />
Many (most?) 3" discs will contain a [[CP/M file system]].<br />
<br />
== Recovering data from 3" discs ==<br />
<br />
Because this format was short-lived, getting data from a 3" drive to a modern computer can be hard. Options include:<br />
* If you have a working machine with a 3" drive, you can use it to read the data and transfer it via some other interface the machine has. For instance, if your machine runs CP/M and has a serial (RS232) interface, you can run [https://www.seasip.info/Unix/LibDsk/#auxd AUXD] on the source machine and the [https://www.seasip.info/Unix/LibDsk/ LibDsk] tools on the destination machine to transfer a disc image.<br />
** Unfortunately, some models of the Amstrad PCW in particular didn't come with any standard interfaces. There were add-ons such as the CPS8256 to give serial and parallel interfaces, or the LocoLink cable to connect to a PC's parallel port (which came with software to convert [[LocoScript]] files).<br />
* An alternative is to connect a more common drive, such as a 3.5" drive, to your working 3" machine (alongside the 3" one). Frank van Empel has a [http://fvempel.nl/drive.html guide for the Amstrad PCW]. ([https://web.archive.org/web/20161127112655/http://pcwpage.co.uk/making-a-data-cable-for-a-3-to-a-standard-3-5-drive/ another guide]) Obviously you'll need the ability to read 3.5" discs.<br />
* Or you could fit a [http://www.gotekemulator.com/ Gotek USB floppy emulator]. References for Amstrad PCW: [https://fabriziodivittorio.blogspot.com/2018/04/retro-restoring-amstrad-pcw-8512.html] (Italian, with technical detail) [https://www.cpcwiki.eu/forum/nc100-nc200-pcw-pda600/amstrad-pcw-8256-gotek-drive/] [https://www.youtube.com/watch?v=AE-Yjkr8kLU]<br />
* If you have only a 3" drive, it's usually possible to interface it to a PC (if the PC is old enough to have a floppy controller). [http://fvempel.nl/3pc.html Frank Van Empel] has some details for Amstrad drives. Then you can use disc imaging software on the PC to recover the data (the PC's operating system is unlikely to understand the data structure natively).<br />
<br />
The 3" drive might require maintenance first -- a common problem is that the drive belt tends to stretch. [http://fvempel.nl/belt.html Here is a guide] to renovating a drive (aimed at the Amstrad drives).<br />
<br />
== Links ==<br />
* [https://bytecellar.com/2019/02/25/a-look-at-the-short-lived-3-inch-compact-floppy-disk/ A Look at the Short-Lived 3-Inch Compact Floppy Disk]<br />
* [http://fvempel.nl/3bible.html A guide to 3" media]<br />
* [[Wikipedia:Floppy disk variants]]<br />
* [https://archive.org/stream/byte-magazine-1984-01/BYTE-1984-01#page/n327/mode/2up The Winning Move: Hitachi's 3 Inch Floppy (ad in Byte)]</div>
JTN
http://fileformats.archiveteam.org/wiki/CF-2_Compact_Floppy_Disk
CF-2 Compact Floppy Disk
2020-12-22T20:04:15Z
<p>JTN: Gotek</p>
<hr />
<div>{{FormatInfo<br />
|formattype=physical<br />
|subcat=Floppy disk<br />
}}<br />
The '''CF-2 Compact Floppy Disk''' also known as a '''three-inch disc''', was one of several odd-sized floppy formats that never caught on. It was 3 inches in width, and larger in height (of the casing unit the users saw; the actual disk inside is round as usual). It was released around the same time as the 3½" disk, attempting a "[[VHS]] vs. [[Betamax]]" or "[[BluRay Disc]] vs. [[HD-DVD]]" style format war.<br />
<br />
3" discs were mainly used in the 1980s and early 1990s. Machines which used them included:<br />
* Various 8-bit machines by the company Amstrad (sold by Schneider in some markets):<br />
** Amstrad CPC<br />
** Amstrad PCW (aka "Joyce")<br />
** Spectrum +3<br />
* Tatung Einstein<br />
<br />
Drives came in two variants: single-sided, single-density (typical capacity about 180 kilobytes per side, in 40 tracks) -- the drive would only read/write one side of the medium, and to access the other, you'd insert the disc the other way up -- and double-sided, double-density (capacity about 720 kilobytes per disc, in 80 tracks) -- in this case the disc would only ever be inserted one way up. Higher-density drives could read, but not (safely) write, media formatted to the lower density.<br />
<br />
The discs used in these two sorts of drives were identical, and could all be inserted either way up. (Early on, some discs were marked as being for the DSDD drives by being labelled as '''CF2DD''' or '''CF2-D''', but reportedly there was no difference in the underlying physical media [https://archive.org/details/8000-plus-magazine-15/page/n86/mode/1up] and they were mechanically identical.)<br />
<br />
Many (most?) 3" discs will contain a [[CP/M file system]].<br />
<br />
== Recovering data from 3" discs ==<br />
<br />
Because this format was short-lived, getting data from a 3" drive to a modern computer can be hard. Options include:<br />
* If you have a working machine with a 3" drive, you can use it to read the data and transfer it via some other interface the machine has. For instance, if your machine runs CP/M and has a serial (RS232) interface, you can run [https://www.seasip.info/Unix/LibDsk/#auxd AUXD] on the source machine and the [https://www.seasip.info/Unix/LibDsk/ LibDsk] tools on the destination machine to transfer a disc image.<br />
** Unfortunately, some models of the Amstrad PCW in particular didn't come with any standard interfaces. There were add-ons such as the CPS8256 to give serial and parallel interfaces, or the LocoLink cable to connect to a PC's parallel port (which came with software to convert [[LocoScript]] files).<br />
* An alternative is to connect a more common drive, such as a 3.5" drive, to your working 3" machine (alongside the 3" one). Frank van Empel has a [http://fvempel.nl/drive.html guide for the Amstrad PCW]. ([https://web.archive.org/web/20161127112655/http://pcwpage.co.uk/making-a-data-cable-for-a-3-to-a-standard-3-5-drive/ another guide]) Obviously you'll need the ability to read 3.5" discs.<br />
* Or you could fit a [http://www.gotekemulator.com/ Gotek USB floppy emulator]. References: [https://www.cpcwiki.eu/forum/nc100-nc200-pcw-pda600/amstrad-pcw-8256-gotek-drive/] [https://www.youtube.com/watch?v=AE-Yjkr8kLU]<br />
* If you have only a 3" drive, it's usually possible to interface it to a PC (if the PC is old enough to have a floppy controller). [http://fvempel.nl/3pc.html Frank Van Empel] has some details for Amstrad drives. Then you can use disc imaging software on the PC to recover the data (the PC's operating system is unlikely to understand the data structure natively).<br />
<br />
The 3" drive might require maintenance first -- a common problem is that the drive belt tends to stretch. [http://fvempel.nl/belt.html Here is a guide] to renovating a drive (aimed at the Amstrad drives).<br />
<br />
== Links ==<br />
* [https://bytecellar.com/2019/02/25/a-look-at-the-short-lived-3-inch-compact-floppy-disk/ A Look at the Short-Lived 3-Inch Compact Floppy Disk]<br />
* [http://fvempel.nl/3bible.html A guide to 3" media]<br />
* [[Wikipedia:Floppy disk variants]]<br />
* [https://archive.org/stream/byte-magazine-1984-01/BYTE-1984-01#page/n327/mode/2up The Winning Move: Hitachi's 3 Inch Floppy (ad in Byte)]</div>
JTN
http://fileformats.archiveteam.org/wiki/LocoScript
LocoScript
2020-12-22T13:54:33Z
<p>JTN: /* File formats */</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Document<br />
|subcat2=Word Processor<br />
}}<br />
'''LocoScript''' was the word processor bundled with the Amstrad PCW. There were four major versions for the PCW, and two for MSDOS.<br />
<br />
8-bit versions:<br />
* LocoScript 1 (1985) was bundled with the Amstrad PCW 8256/8512 (3" drives) and PcW 9256 and 10 (3.5" drives).<br />
* LocoScript 2 (1987) was bundled with the Amstrad PCW 9512 (3" drive) and PcW 9512+ (3.5" drive), and was a common upgrade for the other models.<br />
* LocoScript 3 (1993) was only available separately. It added semi-scalable fonts.<br />
* LocoScript 4 (1996/7) was only available separately. It added support for images (in [[MDA]] format) and colour printing.<br />
<br />
Most PCW documents, on either 3" or 3.5" floppy discs, are thus likely to be in LocoScript 1 or 2 format.<br />
<br />
(The PcW 16 did not run LocoScript.)<br />
<br />
While standard LocoScript had a relatively wide range of characters, there were some specialised versions for particular scripts, such as [http://www.fvempel.nl/manuals/araloco.pdf Euro-Arabic LocoScript].<br />
<br />
PC versions:<br />
* LocoScript PC (later LocoScript PC Easy)<br />
* LocoScript Professional<br />
<br />
== File formats ==<br />
<br />
Each major version of LocoScript changed the file format. Newer versions could read files from older versions, but not vice versa.<br />
<br />
* LocoScript 1 is relatively well documented.<br />
** [https://archive.org/details/35_Schneider_PC_International_1988-01 Schneider PC International 1988/01] (pp84-97) has a fairly detailed description of the LocoScript 1 format (in German), and provides Turbo Pascal source for a program LOCOCONV to convert it (updated in the [https://archive.org/details/44_Amstrad_PC_International_1988-10 1988/10 issue], pp92-97). Versions of that program exist in various places:<br />
*** Werner Cirsovius' site ([https://web.archive.org/web/20160311002010/http://cirsovius.de/CPM/Projekte/TURBO-PASCAL/LOCO/LocoConv-en.html on Wayback machine]) had a copy. Wayback Machine doesn't have all the code, but the whole website is archived as a .7z [http://www.classiccmp.org/cpmarchives/index.php here].<br />
*** A modified/translated version is on [http://fvempel.nl/domain.html Frank van Empel's site] (search for LOCOCON).<br />
** Another, briefer description of the [https://www.seasip.info/Unix/Joyce/ls1frm.html LocoScript 1 file format] (in English)<br />
** The character encoding used for the text portions is the [[Amstrad CP/M Plus character set]], except that the [[C1 controls]] range was used for control codes (different ones from the C1 control standard, which probably didn't exist yet) instead of the box-drawing characters of the CP/M Plus set.<br />
* LocoScript 2 and up: no known descriptions (although plenty of software exists to read them). These versions had a greatly expanded character repertoire, more than can fit in a single-byte character set. They share some of the same basic structure as LocoScript 1.<br />
** Reportedly, Locomotive/LocoScript Software did produce format documentation for at least Loco 3 and 4 documents, the latter called ''The Structure of LocoScript 4 Documents'' and released under NDA; they don't seem to have made their way online. Refs: David Langford's columns in PCW Plus 114 (March 1996) and [https://archive.org/details/pcw-today-08/page/n37/mode/1up PCW Today issue 8 (Winter 97/98)].<br />
<br />
LocoScript documents did not have a conventional file extension. The default filenames it suggested were <tt>DOCUMENT.000</tt>, <tt>DOCUMENT.001</tt>, etc.<br />
<br />
== Converting LocoScript documents ==<br />
<br />
Probably the most difficult problem with converting LocoScript documents into more readable formats is not the conversion process itself, but the fact that the majority of LocoScript files were stored on [[three inch disc|3-inch floppy disks]], which are now difficult to access. See the linked page for ideas for how to deal with this.<br />
<br />
'''LocoLink''' (and the later 'LocoLink for Windows') is a hardware / software combination that connects a PC parallel port to the expansion connector of an Amstrad PCW, and provides the software tools for both transferring LocoScript documents to the PC, as well as converting them to RTF or TXT formats. Note that the later PcW 16 has part of LocoLink built-in, and while this means documents can be transferred from an older PCW to a PcW 16 and then onto a PC, PcW 16 computers are few and far between, making this option unlikely.<br />
<br />
PCW LocoScript used CP/M format for its discs, so LocoScript files are likely to be found in a [[CP/M file system]].<br />
<br />
Once you are at the stage of having individual document files:<br />
<br />
* [https://ai.ansible.uk/ailink.html AILINK] by Ansible Information is former commercial software for Windows, now free, which can convert PCW LocoScript 1-4 documents to more modern formats such as RTF, keeping most of the formatting codes and special characters (not Greek and Cyrillic). It can do bulk conversions. If you're not trying to read actual floppy discs with it, it should work fine under modern Windows. It runs adequately on Linux under [[Wine]].<br />
* The PC versions of LocoScript could read PCW files, and had an export function to other formats, but are no longer particularly easy to acquire and run themselves.<br />
<br />
== Links ==<br />
* [http://www.locoscript.co.uk/ Publisher's website]<br />
** [https://web.archive.org/web/20141218181748/http://locoscript.co.uk/ 2014 archive]<br />
<br />
[[Category:Amstrad]]</div>
JTN
http://fileformats.archiveteam.org/wiki/CF-2_Compact_Floppy_Disk
CF-2 Compact Floppy Disk
2020-12-22T01:45:40Z
<p>JTN: close parenthesis</p>
<hr />
<div>{{FormatInfo<br />
|formattype=physical<br />
|subcat=Floppy disk<br />
}}<br />
The '''CF-2 Compact Floppy Disk''' also known as a '''three-inch disc''', was one of several odd-sized floppy formats that never caught on. It was 3 inches in width, and larger in height (of the casing unit the users saw; the actual disk inside is round as usual). It was released around the same time as the 3½" disk, attempting a "[[VHS]] vs. [[Betamax]]" or "[[BluRay Disc]] vs. [[HD-DVD]]" style format war.<br />
<br />
3" discs were mainly used in the 1980s and early 1990s. Machines which used them included:<br />
* Various 8-bit machines by the company Amstrad (sold by Schneider in some markets):<br />
** Amstrad CPC<br />
** Amstrad PCW (aka "Joyce")<br />
** Spectrum +3<br />
* Tatung Einstein<br />
<br />
Drives came in two variants: single-sided, single-density (typical capacity about 180 kilobytes per side, in 40 tracks) -- the drive would only read/write one side of the medium, and to access the other, you'd insert the disc the other way up -- and double-sided, double-density (capacity about 720 kilobytes per disc, in 80 tracks) -- in this case the disc would only ever be inserted one way up. Higher-density drives could read, but not (safely) write, media formatted to the lower density.<br />
<br />
The discs used in these two sorts of drives were identical, and could all be inserted either way up. (Early on, some discs were marked as being for the DSDD drives by being labelled as '''CF2DD''' or '''CF2-D''', but reportedly there was no difference in the underlying physical media [https://archive.org/details/8000-plus-magazine-15/page/n86/mode/1up] and they were mechanically identical.)<br />
<br />
Many (most?) 3" discs will contain a [[CP/M file system]].<br />
<br />
== Recovering data from 3" discs ==<br />
<br />
Because this format was short-lived, getting data from a 3" drive to a modern computer can be hard. Options include:<br />
* If you have a working machine with a 3" drive, you can use it to read the data and transfer it via some other interface the machine has. For instance, if your machine runs CP/M and has a serial (RS232) interface, you can run [https://www.seasip.info/Unix/LibDsk/#auxd AUXD] on the source machine and the [https://www.seasip.info/Unix/LibDsk/ LibDsk] tools on the destination machine to transfer a disc image.<br />
** Unfortunately, some models of the Amstrad PCW in particular didn't come with any standard interfaces. There were add-ons such as the CPS8256 to give serial and parallel interfaces, or the LocoLink cable to connect to a PC's parallel port (which came with software to convert [[LocoScript]] files).<br />
* An alternative is to connect a more common drive, such as a 3.5" drive, to your working 3" machine. Frank van Empel has a [http://fvempel.nl/drive.html guide for the Amstrad PCW]. ([https://web.archive.org/web/20161127112655/http://pcwpage.co.uk/making-a-data-cable-for-a-3-to-a-standard-3-5-drive/ another guide])<br />
* If you have only a 3" drive, it's usually possible to interface it to a PC (if the PC is old enough to have a floppy controller). [http://fvempel.nl/3pc.html Frank Van Empel] has some details for Amstrad drives. Then you can use disc imaging software on the PC to recover the data (the PC's operating system is unlikely to understand the data structure natively).<br />
<br />
The 3" drive might require maintenance first -- a common problem is that the drive belt tends to stretch. [http://fvempel.nl/belt.html Here is a guide] to renovating a drive (aimed at the Amstrad drives).<br />
<br />
== Links ==<br />
* [https://bytecellar.com/2019/02/25/a-look-at-the-short-lived-3-inch-compact-floppy-disk/ A Look at the Short-Lived 3-Inch Compact Floppy Disk]<br />
* [http://fvempel.nl/3bible.html A guide to 3" media]<br />
* [[Wikipedia:Floppy disk variants]]<br />
* [https://archive.org/stream/byte-magazine-1984-01/BYTE-1984-01#page/n327/mode/2up The Winning Move: Hitachi's 3 Inch Floppy (ad in Byte)]</div>
JTN
http://fileformats.archiveteam.org/wiki/LocoScript
LocoScript
2020-12-22T01:39:48Z
<p>JTN: note that format documentation did exist (but under NDA)</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Document<br />
|subcat2=Word Processor<br />
}}<br />
'''LocoScript''' was the word processor bundled with the Amstrad PCW. There were four major versions for the PCW, and two for MSDOS.<br />
<br />
8-bit versions:<br />
* LocoScript 1 (1985) was bundled with the Amstrad PCW 8256/8512 (3" drives) and PcW 9256 and 10 (3.5" drives).<br />
* LocoScript 2 (1987) was bundled with the Amstrad PCW 9512 (3" drive) and PcW 9512+ (3.5" drive), and was a common upgrade for the other models.<br />
* LocoScript 3 (1993) was only available separately. It added semi-scalable fonts.<br />
* LocoScript 4 (1996/7) was only available separately. It added support for images (in [[MDA]] format) and colour printing.<br />
<br />
Most PCW documents, on either 3" or 3.5" floppy discs, are thus likely to be in LocoScript 1 or 2 format.<br />
<br />
(The PcW 16 did not run LocoScript.)<br />
<br />
While standard LocoScript had a relatively wide range of characters, there were some specialised versions for particular scripts, such as [http://www.fvempel.nl/manuals/araloco.pdf Euro-Arabic LocoScript].<br />
<br />
PC versions:<br />
* LocoScript PC (later LocoScript PC Easy)<br />
* LocoScript Professional<br />
<br />
== File formats ==<br />
<br />
Each major version of LocoScript changed the file format. Newer versions could read files from older versions, but not vice versa.<br />
<br />
* LocoScript 1 is relatively well documented.<br />
** [https://archive.org/details/35_Schneider_PC_International_1988-01 Schneider PC International 1988/01] (pp84-97) has a fairly detailed description of the LocoScript 1 format (in German), and provides Turbo Pascal source for a program LOCOCONV to convert it (updated in the [https://archive.org/details/44_Amstrad_PC_International_1988-10 1988/10 issue], pp92-97). Versions of that program exist in various places:<br />
*** Werner Cirsovius' site ([https://web.archive.org/web/20160311002010/http://cirsovius.de/CPM/Projekte/TURBO-PASCAL/LOCO/LocoConv-en.html on Wayback machine]) had a copy. Wayback Machine doesn't have all the code, but the whole website is archived as a .7z [http://www.classiccmp.org/cpmarchives/index.php here].<br />
*** A modified/translated version is on [http://fvempel.nl/domain.html Frank van Empel's site] (search for LOCOCON).<br />
** Another, briefer description of the [https://www.seasip.info/Unix/Joyce/ls1frm.html LocoScript 1 file format] (in English)<br />
** The character encoding used for the text portions is the [[Amstrad CP/M Plus character set]], except that the [[C1 controls]] range was used for control codes (different ones from the C1 control standard, which probably didn't exist yet) instead of the box-drawing characters of the CP/M Plus set.<br />
* LocoScript 2 and up: no known descriptions (although plenty of software exists to read them). These versions had a greatly expanded character repertoire, more than can fit in a single-byte character set. They share some of the same basic structure as LocoScript 1.<br />
** Reportedly, Locomotive/LocoScript Software did produce format documentation for at least Loco 3 and 4 documents, the latter called ''The Structure of LocoScript 4 Documents'' and released under NDA; they don't seem to have made their way online. Refs: David Langford's columns in PCW Plus 114 (March 1996) and [https://archive.org/details/pcw-today-08/page/n37/mode/1up PCW Today issue 8 (Winter 97/98)].<br />
<br />
LocoScript documents did not have a conventional file extension. The default filenames it prompted with on creation were <tt>DOCUMENT.000</tt>, <tt>DOCUMENT.001</tt>, etc.<br />
<br />
== Converting LocoScript documents ==<br />
<br />
Probably the most difficult problem with converting LocoScript documents into more readable formats is not the conversion process itself, but the fact that the majority of LocoScript files were stored on [[three inch disc|3-inch floppy disks]], which are now difficult to access. See the linked page for ideas for how to deal with this.<br />
<br />
'''LocoLink''' (and the later 'LocoLink for Windows') is a hardware / software combination that connects a PC parallel port to the expansion connector of an Amstrad PCW, and provides the software tools for both transferring LocoScript documents to the PC, as well as converting them to RTF or TXT formats. Note that the later PcW 16 has part of LocoLink built-in, and while this means documents can be transferred from an older PCW to a PcW 16 and then onto a PC, PcW 16 computers are few and far between, making this option unlikely.<br />
<br />
PCW LocoScript used CP/M format for its discs, so LocoScript files are likely to be found in a [[CP/M file system]].<br />
<br />
Once you are at the stage of having individual document files:<br />
<br />
* [https://ai.ansible.uk/ailink.html AILINK] by Ansible Information is former commercial software for Windows, now free, which can convert PCW LocoScript 1-4 documents to more modern formats such as RTF, keeping most of the formatting codes and special characters (not Greek and Cyrillic). It can do bulk conversions. If you're not trying to read actual floppy discs with it, it should work fine under modern Windows. It runs adequately on Linux under [[Wine]].<br />
* The PC versions of LocoScript could read PCW files, and had an export function to other formats, but are no longer particularly easy to acquire and run themselves.<br />
<br />
== Links ==<br />
* [http://www.locoscript.co.uk/ Publisher's website]<br />
** [https://web.archive.org/web/20141218181748/http://locoscript.co.uk/ 2014 archive]<br />
<br />
[[Category:Amstrad]]</div>
JTN
http://fileformats.archiveteam.org/wiki/User:JTN
User:JTN
2020-12-20T14:44:09Z
<p>JTN: more stuff dealt with by others</p>
<hr />
<div>My main thing is CP/M and Amstrad formats.<br />
<br />
Here's my to-do list. If I fail to deliver and you're interested in something specific, bug me via my [[User talk:JTN|talk page]].<br />
<br />
* <s>[[MDA]]/[[MDP]]</s><br />
** <s>[http://www.chiark.greenend.org.uk/~jacobn/cpm/mdaspec.pdf scanned spec document]</s><br />
* <s>[[CUT (Amstrad)|CUT]]/[[GRF (Amstrad)|GRF]]</s><br />
* SPC<br />
** SPC2BMP source<br />
* <s>[[Squeeze|?Q?]]</s>, <s>[[Crunch|?Z?]]</s>, <s>[[CrLZH|?Y?]]</s><br />
** <s>[[CFX]]</s><br />
* <s>[[LBR]]</s><br />
** <s>lar</s><br />
* <s>[[PMA]]</s><br />
** <s>http://www.asahi-net.or.jp/~am9y-mn/fswlist.htm</s><br />
** <s>http://en.wikipedia.org/wiki/LHA_%28file_format%29#PMarc_extensions</s><br />
* <s>[[3" disc]]s</s><br />
** <s>[[DSK (CPCEMU)|DSK/EDSK]]</s><br />
* <s>[[CP/M file system|CP/M disc formats]]</s><br />
** 22disk<br />
* MYZ80 disc format<br />
* <s>[[LocoScript]]</s><br />
<br />
* <s>[[ZOO]]</s> (BOOZ4CPM source), <s>[[ARJ]]</s><br />
<br />
* <s>netpbm (MDA, ...)</s> [[Conversion Software#Graphics|mentioned]]<br />
* <s>cpmtools</s></div>
JTN
http://fileformats.archiveteam.org/wiki/GRF_(Amstrad)
GRF (Amstrad)
2020-12-20T14:35:24Z
<p>JTN: more details on GRF context</p>
<hr />
<div>{{FormatInfo<br />
|formattype=electronic<br />
|subcat=Graphics<br />
|extensions={{ext|grf}}<br />
}}<br />
'''GRF''' is an uncompressed monochrome raster image format, associated with The Desktop Publisher software on Amstrad PCW computers.<br />
<br />
== Specifications ==<br />
* [http://www.chiark.greenend.org.uk/~jacobn/cpm/mdaspec.html#grf The GRF image format]<br />
<br />
[[Category:Amstrad]]<br />
[[Category:CP/M]]</div>
JTN
http://fileformats.archiveteam.org/wiki/CF-2_Compact_Floppy_Disk
CF-2 Compact Floppy Disk
2020-12-20T14:31:02Z
<p>JTN: oh yes, CF2DD was a scam, wasn't it (previous edit was submitted too early)</p>
<hr />
<div>{{FormatInfo<br />
|formattype=physical<br />
|subcat=Floppy disk<br />
}}<br />
The '''CF-2 Compact Floppy Disk''' also known as a '''three-inch disc''', was one of several odd-sized floppy formats that never caught on. It was 3 inches in width, and larger in height (of the casing unit the users saw; the actual disk inside is round as usual). It was released around the same time as the 3½" disk, attempting a "[[VHS]] vs. [[Betamax]]" or "[[BluRay Disc]] vs. [[HD-DVD]]" style format war.<br />
<br />
3" discs were mainly used in the 1980s and early 1990s. Machines which used them included:<br />
* Various 8-bit machines by the company Amstrad (sold by Schneider in some markets):<br />
** Amstrad CPC<br />
** Amstrad PCW (aka "Joyce")<br />
** Spectrum +3<br />
* Tatung Einstein<br />
<br />
Drives came in two variants: single-sided, single-density (typical capacity about 180 kilobytes per side, in 40 tracks) -- the drive would only read/write one side of the medium, and to access the other, you'd insert the disc the other way up -- and double-sided, double-density (capacity about 720 kilobytes per disc, in 80 tracks) -- in this case the disc would only ever be inserted one way up. Higher-density drives could read, but not (safely) write, media formatted to the lower density.<br />
<br />
The discs used in these two sorts of drives were identical, and could all be inserted either way up. (Early on, some discs were marked as being for the DSDD drives by being labelled as '''CF2DD''' or '''CF2-D''', but reportedly there was no difference in the underlying physical media [https://archive.org/details/8000-plus-magazine-15/page/n86/mode/1up] and they were mechanically identical.<br />
<br />
Many (most?) 3" discs will contain a [[CP/M file system]].<br />
<br />
== Recovering data from 3" discs ==<br />
<br />
Because this format was short-lived, getting data from a 3" drive to a modern computer can be hard. Options include:<br />
* If you have a working machine with a 3" drive, you can use it to read the data and transfer it via some other interface the machine has. For instance, if your machine runs CP/M and has a serial (RS232) interface, you can run [https://www.seasip.info/Unix/LibDsk/#auxd AUXD] on the source machine and the [https://www.seasip.info/Unix/LibDsk/ LibDsk] tools on the destination machine to transfer a disc image.<br />
** Unfortunately, some models of the Amstrad PCW in particular didn't come with any standard interfaces. There were add-ons such as the CPS8256 to give serial and parallel interfaces, or the LocoLink cable to connect to a PC's parallel port (which came with software to convert [[LocoScript]] files).<br />
* An alternative is to connect a more common drive, such as a 3.5" drive, to your working 3" machine. Frank van Empel has a [http://fvempel.nl/drive.html guide for the Amstrad PCW]. ([https://web.archive.org/web/20161127112655/http://pcwpage.co.uk/making-a-data-cable-for-a-3-to-a-standard-3-5-drive/ another guide])<br />
* If you have only a 3" drive, it's usually possible to interface it to a PC (if the PC is old enough to have a floppy controller). [http://fvempel.nl/3pc.html Frank Van Empel] has some details for Amstrad drives. Then you can use disc imaging software on the PC to recover the data (the PC's operating system is unlikely to understand the data structure natively).<br />
<br />
The 3" drive might require maintenance first -- a common problem is that the drive belt tends to stretch. [http://fvempel.nl/belt.html Here is a guide] to renovating a drive (aimed at the Amstrad drives).<br />
<br />
== Links ==<br />
* [https://bytecellar.com/2019/02/25/a-look-at-the-short-lived-3-inch-compact-floppy-disk/ A Look at the Short-Lived 3-Inch Compact Floppy Disk]<br />
* [http://fvempel.nl/3bible.html A guide to 3" media]<br />
* [[Wikipedia:Floppy disk variants]]<br />
* [https://archive.org/stream/byte-magazine-1984-01/BYTE-1984-01#page/n327/mode/2up The Winning Move: Hitachi's 3 Inch Floppy (ad in Byte)]</div>
JTN
http://fileformats.archiveteam.org/wiki/CF-2_Compact_Floppy_Disk
CF-2 Compact Floppy Disk
2020-12-20T14:20:19Z
<p>JTN: oh yes, there</p>
<hr />
<div>{{FormatInfo<br />
|formattype=physical<br />
|subcat=Floppy disk<br />
}}<br />
The '''CF-2 Compact Floppy Disk''' also known as a '''three-inch disc''', was one of several odd-sized floppy formats that never caught on. It was 3 inches in width, and larger in height (of the casing unit the users saw; the actual disk inside is round as usual). It was released around the same time as the 3½" disk, attempting a "[[VHS]] vs. [[Betamax]]" or "[[BluRay Disc]] vs. [[HD-DVD]]" style format war.<br />
<br />
3" discs were mainly used in the 1980s and early 1990s. Machines which used them included:<br />
* Various 8-bit machines by the company Amstrad (sold by Schneider in some markets):<br />
** Amstrad CPC<br />
** Amstrad PCW (aka "Joyce")<br />
** Spectrum +3<br />
* Tatung Einstein<br />
<br />
The discs could physically be inserted in a drive either way up, and single-density and double-density discs were mechanically identical. In a single-sided drive, the drive would only read/write one side of the medium; to access the other, you'd insert the disc the other way round. In a double-sided drive, you had to remember to only ever put the disc in one way up, and the drive would access both sides of the medium.<br />
<br />
(and its double-density variant '''CF2DD''' aka '''CF2-D'''), <br />
<br />
Typical capacity was 180 kilobytes per side for a single-sided, single-density disc (in 40 tracks), or 720 kilobytes for a double-sided, double-density disc (80 tracks per side).<br />
<br />
Many (most?) 3" discs will contain a [[CP/M file system]].<br />
<br />
== Recovering data from 3" discs ==<br />
<br />
Because this format was short-lived, getting data from a 3" drive to a modern computer can be hard. Options include:<br />
* If you have a working machine with a 3" drive, you can use it to read the data and transfer it via some other interface the machine has. For instance, if your machine runs CP/M and has a serial (RS232) interface, you can run [https://www.seasip.info/Unix/LibDsk/#auxd AUXD] on the source machine and the [https://www.seasip.info/Unix/LibDsk/ LibDsk] tools on the destination machine to transfer a disc image.<br />
** Unfortunately, some models of the Amstrad PCW in particular didn't come with any standard interfaces. There were add-ons such as the CPS8256 to give serial and parallel interfaces, or the LocoLink cable to connect to a PC's parallel port (which came with software to convert [[LocoScript]] files).<br />
* An alternative is to connect a more common drive, such as a 3.5" drive, to your working 3" machine. Frank van Empel has a [http://fvempel.nl/drive.html guide for the Amstrad PCW]. ([https://web.archive.org/web/20161127112655/http://pcwpage.co.uk/making-a-data-cable-for-a-3-to-a-standard-3-5-drive/ another guide])<br />
* If you have only a 3" drive, it's usually possible to interface it to a PC (if the PC is old enough to have a floppy controller). [http://fvempel.nl/3pc.html Frank Van Empel] has some details for Amstrad drives. Then you can use disc imaging software on the PC to recover the data (the PC's operating system is unlikely to understand the data structure natively).<br />
<br />
The 3" drive might require maintenance first -- a common problem is that the drive belt tends to stretch. [http://fvempel.nl/belt.html Here is a guide] to renovating a drive (aimed at the Amstrad drives).<br />
<br />
== Links ==<br />
* [https://bytecellar.com/2019/02/25/a-look-at-the-short-lived-3-inch-compact-floppy-disk/ A Look at the Short-Lived 3-Inch Compact Floppy Disk]<br />
* [http://fvempel.nl/3bible.html A guide to 3" media]<br />
* [[Wikipedia:Floppy disk variants]]<br />
* [https://archive.org/stream/byte-magazine-1984-01/BYTE-1984-01#page/n327/mode/2up The Winning Move: Hitachi's 3 Inch Floppy (ad in Byte)]</div>
JTN