Recent Posts

Pages: 1 ... 8 9 [10]
91
Definitions DB change log / Re: Current - Year 2023
« Last post by Mark0 on December 29, 2023, 01:31:50 AM »
Added:
  • PaintSpa Palette (APL)
  • Robotron HC/KC serie BASIC source (BAS)
  • VangeliSTeam audio library Device (v2.x) (DEV)
  • VangeliSTeam sound Device (v1.x) (DEV)
  • 2FILE disk image (FLP)
  • Lucid 3-D Help (v1.x) (HLP)
  • DCVG5K tape image (K7)
  • SPIL Image Library (ILB/SLB)
  • Lucid 3-D settings (v1.x) (INI)
  • Lucid 3-D spreadsheet (v1.x) (LCD)
  • Lisp Machine bitmap (LISPM)
  • Lucid 3-D Macro (MM)
  • Cheetah3D STereoLithography (ASCII) (STL)
92
TrID File Identifier / updated diff.trid.xml for diff output + unified variant
« Last post by jenderek on December 27, 2023, 09:51:14 PM »
Hello trid users,

some days ago i must handle some patch files. Unfortunately there exist about
a dozen of different variants. In this session i will handle "unified"
samples.

So i run trid utility on such examples. Some samples are not recognized (see
appended trid-v-old.txt in uni/output).

