Changes between Version 27 and Version 28 of WikiStart


Ignore:
Timestamp:
Jul 26, 2023, 9:56:19 PM (11 months ago)
Author:
pulkomandy
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v27 v28  
    161161Not fully decoded yet.
    162162
    163 I do not understand the start of the file yet. It is apparently made of 16 words of 16 bits each. Here is an example from ''Le mystère des lunettes'':
     163I do not understand the start of the file yet. It is apparently made of 40 words of 16 bits each. Here is an example from ''Le mystère des lunettes'':
    164164
    165165{{{
    1661660006 0001 0003 0002 0049 0013 0000 0003
    1671670000 0005 000D 0046 000B 0000 0007 0000
     1680001 0003 0000 0002 0000 0001 0001 0007
     1690000 0002 0000 0001 0005 0000 0001 0007
     1700000 0000 0000 0000 0000 0000 0000 0000
    168171}}}
    169172
     
    1751780100 0020 0001 0002 004C 000F 0000 0003
    1761790000 0005 000D 0046 000B 0000 0007 0000
     1800001 0003 0000 0002 0000 0001 0001 0007
     1810000 0002 0000 0001 0005 0000 0001 0007
     1820007 0013 0012 0014 0012 0016 0012 0015
    177183}}}
    178184
    179 Note the last 10 words are completely identical.
     185Note several words are completely identical, and most other are "close", hinting that these are counts of something.
    180186
    181187These could be the size or count of various things (number of rooms, number of objects, ...) and possibly some global flags (wether to show the compass and up/down buttons, for example). To be decoded after comparing various gamefiles.
    182188
    183 The second part is made of chunks which all start with an ID. They don't have a size, instead they have some kind of termination pattern which is apparently different for each chunk.
     189The second part of the file after this header is made of chunks which all start with an ID. They don't have a size, instead they have some kind of termination pattern which is apparently different for each chunk (it is possible that a part of the header is actually chunk 0000, but that value is present several times so it's hard to know which one would be a chunk start).
    184190
    185191=== 0001 Widgets
     
    192198* Y position
    193199* Color (using EGA palette)
    194 * 0000 0001 0007
     200* 0000 0001 0007 (always the same?)
    195201* Button ID or triggered action
    196202* Button label (null terminated, $ can be used to highlight the shortcut character)
    197203* Shortcut (also null terminated)
    198204
    199 There are other widgets that are not buttons, but I don't understand the exact format yet.
     205Both the label and shortcut can be empty.
    200206
    201207The chunk is terminated by two NULL words (XPos = YPos = 0).