HBOHBO Forum
glyphstrip  
Halo.bungie.org
glyphstrip
Frequently Asked Forum Questions
 Search the HBO News Archives

Any All Exact 
Search the Halo Updates DBs

BWU Halo Halo2 
Search Older Posts on This Forum:
Posts on Current Forum | Archived Posts

View Thread Reply Return to Index Set Prefs Previous Next
Re: I'm talking about data containing pointers
By:ZackDark
Date: 6/27/14 11:23 am
In Response To: I'm talking about data containing pointers (kornman00)

: And texture data resides in the resource section of a map file, which isn't
: baked to be mapped to a specific memory address (and I'm not exactly sure
: what made you bring them up).

I think he brought it up because, usually, texture files are the biggest kind of files in a game.

: "When we build the final resource file, which we call a cache file, we
: simply dump all loaded tags into a giant buffer and write that out to a
: single file. At runtime, we just need to read that file into a fixed
: address before we start the level "

: The tags, which are data structures, are where you would find pointers. Eg,
: the root of a render_model tag has a tag-block for the model's markers.
: That tag block, as of Halo4's tag system implementation, contains two
: pointers plus a 32-bit 'count' for the number of elements in the block.
: One of those pointers is the (fixed) memory address of the first element
: of that block (ie, the first marker).

Woah. Thanks. That's actually pretty cool to know about. It's almost as if it were a reverse memory-dump I like to use at my programs' crashes.


Messages In This Thread

Life without Reach.Metalingus6276/26/14 9:06 am
     Re: Life without Reach.gamerguy20026/26/14 9:56 am
     Re: Life without Reach.Cody Miller6/26/14 12:39 pm
           Hehe. *NM*Ragashingo6/26/14 1:31 pm
     Just Wait For The Anniversary Editions.Morpheus6/26/14 8:05 pm
           I'll take 12! *NM*Kal6/26/14 9:39 pm
           Re: Just Wait For The Anniversary Editions.General Vagueness6/26/14 10:44 pm
     Disc spacekornman006/26/14 10:30 pm
           I agreeZackDark6/26/14 10:37 pm
                 I meant I agree with everything but that paragraph *NM*ZackDark6/26/14 10:37 pm
                 Map files are memory mappedkornman006/27/14 12:42 am
                       Re: Map files are memory mappeduberfoop6/27/14 12:55 am
                             I'm talking about data containing pointerskornman006/27/14 4:46 am
                                   Re: I'm talking about data containing pointersZackDark6/27/14 11:23 am
                                   Re: I'm talking about data containing pointersGeneral Vagueness6/27/14 12:25 pm
                                         Virtual Memorykornman006/27/14 6:25 pm
                                               Re: Virtual Memoryuberfoop6/27/14 7:34 pm

Sign up to post.

You will only be able to post to the forum if you first create a user profile.
If, however, you already have a user profile, please follow the "Set Preferences" link on the main index page and enter your user name to log in to post.