Register - Login
Views: 99385705
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
04-24-22 04:15:41 AM
Jul - The Cutting Room Floor - Help ripping cryptic image from Jak II demo files New poll - New thread - New reply
Next newer thread | Next older thread
Kyubey
Random nobody
Level: 5


Posts: 3/4
EXP: 337
For next: 192

Since: 06-10-17


Since last post: 4.7 years
Last activity: 2.3 years

Posted on 07-25-17 07:13:07 PM Link | Quote
Several weeks ago, when I was working on the Jak II E3 demo disc page, I noticed a file called WOMDRAWN.STR. Opening the file in Pixeldbg revealed a large number of 128x128px images which, when pieced together, formed a giant picture of the world map from the Jak and Daxter Precursor Legacy manual, with some other odd pictures added to it.

The problem I'm having is that I don't know how to get the right palette as Pixeldbg seems to have issues with the file. The very top of the file has what appears to be the palette data but I have no idea what I can do with this.

Pixeldbg treats the file in a very similar way to the final game's level map file (WOMAP.STR) which could mean that the two files use the same format. One thing I tried to do was use a hex editor to get parts of WOMDRAWN to appear in WOMAP while also trying to replace the palette but this was unsuccessful.

Can anyone here help?

Link to file: https://www.mediafire.com/file/cy477nq7d8zu72u/WOMDRAWN.STR
Link to image rip with completely wrong colors: https://www.mediafire.com/file/vj6f06gemqqt4za/womdrawn.png
LocalH
Member
Level: 19


Posts: 57/61
EXP: 30715
For next: 5062

Since: 12-06-10


Since last post: 4.0 years
Last activity: 3.3 years

Posted on 07-26-17 12:39:44 AM Link | Quote
I'm not entirely sure that's a palette at the top. When loading it into Hex Workshop, grouping by every four bytes, and enabling "swap bytes in editor", it appears that the first dword is 0x00000002, and every further one adds 0x08 to the value, until the last one at offset 0x780, which is 0x00000F02. I'm wondering if that may be the ordering of the 128x128 blocks, for the game to stitch it together.

I can't find any information about Jak .STR files (it doesn't help that the images share a file extension with the .STR video format found in PS1 and some PS2 games). Have you been able to interpret other Jak .STR files? I found a table on Wikipedia that suggested that .STR files could also be TIM2 images, but that doesn't seem to be the case here (it doesn't have the "TIM2" magic cookie at the beginning of the file as a proper TIM2 should).
Luminar
Random nobody
Level: 3


Posts: 2/2
EXP: 120
For next: 8

Since: 05-01-17

From: Hungary

Since last post: 4.7 years
Last activity: 2.1 years

Posted on 07-26-17 06:19:30 AM Link | Quote
Also, this is how the image appears when using certain settings in Pixeldbg: https://image.prntscr.com/image/k8hiQ1pcSzO6QeIBs56srQ.png

I am sure that it is supposed to give the correct colors to the image.
Kyubey
Random nobody
Level: 5


Posts: 4/4
EXP: 337
For next: 192

Since: 06-10-17


Since last post: 4.7 years
Last activity: 2.3 years

Posted on 07-26-17 05:43:10 PM Link | Quote
Originally posted by LocalH
I'm not entirely sure that's a palette at the top. When loading it into Hex Workshop, grouping by every four bytes, and enabling "swap bytes in editor", it appears that the first dword is 0x00000002, and every further one adds 0x08 to the value, until the last one at offset 0x780, which is 0x00000F02. I'm wondering if that may be the ordering of the 128x128 blocks, for the game to stitch it together.

I can't find any information about Jak .STR files (it doesn't help that the images share a file extension with the .STR video format found in PS1 and some PS2 games). Have you been able to interpret other Jak .STR files? I found a table on Wikipedia that suggested that .STR files could also be TIM2 images, but that doesn't seem to be the case here (it doesn't have the "TIM2" magic cookie at the beginning of the file as a proper TIM2 should).


