Patent ID: 9164798
Filing Date: 2015-10-20
Classification: G06F

Abstract:
1. A method for loading a resource file for a game engine, comprising: activating a thread to preload a predetermined resource file, wherein the predetermined resource file comprises a texture resource file and one or both of a structure resource file and a model resource file; and accessing a header of one or both of the structure resource file and the model resource file to obtain a predetermined address of a plurality of structs in one or both of the structure resource file and the model resource file, wherein the structs are obtained from dividing one or both of the structure resource file and the model resource file and have a consistent recording method as the game engine records corresponding resources in a memory; mapping one or both of the structure resource file and the model resource file comprising the structs to the predetermined address; accessing all of the structs in one or both of the structure resource file and the model resource file after having mapped to the predetermined address; and cancelling a mapping relationship between one or both of the structure resource file and the model resource file comprising the structs and the predetermined address after having accessed all of the structs in one or both of the structure resource file and the model resource file to complete loading one or both of the structure resource file and the model resource file.