Register - Login
Views: 99389508
Main - Memberlist - Active users - Calendar - Wiki - IRC Chat - Online users
Ranks - Rules/FAQ - Stats - Latest Posts - Color Chart - Smilies
04-24-22 08:13:57 AM
Jul - The Cutting Room Floor - Data Formats New poll - New thread - New reply
Next newer thread | Next older thread
tpw_rules
Random nobody
Level: 5


Posts: 1/3
EXP: 336
For next: 193

Since: 11-02-10


Since last post: 11.5 years
Last activity: 10.9 years

Posted on 11-02-10 11:21:38 PM Link | Quote
So, when I'm reading articles, I'll see things like "doesn't have any event data" or "pointers not in ROM." I know what event data and pointers are, but where can I get information on the format of the data and where it's stored and stuff like that?
Xkeeper

Level: 263


Posts: 18094/25343
EXP: 296719843
For next: 2240610

Since: 07-03-07

Pronouns: they/them/????????

Since last post: 9 days
Last activity: 3 days

Posted on 11-02-10 11:27:14 PM Link | Quote
Can you point to some examples of this?

____________________
tpw_rules
Random nobody
Level: 5


Posts: 2/3
EXP: 336
For next: 193

Since: 11-02-10


Since last post: 11.5 years
Last activity: 10.9 years

Posted on 11-02-10 11:45:35 PM Link | Quote
Originally posted by Xkeeper
Can you point to some examples of this?

http://wiki.rustedlogic.net/Donkey_Kong_Country <-- That's the one in particular that I want more information on.
Mattrizzle
150
Level: 29


Posts: 58/151
EXP: 136158
For next: 11727

Since: 07-27-07

From: United States

Since last post: 19 days
Last activity: 18 days

Posted on 11-03-10 12:23:20 AM (last edited by Mattrizzle at 11-02-10 09:27 PM) Link | Quote
The pointer table to the sprite graphics in DKC is at 3BCC9C-3BF78F. Each pointer is 4 bytes long, meaning there are a total of 2,748 referenced sprites. DKC uses the C00000-FFFFFF mapping for this table, so subtract C00000 to get the actual PC address.

However, there are approximately 150 additional sprites (all unused) that aren't referenced in this table, which is what "(No pointer, but graphics are stored in ROM)" means.

This reminds me, there are still many more to add!

The sprite format itself, which all three DKC games use, is as follows:
Byte 1: Number of 16x16 tiles in Group A
Byte 2: Number of 8x8 tiles in Group B
Byte 3: Start of Group B 8x8 tiles relative to start of graphics (Measured in 8x8 tiles)
Byte 4: Number of 8x8 tiles in Group C
Byte 5: Start of Group C 8x8 tiles relative to start of graphics (Measured in 8x8 tiles)
Byte 6: Start of Group D 8x8 tiles relative to start of graphics (Measured in 8x8 tiles)
Byte 7: Where to place Group D in VRAM upon the display of this sprite. (Measured in 8x8 tiles)
Byte 8: Number of 8x8 tiles in Group D
Bytes: Tile coordinate data, in order by Group (signed; 1 byte X, 1 byte Y)
Bytes: Sprite graphics for Groups A, B, and C
Bytes: Group D graphics, if present.

____________________
SMW Jul DKC Atlas Board 2 YouTube
tpw_rules
Random nobody
Level: 5


Posts: 3/3
EXP: 336
For next: 193

Since: 11-02-10


Since last post: 11.5 years
Last activity: 10.9 years

Posted on 11-03-10 08:14:58 PM Link | Quote
Cool, that makes sense now. Is there any other page where I could find out all the other information about DKC, like level formats and stuff?
Next newer thread | Next older thread
Jul - The Cutting Room Floor - Data Formats 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, 2 query cache hits.
Query execution time:  0.096595 seconds
Script execution time:  0.008660 seconds
Total render time:  0.105255 seconds


