Changes between Version 27 and Version 28 of WikiStart
- Timestamp:
- Jul 26, 2023, 9:56:19 PM (11 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v27 v28 161 161 Not fully decoded yet. 162 162 163 I do not understand the start of the file yet. It is apparently made of 16words of 16 bits each. Here is an example from ''Le mystère des lunettes'':163 I 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'': 164 164 165 165 {{{ 166 166 0006 0001 0003 0002 0049 0013 0000 0003 167 167 0000 0005 000D 0046 000B 0000 0007 0000 168 0001 0003 0000 0002 0000 0001 0001 0007 169 0000 0002 0000 0001 0005 0000 0001 0007 170 0000 0000 0000 0000 0000 0000 0000 0000 168 171 }}} 169 172 … … 175 178 0100 0020 0001 0002 004C 000F 0000 0003 176 179 0000 0005 000D 0046 000B 0000 0007 0000 180 0001 0003 0000 0002 0000 0001 0001 0007 181 0000 0002 0000 0001 0005 0000 0001 0007 182 0007 0013 0012 0014 0012 0016 0012 0015 177 183 }}} 178 184 179 Note the last 10 words are completely identical.185 Note several words are completely identical, and most other are "close", hinting that these are counts of something. 180 186 181 187 These 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. 182 188 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.189 The 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). 184 190 185 191 === 0001 Widgets … … 192 198 * Y position 193 199 * Color (using EGA palette) 194 * 0000 0001 0007 200 * 0000 0001 0007 (always the same?) 195 201 * Button ID or triggered action 196 202 * Button label (null terminated, $ can be used to highlight the shortcut character) 197 203 * Shortcut (also null terminated) 198 204 199 There are other widgets that are not buttons, but I don't understand the exact format yet.205 Both the label and shortcut can be empty. 200 206 201 207 The chunk is terminated by two NULL words (XPos = YPos = 0).