For comparison reason i also run the file format identification utility DROID
(See https://sourceforge.net/projects/droid/). Here only samples with suffix
DIF are described. By that extension according to PUID x-fmt/368 samples (like
fdiskpt.dif) are described wrong as "VisiCalc Database".

For comparison reason i also run file command (version 5.45) on such
samples. Here the samples are recognized and described as "unified diff
output" (see appended file-5.45.txt in uni/output). If running file command
with keep going option -k then with lower priority such samples are described
with second phrase as "text" (see appended file-k-5.45.txt in uni/output).
The mime type here is not text/plain but text/x-diff (see appended
file-i-5.45.txt in uni/output). Here no file name suffix is listed (see
appended file-ext-5.45.txt in uni/output). The samples recognized by TrID are
described by file command with lower priority also as "diff output" (see
appended file-k-5.45.txt in output). When i inspect such samples then these
start with 5 byte phrase "diff ". These is followed by command line options
like --git, -Naur, -urN or -uprN (see appended file.tmp in output).

On Linux according to shared MIME-info database such samples are called
"Differences between files". Here text/x-patch is used as mime type. But
text/x-diff is listed as alias of sub class text/plain. The samples are just
recognized by looking for 4 byte sequence "=== " or 5 byte "diff " at the
beginning. Here 2 suffix (diff patch) are listed. That information can be seen
in source freedesktop.org.xml.in found for example on gitlab.freedesktop.org.

Unfortunately there exist no precise documentation about this file format and
what is the difference compared with offer diff documents. In already existing
definitions like diff.trid.xml a page about Diff utility on Wikipedia is
used. Luckily there also exist a section about Unified format. So i use this
as reference. That is expressed by line like:
 <RefURL>https://en.wikipedia.org/wiki/Diff_utility#Unified_format</RefURL>

I choose the mentioned mime type from Linux shared database. That is expressed
by line like:
   <Mime>text/x-patch</Mime>

Such output are used/created by diff and patch utility. Therefore these 2
names are often used as file name suffix. On old FAT file system there exist a
8+3 limit for file names. So there the maximal length of suffix is
3. Apparently so there instead of diff dif is used and instead of patch pch is
used.  According to patch documentation if patch cannot find a place to
install that hunk of the patch, it puts the hunk out to a reject file, which
normally is the name of the output file plus a .rej suffix or similar. These
extension are also listed on https://file-extension.net/seeker/ . So i mention
this fact in remark line.

So in the end i found 5 suffix. That is expressed by line like:
   <Ext>DIFF/DIF/PATCH/PCH/REJ</Ext>

Then i look for samples of the other variant. There i found at least 3 suffix
(DIFF/PATCH/PCH). According to Mister Spock logic then DIF must also be true.
If there exist rejected patches i do not know. So i update diff.trid.xml and
file name suffix and mime type are expressed by lines like:
   <Ext>PATCH/PCH/DIFF/DIF</Ext>
   <Mime>text/x-patch</Mime>

After running tridscan i look at generated diff-unified.trid.xml. As expected
the first pattern is characteristic for some unified diff. This looks like:
   <Bytes>2D2D2D20</Bytes>
   <ASCII> - - -</ASCII>
   <Pos>0</Pos>

Unfortunately i found few examples (like ltmain-as-needed.diff) where other
text "Bug-Debian:" comes before the characteristic plus sequence. So such
samples are still not recognized by TrID command (see appended trid-v-new.txt
in else/output).

I also do not know under which conditions one of the two variants are created.
I assume this depends on the used diff options. If somebody know it then tell
it and add the fact in remark line.

TrID definition, some samples and output are stored in archive diff_.zip. I
hope that my definitions can be used in future version of triddefs.

As described at the beginning there exist some other difference output. I will
try to handle this in future session.

With best wishes
Jörg Jenderek
93
Definitions DB change log / Re: Current - Year 2023
« Last post by Mark0 on December 27, 2023, 03:14:46 AM »
Added:
  • Playdate Info ()
  • XCar 3D model (3D)
  • 3D_Core ObjDef format (DATA)
  • IBM PS/55 MKKC Dictionary (v3.x) (DCT)
  • Turbo C Context (DSK)
  • 32bit DOS Executable Watcom C + DOS/4G(W) (EXE)
  • Peters Plus Sprinter Executable (EXE)
  • XCar Font (FNT)
  • XCar Graphics (GXA)
  • Pyra application installation package (compressed) (DBP)
  • MandelBlitz IFF Mandelbrot bitmap (MAN)
  • Wreckin Crew level Map (MAP)
  • Playdate Audio (PDA)
  • Playdate Image (PDI)
  • Playdate localized Strings (PDS)
  • Playdate images Table (PDT)
  • Playdate container/executable (PDZ)
  • Playdate Font (PFT)
  • Pandora application installation package (compressed) (PND)
  • Pandora application installation package (non compressed) (PND)
  • Orao Tape image (TAP)
94
Definitions DB change log / Re: Current - Year 2023
« Last post by Mark0 on December 23, 2023, 02:55:34 AM »
Added:
  • Crytek asset ()
  • Wheel binary package format Metadata (v2.x) ()
  • Wheel binary package format info (v1.0) ()
  • Afterlife game data (000)
  • Afterlife saved game (ALF)
  • Mixxx keyboard configuration (CFG)
  • YAB! Baseball game data (DAT)
  • Light-Flowcharter diagram (FLW)
  • Light-Flowcharter Font (FON)
  • Light-Flowcharter Icon (ICN)
  • Stac Electronics Archive Format (SAF)
  • Light-Flowcharter Serial number (SL)
  • Mixxx MIDI preset (XML)
  • Mixxx controller preset (XML)
95
Definitions DB change log / Re: Current - Year 2023
« Last post by Mark0 on December 21, 2023, 03:48:15 AM »
Updated:
  • Windows Help Full-Text Search index (FTS)
Added:
  • Ablex game data (BCS)
  • Anjoy Vision IP camera firmware (BIN)
  • Makkoya Configuration (CFG)
  • Makkoya COD (COD)
  • Makkoya palette (COL)
  • Makkoya CSF (CSF)
  • 7 Colors game data archive (DAT)
  • Asmodeus Data (DAT)
  • Asmodeus audio/sound (DAT)
  • Asmodeus energy (DAT)
  • Asmodeus monsters data (DAT)
  • Asmodeus speech (DAT)
  • Asmodeus weapons data (DAT)
  • Sentinel Returns game data (DB)
  • Makkoya Font (FNT)
  • Makkoya Font (alt.) (FNT)
  • Windows Help Full-Text search Group (FTG)
  • Gamos Packed File game data archive (GPF)
  • Zoop game graphics (IMX)
  • Private Wars Material script (MAT)
  • Makkoya POS (POS)
  • Zapper In Neverwhere saved game (POS)
  • Road Wars Resource game data (RES)
  • Private Wars 3D Object (SCO)
  • Makkoya Scenery (SCR)
  • MySQL dump (SQL)
  • Asmodeus Table (TAB)
  • Asmodeus audio/sound Table (TAB)
  • Asmodeus monsters Table (TAB)
  • Asmodeus speech Table (TAB)
  • Asmodeus weapons Table (TAB)
  • Road Wars Track data (TRK)
  • Web Archive Collection Zipped (WACZ)
96
Thanks Jörg!
97
Hello trid users,

some days ago i handled files in context of old Window help system.
So in this session i will handle files with suffix FTS and FTG.

The files are typically found in same directory as corresponding HLP file.
The samples are created by Microsoft Help tool winhlp32.exe.

So i run trid utility on my examples. The FTS samples are recognized and are
described correctly as "Windows Help Full-Text Search index file" without mime
type and reference by fts.trid.xml. The few FTG samples are not recognized and
are described as "Unknown!" (see appended trid-v-old.txt in output).

For comparison reason i also run the file format identification utility DROID
(See https://sourceforge.net/projects/droid/). Here the samples are not
recognized.

For comparison reason i also run file command (version 5.45) on such
samples. Here also the FTS samples are recognized and described correctly as
"MS Windows help Full Text Search index" Also the corresponding HLP full file
name is shown (see appended output/file-5.45.txt). The mime type here is
application/x-winhelp-fts (see appended file-i-5.45.txt in output). The
correct file name suffix is here also shown for FTS samples (see appended
file-ext-5.45.txt in output). The FTG samples (like winhlp32.FTG.GID) are not
recognized and therefor described with generic application/octet-stream mime
type as "data".

On Linux according to shared MIME-info database samples with FTS suffix are
called "FITS document" with acronym "Flexible Image Transport System". But
that is another file format.

Luckily i found on the net information parts about Windows HELP. Of course no
official from Microsoft. And this applies also to related search files with
suffix FTS and FTG. So i choose page on Wikipedia. So i use this as
reference. That is expressed inside updated definition by line like:
   <RefURL>https://en.wikipedia.org/wiki/WinHelp</RefURL>

In current definition no mime type is listed. So i choose user defined type
listed by file command. That is expressed by line like:
      <Mime>application/x-winhelp-fts</Mime>

The file command list also the full name of corresponding HLP file (like
"C:\TMP.TMP\hlp\htmhlp98.hlp"). Apparently this is stored at offset 16. So i
mention my observation in remark line because these facts become relevant when
considering FTG samples.

The description of FTS mainly happen by characteristic 4 byte pattern at the
beginning. That is expressed by XML construct that looks like:

   <Bytes>74664D52</Bytes>
   <ASCII> t f M R</ASCII>

On Wikipedia beside FTS suffix also FTG is listed as Full Text Search of
WinHelp. So i looked on my systems for such files. Unfortunately i found only
few samples. Many (like CTRLREF.FTG SETUPWIZ.FTG) are empty. So file size is
0, but many (like CTRLREF.FTG SETUPWIZ.FTG) contain just an empty line (
Carriage Return Line-Feed). So file size is 2. So in the end i got only one
real sample (like winhlp32.FTG).

So i generate ftg.trid.xml manually. At offset 16 here also full file name is
stored but here instead of HLP FTS is referenced. So i mention fact in remark
line. This fact is expressed inside global strings section by line like:
   <String>.FTS</String>

When searching on the net for difference then the phrase group is
mentioned. So compared with fts.trid.xml this fact is expressed by line like:

   <FileType>Windows Help Full-Text search Group file</FileType>

And compared with fts.trid.xml i choose another user defined mime type. That
is expressed by line like:
   <Mime>application/x-winhelp-ftg</Mime>

In the starting 4 byte pattern letter g no instead of t is used compared with
fts.trid.xml. So this is expressed by XML construct like:
   <Bytes>67664D52</Bytes>
   <ASCII> g f M R</ASCII>
   <Pos>0</Pos>

With this new trid definition now all my real help Windows Help Full-Text
search samples are described; also the Group samples (*.FTG). And now more
details are shown.

TrID definition, some samples and output are stored in archive fts_ftg.zip. I
hope that my definitions can be used in future version of triddefs.

With best wishes
Jörg Jenderek
98
Definitions DB change log / Re: Current - Year 2023
« Last post by Mark0 on December 19, 2023, 03:11:57 AM »
Updated:
  • Workflow Petri Net Designer project (PNML)
Added:
  • Windows Help Annotation (ANN)
  • BAR game data archive (BAR/DFW)
  • MechWarrior 2 mission data (BWD)
  • DESQview/X colors Configuration (CFG)
  • Windows Help index (GID)
  • DESQview/X Group (GRP)
  • DESQview/X Help (HLP)
  • DESQview/X Layout (LYT)
  • MechWarrior 2 demo data (MW2)
  • Microsoft Test compiled P-Code (v3.0) (PCD)
  • Petri Net XML (PNML)
  • MechWarrior 2 game data (PRJ)
  • DESQview/X Print Manager driver (PTM)
  • Microsoft Test Screen (SCN)
  • InfoSpotter Template (SPT)
  • Windows NT Registry Hive (Windows Firewall) (WFW)
Deleted:
  • GID Help index (GID)
99
TrID File Identifier / Re: gid.trid.xml replacing gid_idx.trid.xml for GID Help inde
« Last post by Mark0 on December 19, 2023, 02:46:40 AM »
Thanks!
100
TrID File Identifier / Re: bmk.trid.xml for Windows HELP bookmark; misidentified
« Last post by Mark0 on December 19, 2023, 02:39:36 AM »
Thanks!
Unfortunately I tried to refine the definition with a couple other BMK files, including one from Windows XP, and most of the patterns disappear leaving something too little different from a normal HLP file.
Pages: 1 ... 8 9 [10]