PDA

View Full Version : Minimizing the game and memory.



Masterz1337
June 22nd, 2009, 08:57 PM
Does anyone have the details of what happens to the data being held in memory when someone minimizes? What data is erased and needs to be reloaded, what data is still in memory and the like?

Skarma
June 22nd, 2009, 09:41 PM
Anything in specific you are looking for? Not sure about the actual game data, but all the Direct3D resources are destroyed when you minimize a full screen window, then recreated or reinitialized when you restore. I will do some investigating for you sir


For Halo PC 1.08 (NOT CE), the Window Procedure starts at address 0x00542100. Check the switch case statements. I'm going out, will get back on this later

Masterz1337
June 22nd, 2009, 10:25 PM
I'm trying to figure out if a certain exception error is linked to a tag or tags not being loaded in memory when a script calls on them. I've noticed that one of my scripts occasionally crashes the game if i resume playing after being minimized. It's either a bitmap or model_animation.