Recent Posts

Pages: 1 ... 8 9 [10]
91
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)
92
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)
93
Thanks Jörg!
94
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
95
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)
96
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!
97
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.
99
TrID File Identifier / Re: ann.trid.xml for Windows HELP File annotation ; misidentified
« Last post by Mark0 on December 19, 2023, 02:12:37 AM »
Thanks!
100
TrID File Identifier / bmk.trid.xml for Windows HELP bookmark; misidentified
« Last post by jenderek on December 18, 2023, 01:52:46 AM »
Hello trid users,

some months ago i migrate to Windows 10. Some days ago i wanted to use the
help of an older Windows program. Now i get an error message that the used
help system is not not supported any more. The same error occur in my previous
Window 8.1 system. The solution offered by Microsoft is to download
installation package with knowledge base KB917607. For Windows 8.1 i could
download a MSU package for my language and CPU architecture. This could be
started by double click. But for Windows 10 no download is offered.  I tried
the version for Windows 8.1 but when starting installation Windows complains
that package is not suited for my version.

For the windows help files the name suffix HLP is used. Unfortunately this
suffix is also used for other help systems. So in first step you want to
identify all HLP systems on your systems. Unfortunately on my systems some HLP
files are not identified. So in this session i will handle files with suffix
BMK which are related to Windows HELP File which are described by
hlp.trid.xml.

The BMK files are typically found inside directory %LOCALAPPDATA%\Help. For
newer Windows system the old HLP format and therefor the BMK format is not
supported any more.  The samples are created by Microsoft Help tool
winhlp32.exe, when you choose menu entry like "bookmark" and "define".

The file name is WinHlp32.BMK (on Windows XP 32-bit) or WinHlp32 (on Windows 7
and 8.1 64-bit)

So i run trid utility on such bookmark examples. All samples are recognized
and are described wrong as "Multimedia Viewer Book" with suffix MVB by
mvb.trid.xml. Some samples are described with higher priority as "Windows HELP
File" with wrong suffix HLP by hlp.trid.xml (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 described by
TrID as Windows HELP File are here described as "Windows Help File" without
mime type by PUID fmt/474. But missing suffix is considered here as bad (See
EXTENSION_MISMATCH true in droid-bmk.csv in output).

For comparison reason i also run file command (version 5.45) on such
samples. Here such samples are recognized and described correctly s "MS
Windows help Bookmark". Also the file size information in bytes is shown (see
appended output/file-5.45.txt). The mime type is here application/x-winhelp
(see appended file-i-5.45.txt in output). The correct file name suffix BMK is
here shown (see appended file-ext-5.45.txt in output).

On Linux according to shared MIME-info database such samples are called
"WinHelp help file". Here application/winhlp is used as mime type. The samples
are just recognized by looking for 4 byte sequence 3F5F0300 at the
beginning. Here suffix HLP is displayed. That information can be seen in
source freedesktop.org.xml.in found for example on gitlab.freedesktop.org.

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

On many sites and also English Wikipedia application/winhlp is mentioned as
mime type for HLP files. But when looking on my Windows systems and
extension.nirsoft.net there not such a thing is listed. Also no such type is
officially registered at IANA.org. So i choose user defined type listed by
file command. That is expressed by line like:
   <Mime>application/x-winhelp</Mime>

So i first create TrID definition bmk.trid.xml by running tridscan on my
samples.

The first XML construct looks like:
   <Bytes>3F5F0300</Bytes>
   <ASCII> ? _</ASCII>
   <Pos>0</Pos>
According to documents the first 4 bytes are the magic for all HLP related
files. So this also expressed inside hlp.trid.xml and mvb.trid.xml by XML same
construct.

At offset 8 FirstFreeBlock is stored as 4 byte little integer. That is offset
of free header. Value -1 ( FFFFFFFFh ) means no free list.  So for some
bookmark examples i get this value but for some not.  That is also different
from pure HLP file. There exist no FirstFreeBlock. That is expressed there by
XML construct like:
   <Bytes>00FFFFFFFF</Bytes>
   <Pos>7</Pos>

The second XML construct looks like:
   <Bytes>000000</Bytes>
   <Pos>5</Pos>

At offset 4 DirectoryStart is stored as 4 byte little integer. That is offset
of FILEHEADER of internal directory. So 3 upper bytes are nil. That means
DirectoryStart is lower 100h. After hard thinking i believe that this "low"
value is probably always true. Why? Normally every bookmark entry is equal to
something like header text and is limited to some dozen characters. So in
worst realistic case with thousands of bookmarks the content just has a size
of some 10000 bytes. With a page size of 400h than the b-tree is not so
complicate organized and is similar organized (directory near the
beginning). So there is not much overhead and total file size is in similar
range.

At offset 12 files is stored as 4 byte little integer. in my examples the 2
upper bytes are nil. So file size is lower 10000h. So this probably always
true. This is expressed by XML construct like:
   <Bytes>0000</Bytes>
   <Pos>14</Pos>

The next XML constructs are short nil byte sequences like:
   <Pattern>
      <Bytes>000000</Bytes>
      <Pos>17</Pos>
   </Pattern>
   <Pattern>
      <Bytes>00</Bytes>
      <Pos>34</Pos>
   </Pattern>
   <Pattern>
      <Bytes>0000000000</Bytes>
      <Pos>38</Pos>
   </Pattern>
   <Pattern>
      <Bytes>00</Bytes>
      <Pos>184</Pos>
   </Pattern>
But i do not know what this means. Unfortunately i still found no "real"
characteristic that make the difference to other "HLP" files. So i keep these
constructs.

The last construct is a long nil byte sequence reaching about 1 KB limit. That
looks like:
   <Bytes>00000000000000000000000000000000000000000000000000000
   <Pos>186</Pos>
So i do not really found at first glance characteristics for help bookmark. So
may other users know more facts or can improve my definition.

With this new trid definition now all my help bookmark samples are described
more precisely. TrID definition, some samples and output are stored in archive
bmk_.zip. I hope that my definition can be used in future version of triddefs.

With best wishes
Jörg Jenderek
Pages: 1 ... 8 9 [10]