I think you're right about it not being the palette. Other STR files have similar data at the top and I don't think those files need any sort of palette data.

I don't really know much about STR files but they seem to have different functions. Some contain images that are very different to WOMDRAWN (eg. DESCREEN). Others contain what I think is cutscene data (INSHUT in the final game) or other things. I don't know if they're just archive files or if they have any other capabilities.
Next newer thread | Next older thread
Jul - The Cutting Room Floor - Help ripping cryptic image from Jak II demo files New poll - New thread - New reply


Rusted Logic

Acmlmboard - commit 47be4dc [2021-08-23]
©2000-2022 Acmlm, Xkeeper, Kaito Sinclaire, et al.

29 database queries, 1 query cache hits.
Query execution time:  0.107581 seconds
Script execution time:  0.006792 seconds
Total render time:  0.114373 seconds


TidyHTML vomit below
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 119 column 11 - Warning: <form> isn't allowed in <table> elements
line 118 column 10 - Info: <table> previously mentioned
line 120 column 11 - Warning: missing <tr>
line 120 column 119 - Warning: missing </font> before </td>
line 124 column 16 - Warning: plain text isn't allowed in <tr> elements
line 120 column 11 - Info: <tr> previously mentioned
line 125 column 68 - Warning: missing </nobr> before </td>
line 141 column 68 - Warning: missing </nobr> before <tr>
line 147 column 35 - Warning: missing <tr>
line 147 column 50 - Warning: missing </font> before </td>
line 148 column 37 - Warning: unescaped & or unknown entity "&id"
line 147 column 220 - Warning: missing </font> before </table>
line 149 column 35 - Warning: missing <tr>
line 149 column 50 - Warning: missing </font> before </td>
line 149 column 91 - Warning: missing </font> before </table>
line 156 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 158 column 9 - Warning: missing <tr>
line 176 column 13 - Warning: missing <tr>
line 177 column 102 - Warning: unescaped & or unknown entity "&postid"
line 191 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 193 column 9 - Warning: missing <tr>
line 211 column 13 - Warning: missing <tr>
line 212 column 102 - Warning: unescaped & or unknown entity "&postid"
line 219 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 221 column 9 - Warning: missing <tr>
line 239 column 13 - Warning: missing <tr>
line 240 column 102 - Warning: unescaped & or unknown entity "&postid"
line 247 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 249 column 9 - Warning: missing <tr>
line 267 column 13 - Warning: missing <tr>
line 268 column 102 - Warning: unescaped & or unknown entity "&postid"
line 279 column 17 - Warning: missing <tr>
line 279 column 17 - Warning: discarding unexpected <table>
line 282 column 35 - Warning: missing <tr>
line 282 column 50 - Warning: missing </font> before </td>
line 282 column 91 - Warning: missing </font> before </table>
line 284 column 35 - Warning: missing <tr>
line 284 column 50 - Warning: missing </font> before </td>
line 285 column 37 - Warning: unescaped & or unknown entity "&id"
line 284 column 220 - Warning: missing </font> before </table>
line 286 column 17 - Warning: discarding unexpected </textarea>
line 286 column 28 - Warning: discarding unexpected </form>
line 286 column 35 - Warning: discarding unexpected </embed>
line 286 column 43 - Warning: discarding unexpected </noembed>
line 286 column 53 - Warning: discarding unexpected </noscript>
line 286 column 64 - Warning: discarding unexpected </noembed>
line 286 column 74 - Warning: discarding unexpected </embed>
line 286 column 82 - Warning: discarding unexpected </table>
line 286 column 90 - Warning: discarding unexpected </table>
line 288 column 9 - Warning: missing </font> before <table>
line 300 column 25 - Warning: discarding unexpected </font>
line 309 column 57 - Warning: discarding unexpected </font>
line 287 column 1 - Warning: missing </center>
line 120 column 63 - Warning: <img> lacks "alt" attribute
line 125 column 19 - Warning: <td> attribute "width" has invalid value "120px"
line 125 column 93 - Warning: <img> lacks "alt" attribute
line 141 column 19 - Warning: <td> attribute "width" has invalid value "120px"
line 141 column 98 - Warning: <img> lacks "alt" attribute
line 148 column 44 - Warning: <img> proprietary attribute value "absmiddle"
line 148 column 142 - Warning: <img> proprietary attribute value "absmiddle"
line 148 column 246 - Warning: <img> proprietary attribute value "absmiddle"
line 161 column 21 - Warning: <img> lacks "alt" attribute
line 161 column 62 - Warning: <img> lacks "alt" attribute
line 161 column 111 - Warning: <img> lacks "alt" attribute
line 161 column 161 - Warning: <img> lacks "alt" attribute
line 172 column 15 - Warning: <img> lacks "alt" attribute
line 196 column 22 - Warning: <img> lacks "alt" attribute
line 196 column 63 - Warning: <img> lacks "alt" attribute
line 196 column 112 - Warning: <img> lacks "alt" attribute
line 196 column 162 - Warning: <img> lacks "alt" attribute
line 207 column 15 - Warning: <img> lacks "alt" attribute
line 224 column 21 - Warning: <img> lacks "alt" attribute
line 224 column 62 - Warning: <img> lacks "alt" attribute
line 224 column 111 - Warning: <img> lacks "alt" attribute
line 224 column 160 - Warning: <img> lacks "alt" attribute
line 235 column 15 - Warning: <img> lacks "alt" attribute
line 252 column 21 - Warning: <img> lacks "alt" attribute
line 252 column 62 - Warning: <img> lacks "alt" attribute
line 252 column 111 - Warning: <img> lacks "alt" attribute
line 252 column 161 - Warning: <img> lacks "alt" attribute
line 263 column 15 - Warning: <img> lacks "alt" attribute
line 285 column 44 - Warning: <img> proprietary attribute value "absmiddle"
line 285 column 142 - Warning: <img> proprietary attribute value "absmiddle"
line 285 column 246 - Warning: <img> proprietary attribute value "absmiddle"
line 294 column 25 - Warning: <img> lacks "alt" attribute
line 299 column 267 - Warning: <img> lacks "alt" attribute
line 149 column 50 - Warning: trimming empty <font>
line 279 column 17 - Warning: trimming empty <tr>
line 282 column 50 - Warning: trimming empty <font>
line 125 column 68 - Warning: <nobr> is not approved by W3C
line 141 column 68 - Warning: <nobr> is not approved by W3C
line 177 column 27 - Warning: <nobr> is not approved by W3C
line 212 column 27 - Warning: <nobr> is not approved by W3C
line 240 column 27 - Warning: <nobr> is not approved by W3C
line 268 column 27 - Warning: <nobr> is not approved by W3C
Info: Document content looks like HTML5
Info: No system identifier in emitted doctype
Tidy found 94 warnings and 0 errors!


The alt attribute should be used to give a short description
of an image; longer descriptions should be given with the
longdesc attribute which takes a URL linked to the description.
These measures are needed for people using non-graphical browsers.

For further advice on how to make your pages accessible
see http://www.w3.org/WAI/GL.
You are recommended to use CSS to specify the font and
properties such as its size and color. This will reduce
the size of HTML files and make them easier to maintain
compared with using <FONT> elements.

You are recommended to use CSS to control line wrapping.
Use "white-space: nowrap" to inhibit wrapping in place
of inserting <NOBR>...</NOBR> into the markup.

About HTML Tidy: https://github.com/htacg/tidy-html5
Bug reports and comments: https://github.com/htacg/tidy-html5/issues
Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/
Latest HTML specification: http://dev.w3.org/html5/spec-author-view/
Validate your HTML documents: http://validator.w3.org/nu/
Lobby your company to join the W3C: http://www.w3.org/Consortium

Do you speak a language other than English, or a different variant of
English? Consider helping us to localize HTML Tidy. For details please see
https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md