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
Map files are memory mapped
Date: 6/27/14 12:42 am
In Response To: I agree (ZackDark)

: Well, the data on disc doesn't have to be 64-bit, does it? Hell, it doesn't
: even have to be 8-bit...

The game's map files are baked to be memory mapped to a fixed address, which is part of how they achieve such fast load times (the most time consuming part is loading assets like textures, etc, which aren't fixed to a specific address and may not be sequentially laid out on disc). So a weapon definition in a map file is laid out exactly how it will appear once loaded into memory. So there are pointer-sized fields within the map files. Some of the data structures might have required a different (ie, greater) alignment for a 64-bit platform. This would also be reflected in the map file too.

So everything on disc that is directly memory bound will have to be 64-bit. For Halo, this is a lot of data, but I doubt it would result in anything more than each map file growing by a MB or two in size.

There are some data structure optimizations they can do for release builds to shave off a few kilobytes (eg, remove some pointers which are only used in debug builds). In fact, they did it for Halo2. However, I think they stopped doing them so map files would be binary compatible with debug and release builds.

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.