TidyHTML vomit below
line 1 column 1 - Warning: missing <!DOCTYPE> declaration
line 2 column 180 - Warning: unescaped & or unknown entity "&page"
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 183 - 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 182 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 184 column 9 - Warning: missing <tr>
line 202 column 13 - Warning: missing <tr>
line 203 column 102 - Warning: unescaped & or unknown entity "&postid"
line 205 column 243 - Warning: missing <tr>
line 205 column 491 - Warning: missing <tr>
line 208 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 210 column 9 - Warning: missing <tr>
line 228 column 13 - Warning: missing <tr>
line 229 column 102 - Warning: unescaped & or unknown entity "&postid"
line 236 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 238 column 9 - Warning: missing <tr>
line 256 column 13 - Warning: missing <tr>
line 257 column 102 - Warning: unescaped & or unknown entity "&postid"
line 276 column 1519 - Warning: <area> attribute "central/" lacks value
line 279 column 9 - Warning: <div> isn't allowed in <table> elements
line 152 column 17 - Info: <table> previously mentioned
line 281 column 9 - Warning: missing <tr>
line 299 column 13 - Warning: missing <tr>
line 300 column 102 - Warning: unescaped & or unknown entity "&postid"
line 305 column 17 - Warning: missing <tr>
line 305 column 17 - Warning: discarding unexpected <table>
line 308 column 35 - Warning: missing <tr>
line 308 column 50 - Warning: missing </font> before </td>
line 308 column 91 - Warning: missing </font> before </table>
line 310 column 35 - Warning: missing <tr>
line 310 column 50 - Warning: missing </font> before </td>
line 311 column 37 - Warning: unescaped & or unknown entity "&id"
line 310 column 183 - Warning: missing </font> before </table>
line 312 column 17 - Warning: discarding unexpected </textarea>
line 312 column 28 - Warning: discarding unexpected </form>
line 312 column 35 - Warning: discarding unexpected </embed>
line 312 column 43 - Warning: discarding unexpected </noembed>
line 312 column 53 - Warning: discarding unexpected </noscript>
line 312 column 64 - Warning: discarding unexpected </noembed>
line 312 column 74 - Warning: discarding unexpected </embed>
line 312 column 82 - Warning: discarding unexpected </table>
line 312 column 90 - Warning: discarding unexpected </table>
line 314 column 9 - Warning: missing </font> before <table>
line 326 column 25 - Warning: discarding unexpected </font>
line 335 column 57 - Warning: discarding unexpected </font>
line 313 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 187 column 23 - Warning: <img> lacks "alt" attribute
line 187 column 64 - Warning: <img> lacks "alt" attribute
line 187 column 113 - Warning: <img> lacks "alt" attribute
line 187 column 163 - Warning: <img> lacks "alt" attribute
line 188 column 11 - Warning: <img> lacks "alt" attribute
line 198 column 15 - Warning: <img> lacks "alt" attribute
line 205 column 268 - Warning: <img> lacks "alt" attribute
line 205 column 666 - Warning: <img> lacks "alt" attribute
line 205 column 759 - Warning: <img> lacks "alt" attribute
line 205 column 878 - Warning: <img> lacks "alt" attribute
line 213 column 21 - Warning: <img> lacks "alt" attribute
line 213 column 62 - Warning: <img> lacks "alt" attribute
line 213 column 111 - Warning: <img> lacks "alt" attribute
line 213 column 161 - Warning: <img> lacks "alt" attribute
line 224 column 15 - Warning: <img> lacks "alt" attribute
line 240 column 15 - Warning: <img> proprietary attribute value "absmiddle"
line 240 column 15 - Warning: <img> lacks "alt" attribute
line 240 column 58 - Warning: <img> proprietary attribute value "absmiddle"
line 240 column 58 - Warning: <img> lacks "alt" attribute
line 240 column 101 - Warning: <img> proprietary attribute value "absmiddle"
line 240 column 101 - Warning: <img> lacks "alt" attribute
line 241 column 22 - Warning: <img> lacks "alt" attribute
line 241 column 63 - Warning: <img> lacks "alt" attribute
line 241 column 112 - Warning: <img> lacks "alt" attribute
line 241 column 162 - Warning: <img> lacks "alt" attribute
line 242 column 11 - Warning: <img> lacks "alt" attribute
line 252 column 15 - Warning: <img> lacks "alt" attribute
line 276 column 1407 - Warning: <img> lacks "alt" attribute
line 284 column 21 - Warning: <img> lacks "alt" attribute
line 284 column 62 - Warning: <img> lacks "alt" attribute
line 284 column 111 - Warning: <img> lacks "alt" attribute
line 284 column 161 - Warning: <img> lacks "alt" attribute
line 295 column 15 - Warning: <img> lacks "alt" attribute
line 311 column 44 - Warning: <img> proprietary attribute value "absmiddle"
line 311 column 142 - Warning: <img> proprietary attribute value "absmiddle"
line 311 column 246 - Warning: <img> proprietary attribute value "absmiddle"
line 320 column 25 - Warning: <img> lacks "alt" attribute
line 325 column 267 - Warning: <img> lacks "alt" attribute
line 149 column 50 - Warning: trimming empty <font>
line 305 column 17 - Warning: trimming empty <tr>
line 308 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 203 column 27 - Warning: <nobr> is not approved by W3C
line 229 column 27 - Warning: <nobr> is not approved by W3C
line 257 column 27 - Warning: <nobr> is not approved by W3C
line 300 column 27 - Warning: <nobr> is not approved by W3C
Info: Document content looks like HTML5
Info: No system identifier in emitted doctype
Tidy found 121 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