SWG

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m
Line 10: Line 10:
  
 
== Format details ==
 
== Format details ==
New SWG format is based on generalized [[LHA]] format. It is approximately parsable as LHA, but the fields starting with the filename field seem to be repurposed, and it has a custom "compression scheme".
+
New SWG format is a derivative of [[LHA]] format, apparently based on LHA header level 0, with an extra 165 bytes worth of headers preceding the filename field. It has a custom "<code>-sw1-</code>" compression method, the details of which are apparently undocumented.
  
 
== Identification ==
 
== Identification ==
Line 16: Line 16:
  
 
At least some old format files start with "{{magic|SWAGOLX.EXE}}".
 
At least some old format files start with "{{magic|SWAGOLX.EXE}}".
 +
 +
== Specifications ==
 +
* [http://files.mpoli.fi/software/PROGRAMM/GENERAL/SWAG.ZIP SWAG.ZIP] → SWAGADD.DOC - Has partial documentation of new format.
 +
** [https://hwiegman.home.xs4all.nl/fileformats/swg/swg.txt swg.txt] - Excerpt from SWAGADD.DOC
  
 
== Software ==
 
== Software ==
* [http://files.mpoli.fi/software/PROGRAMM/GENERAL/] → swag.zip - GDSOFT SWAG Packet Reader v3.13 (DOS software)
+
* [http://files.mpoli.fi/software/PROGRAMM/GENERAL/] → SWAG.ZIP - GDSOFT SWAG Packet Reader v3.13 (DOS software)
** Note that the Reader is also included in the allswags.zip file.
+
** Note that the Reader is also included in the ALLSWAGS.ZIP file.
* [http://files.mpoli.fi/software/PROGRAMM/GENERAL/] → swagwin.zip - SWAG for WINDOWS, v1.04
+
* [http://files.mpoli.fi/software/PROGRAMM/GENERAL/] → SWAGWIN.ZIP - SWAG for WINDOWS, v1.04
 
* {{CdTextfiles|monstmedia/PROG/PASCAL/SWAG.ZIP|SWAG.ZIP}} - Maybe the first version (DOS software)
 
* {{CdTextfiles|monstmedia/PROG/PASCAL/SWAG.ZIP|SWAG.ZIP}} - Maybe the first version (DOS software)
  
 
== Sample files ==
 
== Sample files ==
 
* [https://archive.org/details/2012.11.24.ftp-garbo-mirror GARBO Shareware Archive] → allswags.zip
 
* [https://archive.org/details/2012.11.24.ftp-garbo-mirror GARBO Shareware Archive] → allswags.zip
* [http://files.mpoli.fi/software/PROGRAMM/PASCAL/] → allswags.zip
+
* [http://files.mpoli.fi/software/PROGRAMM/PASCAL/] → ALLSWAGS.ZIP
 
* {{CdTextfiles|monstmedia/PROG/PASCAL/SWAGABC.ZIP|SWAGABC.ZIP}} - Old format
 
* {{CdTextfiles|monstmedia/PROG/PASCAL/SWAGABC.ZIP|SWAGABC.ZIP}} - Old format
  

Revision as of 14:44, 18 February 2021

File Format
Name SWG
Ontology
Extension(s) .swg
Released 1993?

SWG (SWAG packet) is a specialized archive format associated with the SourceWare Archival Group (SWAG). SWAG is a historical collection of Pascal source code.

There are at least two different SWG formats, which we'll call "old" and "new".

Contents

Format details

New SWG format is a derivative of LHA format, apparently based on LHA header level 0, with an extra 165 bytes worth of headers preceding the filename field. It has a custom "-sw1-" compression method, the details of which are apparently undocumented.

Identification

New format files have ASCII "-sw1-" at offset 2.

At least some old format files start with "SWAGOLX.EXE".

Specifications

  • SWAG.ZIP → SWAGADD.DOC - Has partial documentation of new format.
    • swg.txt - Excerpt from SWAGADD.DOC

Software

  • [1] → SWAG.ZIP - GDSOFT SWAG Packet Reader v3.13 (DOS software)
    • Note that the Reader is also included in the ALLSWAGS.ZIP file.
  • [2] → SWAGWIN.ZIP - SWAG for WINDOWS, v1.04
  • SWAG.ZIP - Maybe the first version (DOS software)

Sample files

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox